Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 1845:a222fcfba398
6990549: Zero and Shark fixes after 6978355 and 6953144
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Fri, 08 Oct 2010 02:42:17 -0700 |
parents | ac4f710073ed |
children | 2d26b0046e0d f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1844:75588558f1bf | 1845:a222fcfba398 |
---|---|
1419 if (is_speculatively_disconnected()) { | 1419 if (is_speculatively_disconnected()) { |
1420 CodeCache::remove_saved_code(this); | 1420 CodeCache::remove_saved_code(this); |
1421 } | 1421 } |
1422 | 1422 |
1423 #ifdef SHARK | 1423 #ifdef SHARK |
1424 ((SharkCompiler *) compiler())->free_compiled_method(instructions_begin()); | 1424 ((SharkCompiler *) compiler())->free_compiled_method(insts_begin()); |
1425 #endif // SHARK | 1425 #endif // SHARK |
1426 | 1426 |
1427 ((CodeBlob*)(this))->flush(); | 1427 ((CodeBlob*)(this))->flush(); |
1428 | 1428 |
1429 CodeCache::free(this); | 1429 CodeCache::free(this); |