--- old/src/hotspot/share/oops/method.hpp 2019-05-01 16:15:30.000000000 -0700 +++ new/src/hotspot/share/oops/method.hpp 2019-05-01 16:15:30.000000000 -0700 @@ -682,6 +682,8 @@ bool has_aot_code() const { return aot_code() != NULL; } #endif + bool needs_clinit_barrier() const; + // sizing static int header_size() { return align_up((int)sizeof(Method), wordSize) / wordSize;