diff -r 8eeacdc76bf2 -r 75aa3e39d02c hotspot/src/share/vm/code/compiledMethod.cpp --- a/hotspot/src/share/vm/code/compiledMethod.cpp Wed Jul 05 11:03:19 2017 -0700 +++ b/hotspot/src/share/vm/code/compiledMethod.cpp Thu Jul 06 01:50:26 2017 +0200 @@ -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 @@ -255,6 +255,8 @@ } break; } + default: + break; } } } @@ -316,6 +318,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; } } } @@ -626,6 +629,9 @@ case relocInfo::metadata_type: break; // nothing to do. + + default: + break; } } @@ -679,6 +685,9 @@ case relocInfo::static_call_type: clean_if_nmethod_is_unloaded(compiledStaticCall_at(iter.reloc()), is_alive, this); break; + + default: + break; } } }