--- old/src/share/vm/oops/methodData.cpp 2013-02-20 17:41:10.477242813 +0100 +++ new/src/share/vm/oops/methodData.cpp 2013-02-20 17:41:10.309562666 +0100 @@ -392,6 +392,9 @@ } int MethodData::bytecode_cell_count(Bytecodes::Code code) { +#if defined(COMPILER1) && !defined(COMPILER2) + return no_profile_data; +#endif switch (code) { case Bytecodes::_checkcast: case Bytecodes::_instanceof: @@ -509,6 +512,9 @@ // the segment in bytes. int MethodData::initialize_data(BytecodeStream* stream, int data_index) { +#if defined(COMPILER1) && !defined(COMPILER2) + return 0; +#endif int cell_count = -1; int tag = DataLayout::no_tag; DataLayout* data_layout = data_layout_at(data_index);