RFR: 8331572: Allow using OopMapCache outside of STW GC phases [v3]

Aleksey Shipilev shade at openjdk.org
Fri May 17 15:36:09 UTC 2024


On Fri, 17 May 2024 15:14:07 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> I would suggest to move `OopMapCache::trigger_cleanup();` from `VM_ShenandoahReferenceOperation::doit_epilogue()` to `VM_ShenandoahOperation::doit_prologue()` and add the call to ` VM_ZOperation` and ` VM_XOperation`'s `doit_epilogue()`

Right. Surely, it would be better to move it to `VM_ShenandoahOperation::doit_epilogue()` as well? This way we don't risk Service thread waking up during the short GC pause.

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

PR Comment: https://git.openjdk.org/jdk/pull/19229#issuecomment-2117859377


More information about the shenandoah-dev mailing list