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

Issue 11875015: Pack GlobalHandles::Node::state_ and three flags into uint8_t (Closed)

Created:
7 years, 11 months ago by haraken
Modified:
7 years, 11 months ago
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Pack GlobalHandles::Node::state_ and three flags into uint8_t TEST=test-api.cc (ApiObjectGroupsCycle, ApiObjectGroupsCycleForScavenger, IndependentWeakHandle) Committed: http://code.google.com/p/v8/source/detail?r=13383

Patch Set 1 #

Patch Set 2 : patch #

Total comments: 6

Patch Set 3 : Used BitField #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -50 lines) Patch
M src/global-handles.cc View 1 2 6 chunks +71 lines, -50 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
haraken
As discussed offline with michael and dan, in preparation for inlining GlobalHandles' APIs, I packed ...
7 years, 11 months ago (2013-01-14 15:46:10 UTC) #1
Michael Starzinger
https://chromiumcodereview.appspot.com/11875015/diff/2001/src/global-handles.cc File src/global-handles.cc (right): https://chromiumcodereview.appspot.com/11875015/diff/2001/src/global-handles.cc#newcode135 src/global-handles.cc:135: class_id_ = static_cast<uint8_t>(class_id); The class_id is a full 16 ...
7 years, 11 months ago (2013-01-15 09:06:41 UTC) #2
haraken
Thanks for reviewing! Updated the patch. https://chromiumcodereview.appspot.com/11875015/diff/2001/src/global-handles.cc File src/global-handles.cc (right): https://chromiumcodereview.appspot.com/11875015/diff/2001/src/global-handles.cc#newcode135 src/global-handles.cc:135: class_id_ = static_cast<uint8_t>(class_id); ...
7 years, 11 months ago (2013-01-15 09:40:39 UTC) #3
Michael Starzinger
LGTM, I'll land this for you.
7 years, 11 months ago (2013-01-15 09:49:07 UTC) #4
Michael Starzinger
7 years, 11 months ago (2013-01-15 10:27:13 UTC) #5
Message was sent while issue was closed.
Landed.

https://chromiumcodereview.appspot.com/11875015/diff/6002/src/global-handles.cc
File src/global-handles.cc (right):

https://chromiumcodereview.appspot.com/11875015/diff/6002/src/global-handles....
src/global-handles.cc:73: set_in_new_space_list_(false);
Two small typos at the trailing underscore. Fixed while landing.

Powered by Google App Engine
This is Rietveld 408576698