src/hotspot/share/memory/metaspace/settings.hpp
branchstuefe-new-metaspace-branch
changeset 59155 b537e6386306
parent 58840 7678903a348f
equal deleted inserted replaced
59138:714474295e0a 59155:b537e6386306
    86 
    86 
    87   // As a workaround for JDK-8233019, make it possible to forbid returning adresses
    87   // As a workaround for JDK-8233019, make it possible to forbid returning adresses
    88   // whose lower 32bits are zero.
    88   // whose lower 32bits are zero.
    89   static const bool _do_not_return_32bit_aligned_addresses = true;
    89   static const bool _do_not_return_32bit_aligned_addresses = true;
    90 
    90 
       
    91   // Use Lom
       
    92   static bool _use_lom;
       
    93 
    91 public:
    94 public:
    92 
    95 
    93   static size_t commit_granule_bytes()                        { return _commit_granule_bytes; }
    96   static size_t commit_granule_bytes()                        { return _commit_granule_bytes; }
    94   static size_t commit_granule_words()                        { return _commit_granule_words; }
    97   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; }
    98   static bool newborn_root_chunks_are_fully_committed()       { return _newborn_root_chunks_are_fully_committed; }
   103   static bool delete_nodes_on_purge()                         { return _delete_nodes_on_purge; }
   106   static bool delete_nodes_on_purge()                         { return _delete_nodes_on_purge; }
   104   static bool uncommit_on_purge()                             { return _uncommit_on_purge; }
   107   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; }
   108   static size_t uncommit_on_purge_min_word_size()             { return _uncommit_on_purge_min_word_size; }
   106   static bool do_not_return_32bit_aligned_addresses()         { return _do_not_return_32bit_aligned_addresses; }
   109   static bool do_not_return_32bit_aligned_addresses()         { return _do_not_return_32bit_aligned_addresses; }
   107 
   110 
       
   111   static bool use_lom()                                       { return _use_lom; }
       
   112 
   108   static void ergo_initialize();
   113   static void ergo_initialize();
   109 
   114 
   110   static void print_on(outputStream* st);
   115   static void print_on(outputStream* st);
   111 
   116 
   112 };
   117 };