mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Defer posting events from the compiler thread: use service thread Reviewed-by: coleenp, dholmes, never, dcubed
This commit is contained in:
parent
052aed6276
commit
8a44936bb0
21 changed files with 617 additions and 298 deletions
|
@ -1680,16 +1680,6 @@ inline size_t JavaThread::stack_available(address cur_sp) {
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue