Skip to content

GC verification is overly weak in Release mode #2476

Closed
@lexprfuncall

Description

@lexprfuncall

The RawObject::Verify checks are embedded in ASSERT statements which mean they are compiled-away in Release mode. Given that the pre- and post-verification are controlled by flags and therefore optional, there seems to be no compelling reason to have the verification do such a more limited consistency check in Release mode. In fact, while valuable, the compiled-away checks have a relatively low runtime cost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions