[jdk17u-dev] RFR: 8307526: [JFR] Better handling of tampered JFR repository

Goetz Lindenmaier goetz at openjdk.org
Mon Jul 24 10:10:04 UTC 2023


I had to resolve three files. Two were trivial:
src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp
src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java

Here I had to adapt code:
src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecorder.java
shouldRotateDisc is not static in 17 because "8310661: JFR: Replace JVM.getJVM() with JVM"  is not in 17.
min_delta comes from RequestEngine because "8302883: JFR: Improve periodic events" is not in 17.

-------------

Commit messages:
 - Backport 66d2736521611fbe7652356894d046c17d7cf743

Changes: https://git.openjdk.org/jdk17u-dev/pull/1617/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1617&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307526
  Stats: 144 lines in 8 files changed: 102 ins; 8 del; 34 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1617.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1617/head:pull/1617

PR: https://git.openjdk.org/jdk17u-dev/pull/1617


More information about the jdk-updates-dev mailing list