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

@ -3353,8 +3353,6 @@ void os::init(void) {
init_random(1234567);
ThreadCritical::initialize();
Bsd::set_page_size(getpagesize());
if (Bsd::page_size() == -1) {
fatal("os_bsd.cpp: os::init: sysconf failed (%s)", os::strerror(errno));