Integrated: Add flag to prevent multiple deopts on the same nmethod.

Coleen Phillimore coleenp at openjdk.java.net
Fri Jan 14 23:23:54 UTC 2022


On Tue, 9 Nov 2021 13:25:50 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I added a flag to prevent the same nmethod from being optimized multiple times.  It might be better to have a new MarkForDeoptimizationStatus enum but wasn't sure how that would interact with the deoptimize_update state.  Advice welcome.
> I also don't know why the sweeper is so slow to get rid of these entries.
> This makes ctw_2 test run in an hour on my machine, just like mainline jdk/jdk (machine is slow!) in fastdebug.

This pull request has now been integrated.

Changeset: 986ab13d
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/loom/commit/986ab13da7d1fc9dab51663467c94ff76cab366f
Stats:     18 lines in 4 files changed: 12 ins; 0 del; 6 mod

Add flag to prevent multiple deopts on the same nmethod.

Reviewed-by: rpressler, rbackman

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

PR: https://git.openjdk.java.net/loom/pull/81


More information about the loom-dev mailing list