Files
sdk/runtime/lib
Erik Corry 955a4b6e71 VM: Reland Inline instance object hash code into object header on 64bit.
Inline instance object hash code into object header on 64 bit.

64 bit objects have 32 bits of free space in the header word.
This is used for the hash code in string objects. We take it
for the default hash code on all objects that don't override
the hashCode getter.

This is both faster and a memory reduction. Eg it makes the
MegaHashCode part of the Megamorphic benchmark 6 times faster.

This is a reland of https://codereview.chromium.org/2954453002/
which fixes an issue that made script snapshots generated on
64 bit platforms incompatible with 32 bit VMs.

BUG=
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2965723002 .
2017-07-03 09:26:46 +02:00
..
2016-11-04 12:14:41 -07:00
2016-11-04 12:14:41 -07:00
2016-02-22 08:53:11 -08:00
2016-11-04 12:14:41 -07:00
2017-05-31 13:49:12 -07:00
2016-11-04 12:14:41 -07:00
2016-11-04 12:14:41 -07:00
2016-11-04 12:14:41 -07:00
2016-11-04 12:14:41 -07:00
2017-02-09 15:39:44 -08:00
2016-11-04 12:14:41 -07:00
2016-11-04 12:14:41 -07:00
2017-06-24 13:41:39 +02:00
2016-11-04 12:14:41 -07:00
2017-03-15 13:11:05 -07:00
2017-03-20 08:47:39 -07:00
2016-11-04 12:14:41 -07:00