Reviewers: Vyacheslav Egorov, Description: Randomize the seed used for string hashing. This helps guard against CPU-eating DOS attacks against node.js servers. Based on code from Bert Belder. This version only solves the issue for those that compile V8 themselves or those that do not use snapshots. A snapshot-based precompiled V8 will still have predictable string hash codes.
Please review this at http://codereview.chromium.org/9086006/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/code-stubs-arm.cc M src/flag-definitions.h M src/heap.h M src/heap.cc M src/ia32/code-stubs-ia32.cc M src/mips/code-stubs-mips.cc M src/objects-inl.h M src/objects.h M src/objects.cc M src/profile-generator.cc M src/x64/code-stubs-x64.cc M test/mjsunit/debug-evaluate-locals-optimized-double.js M test/mjsunit/debug-evaluate-locals-optimized.js -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
