diff -r ed1a43020a93 -r cc58aeaec340 hotspot/src/share/vm/code/compiledIC.cpp --- a/hotspot/src/share/vm/code/compiledIC.cpp Fri Aug 21 09:12:42 2015 +0200 +++ b/hotspot/src/share/vm/code/compiledIC.cpp Tue Aug 25 07:49:55 2015 +0200 @@ -343,8 +343,8 @@ // Kill any leftover stub we might have too clear_ic_stub(); if (is_optimized()) { - set_ic_destination(entry); - } else { + set_ic_destination(entry); + } else { set_ic_destination_and_value(entry, (void*)NULL); } } else {