RFR: 8254015: copy_to_survivor_space should use in-hand klass for scanning

Albert Mingkun Yang ayang at openjdk.java.net
Tue Oct 6 13:58:11 UTC 2020


On Mon, 5 Oct 2020 13:30:32 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Looks good.
>
> Does it make sense to drop `oop_iterate_backwards(OopClosureType* cl)` and only have the method with two args so that
> klass will never be re-fetched?

> I was planning to file an RFE to add klass-taking overloads for them. When you include those I think the convenience
> for not requiring the klass argument is more obvious.

OK; thanks for the explanation.

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

PR: https://git.openjdk.java.net/jdk/pull/504



More information about the hotspot-gc-dev mailing list