On Sat, 28 Oct 2023 18:32:56 GMT, Albert Mingkun Yang <ay...@openjdk.org> wrote:
>> Thomas Schatzl has updated the pull request incrementally with one >> additional commit since the last revision: >> >> ayang review1 > > src/hotspot/share/gc/g1/heapRegion.cpp line 734: > >> 732: // ranges passed in here corresponding to the space between live >> objects, it is >> 733: // possible that there is a pinned object that is not any more >> referenced by >> 734: // Java code (only by native). > > Can such obj becomes referenced by java again later on? IOW, a pointer passed > from native to java. I do not think so. I will do some more testing about this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16342#discussion_r1376243855