RFR: 8331608: Consolidate EncodeGCModeConcurrentFrameClosure and TransformStackChunkClosure

Guoxiong Li gli at openjdk.org
Fri May 3 12:28:51 UTC 2024


On Fri, 3 May 2024 12:21:09 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> There doesn't seem to be a need to place the `derived_cl` closures in the callers. Could you keep it within `do_frame` as we used to do in `TransformStackChunkClosure`?

If moving it into `do_frame`, everytime the `do_frame` is invoked, we need to construct a `RelativizeClosure` object. Will it cost more running time?

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

PR Comment: https://git.openjdk.org/jdk/pull/19084#issuecomment-2092916999


More information about the hotspot-dev mailing list