< prev index next >

src/hotspot/share/interpreter/bytecodeHistogram.hpp

Print this page

        

*** 72,82 **** // BytecodePairHistogram collects number of executions of bytecode pairs. // A bytecode pair is any sequence of two consequtive bytecodes. class BytecodePairHistogram: AllStatic { ! public: // for SparcWorks enum Constants { log2_number_of_codes = 8, // use a power of 2 for faster addressing number_of_codes = 1 << log2_number_of_codes, // must be no less than Bytecodes::number_of_codes number_of_pairs = number_of_codes * number_of_codes }; --- 72,82 ---- // BytecodePairHistogram collects number of executions of bytecode pairs. // A bytecode pair is any sequence of two consequtive bytecodes. class BytecodePairHistogram: AllStatic { ! public: // for solstudio enum Constants { log2_number_of_codes = 8, // use a power of 2 for faster addressing number_of_codes = 1 << log2_number_of_codes, // must be no less than Bytecodes::number_of_codes number_of_pairs = number_of_codes * number_of_codes };
< prev index next >