diff src/share/vm/runtime/thread.hpp @ 4559:723df37192d6

Make it possible again to build a real client libjvm, drop the UseGraal flag. Use the --vm option instead of a special -vm option in the bench command
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 10 Feb 2012 17:04:03 +0100
parents 04b9a2566eec
children 33df1aeaebbf
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp	Fri Feb 10 02:22:23 2012 +0100
+++ b/src/share/vm/runtime/thread.hpp	Fri Feb 10 17:04:03 2012 +0100
@@ -1748,7 +1748,13 @@
   bool is_Compiler_thread() const                { return true; }
   // Hide this compiler thread from external view.
   // (tw) For Graal, the compiler thread should be visible.
-  bool is_hidden_from_external_view() const      { return !UseGraal || !DebugGraal; }
+  bool is_hidden_from_external_view() const      {
+#ifdef GRAAL
+    return !DebugGraal;
+#else
+    return true;
+#endif
+  }
 
   CompileQueue* queue()                          { return _queue; }
   CompilerCounters* counters()                   { return _counters; }