diff src/share/vm/runtime/thread.hpp @ 3543:344264424174

Enable debugging of compiler code from Java IDEs. Moved binary to "graal" subdirectory. New flag for starting Graal is just "-graal".
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Sat, 13 Aug 2011 18:08:28 +0200
parents be4ca325525a
children 22d11b3bc561
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp	Thu Aug 11 11:45:33 2011 +0200
+++ b/src/share/vm/runtime/thread.hpp	Sat Aug 13 18:08:28 2011 +0200
@@ -1715,7 +1715,8 @@
   void set_compiling(bool b)                     { _is_compiling = b; }
   bool is_Compiler_thread() const                { return true; }
   // Hide this compiler thread from external view.
-  bool is_hidden_from_external_view() const      { return true; }
+  // (tw) For Graal, the compiler thread should be visible.
+  bool is_hidden_from_external_view() const      { return !UseGraal || !DebugGraal; }
 
   CompileQueue* queue()                          { return _queue; }
   CompilerCounters* counters()                   { return _counters; }