Skip to content

Commit

Permalink
[Truffle] No more a race condition since synchronizing on liveObjects.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Jan 29, 2015
1 parent 0d15b09 commit 48dfab8
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -196,8 +196,6 @@ public static interface ObjectGraphVisitor {
public Map<Long, RubyBasicObject> collectLiveObjects() {
RubyNode.notDesignedForCompilation();

// TODO(CS): probably a race condition here if multiple threads try to collect at the same time

liveObjects = new HashMap<>();

visitor = new ObjectGraphVisitor() {
Expand Down

0 comments on commit 48dfab8

Please sign in to comment.