8358536: jdk/jfr/api/consumer/TestRecordingFileWrite.java times out
Reviewed-by: mgronlun
This commit is contained in:
parent
248341d372
commit
a653ff4893
@ -117,11 +117,11 @@ public final class PrettyWriter extends EventPrintWriter {
|
|||||||
// At the same time, a too large window, means it will take more time
|
// At the same time, a too large window, means it will take more time
|
||||||
// before the first event is printed and the tool will feel unresponsive.
|
// before the first event is printed and the tool will feel unresponsive.
|
||||||
private static final int EVENT_WINDOW_SIZE = 1_000_000;
|
private static final int EVENT_WINDOW_SIZE = 1_000_000;
|
||||||
private final PriorityQueue<Timestamp> timeline = new PriorityQueue<>(EVENT_WINDOW_SIZE + 4);
|
|
||||||
private final Map<Long, TypeInformation> typeInformation = new HashMap<>();
|
|
||||||
private final Map<Long, SequencedSet<RecordedEvent>> contexts = new HashMap<>();
|
|
||||||
private final boolean showExact;
|
private final boolean showExact;
|
||||||
private RecordedEvent currentEvent;
|
private RecordedEvent currentEvent;
|
||||||
|
private PriorityQueue<Timestamp> timeline;
|
||||||
|
private Map<Long, TypeInformation> typeInformation;
|
||||||
|
private Map<Long, SequencedSet<RecordedEvent>> contexts;
|
||||||
|
|
||||||
public PrettyWriter(PrintWriter destination, boolean showExact) {
|
public PrettyWriter(PrintWriter destination, boolean showExact) {
|
||||||
super(destination);
|
super(destination);
|
||||||
@ -133,6 +133,9 @@ public final class PrettyWriter extends EventPrintWriter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void print(Path source) throws IOException {
|
void print(Path source) throws IOException {
|
||||||
|
timeline = new PriorityQueue<>(EVENT_WINDOW_SIZE + 4);
|
||||||
|
typeInformation = new HashMap<>();
|
||||||
|
contexts = new HashMap<>();
|
||||||
printBegin();
|
printBegin();
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
try (RecordingFile file = new RecordingFile(source)) {
|
try (RecordingFile file = new RecordingFile(source)) {
|
||||||
|
@ -774,7 +774,6 @@ jdk/jfr/event/compiler/TestCodeSweeper.java 8338127 generic-
|
|||||||
jdk/jfr/event/oldobject/TestShenandoah.java 8342951 generic-all
|
jdk/jfr/event/oldobject/TestShenandoah.java 8342951 generic-all
|
||||||
jdk/jfr/event/runtime/TestResidentSetSizeEvent.java 8309846 aix-ppc64
|
jdk/jfr/event/runtime/TestResidentSetSizeEvent.java 8309846 aix-ppc64
|
||||||
jdk/jfr/jvm/TestWaste.java 8282427 generic-all
|
jdk/jfr/jvm/TestWaste.java 8282427 generic-all
|
||||||
jdk/jfr/api/consumer/TestRecordingFileWrite.java 8358536 generic-all
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user