< prev index next > test/hotspot/jtreg/serviceability/jvmti/events/MonitorWaited/monitorwaited01/monitorwaited01.java
Print this page
/*
! * Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
* COMMENTS
* The test updated to match new JVMTI spec 0.2.90:
* - change signature of agentProc function
* and save JNIEnv pointer now passed as argument.
*
+ * @requires vm.continuations
* @library /test/lib
* @compile monitorwaited01.java
* @run main/othervm/native -agentlib:monitorwaited01 monitorwaited01 platform
* @run main/othervm/native -agentlib:monitorwaited01 monitorwaited01 virtual
*/
< prev index next >