#include "global.h"Include dependency graph for monitors.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | InitializeMonitors () |
| Initialize monitors. More... | |
| void | ShutdownMonitors () |
| Shut them down. More... | |
| void | Lock (const JVMPI_RawMonitor &monitor) |
| Locks a raw monitor. More... | |
| void | Unlock (const JVMPI_RawMonitor &monitor) |
| Unlocks a raw monitor. More... | |
Variables | |
| JVMPI_RawMonitor | output_lock |
| Used for output locking since cout isn't thread-safe. More... | |
| JVMPI_RawMonitor | methods_lock |
| Used for Methods . More... | |
| JVMPI_RawMonitor | threads_lock |
| Used for Threads . More... | |
|
|
Initialize monitors.
Definition at line 52 of file monitors.cpp. |
|
|
Locks a raw monitor.
Definition at line 56 of file monitors.h. Referenced by ClassUnloadEvent(), Debug(), NotifyEvent(), ThreadDump(), ThreadEndHandler(), and ThreadStartHandler().
00057 {
00058 CALL(RawMonitorEnter)(monitor);
00059 }
|
|
|
Shut them down.
Definition at line 62 of file monitors.cpp. 00063 {
00064 /*
00065 CALL(RawMonitorDestroy)(output_lock);
00066 CALL(RawMonitorDestroy)(data_lock);
00067 CALL(RawMonitorDestroy)(methods_lock);
00068 CALL(RawMonitorDestroy)(threads_lock);
00069 */
00070 unsafe_debug("Destroyed!", "");
00071 }
|
|
|
Unlocks a raw monitor.
Definition at line 65 of file monitors.h. Referenced by ClassUnloadEvent(), Debug(), NotifyEvent(), ThreadDump(), ThreadEndHandler(), and ThreadStartHandler().
00066 {
00067 CALL(RawMonitorExit)(monitor);
00068 }
|
|
|
Used for Methods .
Definition at line 43 of file monitors.h. |
|
|
Used for output locking since cout isn't thread-safe.
Definition at line 42 of file monitors.h. |
|
|
Used for Threads .
Definition at line 44 of file monitors.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001