Re: RFR: 8318706: Implementation of JDK-8276094: JEP 423: Region Pinning for G1 [v10]

2023-11-03 Thread Ivan Walulya
On Fri, 3 Nov 2023 13:46:51 GMT, Thomas Schatzl wrote: >> The JEP covers the idea very well, so I'm only covering some implementation >> details here: >> >> * regions get a "pin count" (reference count). As long as it is non-zero, we >> conservatively never reclaim that region even if there is

Re: RFR: 8318706: Implementation of JDK-8276094: JEP 423: Region Pinning for G1 [v10]

2023-11-03 Thread Albert Mingkun Yang
On Fri, 3 Nov 2023 13:46:51 GMT, Thomas Schatzl wrote: >> The JEP covers the idea very well, so I'm only covering some implementation >> details here: >> >> * regions get a "pin count" (reference count). As long as it is non-zero, we >> conservatively never reclaim that region even if there is

Re: RFR: 8318706: Implementation of JDK-8276094: JEP 423: Region Pinning for G1 [v10]

2023-11-03 Thread Thomas Schatzl
> The JEP covers the idea very well, so I'm only covering some implementation > details here: > > * regions get a "pin count" (reference count). As long as it is non-zero, we > conservatively never reclaim that region even if there is no reference in > there. JNI code might have references to i