8213723: More Monitor/mutex initialization management

8213893: StringTable_lock is unused

Reviewed-by: tschatzl, dcubed, coleenp
This commit is contained in:
David Holmes 2018-11-15 17:55:41 -05:00
parent 6b0d1af7fa
commit 5e0ae53450
12 changed files with 49 additions and 14 deletions

View file

@ -4957,6 +4957,10 @@ void os::pd_init_container_support() {
// this is called _after_ the global arguments have been parsed
jint os::init_2(void) {
// This could be set after os::Posix::init() but all platforms
// have to set it the same so we have to mirror Solaris.
DEBUG_ONLY(os::set_mutex_init_done();)
os::Posix::init_2();
Linux::fast_thread_clock_init();