[lworld] Integrated: 8252854: [lworld] Buffering in C1 entry can trigger safepoint before nmethod entry barrier has been executed

Tobias Hartmann thartmann at openjdk.java.net
Mon Sep 7 11:20:08 UTC 2020


On Mon, 7 Sep 2020 09:01:55 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> The runtime call to buffer scalarized inline type arguments in the C1 entry points can safepoint before the entry
> barrier of the corresponding nmethod has been executed. As a result, oops in the nmethod might be bad and the GC
> crashes in 'nmethod_oops_do'. We should simply execute the entry barrier before calling into the runtime.

This pull request has now been integrated.

Changeset: 963ed688
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/963ed688
Stats:     9 lines in 1 file changed: 2 ins; 7 del; 0 mod

8252854: [lworld] Buffering in C1 entry can trigger safepoint before nmethod entry barrier has been executed

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

PR: https://git.openjdk.java.net/valhalla/pull/180


More information about the valhalla-dev mailing list