8341131: Some jdk/jfr/event/compiler tests shouldn't be executed with Xcomp

Backport-of: 7312eea382eed048b6abdb6409c006fc8e8f45b4
This commit is contained in:
SendaoYan 2025-12-01 02:54:46 +00:00
parent d039e3b867
commit d8469f6038
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 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
@ -41,7 +41,7 @@ import jdk.test.whitebox.WhiteBox;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.compMode!="Xint"
* @requires vm.compMode == "Xmixed"
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

View File

@ -47,7 +47,7 @@ import java.util.stream.IntStream;
* @key jfr
* @summary Verifies that corresponding JFR events are emitted in case of inlining.
* @requires vm.hasJFR
*
* @requires vm.compMode == "Xmixed"
* @requires vm.opt.Inline == true | vm.opt.Inline == null
* @library /test/lib
* @modules java.base/jdk.internal.org.objectweb.asm

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 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
@ -51,7 +51,7 @@ class Dummy {
* @key jfr
* @summary sanity test for Deoptimization event, depends on Compilation event
* @requires vm.hasJFR
* @requires vm.compMode != "Xint"
* @requires vm.compMode == "Xmixed"
* @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == 4 | vm.opt.TieredStopAtLevel == null)
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox