< prev index next >

src/hotspot/share/cds/cdsConfig.hpp

Print this page
*** 84,10 ***
--- 84,12 ---
    static const int IS_DUMPING_ARCHIVE              = 1 << 1;
    static const int IS_DUMPING_METHOD_HANDLES       = 1 << 2;
    static const int IS_DUMPING_STATIC_ARCHIVE       = 1 << 3;
    static const int IS_LOGGING_LAMBDA_FORM_INVOKERS = 1 << 4;
    static const int IS_USING_ARCHIVE                = 1 << 5;
+   static const int IS_DUMPING_HEAP                 = 1 << 6;
+   static const int IS_LOGGING_DYNAMIC_PROXIES      = 1 << 7;
  
    static int get_status() NOT_CDS_RETURN_(0);
  
    // Initialization and command-line checking
    static void ergo_initialize() NOT_CDS_RETURN;

*** 136,13 ***
    //
    // The main structural difference between "preimage" and "final" is that the preimage
    // - has a different magic number (0xcafea07c)
    // - does not have any archived Java heap objects
    // - does not have aot-linked classes
!   static bool is_dumping_classic_static_archive()            NOT_CDS_RETURN_(false);
!   static bool is_dumping_preimage_static_archive()           NOT_CDS_RETURN_(false);
!   static bool is_dumping_final_static_archive()              NOT_CDS_RETURN_(false);
  
    // dynamic_archive
    static bool is_dumping_dynamic_archive()                   { return CDS_ONLY(_is_dumping_dynamic_archive) NOT_CDS(false); }
    static void enable_dumping_dynamic_archive(const char* output_path) NOT_CDS_RETURN;
    static void disable_dumping_dynamic_archive()              { CDS_ONLY(_is_dumping_dynamic_archive = false); }
--- 138,14 ---
    //
    // The main structural difference between "preimage" and "final" is that the preimage
    // - has a different magic number (0xcafea07c)
    // - does not have any archived Java heap objects
    // - does not have aot-linked classes
!   static bool is_dumping_classic_static_archive()                NOT_CDS_RETURN_(false);
!   static bool is_dumping_preimage_static_archive()               NOT_CDS_RETURN_(false);
!   static bool is_dumping_preimage_static_archive_with_triggers() NOT_CDS_RETURN_(false); 
+   static bool is_dumping_final_static_archive()                  NOT_CDS_RETURN_(false);
  
    // dynamic_archive
    static bool is_dumping_dynamic_archive()                   { return CDS_ONLY(_is_dumping_dynamic_archive) NOT_CDS(false); }
    static void enable_dumping_dynamic_archive(const char* output_path) NOT_CDS_RETURN;
    static void disable_dumping_dynamic_archive()              { CDS_ONLY(_is_dumping_dynamic_archive = false); }

*** 190,10 ***
--- 193,15 ---
    static bool is_initing_classes_at_dump_time()              NOT_CDS_JAVA_HEAP_RETURN_(false);
  
    static bool is_dumping_invokedynamic()                     NOT_CDS_JAVA_HEAP_RETURN_(false);
    static bool is_dumping_method_handles()                    NOT_CDS_JAVA_HEAP_RETURN_(false);
  
+   static bool is_dumping_reflection_data()                   NOT_CDS_JAVA_HEAP_RETURN_(false);
+ 
+   static bool is_dumping_dynamic_proxies()                   NOT_CDS_JAVA_HEAP_RETURN_(false);
+   static bool is_logging_dynamic_proxies()                   NOT_CDS_RETURN_(false);
+ 
    // full_module_graph (requires optimized_module_handling)
    static bool is_dumping_full_module_graph()                 { return CDS_ONLY(_is_dumping_full_module_graph) NOT_CDS(false); }
    static bool is_using_full_module_graph()                   NOT_CDS_JAVA_HEAP_RETURN_(false);
    static void stop_dumping_full_module_graph(const char* reason = nullptr) NOT_CDS_JAVA_HEAP_RETURN;
    static void stop_using_full_module_graph(const char* reason = nullptr) NOT_CDS_JAVA_HEAP_RETURN;
< prev index next >