mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Use weak handles for compile tasks to allow unloading of referenced methods. Reviewed-by: kvn, coleenp, eosterlund
This commit is contained in:
parent
e28fea2d7c
commit
ac17b61a59
9 changed files with 195 additions and 56 deletions
|
@ -2298,7 +2298,7 @@ class Threads: AllStatic {
|
|||
static void print_on_error(outputStream* st, Thread* current, char* buf, int buflen);
|
||||
static void print_on_error(Thread* this_thread, outputStream* st, Thread* current, char* buf,
|
||||
int buflen, bool* found_current);
|
||||
static void print_threads_compiling(outputStream* st, char* buf, int buflen);
|
||||
static void print_threads_compiling(outputStream* st, char* buf, int buflen, bool short_form = false);
|
||||
|
||||
// Get Java threads that are waiting to enter a monitor.
|
||||
static GrowableArray<JavaThread*>* get_pending_threads(ThreadsList * t_list,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue