mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8069412: Locks need better debug-printing support
Added better debug-printing support and enhanced LogCompilation tool Reviewed-by: kvn, roland, dholmes
This commit is contained in:
parent
b56016b4fb
commit
46fa321d63
10 changed files with 258 additions and 62 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -3244,6 +3244,9 @@ void GraphKit::shared_unlock(Node* box, Node* obj) {
|
|||
|
||||
const TypeFunc *tf = OptoRuntime::complete_monitor_exit_Type();
|
||||
UnlockNode *unlock = new UnlockNode(C, tf);
|
||||
#ifdef ASSERT
|
||||
unlock->set_dbg_jvms(sync_jvms());
|
||||
#endif
|
||||
uint raw_idx = Compile::AliasIdxRaw;
|
||||
unlock->init_req( TypeFunc::Control, control() );
|
||||
unlock->init_req( TypeFunc::Memory , memory(raw_idx) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue