RFR: 8338912: CDS: Segmented roots array [v5]

Ioi Lam iklam at openjdk.org
Tue Sep 10 20:03:07 UTC 2024


On Tue, 10 Sep 2024 15:09:31 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> > Hrmpf. I thought implicit copy constructors do this right. Apparently not. Let me try and define the explicit copy constructor + assignment operator...
> 
> All right, I think this works. I believe we still explicitly default to trivial copy constructor + assignment operator, allow them to copy the entire representation, but we _also_ make sure that representation has no garbage in its gaps.
> 
> I am running this through our testing. @iklam, if you can run this through your tests, it would be helpful too.

I ran [bacc5d8](https://github.com/openjdk/jdk/pull/20858/commits/bacc5d89e664f51a79e9476a7bf03cd8ced7b8cb) in our CI for tiers 1-4 and didn't see any regressions.

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

PR Comment: https://git.openjdk.org/jdk/pull/20858#issuecomment-2341907020


More information about the hotspot-runtime-dev mailing list