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

@ -4199,6 +4199,7 @@ jint os::init_2(void) {
// initialize synchronization primitives to use either thread or
// lwp synchronization (controlled by UseLWPSynchronization)
Solaris::synchronization_init();
DEBUG_ONLY(os::set_mutex_init_done();)
if (MaxFDLimit) {
// set the number of file descriptors to max. print out error