RFR: 8308252: Refactor line-by-line file reading code [v3]

Thomas Stuefe stuefe at openjdk.org
Thu May 18 09:31:49 UTC 2023


On Thu, 18 May 2023 00:35:00 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Looks useful. I wonder if the argument file processing logic might benefit from this too?
> 

We could use this too for platform specific stuff, e.g. code reading /proc in os_linux.cpp. But for this function to be truly useful, allocator must be choosable since RAs don't always work. So a parameter to define allocation would be nice (malloc or RA).

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

PR Comment: https://git.openjdk.org/jdk/pull/14025#issuecomment-1552787236


More information about the hotspot-dev mailing list