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

Issue 234783002: Handlify Map::CopyDropDescriptors(). (Closed)

Created:
6 years, 8 months ago by mvstanton
Modified:
6 years, 8 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Handlify Map::CopyDropDescriptors(). * And contain knowledge better in TransitionArray and DescriptorArray (for example WhitenessWitness is now private to DescriptorArray). * And remove some factory methods * And handlify some other things. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20686

Patch Set 1 #

Patch Set 2 : Removed more whiteness witnesses. #

Patch Set 3 : Made WhitenessWitness private. #

Total comments: 7

Patch Set 4 : Comments and factory work. #

Patch Set 5 : Some more refactoring. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -405 lines) Patch
M src/bootstrapper.cc View 1 2 3 25 chunks +49 lines, -77 lines 0 comments Download
M src/factory.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M src/factory.cc View 1 2 3 1 chunk +0 lines, -27 lines 0 comments Download
M src/objects.h View 1 2 3 4 9 chunks +29 lines, -35 lines 0 comments Download
M src/objects.cc View 1 2 3 4 8 chunks +153 lines, -180 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 chunks +19 lines, -24 lines 0 comments Download
M src/transitions.h View 1 2 3 4 3 chunks +17 lines, -16 lines 0 comments Download
M src/transitions.cc View 1 2 3 4 chunks +23 lines, -37 lines 0 comments Download
M test/cctest/test-alloc.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mvstanton
Hi Toon, handlification along with reduced usage of the WhitenessWitness. --Michael
6 years, 8 months ago (2014-04-11 10:28:20 UTC) #1
Toon Verwaest
https://codereview.chromium.org/234783002/diff/40001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/234783002/diff/40001/src/bootstrapper.cc#newcode398 src/bootstrapper.cc:398: map->set_instance_descriptors(*descriptors); What about Map::EnsureDescriptorSlack(map, size); (same below).
6 years, 8 months ago (2014-04-11 10:34:32 UTC) #2
Toon Verwaest
https://codereview.chromium.org/234783002/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/234783002/diff/40001/src/objects.cc#newcode15629 src/objects.cc:15629: ASSERT_LE(unused_property_fields, inobject_props); DisallowHeapAllocation no_gc; while committing the state. https://codereview.chromium.org/234783002/diff/40001/src/objects.cc#newcode15707 ...
6 years, 8 months ago (2014-04-11 10:37:59 UTC) #3
mvstanton
Hi Toon, thx for comments. I also 1) removed TransitionArray and Descriptors from the factory ...
6 years, 8 months ago (2014-04-11 11:25:20 UTC) #4
Toon Verwaest
lgtm, thanks ;)
6 years, 8 months ago (2014-04-11 12:01:34 UTC) #5
mvstanton
6 years, 8 months ago (2014-04-11 12:14:03 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r20686 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698