8255466: C2 crashes at ciObject::get_oop() const+0x0 #890
Graal testing hit this issue with product VM. Tom R. suggested that it could be the case of reflective unsafe static field access that would eventually be optimized away because the Class is null:
I suggest to replace assert with runtime check. Note,
I also noticed that const_oop is accessed without check for NULL in new Vector API code. I added check there too.
Passed tier1-3 testing.
@vnkozlov This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 30 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@vnkozlov Since your change was applied there have been 44 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit 56eb5f5.