Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.hpp @ 16023:774349ad0b03
fixed hang in non-COMPILERGRAAL builds when -Xcomp is specified
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 04 Jun 2014 23:07:29 +0200 |
parents | 66a9286203a2 |
children | e9998e2be7f5 |
comparison
equal
deleted
inserted
replaced
16022:3f350b0d93c9 | 16023:774349ad0b03 |
---|---|
1880 | 1880 |
1881 bool is_Compiler_thread() const { return true; } | 1881 bool is_Compiler_thread() const { return true; } |
1882 | 1882 |
1883 #ifdef COMPILERGRAAL | 1883 #ifdef COMPILERGRAAL |
1884 virtual bool can_call_java() const; | 1884 virtual bool can_call_java() const; |
1885 #else | |
1886 virtual bool can_call_java() const { return false; } | |
1885 #endif | 1887 #endif |
1886 | 1888 |
1887 // Hide this compiler thread from external view. | 1889 // Hide this compiler thread from external view. |
1888 bool is_hidden_from_external_view() const { return !can_call_java(); } | 1890 bool is_hidden_from_external_view() const { return !can_call_java(); } |
1889 | 1891 |