Reviewers: Hannes Payer, Hablich,

Message:
Michael: This has the chance to bust a Canary because of bad interaction with
the GC. We should time this CL so that it doesn't overlap with other risky
features being shipped (most likely after the branch point).
Hannes: PTAL.

Description:
Activate preserving of optimized code map accross GCs.

This enables --noflush-optimized-code-cache which allows preserving
entries in the optimized code map accross GCs. This only applies to
values being reachable through other paths.

[email protected],[email protected]

Please review this at https://codereview.chromium.org/1217863006/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -1 lines):
  M src/flag-definitions.h


Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 8fb2b545c74a8c305d5b24e918a6bb8e43b72439..e7f07470ad1c6e75b942af6d48c7ac8db0140525 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -355,7 +355,7 @@ DEFINE_BOOL(lookup_sample_by_shared, true,
"when picking a function to optimize, watch for shared function "
             "info, not JSFunction itself")
DEFINE_BOOL(cache_optimized_code, true, "cache optimized code for closures")
-DEFINE_BOOL(flush_optimized_code_cache, true,
+DEFINE_BOOL(flush_optimized_code_cache, false,
             "flushes the cache of optimized code for closures on every GC")
 DEFINE_BOOL(inline_construct, true, "inline constructor calls")
DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object")


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to