mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +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
|
@ -945,6 +945,7 @@ void universe2_init() {
|
|||
extern void initialize_converter_functions();
|
||||
|
||||
bool universe_post_init() {
|
||||
assert(!is_init_completed(), "Error: initialization not yet completed!");
|
||||
Universe::_fully_initialized = true;
|
||||
EXCEPTION_MARK;
|
||||
{ ResourceMark rm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue