RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator) [v33]

Dean Long dlong at openjdk.org
Wed Nov 30 21:39:20 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/cpu/aarch64/aarch64.ad line 3635:

> 3633:       }
> 3634:     } else if (_method->intrinsic_id() == vmIntrinsicID::_ensureMaterializedForStackWalk) {
> 3635:       __ nop();

Please add a comment explaining why the nop is needed or desirable here.

src/hotspot/cpu/x86/x86_64.ad line 2174:

> 2172:                      RELOC_DISP32);
> 2173:     } else if (_method->intrinsic_id() == vmIntrinsicID::_ensureMaterializedForStackWalk) {
> 2174:       __ addr_nop_5();

Needs a comment.  I guess this is because of how call sizes are computed.

-------------

PR: https://git.openjdk.org/jdk/pull/10952


More information about the hotspot-dev mailing list