8207830: [aix] disable jfr in build and tests
Reviewed-by: kvn, erikj
This commit is contained in:
parent
9dcc8b4a96
commit
c798b68ee1
@ -331,8 +331,10 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
|
||||
|
||||
# Enable JFR by default, except for Zero, linux-sparcv9 and on minimal.
|
||||
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
|
||||
if test "x$OPENJDK_TARGET_OS" != xlinux || test "x$OPENJDK_TARGET_CPU" != xsparcv9; then
|
||||
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jfr"
|
||||
if test "x$OPENJDK_TARGET_OS" != xaix; then
|
||||
if test "x$OPENJDK_TARGET_OS" != xlinux || test "x$OPENJDK_TARGET_CPU" != xsparcv9; then
|
||||
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jfr"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -459,7 +461,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
|
||||
JVM_FEATURES_aot="aot"
|
||||
fi
|
||||
else
|
||||
if test "x$enable_aot" = "xno" || "x$DISABLE_AOT" = "xaot"; then
|
||||
if test "x$enable_aot" = "xno" || test "x$DISABLE_AOT" = "xaot"; then
|
||||
AC_MSG_RESULT([no, forced])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
|
@ -1785,6 +1785,14 @@ WB_ENTRY(jboolean, WB_IsJavaHeapArchiveSupported(JNIEnv* env))
|
||||
WB_END
|
||||
|
||||
|
||||
WB_ENTRY(jboolean, WB_IsJFRIncludedInVmBuild(JNIEnv* env))
|
||||
#if INCLUDE_JFR
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif // INCLUDE_JFR
|
||||
WB_END
|
||||
|
||||
#if INCLUDE_CDS
|
||||
|
||||
WB_ENTRY(jint, WB_GetOffsetForName(JNIEnv* env, jobject o, jstring name))
|
||||
@ -2163,6 +2171,7 @@ static JNINativeMethod methods[] = {
|
||||
{CC"getResolvedReferences", CC"(Ljava/lang/Class;)Ljava/lang/Object;", (void*)&WB_GetResolvedReferences},
|
||||
{CC"areOpenArchiveHeapObjectsMapped", CC"()Z", (void*)&WB_AreOpenArchiveHeapObjectsMapped},
|
||||
{CC"isCDSIncludedInVmBuild", CC"()Z", (void*)&WB_IsCDSIncludedInVmBuild },
|
||||
{CC"isJFRIncludedInVmBuild", CC"()Z", (void*)&WB_IsJFRIncludedInVmBuild },
|
||||
{CC"isJavaHeapArchiveSupported", CC"()Z", (void*)&WB_IsJavaHeapArchiveSupported },
|
||||
|
||||
{CC"clearInlineCaches0", CC"(Z)V", (void*)&WB_ClearInlineCaches },
|
||||
|
@ -54,6 +54,7 @@ requires.properties= \
|
||||
vm.debug \
|
||||
vm.hasSA \
|
||||
vm.hasSAandCanAttach \
|
||||
vm.hasJFR \
|
||||
vm.rtm.cpu \
|
||||
vm.rtm.os \
|
||||
vm.aot \
|
||||
|
@ -22,10 +22,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Make sure CDS and JFR work together.
|
||||
* @requires vm.cds
|
||||
* @requires vm.hasJFR & vm.cds
|
||||
* @library /test/lib /test/hotspot/jtreg/runtime/appcds /test/hotspot/jtreg/runtime/appcds/test-classes test-classes
|
||||
* @modules jdk.jfr
|
||||
* @build Hello GetFlightRecorder
|
||||
|
@ -22,14 +22,14 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @bug 8145221
|
||||
* @summary After creating an AppCDS archive, run the test with the JFR profiler
|
||||
* enabled, and keep calling a method in the archive in a tight loop.
|
||||
* This is to test the safe handling of trampoline functions by the
|
||||
* profiler.
|
||||
* @requires vm.cds
|
||||
* @requires vm.hasJFR & vm.cds
|
||||
* @library /test/lib /test/hotspot/jtreg/runtime/appcds
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
|
@ -22,10 +22,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test relevant combinations of command line flags with shared strings
|
||||
* @requires vm.cds.archived.java.heap
|
||||
* @requires vm.cds.archived.java.heap & vm.hasJFR
|
||||
* @library /test/lib /test/hotspot/jtreg/runtime/appcds
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
@ -34,7 +34,21 @@
|
||||
* @run main FlagCombo
|
||||
*/
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @summary Test relevant combinations of command line flags with shared strings
|
||||
* @comment A special test excluding the case that requires JFR
|
||||
* @requires vm.cds.archived.java.heap & !vm.hasJFR
|
||||
* @library /test/lib /test/hotspot/jtreg/runtime/appcds
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* jdk.jartool/sun.tools.jar
|
||||
* @build HelloString
|
||||
* @run main FlagCombo noJfr
|
||||
*/
|
||||
|
||||
import jdk.test.lib.BuildHelper;
|
||||
import jdk.test.lib.Platform;
|
||||
|
||||
public class FlagCombo {
|
||||
public static void main(String[] args) throws Exception {
|
||||
@ -45,8 +59,10 @@ public class FlagCombo {
|
||||
|
||||
SharedStringsUtils.runWithArchive("HelloString", "-XX:+UseG1GC");
|
||||
|
||||
SharedStringsUtils.runWithArchiveAuto("HelloString",
|
||||
"-XX:StartFlightRecording=dumponexit=true");
|
||||
if (args.length == 0) {
|
||||
SharedStringsUtils.runWithArchiveAuto("HelloString",
|
||||
"-XX:StartFlightRecording=dumponexit=true");
|
||||
}
|
||||
|
||||
SharedStringsUtils.runWithArchive("HelloString", "-XX:+UnlockDiagnosticVMOptions",
|
||||
"-XX:NativeMemoryTracking=detail", "-XX:+PrintNMTStatistics");
|
||||
|
@ -42,6 +42,7 @@ requires.properties= \
|
||||
vm.cds \
|
||||
vm.hasSA \
|
||||
vm.hasSAandCanAttach \
|
||||
vm.hasJFR \
|
||||
docker.support \
|
||||
release.implementor
|
||||
|
||||
|
@ -35,9 +35,10 @@ import jdk.jfr.consumer.RecordedThread;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestFieldAccess
|
||||
*/
|
||||
|
@ -42,10 +42,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies that a recorded JFR event has the correct stack trace info
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestGetStackTrace
|
||||
*/
|
||||
|
@ -42,9 +42,10 @@ import jdk.jfr.consumer.RecordedStackTrace;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
*
|
||||
* @library /test/lib
|
||||
* @modules java.scripting
|
||||
|
@ -39,9 +39,10 @@ import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm -Xint jdk.jfr.api.consumer.TestMethodGetModifiers
|
||||
*/
|
||||
|
@ -38,10 +38,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.Utils;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Reads the recorded file two times and verifies that both reads are the same
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestReadTwice
|
||||
*/
|
||||
|
@ -36,10 +36,11 @@ import jdk.test.lib.jfr.EventNames;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.TestClassLoader;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies the methods of the RecordedClassLoader
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedClassLoader
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies the methods of the RecordedEvent
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEvent
|
||||
*/
|
||||
|
@ -34,10 +34,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests that the RecordedEvent.getThread() returns th expected info
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEventGetThread
|
||||
*/
|
||||
|
@ -36,10 +36,11 @@ import jdk.jfr.consumer.RecordingFile;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.Utils;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests that the RecordedEvent.getThread() returns th expected info
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEventGetThreadOther
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Simple test for RecordedFrame APIs
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm -Xint -XX:+UseInterpreter -Dinterpreted=true jdk.jfr.api.consumer.TestRecordedFrame
|
||||
* @run main/othervm -Xcomp -XX:-UseInterpreter -Dinterpreted=false jdk.jfr.api.consumer.TestRecordedFrame
|
||||
|
@ -40,9 +40,10 @@ import jdk.test.lib.jfr.EventNames;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.RecurseThread;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedFullStackTrace
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests that an instant event gets recorded with its start time equal to its end time
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedInstantEventTimestamp
|
||||
*/
|
||||
|
@ -40,9 +40,10 @@ import jdk.jfr.consumer.RecordedStackTrace;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedMethodDescriptor
|
||||
*/
|
||||
|
@ -47,10 +47,11 @@ import jdk.jfr.consumer.RecordedThread;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies the methods of the RecordedObject
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedObject
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests getParent method in RecordedThreadGroup
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordedThreadGroupParent
|
||||
*/
|
||||
|
@ -49,10 +49,11 @@ import jdk.jfr.consumer.RecordingFile;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.Utils;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies that all methods in RecordingFIle are working
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordingFile
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies that RecordingFile.readEvent() throws EOF when past the last record
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordingFileReadEventEof
|
||||
*/
|
||||
|
@ -32,10 +32,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests that chunks are read in order and constant pools from multiple chunks can be read
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestRecordingInternals
|
||||
*/
|
||||
|
@ -34,10 +34,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies that a single JFR event is recorded as expected
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestSingleRecordedEvent
|
||||
*/
|
||||
|
@ -34,10 +34,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Sanity checks that RecordedEvent#toString returns something valid
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestToString
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies that the recorded value descriptors are correct
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.consumer.TestValueDescriptorRecorded
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.jfr.consumer.RecordingFile;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests that abstract events are not part of metadata
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestAbstractEvent
|
||||
*/
|
||||
|
@ -32,10 +32,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test for RecordedEvent.getDuration()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestBeginEnd
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test enable/disable event and verify recording has expected events.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestClinitRegistration
|
||||
*/
|
||||
|
@ -35,10 +35,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Tests that a cloned event can be successfully committed.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestClonedEvent
|
||||
*/
|
||||
|
@ -36,10 +36,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test enable/disable event and verify recording has expected events.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestEnableDisable
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary EventFactory simple test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestEventFactory
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.jfr.FlightRecorder;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Verifies that EventFactory can register the same event twice
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestEventFactoryRegisterTwice
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.jfr.Registered;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary EventFactory register/unregister API test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestEventFactoryRegistration
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test with event class inheritance
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestExtends
|
||||
*/
|
||||
|
@ -36,10 +36,11 @@ import jdk.test.lib.jfr.EventNames;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test for RecordedEvent.getDuration()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestGetDuration
|
||||
*/
|
||||
|
@ -30,10 +30,11 @@ import jdk.jfr.Recording;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test Event.isEnabled()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestIsEnabled
|
||||
*/
|
||||
|
@ -30,10 +30,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.Recording;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test Event.isEnabled() with multiple recordings
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestIsEnabledMultiple
|
||||
*/
|
||||
|
@ -34,10 +34,11 @@ import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Use custom event that reuse method names begin, end and commit.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestOwnCommit
|
||||
*/
|
||||
|
@ -31,10 +31,11 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.Recording;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test enable/disable event and verify recording has expected events.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm -Xlog:jfr+event+setting=trace jdk.jfr.api.event.TestShouldCommit
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.jfr.Recording;
|
||||
import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Enable an event from a static function in the event.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.TestStaticEnable
|
||||
*/
|
||||
|
@ -51,9 +51,10 @@ import jdk.jfr.ValueDescriptor;
|
||||
import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.dynamic.TestDynamicAnnotations
|
||||
*/
|
||||
|
@ -53,9 +53,10 @@ import jdk.test.lib.jfr.EventTypePrototype;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.event.dynamic.TestEventFactory
|
||||
*/
|
||||
|
@ -29,9 +29,10 @@ import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.Recording;
|
||||
import jdk.jfr.RecordingState;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestAddListenerTwice
|
||||
*/
|
||||
|
@ -35,10 +35,11 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.Recording;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestAddPeriodicEvent
|
||||
*/
|
||||
|
@ -34,9 +34,10 @@ import java.util.concurrent.locks.ReentrantLock;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.FlightRecorderListener;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestFlightRecorderListenerRecorderInitialized
|
||||
*/
|
||||
|
@ -38,9 +38,10 @@ import jdk.jfr.Recording;
|
||||
import jdk.jfr.consumer.RecordedEvent;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm/timeout=600 jdk.jfr.api.flightrecorder.TestGetEventTypes
|
||||
*/
|
||||
|
@ -29,9 +29,10 @@ import static jdk.test.lib.Asserts.assertEquals;
|
||||
|
||||
import jdk.jfr.FlightRecorder;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestGetPlatformRecorder
|
||||
*/
|
||||
|
@ -34,9 +34,10 @@ import java.util.List;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.Recording;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestGetRecordings
|
||||
*/
|
||||
|
@ -35,9 +35,10 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.jfr.Recording;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestGetSettings
|
||||
*/
|
||||
|
@ -28,9 +28,10 @@ package jdk.jfr.api.flightrecorder;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm -XX:+FlightRecorder jdk.jfr.api.flightrecorder.TestIsAvailable true
|
||||
* @run main/othervm -XX:-FlightRecorder jdk.jfr.api.flightrecorder.TestIsAvailable false
|
||||
|
@ -29,9 +29,10 @@ import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.FlightRecorderListener;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestIsInitialized
|
||||
*/
|
||||
|
@ -29,9 +29,10 @@ import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.Recording;
|
||||
import jdk.jfr.RecordingState;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestListener
|
||||
*/
|
||||
|
@ -29,9 +29,10 @@ import static jdk.test.lib.Asserts.fail;
|
||||
|
||||
import jdk.jfr.FlightRecorder;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestListenerNull
|
||||
*/
|
||||
|
@ -28,10 +28,11 @@ package jdk.jfr.api.flightrecorder;
|
||||
import jdk.jfr.Event;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Check that an IllegalArgumentException is thrown if event is added twice
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestPeriodicEventsSameHook
|
||||
*/
|
||||
|
@ -32,10 +32,11 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
import jdk.jfr.FlightRecorderListener;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test Flight Recorder initialization callback is only called once
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestRecorderInitializationCallback
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestRegisterUnregisterEvent
|
||||
*/
|
||||
|
@ -34,9 +34,10 @@ import jdk.jfr.Recording;
|
||||
import jdk.jfr.SettingControl;
|
||||
import jdk.jfr.SettingDefinition;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestSettingsControl
|
||||
*/
|
||||
|
@ -40,8 +40,10 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleEvent;
|
||||
|
||||
/* @test
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.flightrecorder.TestSnapshot
|
||||
*/
|
||||
|
@ -32,9 +32,10 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestCategory
|
||||
*/
|
||||
|
@ -39,9 +39,10 @@ import jdk.jfr.Timespan;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestContentType
|
||||
*/
|
||||
|
@ -41,9 +41,10 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleSetting;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestDescription
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import java.util.Map;
|
||||
import jdk.jfr.AnnotationElement;
|
||||
import jdk.jfr.MetadataDefinition;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestDynamicAnnotation
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.Recording;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestEnabled
|
||||
*/
|
||||
|
@ -38,9 +38,10 @@ import jdk.jfr.MetadataDefinition;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestExperimental
|
||||
*/
|
||||
|
@ -39,9 +39,10 @@ import jdk.jfr.Unsigned;
|
||||
import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestFieldAnnotations
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.MetadataDefinition;
|
||||
import jdk.jfr.Timestamp;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestHasValue
|
||||
*/
|
||||
|
@ -48,9 +48,10 @@ import jdk.test.lib.Utils;
|
||||
import jdk.test.lib.jfr.EventNames;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestInheritedAnnotations
|
||||
*/
|
||||
|
@ -42,9 +42,10 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleSetting;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestLabel
|
||||
*/
|
||||
|
@ -38,9 +38,10 @@ import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestMetadata
|
||||
*/
|
||||
|
@ -42,9 +42,10 @@ import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
import jdk.test.lib.jfr.SimpleSetting;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestName
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.Period;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestLabel
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.jfr.FlightRecorder;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestRegistered
|
||||
*/
|
||||
|
@ -29,9 +29,10 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.Recording;
|
||||
import jdk.jfr.Registered;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test Tests that commit doesn't throw exception when an event has not been registered.
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestRegisteredFalseAndRunning
|
||||
* @run main/othervm -XX:FlightRecorderOptions=retransform=false jdk.jfr.api.metadata.annotations.TestRegisteredFalseAndRunning
|
||||
|
@ -40,9 +40,10 @@ import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestRelational
|
||||
*/
|
||||
|
@ -34,9 +34,10 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.jfr.MetadataDefinition;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestSimpleMetadataEvent
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.StackTrace;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestStackTrace
|
||||
*/
|
||||
|
@ -31,9 +31,10 @@ import jdk.jfr.Threshold;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestThreshold
|
||||
*/
|
||||
|
@ -51,9 +51,10 @@ import jdk.jfr.TransitionTo;
|
||||
import jdk.jfr.Unsigned;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.annotations.TestTypesIdentical
|
||||
*/
|
||||
|
@ -35,10 +35,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.Label;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getAnnotations()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetAnnotation
|
||||
*/
|
||||
|
@ -62,10 +62,11 @@ import jdk.jfr.Unsigned;
|
||||
import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test for AnnotationElement.getAnnotationElements()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetAnnotationElements
|
||||
*/
|
||||
|
@ -37,10 +37,11 @@ import jdk.jfr.Label;
|
||||
import jdk.jfr.Period;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getAnnotations()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetAnnotations
|
||||
*/
|
||||
|
@ -32,10 +32,11 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test setName().
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetCategory
|
||||
*/
|
||||
|
@ -31,10 +31,11 @@ import jdk.jfr.FlightRecorder;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getDefaultValues()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetDefaultValues
|
||||
*/
|
||||
|
@ -36,10 +36,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.Label;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test descriptive annotations for EventType
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetDescription
|
||||
*/
|
||||
|
@ -29,10 +29,11 @@ import jdk.jfr.Event;
|
||||
import jdk.jfr.EventType;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getEventType()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetEventType
|
||||
*/
|
||||
|
@ -30,10 +30,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getField()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetField
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.ValueDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getFields()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetFields
|
||||
*/
|
||||
|
@ -31,10 +31,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.SettingDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test getSettings()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.eventtype.TestGetSettings
|
||||
*/
|
||||
|
@ -38,10 +38,11 @@ import jdk.jfr.consumer.RecordingFile;
|
||||
import jdk.jfr.internal.JVM;
|
||||
import jdk.test.lib.Utils;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @key jfr
|
||||
* @summary Test that verifies event metadata is removed when an event class is unloaded.
|
||||
* @requires vm.hasJFR
|
||||
*
|
||||
* @library /test/lib
|
||||
* @modules jdk.jfr/jdk.jfr.internal
|
||||
|
@ -29,10 +29,11 @@ import jdk.jfr.SettingDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getName()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestDefaultValue
|
||||
*/
|
||||
|
@ -33,10 +33,11 @@ import jdk.jfr.Timestamp;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getAnnotation();
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetAnnotation
|
||||
*/
|
||||
|
@ -36,10 +36,11 @@ import jdk.jfr.Timespan;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getAnnotationElements()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetAnnotationElement
|
||||
*/
|
||||
|
@ -34,10 +34,11 @@ import jdk.jfr.Timestamp;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getContentType()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetDescription
|
||||
*/
|
||||
|
@ -31,10 +31,11 @@ import jdk.jfr.SettingDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getDescription()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetDescription
|
||||
*/
|
||||
|
@ -31,10 +31,11 @@ import jdk.jfr.SettingDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getLabel()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetLabel
|
||||
*/
|
||||
|
@ -28,10 +28,11 @@ import jdk.jfr.EventType;
|
||||
import jdk.jfr.SettingDescriptor;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getName()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetName
|
||||
*/
|
||||
|
@ -29,10 +29,11 @@ import jdk.jfr.SettingDescriptor;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.jfr.Events;
|
||||
|
||||
/*
|
||||
/**
|
||||
* @test
|
||||
* @summary Test SettingDescriptor.getTypeId()
|
||||
* @key jfr
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib /test/jdk
|
||||
* @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetTypeId
|
||||
*/
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user