< prev index next >

src/hotspot/share/runtime/thread.hpp

Print this page
rev 48401 : 8194482: Fix SIGSEGV in print_threads_compiling.

@@ -2064,11 +2064,11 @@
  private:
   CompilerCounters* _counters;
 
   ciEnv*            _env;
   CompileLog*       _log;
-  CompileTask*      _task;
+  CompileTask* volatile _task;  // print_threads_compiling can read this concurrently.
   CompileQueue*     _queue;
   BufferBlob*       _buffer_blob;
 
   AbstractCompiler* _compiler;
 
< prev index next >