112
113 inline HeapWord* start_of_stack() const;
114
115 inline intptr_t* start_address() const;
116 inline intptr_t* end_address() const;
117 inline intptr_t* bottom_address() const; // = end_address - argsize
118 inline intptr_t* sp_address() const;
119
120
121 inline int to_offset(intptr_t* p) const;
122 inline intptr_t* from_offset(int offset) const;
123
124 inline bool is_empty() const;
125 inline bool is_in_chunk(void* p) const;
126 inline bool is_usable_in_chunk(void* p) const;
127
128 inline bool is_flag(uint8_t flag) const;
129 inline bool is_flag_acquire(uint8_t flag) const;
130 inline void set_flag(uint8_t flag, bool value);
131 inline bool try_set_flags(uint8_t prev_flags, uint8_t new_flags);
132 inline void clear_flags();
133
134 inline bool has_mixed_frames() const;
135 inline void set_has_mixed_frames(bool value);
136
137 inline bool preempted() const;
138 inline void set_preempted(bool value);
139
140 inline bool has_lockstack() const;
141 inline void set_has_lockstack(bool value);
142
143 inline bool is_gc_mode() const;
144 inline bool is_gc_mode_acquire() const;
145 inline void set_gc_mode(bool value);
146
147 inline bool has_bitmap() const;
148 inline void set_has_bitmap(bool value);
149
150 inline bool has_thaw_slowpath_condition() const;
151
152 inline bool requires_barriers();
153
154 template <BarrierType>
155 void do_barriers();
156
157 template <BarrierType, ChunkFrames frames, typename RegisterMapT>
158 inline void do_barriers(const StackChunkFrameStream<frames>& f, const RegisterMapT* map);
159
|
112
113 inline HeapWord* start_of_stack() const;
114
115 inline intptr_t* start_address() const;
116 inline intptr_t* end_address() const;
117 inline intptr_t* bottom_address() const; // = end_address - argsize
118 inline intptr_t* sp_address() const;
119
120
121 inline int to_offset(intptr_t* p) const;
122 inline intptr_t* from_offset(int offset) const;
123
124 inline bool is_empty() const;
125 inline bool is_in_chunk(void* p) const;
126 inline bool is_usable_in_chunk(void* p) const;
127
128 inline bool is_flag(uint8_t flag) const;
129 inline bool is_flag_acquire(uint8_t flag) const;
130 inline void set_flag(uint8_t flag, bool value);
131 inline bool try_set_flags(uint8_t prev_flags, uint8_t new_flags);
132
133 inline bool has_mixed_frames() const;
134 inline void set_has_mixed_frames(bool value);
135
136 inline bool preempted() const;
137 inline void set_preempted(bool value);
138
139 inline bool at_klass_init() const;
140 inline void set_at_klass_init(bool value);
141
142 inline bool has_args_at_top() const;
143 inline void set_has_args_at_top(bool value);
144
145 inline bool has_lockstack() const;
146 inline void set_has_lockstack(bool value);
147
148 inline bool is_gc_mode() const;
149 inline bool is_gc_mode_acquire() const;
150 inline void set_gc_mode(bool value);
151
152 inline bool has_bitmap() const;
153 inline void set_has_bitmap(bool value);
154
155 inline bool has_thaw_slowpath_condition() const;
156
157 inline bool requires_barriers();
158
159 template <BarrierType>
160 void do_barriers();
161
162 template <BarrierType, ChunkFrames frames, typename RegisterMapT>
163 inline void do_barriers(const StackChunkFrameStream<frames>& f, const RegisterMapT* map);
164
|