RFR: 8330532: Improve line-oriented text parsing in HotSpot
Ioi Lam
iklam at openjdk.org
Thu May 9 04:52:54 UTC 2024
On Wed, 8 May 2024 05:44:46 GMT, John Rose <john.r.rose at oracle.com> wrote:
> Ioi, I would support reducing coupling with fileStream by removing old rewind and new position/remaining functions. But I?d rather keep the new functions, because I think they are likely to be useful. I have future uses in mind, which might or might not happen. For example, open a CDS archive or large config file, position the fileStream at the base address of some textual configuration data, and start reading.
Hi John, I decided to remove the position/set_position/remaining functions from the PR, as we no longer have test cases that cover them. When they are needed in the future, we can restore them from history and add the necessary tests.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18833#issuecomment-2101928284
More information about the hotspot-dev
mailing list