src/hotspot/os/linux/os_linux.cpp
changeset 49636 6d5bd76650df
parent 49449 ef5d5d343e2a
child 49660 89a886b7a9cf
equal deleted inserted replaced
49635:e79bbf1635da 49636:6d5bd76650df
  1642         // This should happen only when you are building JDK7 using a very
  1642         // This should happen only when you are building JDK7 using a very
  1643         // old version of JDK6 (e.g., with JPRT) and running test_gamma.
  1643         // old version of JDK6 (e.g., with JPRT) and running test_gamma.
  1644         //
  1644         //
  1645         // Dynamic loader will make all stacks executable after
  1645         // Dynamic loader will make all stacks executable after
  1646         // this function returns, and will not do that again.
  1646         // this function returns, and will not do that again.
  1647 #ifdef ASSERT
  1647         assert(Threads::number_of_threads() == 0, "no Java threads should exist yet.");
  1648         ThreadsListHandle tlh;
       
  1649         assert(tlh.length() == 0, "no Java threads should exist yet.");
       
  1650 #endif
       
  1651       } else {
  1648       } else {
  1652         warning("You have loaded library %s which might have disabled stack guard. "
  1649         warning("You have loaded library %s which might have disabled stack guard. "
  1653                 "The VM will try to fix the stack guard now.\n"
  1650                 "The VM will try to fix the stack guard now.\n"
  1654                 "It's highly recommended that you fix the library with "
  1651                 "It's highly recommended that you fix the library with "
  1655                 "'execstack -c <libfile>', or link it with '-z noexecstack'.",
  1652                 "'execstack -c <libfile>', or link it with '-z noexecstack'.",