RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator) [v33]
Dean Long
dlong at openjdk.org
Wed Nov 30 21:51:25 UTC 2022
On Thu, 24 Nov 2022 14:05:41 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> JEP 429 implementation.
>
> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>
> Unused variable
src/hotspot/share/prims/jvm.cpp line 1385:
> 1383: vframeStream vfst(thread);
> 1384: for(; !vfst.at_end(); vfst.next()) {
> 1385: int loc = 0;
Use -1 instead (see below)?
src/hotspot/share/prims/jvm.cpp line 1400:
> 1398: }
> 1399:
> 1400: if (loc != 0) {
As 0 is normally a valid local number, how about using -1 to mean "not found"?
-------------
PR: https://git.openjdk.org/jdk/pull/10952
More information about the hotspot-dev
mailing list