Withdrawn: 8230797: ARM32-softfp: assertion in InterpreterRuntime::resolve_ldc
Christoph Göttschkes
cgo at openjdk.java.net
Tue Jul 13 13:22:59 UTC 2021
On Thu, 24 Jun 2021 11:57:20 GMT, Christoph Göttschkes <cgo at openjdk.org> wrote:
> Hi,
>
> please review the following change, which was way too long on my chest. It fixes an assertion in the template interpreter for ARM32-softfp.
>
> For ARM32-softfp, the template interpreter calls into the runtime to load a double constant using the ldc bytecode. After the interpreter loaded the constants, the assert block does some sanity checks on the cached constants. But if the double constant is the first constant to be loaded, the cache is not yet initialized and the check results in a SIGSEGV.
>
> I guarded the usage of `ConstantPool::cp_to_object_index` by another check, which tests if there are any resolved references and if that's the case, the cache has already been initialized and the sanity checks can be performed.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4582
More information about the hotspot-runtime-dev
mailing list