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:
Y. Srinivas Ramakrishna 2010-11-16 13:58:48 -08:00
parent fbe476856f
commit 9af444d011
4 changed files with 5 additions and 1 deletions

View file

@ -160,5 +160,6 @@ bool is_init_completed() {
void set_init_completed() {
assert(Universe::is_fully_initialized(), "Should have completed initialization");
_init_completed = true;
}