src/hotspot/share/memory/metaspace/settings.hpp
branchstuefe-new-metaspace-branch
changeset 58646 bcdba1c9f1fe
parent 58333 78b2e8f46dd4
child 58840 7678903a348f
equal deleted inserted replaced
58645:28c7e6711871 58646:bcdba1c9f1fe
    82   // If _uncommit_on_purge is true:
    82   // If _uncommit_on_purge is true:
    83   // Minimum word size of an area to be candidate for uncommitting.
    83   // Minimum word size of an area to be candidate for uncommitting.
    84   // Must be a multiple of and not smaller than commit granularity.
    84   // Must be a multiple of and not smaller than commit granularity.
    85   static size_t _uncommit_on_purge_min_word_size;
    85   static size_t _uncommit_on_purge_min_word_size;
    86 
    86 
    87   // If true, allocations from micro-clds (CLDs which only load one class, e.g. hidden classes or
       
    88   // reflection loaders) are shepherded into an own root chunk.
       
    89   static bool _separate_micro_cld_allocations;
       
    90 
       
    91 public:
    87 public:
    92 
    88 
    93   static size_t commit_granule_bytes()                        { return _commit_granule_bytes; }
    89   static size_t commit_granule_bytes()                        { return _commit_granule_bytes; }
    94   static size_t commit_granule_words()                        { return _commit_granule_words; }
    90   static size_t commit_granule_words()                        { return _commit_granule_words; }
    95   static bool newborn_root_chunks_are_fully_committed()       { return _newborn_root_chunks_are_fully_committed; }
    91   static bool newborn_root_chunks_are_fully_committed()       { return _newborn_root_chunks_are_fully_committed; }
   101   static bool uncommit_on_return()                            { return _uncommit_on_return; }
    97   static bool uncommit_on_return()                            { return _uncommit_on_return; }
   102   static size_t uncommit_on_return_min_word_size()            { return _uncommit_on_return_min_word_size; }
    98   static size_t uncommit_on_return_min_word_size()            { return _uncommit_on_return_min_word_size; }
   103   static bool delete_nodes_on_purge()                         { return _delete_nodes_on_purge; }
    99   static bool delete_nodes_on_purge()                         { return _delete_nodes_on_purge; }
   104   static bool uncommit_on_purge()                             { return _uncommit_on_purge; }
   100   static bool uncommit_on_purge()                             { return _uncommit_on_purge; }
   105   static size_t uncommit_on_purge_min_word_size()             { return _uncommit_on_purge_min_word_size; }
   101   static size_t uncommit_on_purge_min_word_size()             { return _uncommit_on_purge_min_word_size; }
   106   static bool separate_micro_cld_allocations()                { return _separate_micro_cld_allocations; }
       
   107 
   102 
   108   static void ergo_initialize();
   103   static void ergo_initialize();
   109 
   104 
   110   static void print_on(outputStream* st);
   105   static void print_on(outputStream* st);
   111 
   106