Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/scopeDesc.hpp @ 7046:b6a8f2d23057
VM support for deferred reads and writes: ScopeDesc, DebugInfo, DebugInfoRecorder
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 27 Nov 2012 13:43:04 +0100 |
parents | e522a00b91aa |
children | d4e6c82cd6a1 |
comparison
equal
deleted
inserted
replaced
7039:adf5c101bc4b | 7046:b6a8f2d23057 |
---|---|
76 | 76 |
77 GrowableArray<ScopeValue*>* locals(); | 77 GrowableArray<ScopeValue*>* locals(); |
78 GrowableArray<ScopeValue*>* expressions(); | 78 GrowableArray<ScopeValue*>* expressions(); |
79 GrowableArray<MonitorValue*>* monitors(); | 79 GrowableArray<MonitorValue*>* monitors(); |
80 GrowableArray<ScopeValue*>* objects(); | 80 GrowableArray<ScopeValue*>* objects(); |
81 #ifdef GRAAL | |
82 GrowableArray<DeferredWriteValue*>* deferred_writes(); | |
83 #endif // GRAAL | |
81 | 84 |
82 // Stack walking, returns NULL if this is the outer most scope. | 85 // Stack walking, returns NULL if this is the outer most scope. |
83 ScopeDesc* sender() const; | 86 ScopeDesc* sender() const; |
84 | 87 |
85 // Returns where the scope was decoded | 88 // Returns where the scope was decoded |
105 int _decode_offset; | 108 int _decode_offset; |
106 int _sender_decode_offset; | 109 int _sender_decode_offset; |
107 int _locals_decode_offset; | 110 int _locals_decode_offset; |
108 int _expressions_decode_offset; | 111 int _expressions_decode_offset; |
109 int _monitors_decode_offset; | 112 int _monitors_decode_offset; |
113 #ifdef GRAAL | |
114 int _deferred_writes_decode_offset; | |
115 #endif // GRAAL | |
110 | 116 |
111 // Object pool | 117 // Object pool |
112 GrowableArray<ScopeValue*>* _objects; | 118 GrowableArray<ScopeValue*>* _objects; |
113 | 119 |
114 // Nmethod information | 120 // Nmethod information |
117 // Decoding operations | 123 // Decoding operations |
118 void decode_body(); | 124 void decode_body(); |
119 GrowableArray<ScopeValue*>* decode_scope_values(int decode_offset); | 125 GrowableArray<ScopeValue*>* decode_scope_values(int decode_offset); |
120 GrowableArray<MonitorValue*>* decode_monitor_values(int decode_offset); | 126 GrowableArray<MonitorValue*>* decode_monitor_values(int decode_offset); |
121 GrowableArray<ScopeValue*>* decode_object_values(int decode_offset); | 127 GrowableArray<ScopeValue*>* decode_object_values(int decode_offset); |
128 #ifdef GRAAL | |
129 GrowableArray<DeferredWriteValue*>* decode_deferred_writes(int decode_offset); | |
130 #endif // GRAAL | |
122 | 131 |
123 DebugInfoReadStream* stream_at(int decode_offset) const; | 132 DebugInfoReadStream* stream_at(int decode_offset) const; |
124 | 133 |
125 | 134 |
126 public: | 135 public: |