RFR: 8341485: GenShen: Make evac tracker a non-product feature and confine it to generational mode

Y. Srinivas Ramakrishna ysr at openjdk.org
Thu Oct 3 23:05:04 UTC 2024


On Thu, 3 Oct 2024 22:56:15 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

>> During the course of development of the generational mode, we added a feature to keep track of which threads were evacuating objects and how many evacuations lost the race. The instrumentation added unwarranted overhead. This change makes this instrumentation a non-product feature for the generational mode and removes it entirely from the non-generational modes.
>
> src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp line 1258:
> 
>> 1256:       }
>> 1257:     }
>> 1258: 
> 
> This change in behavior is an intentional part of this change? It may be the right change to make, but seems unrelated to the bug summary and the main thrust of the changes. Should this be broken off into a separate ticket?

Looking at upstream, I see that this was detritus from generational heap that may have been unintentionally been left behind.

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

PR Review Comment: https://git.openjdk.org/shenandoah/pull/506#discussion_r1786924182


More information about the shenandoah-dev mailing list