--- old/src/share/vm/opto/phaseX.cpp 2017-07-02 11:30:45.000000000 +0200 +++ new/src/share/vm/opto/phaseX.cpp 2017-07-02 11:30:45.000000000 +0200 @@ -395,7 +395,7 @@ // Unlock all nodes upon replacement of table. if (&nh == this) return; if (_table != (Node**)badAddress) clear(); - memcpy(this, &nh, sizeof(*this)); + memcpy((void*)this, (void*)&nh, sizeof(*this)); // Do not increment hash_lock counts again. // Instead, be sure we never again use the source table. ((NodeHash*)&nh)->_table = (Node**)badAddress; @@ -1676,6 +1676,8 @@ case Type::Long: assert(t0->isa_long()->_widen <= t->isa_long()->_widen, "widen increases"); break; + default: + break; } return true; }