Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
18928:c8fc6e2d128b | 18929:8f2fb6bec986 |
---|---|
55 friend class VMStructs; | 55 friend class VMStructs; |
56 private: | 56 private: |
57 JavaThread* _thread; // the thread to which this call belongs | 57 JavaThread* _thread; // the thread to which this call belongs |
58 JNIHandleBlock* _handles; // the saved handle block | 58 JNIHandleBlock* _handles; // the saved handle block |
59 Method* _callee_method; // to be able to collect arguments if entry frame is top frame | 59 Method* _callee_method; // to be able to collect arguments if entry frame is top frame |
60 oop _receiver; // the receiver of the call (if a non-static call) | |
60 | 61 |
61 JavaFrameAnchor _anchor; // last thread anchor state that we must restore | 62 JavaFrameAnchor _anchor; // last thread anchor state that we must restore |
62 | 63 |
63 JavaValue* _result; // result value | 64 JavaValue* _result; // result value |
64 | 65 |
65 public: | 66 public: |
66 // Construction/destruction | 67 // Construction/destruction |
67 JavaCallWrapper(methodHandle callee_method, JavaValue* result, TRAPS); | 68 JavaCallWrapper(methodHandle callee_method, Handle receiver, JavaValue* result, TRAPS); |
68 ~JavaCallWrapper(); | 69 ~JavaCallWrapper(); |
69 | 70 |
70 // Accessors | 71 // Accessors |
71 JavaThread* thread() const { return _thread; } | 72 JavaThread* thread() const { return _thread; } |
72 JNIHandleBlock* handles() const { return _handles; } | 73 JNIHandleBlock* handles() const { return _handles; } |
74 JavaFrameAnchor* anchor(void) { return &_anchor; } | 75 JavaFrameAnchor* anchor(void) { return &_anchor; } |
75 | 76 |
76 JavaValue* result() const { return _result; } | 77 JavaValue* result() const { return _result; } |
77 // GC support | 78 // GC support |
78 Method* callee_method() { return _callee_method; } | 79 Method* callee_method() { return _callee_method; } |
80 oop receiver() { return _receiver; } | |
79 void oops_do(OopClosure* f); | 81 void oops_do(OopClosure* f); |
80 | 82 |
81 bool is_first_frame() const { return _anchor.last_Java_sp() == NULL; } | 83 bool is_first_frame() const { return _anchor.last_Java_sp() == NULL; } |
82 | 84 |
83 }; | 85 }; |