mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8253235: JFR.dump does not respect maxage parameter
Reviewed-by: egahlin
This commit is contained in:
parent
cb7701b725
commit
a0382cd17c
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,8 @@ public final class PlatformRecording implements AutoCloseable {
|
|||
clone.setShouldWriteActiveRecordingEvent(false);
|
||||
clone.setName(getName());
|
||||
clone.setToDisk(true);
|
||||
clone.setMaxAge(getMaxAge());
|
||||
clone.setMaxSize(getMaxSize());
|
||||
// We purposely don't clone settings here, since
|
||||
// a union a == a
|
||||
if (!isToDisk()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue