[jboss-cvs] JBoss Profiler SVN: r433 - trunk/jvmti-lib/java-src/org/jboss/profiler/jvmti.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 12 14:48:36 EDT 2008


Author: clebert.suconic at jboss.com
Date: 2008-03-12 14:48:36 -0400 (Wed, 12 Mar 2008)
New Revision: 433

Modified:
   trunk/jvmti-lib/java-src/org/jboss/profiler/jvmti/JVMTIInterface.java
Log:
Changing default on notifyObjects (for analysis on JBAS.. as I talked to Brian)

Modified: trunk/jvmti-lib/java-src/org/jboss/profiler/jvmti/JVMTIInterface.java
===================================================================
--- trunk/jvmti-lib/java-src/org/jboss/profiler/jvmti/JVMTIInterface.java	2008-03-11 03:42:36 UTC (rev 432)
+++ trunk/jvmti-lib/java-src/org/jboss/profiler/jvmti/JVMTIInterface.java	2008-03-12 18:48:36 UTC (rev 433)
@@ -103,6 +103,8 @@
 
     /** Force a GC. This method doesn't use System.gc. If JVMTI is enabled this will really cause a FullGC by calling a JVMTI function. */
     public native void forceGC();
+    
+    public native void startMeasure(String directory, String prefix, String suffix);
 
     /** returns the first class found with a given name */
     public Class getClassByName(String className)
@@ -129,7 +131,7 @@
     
     public void notifyOnReferences(String temporaryFile, JVMTICallBack callback)
     {
-    	notifyInventory(false,temporaryFile,null,callback);
+    	notifyInventory(true,temporaryFile,null,callback);
     }
     
     /** Will get all the objects holding references to these objects passed by parameter. This method is going to release tags, be careful if you are on the middle of navigations. */




More information about the jboss-cvs-commits mailing list