Integrated: 8266542: Remove broken -XX:-UseLoopSafepoints flag
Tobias Hartmann
thartmann at openjdk.java.net
Thu May 6 07:39:52 UTC 2021
On Wed, 5 May 2021 07:20:50 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> Simply running `java -XX:-UseLoopSafepoints` already asserts and more sophisticated testing triggers all kinds of asserts and crashes in various places. [JDK-6232281](https://bugs.openjdk.java.net/browse/JDK-6232281) made an attempt of fixing a common case. I had a quick look on what it would take to fix all cases and it's definitely non trivial. Also, we would need to make sure that new optimizations work without safepoints in loops. I don't see much value in keeping the flag for debugging either because disabling safepoints in loops has massive side-effects on other optimizations.
>
> I therefore propose to remove the flag.
>
> Thanks,
> Tobias
This pull request has now been integrated.
Changeset: 22ca62c2
Author: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/22ca62c2cb61940dd7b1028925cd651ffdf80690
Stats: 57 lines in 5 files changed: 1 ins; 47 del; 9 mod
8266542: Remove broken -XX:-UseLoopSafepoints flag
Reviewed-by: tschatzl, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/3871
More information about the hotspot-dev
mailing list