src/share/vm/runtime/unhandledOops.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/unhandledOops.hpp	Wed Jan 15 01:43:07 2014
--- new/src/share/vm/runtime/unhandledOops.hpp	Wed Jan 15 01:43:07 2014

*** 32,42 **** --- 32,42 ---- // The design is that when an oop is declared on the stack as a local // variable, the oop is actually a C++ struct with constructor and // destructor. The constructor adds the oop address on a list // off each thread and the destructor removes the oop. At a potential // safepoint, the stack addresses of the local variable oops are trashed ! // with a recognizeable value. If the local variable is used again, it ! // with a recognizable value. If the local variable is used again, it // will segfault, indicating an unsafe use of that oop. // eg: // oop o; //register &o on list // funct(); // if potential safepoint - causes clear_naked_oops() // // which trashes o above.

src/share/vm/runtime/unhandledOops.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File