Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8281638: jfr/event/allocation tests fail with release VMs after JDK-8…
…281318 due to lack of -XX:+UnlockDiagnosticVMOptions

Reviewed-by: shade
  • Loading branch information
DamonFool committed Feb 11, 2022
1 parent 4d64076 commit d254cf2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2022, 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
Expand Down Expand Up @@ -42,10 +42,10 @@
* @build sun.hotspot.WhiteBox
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -XX:+UseTLAB -XX:TLABSize=100k -XX:-ResizeTLAB -XX:TLABRefillWasteFraction=1
* jdk.jfr.event.allocation.TestObjectAllocationInNewTLABEvent
* @run main/othervm -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -XX:+UseTLAB -XX:TLABSize=100k -XX:-ResizeTLAB -XX:TLABRefillWasteFraction=1
* -Xint
* jdk.jfr.event.allocation.TestObjectAllocationInNewTLABEvent
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2022, 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
Expand Down Expand Up @@ -42,10 +42,10 @@
* @build sun.hotspot.WhiteBox
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -XX:+UseTLAB -XX:TLABSize=90k -XX:-ResizeTLAB -XX:TLABRefillWasteFraction=256
* jdk.jfr.event.allocation.TestObjectAllocationOutsideTLABEvent
* @run main/othervm -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -XX:+UseTLAB -XX:TLABSize=90k -XX:-ResizeTLAB -XX:TLABRefillWasteFraction=256
* -Xint
* jdk.jfr.event.allocation.TestObjectAllocationOutsideTLABEvent
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2022, 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
Expand Down Expand Up @@ -44,7 +44,7 @@
* @build sun.hotspot.WhiteBox
*
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -XX:+UseTLAB -XX:TLABSize=2k -XX:-ResizeTLAB
* jdk.jfr.event.allocation.TestObjectAllocationSampleEventThrottling
*/
Expand Down

1 comment on commit d254cf2

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.