Skip to content

Assertion error in C2 on RISC-V #302

@wks

Description

@wks

As reported by @caizixian, when running on riscv64-linux-gnu, C2 will raise an assertion error when compiling write-barrier code. This error can still be reproduced on OpenJDK 21.

One workaround is removing the slot and target arguments of the MMTkBarrierSetRuntime::object_reference_write_slow_call(src, slot, target) function, leaving the src argument alone. While this is sufficient for the ObjectBarrier, it is not a general solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions