changeset 46362:974737822190

8168438: Fix comment in rewriter Reviewed-by: jiangli, sspitsyn
author coleenp
date Tue, 04 Apr 2017 21:07:19 -0400
parents c753322134b0
children b53de34a044c
files hotspot/src/share/vm/interpreter/rewriter.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/interpreter/rewriter.cpp	Fri Mar 17 19:05:45 2017 +0100
+++ b/hotspot/src/share/vm/interpreter/rewriter.cpp	Tue Apr 04 21:07:19 2017 -0400
@@ -163,9 +163,7 @@
 // If the constant pool entry for invokespecial is InterfaceMethodref,
 // we need to add a separate cpCache entry for its resolution, because it is
 // different than the resolution for invokeinterface with InterfaceMethodref.
-// These cannot share cpCache entries.  It's unclear if all invokespecial to
-// InterfaceMethodrefs would resolve to the same thing so a new cpCache entry
-// is created for each one.  This was added with lambda.
+// These cannot share cpCache entries.
 void Rewriter::rewrite_invokespecial(address bcp, int offset, bool reverse, bool* invokespecial_error) {
   address p = bcp + offset;
   if (!reverse) {