RE: GC and Time Stamp
"Wasler, David" <[email protected]> Fri, 28 Jun 2002 10:42:46 -0400
| Newsgroups | gmane.comp.java.jswat.devel |
|---|---|
| Message-ID | <1102AA6D1077518-02@MMS__lehman.com_> |
Hi All: I'm still on my quest to add a time stamp to GC I came across this went reviewing jvmpi doc. Can I use jswat to catch NotifyEvent from the JVM? http://java.sun.com/j2se/1.3/docs/guide/jvmpi/jvmpi.html#event_notification The VM sends an event by calling NotifyEvent with a JVMPI_Event data structure as the argument. The following events are supported: method enter and exit object alloc, move, and free heap arena create and delete GC start and finish JNI global reference alloc and free JNI weak global reference alloc and free compiled method load and unload thread start and end class file data ready for instrumentation class load and unload contended Java monitor wait to enter , entered, and exit contended raw monitor wait to enter, entered, and exit Java monitor wait and waited monitor dump heap dump object dump request to dump or reset profiling data Java virtual machine initialization and shutdown -----Original Message----- From: Nathan Fiedler [mailto:[email protected]] Sent: Thursday, June 27, 2002 6:46 PM To: Wasler, David Cc: '[email protected]' Subject: Re: [jswat-dev] GC and Time Stamp There does not appear to be anything in the JDI that allows for catching gc events. I would guess that the -verbosegc is your only option. n On Thu, 2002-06-27 at 14:13, Wasler, David wrote: > Hi: > > I new here and want to use jswat to tell me Full GC happen with a time > stamp. > > Currently, I can set -verbosegc and view in the Weblogic log a statement > saying Full GC with time is sec it took GC, took plus some size info. > > does any one have any suggestion, how I might approch this. > > thank You > David L. Wasler > [email protected] > 201-524-2015 ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.