RFR JDK-8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
Aleksey Shipilev
shade at redhat.com
Tue Aug 13 13:57:00 UTC 2019
On 8/13/19 3:33 AM, Mandy Chung wrote:
> On 8/12/19 5:13 PM, Frederic Parain wrote:
> 96 // VM adds 1 to the code index to StackFrameInfo::bci field such that
> 97 // zero (and negative values) indicates invalid BCI. So substract 1.
>
> http://cr.openjdk.java.net/~mchung/jdk14/8193325/webrev.04/
I still do not understand the purpose of @Stable here. It seems to complicate the whole thing, and
for what, exactly? Why can't we be happy with just "final int bci"?
-Aleksey
More information about the core-libs-dev
mailing list