v8/include
hajimehoshi 150887a13c Add Add ExternalStringResourceBase::IsCompressible
This CL introduces ExternalStringResourceBase::IsCompressible.

This CL is a preparation for CompressibleString, which can
be compressed for memory reduction in Blink. We've found that
JavaScript strings account for a relatively large part of Blink
memory usage, and we are now trying to replace JavaScript String/
AtomicString with CompressibleString.

When a string is compressed, the original char data is deleted
and V8 pointer cache becomes invalid. This CL introduces
isCompressible  property and if an external string's isCompressble
return true, this is stored short_external_*_map instead of
external_*_map so that V8 always requires the char pointer whenever
V8 needs the string data.

BUG=chromium:574317
LOG=n

Review URL: https://codereview.chromium.org/1490193002

Cr-Commit-Position: refs/heads/master@{#33224}
2016-01-12 06:28:57 +00:00
..
libplatform Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
OWNERS Add myself to include/OWNERS 2015-04-21 10:05:59 +00:00
v8-debug.h Mark deprecated debugger APIs as such 2015-12-04 15:25:40 +00:00
v8-experimental.h Re-re-land FastAccessorBuilder. 2015-12-11 09:54:00 +00:00
v8-platform.h Implement tracing interface for v8 2015-12-17 18:48:35 +00:00
v8-profiler.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-version.h Update version to 4.9 2015-11-13 14:27:28 +00:00
v8.h Add Add ExternalStringResourceBase::IsCompressible 2016-01-12 06:28:57 +00:00
v8config.h Unconditionally expand STATIC_ASSERT to the C++11 form. 2015-11-25 17:16:44 +00:00