src/hotspot/os/linux/os_linux.cpp
changeset 51994 7577686cc9bd
parent 51989 7ac0ac1e57b6
child 51996 84743156e780
equal deleted inserted replaced
51993:c0d05cf1d19d 51994:7577686cc9bd
  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. "