Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: src/flag-definitions.h

Issue 9086006: Randomize the seed used for string hashing. This helps guard against (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/flag-definitions.h
===================================================================
--- src/flag-definitions.h (revision 10328)
+++ src/flag-definitions.h (working copy)
@@ -349,6 +349,12 @@
"print stack trace when throwing exceptions")
DEFINE_bool(preallocate_message_memory, false,
"preallocate some memory to build stack traces.")
+DEFINE_bool(randomize_string_hashes,
Vyacheslav Egorov (Chromium) 2012/01/04 14:30:57 Maybe it should be noted that data in the snapshot
Erik Corry 2012/01/04 15:48:59 Done.
+ true,
+ "randomize string hashes to avoid predictable hash collisions")
+DEFINE_int(string_hash_seed,
+ 0,
+ "Fixed seed to use to string hashing (0 means random)")
// v8.cc
DEFINE_bool(preemption, false,
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/heap.h » ('j') | src/mips/code-stubs-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698