--- old/src/share/vm/code/compiledMethod.cpp 2017-06-28 15:43:49.000000000 -0700 +++ new/src/share/vm/code/compiledMethod.cpp 2017-06-28 15:43:49.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -263,6 +263,8 @@ } break; } + default: + break; } } } @@ -340,6 +342,7 @@ case relocInfo::static_call_type: return iter.static_call_reloc()->method_value(); case relocInfo::opt_virtual_call_type: return iter.opt_virtual_call_reloc()->method_value(); case relocInfo::virtual_call_type: return iter.virtual_call_reloc()->method_value(); + default: break; } } } @@ -650,6 +653,9 @@ case relocInfo::metadata_type: break; // nothing to do. + + default: + break; } } @@ -703,6 +709,9 @@ case relocInfo::static_call_type: clean_if_nmethod_is_unloaded(compiledStaticCall_at(iter.reloc()), is_alive, this); break; + + default: + break; } } }