Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Issue 8477025: Ensure ClassElementImplementation removed from ThreadLocal set to prevent memory leak (Closed)

Created:
9 years, 1 month ago by danrubel
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Ensure ClassElementImplementation removed from ThreadLocal set to prevent memory leak Committed: https://code.google.com/p/dart/source/detail?r=1259

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -23 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java View 1 chunk +26 lines, -23 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
danrubel
Fix for http://code.google.com/p/dart/issues/detail?id=319 http://codereview.chromium.org/8477025/diff/1/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java File compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java (right): http://codereview.chromium.org/8477025/diff/1/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java#newcode351 compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java:351: } finally { Added try/finally to ...
9 years, 1 month ago (2011-11-07 11:13:07 UTC) #1
Brian Wilkerson
LGTM. I think this should take care of the problem, but you should probably also ...
9 years, 1 month ago (2011-11-07 14:18:47 UTC) #2
danrubel
On 2011/11/07 14:18:47, Brian Wilkerson wrote: > I think this should take care of the ...
9 years, 1 month ago (2011-11-07 14:44:47 UTC) #3
scheglov
9 years, 1 month ago (2011-11-07 15:02:10 UTC) #4
LGTM

I don't know why exceptions are used, but in any case, try/finally is good idea.

Powered by Google App Engine
This is Rietveld 408576698