mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
7000578: CMS: assert(SafepointSynchronize::is_at_safepoint()) failed: Else races are possible
Weakened assert in onj_is_alive() to allow its use at initialization time when is_at_safepoint() normally reports false; added some related asserts to check order of is_init_completed() after Universe::is_fully_initialized(). Reviewed-by: jcoomes
This commit is contained in:
parent
fbe476856f
commit
9af444d011
4 changed files with 5 additions and 1 deletions
|
@ -160,5 +160,6 @@ bool is_init_completed() {
|
|||
|
||||
|
||||
void set_init_completed() {
|
||||
assert(Universe::is_fully_initialized(), "Should have completed initialization");
|
||||
_init_completed = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue