Mercurial > hg > truffle
diff src/share/vm/runtime/thread.hpp @ 2195:bf8517f4e4d0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Summary: Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
author | kamg |
---|---|
date | Wed, 02 Feb 2011 14:38:01 -0500 |
parents | b92c45f2bc75 |
children | 0cd39a385a72 2e038ad0c1d0 |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp Wed Feb 02 18:38:40 2011 -0500 +++ b/src/share/vm/runtime/thread.hpp Wed Feb 02 14:38:01 2011 -0500 @@ -1680,16 +1680,6 @@ return cur_sp > low_addr ? cur_sp - low_addr : 0; } -// A JavaThread for low memory detection support -class LowMemoryDetectorThread : public JavaThread { - friend class VMStructs; -public: - LowMemoryDetectorThread(ThreadFunction entry_point) : JavaThread(entry_point) {}; - - // Hide this thread from external view. - bool is_hidden_from_external_view() const { return true; } -}; - // A thread used for Compilation. class CompilerThread : public JavaThread { friend class VMStructs;