DescriptionDrastically reduce the number of created strings in d8, 2nd attempt.
This also reduces the number of TLS accesses, so it is a double-win. We have
230k less TLS accesses while running Octane now, so we are down to 23% now
compared to the start of these TLS-related CLs.
To get things right in the presence of multiple Isolates, we have to thread the
correct Isolate through several layers. This threading wasn't that bad after
all, it keeps one honest about the real depdencies. The only ugly thing is that
in ExternalArrayWeakCallback we have to conjure up the current Isolate from the
TLS, but this is a know API deficiency.
Introduced a tiny helper function for throwing on the way.
Committed: https://code.google.com/p/v8/source/detail?r=13018
Patch Set 1 #Patch Set 2 : More threading #Patch Set 3 : Clean up LineEditor #
Total comments: 2
Patch Set 4 : Rebased and addressed feedback comment #Messages
Total messages: 3 (0 generated)
|