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

Aleksey Shipilev shade at openjdk.org
Tue Sep 10 15:12:12 UTC 2024


On Tue, 10 Sep 2024 09:17:12 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+assignment constructor, 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.

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

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


More information about the hotspot-runtime-dev mailing list