Revision: 23564
Author:   [email protected]
Date:     Mon Sep  1 13:40:11 2014 UTC
Log:      Do not clear weak monomorphic IC after context disposal.

BUG=404020
LOG=Y
[email protected]

Review URL: https://codereview.chromium.org/525343002
https://code.google.com/p/v8/source/detail?r=23564

Modified:
 /branches/bleeding_edge/src/heap/objects-visiting-inl.h

=======================================
--- /branches/bleeding_edge/src/heap/objects-visiting-inl.h Thu Aug 7 12:21:01 2014 UTC +++ /branches/bleeding_edge/src/heap/objects-visiting-inl.h Mon Sep 1 13:40:11 2014 UTC
@@ -261,7 +261,8 @@
   // to be serialized.
   if (FLAG_cleanup_code_caches_at_gc && target->is_inline_cache_stub() &&
(target->ic_state() == MEGAMORPHIC || target->ic_state() == GENERIC | | - target->ic_state() == POLYMORPHIC || heap->flush_monomorphic_ics() | |
+       target->ic_state() == POLYMORPHIC ||
+       (heap->flush_monomorphic_ics() && !target->is_weak_stub()) ||
        heap->isolate()->serializer_enabled() ||
        target->ic_age() != heap->global_ic_age() ||
        target->is_invalidated_weak_stub())) {

--
--
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