Skip to content

Commit 2386a2d

Browse files
committed
Make NativeImageHeap#readInlinedField public
1 parent 86f6412 commit 2386a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/NativeImageHeap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void addTrailingObjects() {
278278
* Bypass shadow heap reading for inlined fields. These fields are not actually present in the
279279
* image (their value is inlined) and are not present in the shadow heap either.
280280
*/
281-
Object readInlinedField(HostedField field, JavaConstant receiver) {
281+
public Object readInlinedField(HostedField field, JavaConstant receiver) {
282282
VMError.guarantee(HostedConfiguration.isInlinedField(field), "Expected an inlined field, found %s", field);
283283
JavaConstant hostedReceiver = ((ImageHeapInstance) receiver).getHostedObject();
284284
/* Use the HostedValuesProvider to get direct access to hosted values. */

0 commit comments

Comments
 (0)