< prev index next >

src/hotspot/share/memory/metaspace.hpp

Print this page

        

*** 100,111 **** }; enum MetaspaceType { ZeroMetaspaceType = 0, StandardMetaspaceType = ZeroMetaspaceType, BootMetaspaceType = StandardMetaspaceType + 1, ! UnsafeAnonymousMetaspaceType = BootMetaspaceType + 1, ! ReflectionMetaspaceType = UnsafeAnonymousMetaspaceType + 1, MetaspaceTypeCount }; private: --- 100,111 ---- }; enum MetaspaceType { ZeroMetaspaceType = 0, StandardMetaspaceType = ZeroMetaspaceType, BootMetaspaceType = StandardMetaspaceType + 1, ! ShortLivedMetaspaceType = BootMetaspaceType + 1, ! ReflectionMetaspaceType = ShortLivedMetaspaceType + 1, MetaspaceTypeCount }; private:
*** 240,250 **** void initialize(Mutex* lock, Metaspace::MetaspaceType type); // Initialize the first chunk for a Metaspace. Used for // special cases such as the boot class loader, reflection ! // class loader and anonymous class loader. void initialize_first_chunk(Metaspace::MetaspaceType type, Metaspace::MetadataType mdtype); metaspace::Metachunk* get_initialization_chunk(Metaspace::MetaspaceType type, Metaspace::MetadataType mdtype); const Metaspace::MetaspaceType _space_type; Mutex* const _lock; --- 240,250 ---- void initialize(Mutex* lock, Metaspace::MetaspaceType type); // Initialize the first chunk for a Metaspace. Used for // special cases such as the boot class loader, reflection ! // class loader and nonfindable class loader. void initialize_first_chunk(Metaspace::MetaspaceType type, Metaspace::MetadataType mdtype); metaspace::Metachunk* get_initialization_chunk(Metaspace::MetaspaceType type, Metaspace::MetadataType mdtype); const Metaspace::MetaspaceType _space_type; Mutex* const _lock;
*** 390,400 **** enum ReportFlag { // Show usage by class loader. rf_show_loaders = (1 << 0), // Breaks report down by chunk type (small, medium, ...). rf_break_down_by_chunktype = (1 << 1), ! // Breaks report down by space type (anonymous, reflection, ...). rf_break_down_by_spacetype = (1 << 2), // Print details about the underlying virtual spaces. rf_show_vslist = (1 << 3), // Print metaspace map. rf_show_vsmap = (1 << 4), --- 390,400 ---- enum ReportFlag { // Show usage by class loader. rf_show_loaders = (1 << 0), // Breaks report down by chunk type (small, medium, ...). rf_break_down_by_chunktype = (1 << 1), ! // Breaks report down by space type (nonfindable, reflection, ...). rf_break_down_by_spacetype = (1 << 2), // Print details about the underlying virtual spaces. rf_show_vslist = (1 << 3), // Print metaspace map. rf_show_vsmap = (1 << 4),
< prev index next >