mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8215097: Do not create NonJavaThreads before BarrierSet
G1 and CMS delay worker thread creation until BarrierSet exists. Reviewed-by: dholmes, tschatzl
This commit is contained in:
parent
c2364ff9e0
commit
13b56530f4
5 changed files with 32 additions and 52 deletions
|
@ -2156,7 +2156,6 @@ class Threads: AllStatic {
|
|||
static int _thread_claim_parity;
|
||||
#ifdef ASSERT
|
||||
static bool _vm_complete;
|
||||
static size_t _threads_before_barrier_set;
|
||||
#endif
|
||||
|
||||
static void initialize_java_lang_classes(JavaThread* main_thread, TRAPS);
|
||||
|
@ -2226,14 +2225,6 @@ class Threads: AllStatic {
|
|||
|
||||
#ifdef ASSERT
|
||||
static bool is_vm_complete() { return _vm_complete; }
|
||||
|
||||
static size_t threads_before_barrier_set() {
|
||||
return _threads_before_barrier_set;
|
||||
}
|
||||
|
||||
static void inc_threads_before_barrier_set() {
|
||||
++_threads_before_barrier_set;
|
||||
}
|
||||
#endif // ASSERT
|
||||
|
||||
// Verification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue