--- old/src/share/vm/oops/symbol.cpp 2017-08-20 02:08:32.711423845 -0400 +++ new/src/share/vm/oops/symbol.cpp 2017-08-20 02:08:32.591417690 -0400 @@ -219,7 +219,7 @@ void Symbol::decrement_refcount() { if (_refcount >= 0) { // not a permanent symbol - jshort new_value = Atomic::add(-1, &_refcount); + short new_value = Atomic::add(short(-1), &_refcount); #ifdef ASSERT if (new_value == -1) { // we have transitioned from 0 -> -1 print();