changeset 60817:ade2a3a85d97

8241828: JFR: Some streaming tests require a larger heap size with ZGC Reviewed-by: stefank
author egahlin
date Wed, 08 Apr 2020 10:43:16 +0200
parents 49f0ff816424
children e466454d7cfc
files test/jdk/jdk/jfr/api/consumer/streaming/TestChunkGap.java test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestChunkGap.java	Thu Apr 02 15:03:27 2020 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestChunkGap.java	Wed Apr 08 10:43:16 2020 +0200
@@ -40,7 +40,7 @@
  * @key jfr
  * @requires vm.hasJFR
  * @library /test/lib
- * @run main/othervm jdk.jfr.api.consumer.streaming.TestFilledChunks
+ * @run main/othervm jdk.jfr.api.consumer.streaming.TestChunkGap
  */
 public class TestChunkGap {
 
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java	Thu Apr 02 15:03:27 2020 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java	Wed Apr 08 10:43:16 2020 +0200
@@ -54,6 +54,7 @@
 
     public static void main(String... args) throws Exception {
         try (RecordingStream rs = new RecordingStream()) {
+            rs.setOrdered(false);
             rs.onEvent(FillEvent.class.getName(), e -> {
                 int id = e.getInt("id");
                 // Some events may get lost due to