incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r898412 - in /incubator/kato/trunk/org.apache.kato: kato.api.vm/src/main/java/javax/tools/diagnostics/vm/spi/delegates/CJVTMISignalTriggeredDumpDelegate.java kato.tck/execution/cjvmti/src/test/ant/test.xml
Date Tue, 12 Jan 2010 16:46:21 GMT
Author: spoole
Date: Tue Jan 12 16:46:21 2010
New Revision: 898412

URL: http://svn.apache.org/viewvc?rev=898412&view=rev
Log:
replaced CJVMTI trigger delegate (some how went missing)

Added:
    incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/spi/delegates/CJVTMISignalTriggeredDumpDelegate.java
Modified:
    incubator/kato/trunk/org.apache.kato/kato.tck/execution/cjvmti/src/test/ant/test.xml

Added: incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/spi/delegates/CJVTMISignalTriggeredDumpDelegate.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/spi/delegates/CJVTMISignalTriggeredDumpDelegate.java?rev=898412&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/spi/delegates/CJVTMISignalTriggeredDumpDelegate.java
(added)
+++ incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/spi/delegates/CJVTMISignalTriggeredDumpDelegate.java
Tue Jan 12 16:46:21 2010
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ ******************************************************************************/
+package javax.tools.diagnostics.vm.spi.delegates;
+
+import javax.tools.diagnostics.vm.spi.DumpInitiatorCapabilities;
+
+public class CJVTMISignalTriggeredDumpDelegate extends
+		AbstractSignalBasedDumpInitiatorDelegate {
+
+	public CJVTMISignalTriggeredDumpDelegate() {
+		
+	}
+
+	
+	@Override
+	public DumpInitiatorCapabilities getCapabilities() {
+		return new DumpInitiatorCapabilities() {
+		};
+	}
+
+	@Override
+	public String getDumpType() {
+		return "kato.cjvmti.signal";
+	}
+
+}

Modified: incubator/kato/trunk/org.apache.kato/kato.tck/execution/cjvmti/src/test/ant/test.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck/execution/cjvmti/src/test/ant/test.xml?rev=898412&r1=898411&r2=898412&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck/execution/cjvmti/src/test/ant/test.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck/execution/cjvmti/src/test/ant/test.xml Tue
Jan 12 16:46:21 2010
@@ -24,12 +24,15 @@
 	<target name="test">
 		
 		<!-- create the scenario and cause a cjvmti dump -->
-		
+		<echo>Agent   Path = ${cjvmti.agent.path}</echo>
+		<echo>Trigger Path = ${vmapi.agent.path}</echo>
 		<tcksetup dir="${target}">
 			<classpath path="${path}" />
 			<scenario name="142"/>
 			<jvmarg value="-agentpath:${cjvmti.agent.path}"/>
 			<jvmarg value="-Dorg.apache.kato.dumptrigger.librarypath=${vmapi.agent.path}"/>
+			<sysproperty key="javax.tools.diagnositics.vm.dumpinitiator" value="javax.tools.diagnostics.vm.spi.delegates.CJVTMISignalTriggeredDumpDelegate"/>
+			
 		</tcksetup>
 		
 		<!-- run the tck testsuite -->



Mime
View raw message