equal
deleted
inserted
replaced
1567 if (!is_init_completed()) { |
1567 if (!is_init_completed()) { |
1568 os::Linux::_stack_is_executable = true; |
1568 os::Linux::_stack_is_executable = true; |
1569 // This is OK - No Java threads have been created yet, and hence no |
1569 // This is OK - No Java threads have been created yet, and hence no |
1570 // stack guard pages to fix. |
1570 // stack guard pages to fix. |
1571 // |
1571 // |
1572 // This should happen only when you are building JDK7 using a very |
|
1573 // old version of JDK6 (e.g., with JPRT) and running test_gamma. |
|
1574 // |
|
1575 // Dynamic loader will make all stacks executable after |
1572 // Dynamic loader will make all stacks executable after |
1576 // this function returns, and will not do that again. |
1573 // this function returns, and will not do that again. |
1577 assert(Threads::number_of_threads() == 0, "no Java threads should exist yet."); |
1574 assert(Threads::number_of_threads() == 0, "no Java threads should exist yet."); |
1578 } else { |
1575 } else { |
1579 warning("You have loaded library %s which might have disabled stack guard. " |
1576 warning("You have loaded library %s which might have disabled stack guard. " |