< prev index next >

src/hotspot/share/cds/metaspaceShared.hpp

Print this page

 55   static bool _use_optimized_module_handling;
 56  public:
 57   enum {
 58     // core archive spaces
 59     rw = 0,  // read-write shared space
 60     ro = 1,  // read-only shared space
 61     bm = 2,  // relocation bitmaps (freed after file mapping is finished)
 62     hp = 3,  // heap region
 63     num_core_region = 2,       // rw and ro
 64     n_regions = 4              // total number of regions
 65   };
 66 
 67   static void prepare_for_dumping() NOT_CDS_RETURN;
 68   static void preload_and_dump() NOT_CDS_RETURN;
 69 #ifdef _LP64
 70   static void adjust_heap_sizes_for_dumping() NOT_CDS_JAVA_HEAP_RETURN;
 71 #endif
 72 
 73 private:
 74   static void preload_and_dump_impl(TRAPS) NOT_CDS_RETURN;
 75   static void preload_classes(TRAPS) NOT_CDS_RETURN;
 76 
 77 public:
 78   static Symbol* symbol_rs_base() {
 79     return (Symbol*)_symbol_rs.base();
 80   }
 81 
 82   static void initialize_for_static_dump() NOT_CDS_RETURN;
 83   static void initialize_runtime_shared_and_meta_spaces() NOT_CDS_RETURN;
 84   static void post_initialize(TRAPS) NOT_CDS_RETURN;
 85 
 86   static void print_on(outputStream* st);
 87 
 88   static void set_archive_loading_failed() {
 89     _archive_loading_failed = true;
 90   }
 91 
 92   static void initialize_shared_spaces() NOT_CDS_RETURN;
 93 
 94   // Return true if given address is in the shared metaspace regions (i.e., excluding the
 95   // mapped heap region.)

 55   static bool _use_optimized_module_handling;
 56  public:
 57   enum {
 58     // core archive spaces
 59     rw = 0,  // read-write shared space
 60     ro = 1,  // read-only shared space
 61     bm = 2,  // relocation bitmaps (freed after file mapping is finished)
 62     hp = 3,  // heap region
 63     num_core_region = 2,       // rw and ro
 64     n_regions = 4              // total number of regions
 65   };
 66 
 67   static void prepare_for_dumping() NOT_CDS_RETURN;
 68   static void preload_and_dump() NOT_CDS_RETURN;
 69 #ifdef _LP64
 70   static void adjust_heap_sizes_for_dumping() NOT_CDS_JAVA_HEAP_RETURN;
 71 #endif
 72 
 73 private:
 74   static void preload_and_dump_impl(TRAPS) NOT_CDS_RETURN;
 75   static void loadable_descriptors(TRAPS) NOT_CDS_RETURN;
 76 
 77 public:
 78   static Symbol* symbol_rs_base() {
 79     return (Symbol*)_symbol_rs.base();
 80   }
 81 
 82   static void initialize_for_static_dump() NOT_CDS_RETURN;
 83   static void initialize_runtime_shared_and_meta_spaces() NOT_CDS_RETURN;
 84   static void post_initialize(TRAPS) NOT_CDS_RETURN;
 85 
 86   static void print_on(outputStream* st);
 87 
 88   static void set_archive_loading_failed() {
 89     _archive_loading_failed = true;
 90   }
 91 
 92   static void initialize_shared_spaces() NOT_CDS_RETURN;
 93 
 94   // Return true if given address is in the shared metaspace regions (i.e., excluding the
 95   // mapped heap region.)
< prev index next >