hg: jdk7/hotspot-gc/hotspot: 6859911: G1: assert(Heap_lock->owner() = NULL, "Should be owned on this thread's behalf")

antonios.printezis at sun.com antonios.printezis at sun.com
Wed Jul 15 20:01:31 UTC 2009


Changeset: 42d84bbbecf4
Author:    tonyp
Date:      2009-07-15 12:22 -0400
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/42d84bbbecf4

6859911: G1: assert(Heap_lock->owner() = NULL, "Should be owned on this thread's behalf")
Summary: The used() method assumes that the heap lock is held when it is called. However, when used() is called from print_on(), this is not the case.
Reviewed-by: ysr, jmasa

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp




More information about the hotspot-gc-dev mailing list