Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8266190: mark hotspot compiler/codecache tests which ignore VM flags #3769

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2021, 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
@@ -27,8 +27,7 @@
* @summary Test checks that the order in which ReversedCodeCacheSize and
* InitialCodeCacheSize are passed to the VM is irrelevant.
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.flagless
*
* @run driver compiler.codecache.CheckReservedInitialCodeCacheSizeArgOrder
*/
@@ -26,8 +26,7 @@
* @bug 8015774
* @summary Checks VM options related to the segmented code cache
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.flagless
*
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
@@ -59,10 +58,10 @@ private static void verifySegmentedCodeCache(ProcessBuilder pb, boolean enabled)
out.shouldContain(NON_METHOD);
} catch (RuntimeException e) {
// Check if TieredCompilation is disabled (in a client VM)
if(!out.getOutput().contains("-XX:+TieredCompilation not supported in this VM")) {
if (!out.getOutput().contains("-XX:+TieredCompilation not supported in this VM")) {
// Code cache is not segmented
throw new RuntimeException("No code cache segmentation.");
}
}
}
} else {
out.shouldNotContain(NON_METHOD);
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2021, 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
@@ -26,8 +26,7 @@
* @bug 8015635
* @summary Test ensures that the ReservedCodeCacheSize is at most MAXINT
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @requires vm.flagless
*
* @run driver compiler.codecache.CheckUpperLimit
*/