RFR: 8361640: JFR: RandomAccessFile::readLine emits events for each character

Erik Gahlin egahlin at openjdk.org
Wed Jul 9 08:27:26 UTC 2025


Could I have a review of the change that prevents RandomAccessFile::readLine from emitting an event per character? This leads to unnecessary overhead, both with or without JFR enabled.

Testing: tier1 + jdk/jdk/jfr

Thanks
Erik

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

Commit messages:
 - Remove mistakenly added file
 - Initial

Changes: https://git.openjdk.org/jdk/pull/26210/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26210&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361640
  Stats: 21 lines in 1 file changed: 19 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26210.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26210/head:pull/26210

PR: https://git.openjdk.org/jdk/pull/26210


More information about the hotspot-jfr-dev mailing list