comparison src/share/vm/oops/methodDataOop.hpp @ 1206:87684f1a88b5

6614597: Performance variability in jvm2008 xml.validation Summary: Fix incorrect marking of methods as not compilable. Reviewed-by: never
author kvn
date Mon, 01 Feb 2010 16:49:49 -0800
parents 89e0543e1737
children 576e77447e3c
comparison
equal deleted inserted replaced
1205:5fcfaa1ad96f 1206:87684f1a88b5
1389 uint decompile_count() const { 1389 uint decompile_count() const {
1390 return _nof_decompiles; 1390 return _nof_decompiles;
1391 } 1391 }
1392 void inc_decompile_count() { 1392 void inc_decompile_count() {
1393 _nof_decompiles += 1; 1393 _nof_decompiles += 1;
1394 if (decompile_count() > (uint)PerMethodRecompilationCutoff) {
1395 method()->set_not_compilable();
1396 }
1394 } 1397 }
1395 1398
1396 // Support for code generation 1399 // Support for code generation
1397 static ByteSize data_offset() { 1400 static ByteSize data_offset() {
1398 return byte_offset_of(methodDataOopDesc, _data[0]); 1401 return byte_offset_of(methodDataOopDesc, _data[0]);