--- 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; })
};