[9] RFR(M): 7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times

Roland Westrelin roland.westrelin at oracle.com
Tue Jan 14 04:45:52 PST 2014


> http://cr.openjdk.java.net/~anoll/7194669/webrev.03/

dependencies.cpp

No need to cast twice:
688     return (uintptr_t)(oopDesc*)argument_oop(i);

What is that for?
 747 void* DependencySignature::operator new (size_t size) throw() {
 748   return NEW_RESOURCE_ARRAY(DependencySignature, 1);
 749 }

Shouldn’t we abort if we find something wrong? Printing stuff will easily go unnoticed.

Roland.


More information about the hotspot-compiler-dev mailing list