src/share/vm/runtime/thread.hpp

changeset 2043
2dfd013a7465
parent 1995
bfc89697cccb
child 2044
f4f596978298
equal deleted inserted replaced
2042:fb8abd207dbe 2043:2dfd013a7465
447 void set_stack_base(address base) { _stack_base = base; } 447 void set_stack_base(address base) { _stack_base = base; }
448 size_t stack_size() const { return _stack_size; } 448 size_t stack_size() const { return _stack_size; }
449 void set_stack_size(size_t size) { _stack_size = size; } 449 void set_stack_size(size_t size) { _stack_size = size; }
450 void record_stack_base_and_size(); 450 void record_stack_base_and_size();
451 451
452 bool on_local_stack(address adr) const {
453 /* QQQ this has knowledge of direction, ought to be a stack method */
454 return (_stack_base >= adr && adr >= (_stack_base - _stack_size));
455 }
456
452 int lgrp_id() const { return _lgrp_id; } 457 int lgrp_id() const { return _lgrp_id; }
453 void set_lgrp_id(int value) { _lgrp_id = value; } 458 void set_lgrp_id(int value) { _lgrp_id = value; }
454 459
455 // Printing 460 // Printing
456 void print_on(outputStream* st) const; 461 void print_on(outputStream* st) const;

mercurial