comparison src/share/vm/runtime/init.cpp @ 1959:9eecf81a02fb

7000578: CMS: assert(SafepointSynchronize::is_at_safepoint()) failed: Else races are possible Summary: 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
author ysr
date Tue, 16 Nov 2010 13:58:48 -0800
parents f55c4f82ab9d
children f95d63e2154a
comparison
equal deleted inserted replaced
1954:e3e1fb85e50a 1959:9eecf81a02fb
158 return _init_completed; 158 return _init_completed;
159 } 159 }
160 160
161 161
162 void set_init_completed() { 162 void set_init_completed() {
163 assert(Universe::is_fully_initialized(), "Should have completed initialization");
163 _init_completed = true; 164 _init_completed = true;
164 } 165 }