< prev index next >

src/hotspot/share/cds/metaspaceShared.hpp

Print this page

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

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