RFR: 8286301: Port JEP 425 to RISC-V [v4]

Fei Yang fyang at openjdk.org
Fri Nov 4 11:48:38 UTC 2022


On Fri, 4 Nov 2022 10:07:30 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

>> Fei Yang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>> 
>>  - Code cleanup
>>  - Merge branch 'master' into 8286301
>>  - Merge branch 'master' into 8286301
>>  - Fix
>>  - 8286301: JEP 425 to RISC-V
>
> src/hotspot/share/runtime/sharedRuntime.cpp line 3123:
> 
>> 3121: 
>> 3122:       if (method->is_continuation_enter_intrinsic()) {
>> 3123:         buffer.initialize_stubs_size(NOT_RISCV64(128) RISCV64_ONLY(192));
> 
> Can we use the maximum over all platforms? This is a temporary buffer anyway. The generated code, constants, etc. is copied to the nmethod. See https://github.com/openjdk/jdk/blob/8ee0f7d5982d95674cfc1b217dbabaeafefbc8f1/src/hotspot/share/code/nmethod.cpp#L659-L660

OK, I have set the default size to 192 for all platforms.

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

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


More information about the hotspot-dev mailing list