diff -r 641e73c3832a -r 3c12af929e7d hotspot/src/share/vm/ci/ciMethod.cpp --- a/hotspot/src/share/vm/ci/ciMethod.cpp Fri May 12 11:41:05 2017 +0200 +++ b/hotspot/src/share/vm/ci/ciMethod.cpp Fri May 12 13:14:25 2017 -0700 @@ -953,6 +953,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.