diff -r a72e187adb54 -r 9ad765641e8f src/hotspot/share/oops/method.hpp --- a/src/hotspot/share/oops/method.hpp Thu May 30 11:42:53 2019 +0200 +++ b/src/hotspot/share/oops/method.hpp Thu May 30 13:39:13 2019 +0300 @@ -699,6 +699,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;