mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8222893: markOopDesc::print_on() is a bit confused
Add print_on for ObjectMonitor and make markOop printing sensible and add test. Reviewed-by: dcubed, pchilanomate
This commit is contained in:
parent
69647ce061
commit
26255c10cb
5 changed files with 168 additions and 21 deletions
|
@ -291,6 +291,9 @@ class ObjectMonitor {
|
|||
void notify(TRAPS);
|
||||
void notifyAll(TRAPS);
|
||||
|
||||
void print() const { print_on(tty); }
|
||||
void print_on(outputStream* st) const;
|
||||
|
||||
// Use the following at your own risk
|
||||
intptr_t complete_exit(TRAPS);
|
||||
void reenter(intptr_t recursions, TRAPS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue