test/hotspot/jtreg/serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorVMEventsTest.java
changeset 51074 bf686c47c109
parent 50579 1596f418ffe4
child 51138 914f305ba6fa
equal deleted inserted replaced
51073:34696f3aa22b 51074:bf686c47c109
    24 package MyPackage;
    24 package MyPackage;
    25 
    25 
    26 import java.util.ArrayList;
    26 import java.util.ArrayList;
    27 import java.util.List;
    27 import java.util.List;
    28 
    28 
       
    29 // Graal is not tested here due to Graal not supporting DisableIntrinsic.
    29 /**
    30 /**
    30  * @test
    31  * @test
    31  * @summary Verifies that when the VM event is sent, sampled events are also collected.
    32  * @summary Verifies that when the VM event is sent, sampled events are also collected.
    32  * @build Frame HeapMonitor
    33  * @build Frame HeapMonitor
    33  * @compile HeapMonitorVMEventsTest.java
    34  * @compile HeapMonitorVMEventsTest.java
       
    35  * @requires !vm.graal.enabled
    34  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions
    36  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions
    35  *                          -XX:DisableIntrinsic=_clone
    37  *                          -XX:DisableIntrinsic=_clone
    36  *                          -agentlib:HeapMonitorTest MyPackage.HeapMonitorVMEventsTest
    38  *                          -agentlib:HeapMonitorTest MyPackage.HeapMonitorVMEventsTest
    37  */
    39  */
    38 
    40