Reduce RecordingInput cache size JEP-349-branch
authoregahlin
Thu, 11 Jul 2019 02:18:31 +0200
branchJEP-349-branch
changeset 57466 faf3a3b0bab6
parent 57463 e8d4ec2bf480
child 57467 de154169948b
Reduce RecordingInput cache size
src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RecordingInput.java
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RecordingInput.java	Tue Jul 09 16:18:40 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RecordingInput.java	Thu Jul 11 02:18:31 2019 +0200
@@ -34,7 +34,7 @@
 
 public final class RecordingInput implements DataInput, AutoCloseable {
 
-    private final static int DEFAULT_BLOCK_SIZE = 16 * 1024 * 1024;
+    private final static int DEFAULT_BLOCK_SIZE = 64_000;
 
     private static final class Block {
         private byte[] bytes = new byte[0];