8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2

Reviewed-by: dholmes, stuefe
This commit is contained in:
Mikael Gerdin 2017-09-25 21:25:46 -04:00
parent 7a446900da
commit 04b79fa8f3
11 changed files with 8 additions and 54 deletions

View file

@ -4768,8 +4768,6 @@ void os::init(void) {
init_random(1234567);
ThreadCritical::initialize();
Linux::set_page_size(sysconf(_SC_PAGESIZE));
if (Linux::page_size() == -1) {
fatal("os_linux.cpp: os::init: sysconf failed (%s)",