Skip to content

Commit f97966e

Browse files
committed
fixup: comment update
1 parent 25d78ee commit f97966e

File tree

1 file changed

+2
-5
lines changed
  • substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/meta

1 file changed

+2
-5
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/meta/HostedMethod.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,8 @@ public final class HostedMethod extends HostedElement implements SharedMethod, W
104104
int computedVTableIndex = MISSING_VTABLE_IDX;
105105

106106
/**
107-
* When using the open type world we must differentiate between this method's vtable index and
108-
* the vtable index used for virtual calls. This is because sometimes JVMCI will expose to
109-
* analysis special methods HotSpot introduces into vtables, such as miranda and overpass
110-
* methods. In the open type world we only include declared methods in vtables and hence must
111-
* adjust indirect call targets accordingly.
107+
* When using the open type world we must differentiate between the vtable index computed by
108+
* {@link VTableBuilder} for this method and the vtable index used for virtual calls.
112109
*
113110
* Note normally {@code indirectCallTarget == this}. Only for special HotSpot methods such as
114111
* miranda and overpass methods will the indirectCallTarget be a different method. The logic for

0 commit comments

Comments
 (0)