Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
3541:f3ce30df0218 | 3543:344264424174 |
---|---|
1713 | 1713 |
1714 bool is_compiling() const { return _is_compiling; } | 1714 bool is_compiling() const { return _is_compiling; } |
1715 void set_compiling(bool b) { _is_compiling = b; } | 1715 void set_compiling(bool b) { _is_compiling = b; } |
1716 bool is_Compiler_thread() const { return true; } | 1716 bool is_Compiler_thread() const { return true; } |
1717 // Hide this compiler thread from external view. | 1717 // Hide this compiler thread from external view. |
1718 bool is_hidden_from_external_view() const { return true; } | 1718 // (tw) For Graal, the compiler thread should be visible. |
1719 bool is_hidden_from_external_view() const { return !UseGraal || !DebugGraal; } | |
1719 | 1720 |
1720 CompileQueue* queue() { return _queue; } | 1721 CompileQueue* queue() { return _queue; } |
1721 CompilerCounters* counters() { return _counters; } | 1722 CompilerCounters* counters() { return _counters; } |
1722 | 1723 |
1723 // Get/set the thread's compilation environment. | 1724 // Get/set the thread's compilation environment. |