[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-hotspot-dev
Subject: Integrated: 8264271: Avoid creating non_oop_word oops
From: Stefan Karlsson <stefank () openjdk ! java ! net>
Date: 2021-03-30 13:32:18
Message-ID: y9j1bFVmty-Gl5GbmrT2SiDnr6c16JrbyyLwl8JcDeQ=.5a8ca32e-9077-494e-8edd-3d8ea429fd10 () github ! com
[Download RAW message or body]
On Fri, 26 Mar 2021 12:01:35 GMT, Stefan Karlsson <stefank@openjdk.org> wrote:
> Some parts of the JVM puts an marker to show that a location does not contain a \
> valid oop. The code that handles this typically look like this:
> oop* p = ...
> if (*p != Universe::non_oop_word())
>
> This means that sometimes the *p will create an oop that contains the non_oop_word. \
> This makes it problematic to add stricter oop verification. I propose that we add a \
> new function that checks the value of locations without converting it to an oop.
> (Note: I'm testing the new dependent pull Skara feature with this PR. It builds \
> depends on the pr/3214 branch)
This pull request has now been integrated.
Changeset: 2c9365d7
Author: Stefan Karlsson <stefank@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/2c9365d7
Stats: 58 lines in 7 files changed: 38 ins; 10 del; 10 mod
8264271: Avoid creating non_oop_word oops
Reviewed-by: kbarrett, pliden
-------------
PR: https://git.openjdk.java.net/jdk/pull/3215
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic