diff a/src/hotspot/share/runtime/vframe_hp.hpp b/src/hotspot/share/runtime/vframe_hp.hpp --- a/src/hotspot/share/runtime/vframe_hp.hpp +++ b/src/hotspot/share/runtime/vframe_hp.hpp @@ -76,17 +76,21 @@ compiledVFrame* at_scope(int decode_offset, int vframe_id); // Returns SynchronizationEntryBCI or bci() (used for synchronization) int raw_bci() const; + // Used by stack allocation to match a stack oop to a described stack allocated object + ScopeValue *match_object_to_stack_oop(intptr_t *oop_ptr, intptr_t *sp_base, GrowableArray* objects) const; + protected: ScopeDesc* _scope; int _vframe_id; //StackValue resolve(ScopeValue* sv) const; BasicLock* resolve_monitor_lock(Location location) const; StackValue *create_stack_value(ScopeValue *sv) const; + ScopeValue *get_scope_value(GrowableArray* scv_list, int index, GrowableArray* objects) const; private: compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, ScopeDesc* scope, int vframe_id); #ifndef PRODUCT