RFR: 8361640: JFR: RandomAccessFile::readLine emits events for each character [v2]
Erik Gahlin
egahlin at openjdk.org
Tue Jul 15 17:09:23 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 + tier2 + jdk/jdk/jfr
>
> Thanks
> Erik
Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:
Remove traceImplReadLine
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26210/files
- new: https://git.openjdk.org/jdk/pull/26210/files/027093ed..37b10a17
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26210&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26210&range=00-01
Stats: 21 lines in 1 file changed: 8 ins; 12 del; 1 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 core-libs-dev
mailing list