summaryrefslogtreecommitdiff
path: root/src/string_bytes.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-03-03 01:42:18 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-03-05 20:42:13 +0100
commit826cde866170918fbeeeffc8612d4f4e0a923869 (patch)
tree65641ca03ca7630db2e3e4cce4b281e711832e25 /src/string_bytes.h
parentf5b7e18243b25a39ec53890344f9353a1b54d6cd (diff)
downloadandroid-node-v8-826cde866170918fbeeeffc8612d4f4e0a923869.tar.gz
android-node-v8-826cde866170918fbeeeffc8612d4f4e0a923869.tar.bz2
android-node-v8-826cde866170918fbeeeffc8612d4f4e0a923869.zip
src: fix gc heuristic for external twobyte strings
Large external two-byte strings reported their character length instead of their byte length, throwing off the garbage collector heuristic by a factor of two. PR-URL: https://github.com/iojs/io.js/pull/1042 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/string_bytes.h')
0 files changed, 0 insertions, 0 deletions