RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v10]

Anton Kozlov akozlov at openjdk.java.net
Tue Mar 2 21:19:18 UTC 2021


On Fri, 12 Feb 2021 15:21:06 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:

>> src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp line 302:
>> 
>>> 300:         const uint64_t *detail_msg_ptr
>>> 301:           = (uint64_t*)(pc + NativeInstruction::instruction_size);
>>> 302:         const char *detail_msg = (const char *)*detail_msg_ptr;
>> 
>> Where is `detail_msg` used?
>
> Came from linux_arm64. was used in os_linux_aarch64.cpp on line 246 in report_and_die
> But became unused on bsd_arm64. I agree this needs to be removed

It seems we have merged master branch before JDK-8259539 was integrated. It brings back use of detail_msg. I reverted details_msg as well its following use.

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

PR: https://git.openjdk.java.net/jdk/pull/2200



More information about the build-dev mailing list