Commit 95a3498
Fix: gate FrameType::isRawPointer on HotSpot
The raw-pointer bci encoding (bit 30) only ever means "jmethodID slot
replaced by a VMMethod*" on HotSpot. On OpenJ9, an unencoded, VM-supplied
bci can coincidentally have bit 30 set, which was misread as our
raw-pointer encoding and routed into JVMSupport::resolve(), which
asserts/aborts for non-HotSpot VMs. Reproduced on Semeru 8.0.462/OpenJ9
via GetLineNumberTableLeakTest.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 60f1f83 commit 95a3498
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | | - | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
0 commit comments