src/hotspot/share/memory/metaspace/spaceManager.hpp
branchstuefe-new-metaspace-branch
changeset 59257 990b1fed3b47
parent 59155 b537e6386306
--- a/src/hotspot/share/memory/metaspace/spaceManager.hpp	Sat Nov 23 11:05:16 2019 +0100
+++ b/src/hotspot/share/memory/metaspace/spaceManager.hpp	Mon Nov 25 16:35:14 2019 +0100
@@ -72,7 +72,11 @@
   Metachunk* current_chunk()              { return _chunks.first(); }
   const Metachunk* current_chunk() const  { return _chunks.first(); }
 
-  // Prematurely released metablocks.
+  // These structures take care of 1) prematurely deallocated Metaspace blocks
+  //  and 2) leftover space from retired chunks.
+  // Only one of these is active; one will eventually go. We are still testing
+  //  which implementation is better suited to the task. _lom is default. Change
+  //  with -XX:+-MetaspaceUseLOM.
   BlockFreelist* _block_freelist;
   LeftOverManager* _lom;