diff src/share/vm/runtime/javaCalls.hpp @ 18929:8f2fb6bec986

removed GPU code
author Doug Simon <doug.simon@oracle.com>
date Fri, 23 Jan 2015 10:54:21 +0100
parents 89152779163c
children be896a1983c0
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.hpp	Thu Jan 22 23:16:17 2015 +0100
+++ b/src/share/vm/runtime/javaCalls.hpp	Fri Jan 23 10:54:21 2015 +0100
@@ -57,6 +57,7 @@
   JavaThread*      _thread;                 // the thread to which this call belongs
   JNIHandleBlock*  _handles;                // the saved handle block
   Method*          _callee_method;          // to be able to collect arguments if entry frame is top frame
+  oop              _receiver;               // the receiver of the call (if a non-static call)
 
   JavaFrameAnchor  _anchor;                 // last thread anchor state that we must restore
 
@@ -64,7 +65,7 @@
 
  public:
   // Construction/destruction
-   JavaCallWrapper(methodHandle callee_method, JavaValue* result, TRAPS);
+   JavaCallWrapper(methodHandle callee_method, Handle receiver, JavaValue* result, TRAPS);
   ~JavaCallWrapper();
 
   // Accessors
@@ -76,6 +77,7 @@
   JavaValue*       result() const           { return _result; }
   // GC support
   Method*          callee_method()          { return _callee_method; }
+  oop              receiver()               { return _receiver; }
   void             oops_do(OopClosure* f);
 
   bool             is_first_frame() const   { return _anchor.last_Java_sp() == NULL; }