Skip to content

Test for memory leaks #29

Closed
Closed
@VladUreche

Description

@VladUreche

When compiling multiple times:

  • keep a weak reference to the existing RootContext
  • after compiling, do System.gc()
  • assert that the weak reference is dead, so the RootContext was gc-ed
  • later refinement: use yourkit api to print out the links from the root (alive) objects to the objects that were supposed to be dead

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions