RFR: 8365606: Container code should not be using jlong/julong [v2]
Stefan Karlsson
stefank at openjdk.org
Mon Oct 27 08:36:12 UTC 2025
On Fri, 24 Oct 2025 12:25:36 GMT, Andrew Haley <aph at openjdk.org> wrote:
> > I agree. Its not pretty, but consistent with what we did elsewhere. Nobody wants to do that discussion again.
>
> Sorry, I was unaware of any previous discussion. I was suggesting a less impactful way to make the change, taking advantage of the recent adoption of C++17, which allows for cleaner code. But I won't stand in the way of consensus.
FWIW, I'd be interested in seeing a small example of what that would look like with C++17. There were a lot of discussion about the style, but it wasn't because we wanted to figure out the color of the bike shed but rather how to write safer code that makes it less likely to accidentally introduce bugs because of type conflation.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27743#issuecomment-3450057392
More information about the hotspot-dev
mailing list