src/hotspot/share/runtime/thread.cpp
changeset 47600 5c8607bb3d2d
parent 47216 71c04702a3d5
child 47613 af241e3e5a13
--- a/src/hotspot/share/runtime/thread.cpp	Fri Oct 06 19:33:27 2017 -0400
+++ b/src/hotspot/share/runtime/thread.cpp	Fri Oct 06 22:40:31 2017 -0400
@@ -3263,6 +3263,9 @@
   _buffer_blob = NULL;
   _compiler = NULL;
 
+  // Compiler uses resource area for compilation, let's bias it to mtCompiler
+  resource_area()->bias_to(mtCompiler);
+
 #ifndef PRODUCT
   _ideal_graph_printer = NULL;
 #endif