mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8339889: Several compiler tests ignore vm flags and not marked as flagless
Reviewed-by: thartmann
This commit is contained in:
parent
0151b15b7c
commit
829d7a845e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2023, 2025, 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
|
||||
@ -54,7 +54,7 @@ public class TestReduceAllocationAndHeapDump {
|
||||
HeapDumper.class.getName()
|
||||
};
|
||||
|
||||
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(dumperArgs);
|
||||
ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(dumperArgs);
|
||||
Process p = pb.start();
|
||||
OutputAnalyzer out = new OutputAnalyzer(p);
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
@ -104,7 +105,7 @@ public class NativeCalls {
|
||||
ArrayList<String> command = new ArrayList<String>(v.options);
|
||||
command.addAll(baseOptions);
|
||||
command.add(v.compile);
|
||||
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(command);
|
||||
ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(command);
|
||||
OutputAnalyzer analyzer = new OutputAnalyzer(pb.start());
|
||||
analyzer.shouldHaveExitValue(0);
|
||||
System.out.println(analyzer.getOutput());
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2025, 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
|
||||
@ -32,6 +32,7 @@ import jdk.test.lib.Asserts;
|
||||
* @key stress randomness
|
||||
* @bug 8252219 8256535 8317349
|
||||
* @requires vm.debug == true & vm.compiler2.enabled
|
||||
* @requires vm.flagless
|
||||
* @summary Tests that stress compilations with the same seed yield the same
|
||||
* IGVN, CCP, and macro expansion traces.
|
||||
* @library /test/lib /
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2023, Red Hat and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
@ -27,6 +28,7 @@
|
||||
* @summary late inlining output shouldn't produce both failure and success messages
|
||||
* @library /test/lib
|
||||
* @requires vm.compiler2.enabled
|
||||
* @requires vm.flagless
|
||||
* @run driver compiler.inlining.TestDuplicatedLateInliningOutput
|
||||
*/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user