Skip to content

starting_heap_address() and last_heap_address() returns wrong values for certain cases #358

@qinsoon

Description

@qinsoon

The two functions still return our constants for heap start/end. But for a few cases, they do not return correct values.

  • malloc marksweep may return addresses outside the range.
  • for 64 bits, we use addresses beyond HEAP_END
  • if we allocate with disable_collection() (Add API disable_collection() #474), we allow allocation beyond our heap limit. The addresses may go beyond the heap range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-heapArea: Heap (including Mmapper, VMMap)C-bugCategory: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions