Skip to content

Commit 209a0cf

Browse files
author
duke
committed
Backport 7312eea382eed048b6abdb6409c006fc8e8f45b4
1 parent ea2dd16 commit 209a0cf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/jdk/jdk/jfr/event/compiler/TestCompilerCompile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -41,7 +41,7 @@
4141
* @test
4242
* @key jfr
4343
* @requires vm.hasJFR
44-
* @requires vm.compMode!="Xint"
44+
* @requires vm.compMode == "Xmixed"
4545
* @library /test/lib
4646
* @build jdk.test.whitebox.WhiteBox
4747
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

test/jdk/jdk/jfr/event/compiler/TestCompilerInlining.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* @key jfr
4848
* @summary Verifies that corresponding JFR events are emitted in case of inlining.
4949
* @requires vm.hasJFR
50-
*
50+
* @requires vm.compMode == "Xmixed"
5151
* @requires vm.opt.Inline == true | vm.opt.Inline == null
5252
* @library /test/lib
5353
* @modules java.base/jdk.internal.org.objectweb.asm

test/jdk/jdk/jfr/event/compiler/TestDeoptimization.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -51,7 +51,7 @@ public static void dummyMethod(boolean b) {
5151
* @key jfr
5252
* @summary sanity test for Deoptimization event, depends on Compilation event
5353
* @requires vm.hasJFR
54-
* @requires vm.compMode != "Xint"
54+
* @requires vm.compMode == "Xmixed"
5555
* @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == 4 | vm.opt.TieredStopAtLevel == null)
5656
* @library /test/lib
5757
* @build jdk.test.whitebox.WhiteBox

0 commit comments

Comments
 (0)