src/hotspot/share/memory/resourceArea.hpp
changeset 47600 5c8607bb3d2d
parent 47537 5390057a4489
child 48157 7c4d43c26352
--- a/src/hotspot/share/memory/resourceArea.hpp	Fri Oct 06 19:33:27 2017 -0400
+++ b/src/hotspot/share/memory/resourceArea.hpp	Fri Oct 06 22:40:31 2017 -0400
@@ -70,7 +70,11 @@
     return (char*)Amalloc(size, alloc_failmode);
   }
 
-  debug_only(int nesting() const { return _nesting; });
+  // Bias this resource area to specific memory type
+  // (by default, ResourceArea is tagged as mtThread, per-thread general purpose storage)
+  void bias_to(MEMFLAGS flags);
+
+  debug_only(int nesting() const { return _nesting; })
 };