RFR: 8361640: JFR: RandomAccessFile::readLine emits events for each character
Erik Gahlin
egahlin at openjdk.org
Wed Jul 9 13:43:38 UTC 2025
On Wed, 9 Jul 2025 09:01:52 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I think we'll need to see if a test can be added as it's way too easy to refactor this code and re-introduce the issue.
I'm planning a follow-up PR that will check the top frame. Here's the draft:
https://github.com/openjdk/jdk/pull/26211
That test will count the number of events also, so it can detect if the code is refactored.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26210#issuecomment-3052718528
More information about the core-libs-dev
mailing list