On Tue, 17 Nov 2026 16:54:12 GMT, Martin Doerr <[email protected]> wrote:
>> Axel Boldt-Christmas has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Use is_valhalla_enable instead of enable_preview
>> - Add newline to comment
>
> src/hotspot/share/oops/markWord.hpp line 275:
>
>> 273: // hash operations
>> 274: intptr_t hash() const {
>> 275: precond(!is_marked());
>
> @xmas92: This function is also used during error reporting and the `precond`
> causes "error occurred during error reporting" in hs_err files. E.g.:
>
> R8 =
> [error occurred during error reporting (printing register info), id
> 0xe0000000, Internal Error
> (/workspace/openjdk-jdk-dev-linux_x86_64-dbg/jdk/src/hotspot/share/oops/markWord.hpp:275)]
>
> I guess that the caller is wrong, but I just wanted to mention it here.
> (Should probably be improved here:
> https://github.com/openjdk/jdk/blob/565b0732543370c57a0353dc7dcda36325640759/src/hotspot/share/oops/markWord.cpp#L51)
Sounds like https://bugs.openjdk.org/browse/JDK-8397379
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/32535#discussion_r4608609231