< prev index next >

src/hotspot/share/runtime/objectMonitor.hpp

Print this page
rev 51675 : imported patch 8210514

*** 319,341 **** int TrySpin(Thread * Self); void ExitEpilog(Thread * Self, ObjectWaiter * Wakee); bool ExitSuspendEquivalent(JavaThread * Self); }; - #undef TEVENT - #define TEVENT(nom) { if (SyncVerbose) FEVENT(nom); } - - #define FEVENT(nom) \ - { \ - static volatile int ctr = 0; \ - int v = ++ctr; \ - if ((v & (v - 1)) == 0) { \ - tty->print_cr("INFO: " #nom " : %d", v); \ - tty->flush(); \ - } \ - } - - #undef TEVENT - #define TEVENT(nom) {;} - - #endif // SHARE_VM_RUNTIME_OBJECTMONITOR_HPP --- 319,324 ----
< prev index next >