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

Issue 10363002: Create isolate constructor dynamically. (Closed)

Created:
8 years, 7 months ago by floitsch
Modified:
8 years, 7 months ago
Reviewers:
ngeoffray, kasperl
CC:
reviews_dartlang.org, ngeoffray
Visibility:
Public.

Description

Create isolate constructor dynamically. This should remove the huge speed regression we got by adding 'defineClass'. Committed: https://code.google.com/p/dart/source/detail?r=7289

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments and fixed bugs. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -56 lines) Patch
M lib/compiler/implementation/compile_time_constants.dart View 1 3 chunks +3 lines, -5 lines 0 comments Download
M lib/compiler/implementation/emitter.dart View 1 12 chunks +104 lines, -46 lines 2 comments Download
M lib/compiler/implementation/namer.dart View 1 2 chunks +9 lines, -4 lines 0 comments Download
M lib/compiler/implementation/ssa/codegen.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
floitsch
8 years, 7 months ago (2012-05-03 12:15:29 UTC) #1
kasperl
LGTM. https://chromiumcodereview.appspot.com/10363002/diff/1/lib/compiler/implementation/emitter.dart File lib/compiler/implementation/emitter.dart (right): https://chromiumcodereview.appspot.com/10363002/diff/1/lib/compiler/implementation/emitter.dart#newcode33 lib/compiler/implementation/emitter.dart:33: String initialStatics; isolateProperties? https://chromiumcodereview.appspot.com/10363002/diff/1/lib/compiler/implementation/emitter.dart#newcode44 lib/compiler/implementation/emitter.dart:44: String get defineClassName() ...
8 years, 7 months ago (2012-05-03 12:30:18 UTC) #2
floitsch
https://chromiumcodereview.appspot.com/10363002/diff/1/lib/compiler/implementation/emitter.dart File lib/compiler/implementation/emitter.dart (right): https://chromiumcodereview.appspot.com/10363002/diff/1/lib/compiler/implementation/emitter.dart#newcode33 lib/compiler/implementation/emitter.dart:33: String initialStatics; On 2012/05/03 12:30:18, kasperl wrote: > isolateProperties? ...
8 years, 7 months ago (2012-05-03 14:24:01 UTC) #3
ngeoffray
https://chromiumcodereview.appspot.com/10363002/diff/5001/lib/compiler/implementation/emitter.dart File lib/compiler/implementation/emitter.dart (right): https://chromiumcodereview.appspot.com/10363002/diff/5001/lib/compiler/implementation/emitter.dart#newcode165 lib/compiler/implementation/emitter.dart:165: str += "this." + staticName + "= isolateProperties." + ...
8 years, 7 months ago (2012-05-07 09:48:45 UTC) #4
floitsch
8 years, 7 months ago (2012-05-07 14:09:10 UTC) #5
https://chromiumcodereview.appspot.com/10363002/diff/5001/lib/compiler/implem...
File lib/compiler/implementation/emitter.dart (right):

https://chromiumcodereview.appspot.com/10363002/diff/5001/lib/compiler/implem...
lib/compiler/implementation/emitter.dart:165: str += "this." + staticName + "=
isolateProperties." + staticName + ";\\n";
On 2012/05/07 09:48:45, ngeoffray wrote:
> line too long
done in CL 10388006.

Powered by Google App Engine
This is Rietveld 408576698