--- a/src/hotspot/share/code/nmethod.hpp Thu Jun 20 07:56:28 2019 -0700
+++ b/src/hotspot/share/code/nmethod.hpp Thu Jun 20 10:32:25 2019 -0700
@@ -392,6 +392,7 @@
// Support for oops in scopes and relocs:
// Note: index 0 is reserved for null.
oop oop_at(int index) const;
+ oop oop_at_phantom(int index) const; // phantom reference
oop* oop_addr_at(int index) const { // for GC
// relocation indexes are biased by 1 (because 0 is reserved)
assert(index > 0 && index <= oops_count(), "must be a valid non-zero index");