diff -r 9d6eb2757167 -r 6e8e0bf87bbe src/share/vm/runtime/basicLock.cpp --- a/src/share/vm/runtime/basicLock.cpp Wed Feb 11 18:56:26 2015 -0800 +++ b/src/share/vm/runtime/basicLock.cpp Fri Feb 20 22:12:53 2015 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -28,6 +28,9 @@ void BasicLock::print_on(outputStream* st) const { st->print("monitor"); + markOop moop = displaced_header(); + if (moop != NULL) + moop->print_on(st); } void BasicLock::move_to(oop obj, BasicLock* dest) {