RFR: 8253623: Fastdebug JVM crashes with Vector API when PrintAssembly is turned on
Vladimir Ivanov
vlivanov at openjdk.java.net
Mon Oct 26 17:16:21 UTC 2020
On Sun, 25 Oct 2020 06:43:16 GMT, Dongbo He <dongbohe at openjdk.org> wrote:
> Backport 8253623 https://github.com/openjdk/panama-vector/pull/8
src/hotspot/share/opto/callnode.cpp line 492:
> 490: if (iklass != NULL) {
> 491: st->print(" [");
> 492: iklass->nof_nonstatic_fields(); // FIXME: iklass->_nonstatic_fields == NULL
It was intended as a quick hack and `JVMState::format()` is not the right place to solve the problem.
I suggest to look at `PhaseVector::scalarize_vbox_node`.
Here are some pointers on how it is done in other places:
https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/macro.cpp#L740
https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/memnode.cpp#L1320
-------------
PR: https://git.openjdk.java.net/jdk/pull/853
More information about the hotspot-compiler-dev
mailing list