RFR: 8294362: UL: Replace the internal usage of manual buffers with stringStream in LogSelection

Johan Sjölen jsjolen at openjdk.org
Wed Oct 5 08:56:33 UTC 2022


On Wed, 5 Oct 2022 02:00:39 GMT, David Holmes <dholmes at openjdk.org> wrote:

> This definitely seems simpler and cleaner, but raises the obvious question: why was it not done this way in the first place? Are there initialization issues/constraints with use of the stream classes?
> 
> I need to see if there is some historical info on the initial implementation here.
> 
> Thanks.

A guess: The features stringStream depended on used to not be available pre-initialization.

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

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


More information about the hotspot-runtime-dev mailing list