Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -145,16 +145,13 @@ public static interface ObjectGraphVisitor {

}

private Map<Long, RubyBasicObject> liveObjects;
private ObjectGraphVisitor visitor;

@TruffleBoundary
public Map<Long, RubyBasicObject> collectLiveObjects() {
RubyNode.notDesignedForCompilation();

liveObjects = new HashMap<>();
final Map<Long, RubyBasicObject> liveObjects = new HashMap<>();

visitor = new ObjectGraphVisitor() {
final ObjectGraphVisitor visitor = new ObjectGraphVisitor() {

@Override
public boolean visit(RubyBasicObject object) {

0 comments on commit 33d537b

Please sign in to comment.