mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
Merge
This commit is contained in:
commit
68ff9b2b00
31 changed files with 245 additions and 124 deletions
|
@ -2442,6 +2442,10 @@ class CommandLineFlags {
|
|||
"Call fatal if this exception is thrown. Example: " \
|
||||
"java -XX:AbortVMOnException=java.lang.NullPointerException Foo") \
|
||||
\
|
||||
notproduct(ccstr, AbortVMOnExceptionMessage, NULL, \
|
||||
"Call fatal if the exception pointed by AbortVMOnException " \
|
||||
"has this message.") \
|
||||
\
|
||||
develop(bool, DebugVtables, false, \
|
||||
"add debugging code to vtable dispatch") \
|
||||
\
|
||||
|
|
|
@ -807,7 +807,7 @@ bool Thread::is_in_stack(address adr) const {
|
|||
// should be revisited, and they should be removed if possible.
|
||||
|
||||
bool Thread::is_lock_owned(address adr) const {
|
||||
return (_stack_base >= adr && adr >= (_stack_base - _stack_size));
|
||||
return on_local_stack(adr);
|
||||
}
|
||||
|
||||
bool Thread::set_as_starting_thread() {
|
||||
|
|
|
@ -446,6 +446,11 @@ public:
|
|||
void set_stack_size(size_t size) { _stack_size = size; }
|
||||
void record_stack_base_and_size();
|
||||
|
||||
bool on_local_stack(address adr) const {
|
||||
/* QQQ this has knowledge of direction, ought to be a stack method */
|
||||
return (_stack_base >= adr && adr >= (_stack_base - _stack_size));
|
||||
}
|
||||
|
||||
int lgrp_id() const { return _lgrp_id; }
|
||||
void set_lgrp_id(int value) { _lgrp_id = value; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue