mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8035396: Introduce accessor for tmp_oop in frame
Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr(). Reviewed-by: kvn, twisti
This commit is contained in:
parent
6dcf058035
commit
c01a8b9263
5 changed files with 20 additions and 16 deletions
|
@ -314,6 +314,9 @@ class frame VALUE_OBJ_CLASS_SPEC {
|
|||
void interpreter_frame_set_monitor_end(BasicObjectLock* value);
|
||||
#endif // CC_INTERP
|
||||
|
||||
// Address of the temp oop in the frame. Needed as GC root.
|
||||
oop* interpreter_frame_temp_oop_addr() const;
|
||||
|
||||
// BasicObjectLocks:
|
||||
//
|
||||
// interpreter_frame_monitor_begin is higher in memory than interpreter_frame_monitor_end
|
||||
|
@ -350,9 +353,6 @@ class frame VALUE_OBJ_CLASS_SPEC {
|
|||
void interpreter_frame_set_method(Method* method);
|
||||
Method** interpreter_frame_method_addr() const;
|
||||
ConstantPoolCache** interpreter_frame_cache_addr() const;
|
||||
#ifdef PPC32
|
||||
oop* interpreter_frame_mirror_addr() const;
|
||||
#endif
|
||||
|
||||
public:
|
||||
// Entry frames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue