--- a/hotspot/src/share/vm/ci/ciMethod.cpp Wed Apr 19 14:37:11 2017 +0200
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp Thu Dec 01 14:21:31 2016 -0500
@@ -952,6 +952,13 @@
}
// ------------------------------------------------------------------
+// ciMethod::is_object_initializer
+//
+bool ciMethod::is_object_initializer() const {
+ return name() == ciSymbol::object_initializer_name();
+}
+
+// ------------------------------------------------------------------
// ciMethod::has_member_arg
//
// Return true if the method is a linker intrinsic like _linkToVirtual.