--- a/src/hotspot/share/opto/compile.hpp Thu May 30 09:24:13 2019 -0400
+++ b/src/hotspot/share/opto/compile.hpp Thu May 30 19:12:11 2019 +0300
@@ -1384,7 +1384,9 @@
CloneMap& clone_map();
void set_clone_map(Dict* d);
- bool is_compiling_clinit_for(ciKlass* k);
+ bool needs_clinit_barrier(ciField* ik, ciMethod* accessing_method);
+ bool needs_clinit_barrier(ciMethod* ik, ciMethod* accessing_method);
+ bool needs_clinit_barrier(ciInstanceKlass* ik, ciMethod* accessing_method);
};
#endif // SHARE_OPTO_COMPILE_HPP