New issue
Advanced search Search tips

Issue 670616 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

V8HiddenValue should be replaced with V8PrivateProperty

Project Member Reported by haraken@chromium.org, Dec 2 2016

Issue description

V8PrivateProperty is faster than V8HiddenValue. We should replace V8HiddenValue with V8PrivateProperty. Then deprecate V8HiddenValue.

 
Is there still a large performance difference, now that V8HiddenValue is also backed by Object::SetPrivate (although it doesn't expose the fast-path of retaining the symbol that V8PrivateProperty permits).

Regardless, deduplicating is probably a win from a code simplifity POV.
Cc: yukishiino@chromium.org
> although it doesn't expose the fast-path of retaining the symbol that V8PrivateProperty permits

IIUC, this is the bottleneck of V8HiddenValue.

> Regardless, deduplicating is probably a win from a code simplifity POV.

Yes.

Comment 3 by peria@chromium.org, Aug 9 2017

Owner: peria@chromium.org
Status: Fixed (was: Assigned)

Sign in to add a comment