--- old/src/share/vm/c1/c1_Instruction.hpp 2016-06-27 12:31:46.957158605 +0900 +++ new/src/share/vm/c1/c1_Instruction.hpp 2016-06-27 12:31:46.765158947 +0900 @@ -347,10 +347,7 @@ public: void* operator new(size_t size) throw() { - Compilation* c = Compilation::current(); - void* res = c->arena()->Amalloc(size); - ((Instruction*)res)->_id = c->get_next_id(); - return res; + return Compilation::current()->arena()->Amalloc(size); } static const int no_bci = -99; @@ -426,6 +423,7 @@ check_state(state_before); assert(type != NULL && (!type->is_constant() || type_is_constant), "type must exist"); update_exception_state(_state_before); + _id = Compilation::current()->get_next_id(); } // accessors @@ -1681,6 +1679,9 @@ #ifndef PRODUCT set_printable_bci(bci); #endif + Compilation* c = Compilation::current(); + _id = c->get_next_id(); + _block_id = c->get_next_block_id(); } // accessors