1.1 --- a/src/share/vm/runtime/basicLock.cpp Wed Feb 11 18:56:26 2015 -0800 1.2 +++ b/src/share/vm/runtime/basicLock.cpp Fri Feb 20 22:12:53 2015 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -28,6 +28,9 @@ 1.11 1.12 void BasicLock::print_on(outputStream* st) const { 1.13 st->print("monitor"); 1.14 + markOop moop = displaced_header(); 1.15 + if (moop != NULL) 1.16 + moop->print_on(st); 1.17 } 1.18 1.19 void BasicLock::move_to(oop obj, BasicLock* dest) {