hg: hsx/hotspot-main/hotspot: 8 new changesets

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Thu Sep 26 12:04:23 PDT 2013

Changeset: 2c022e432e10
Author:    stefank
Date:      2013-09-20 10:53 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/2c022e432e10

8024974: Incorrect use of GC_locker::is_active()
Summary: SymbolTable and StringTable can make calls to GC_locker::is_active() outside a safepoint. This isn't safe because the GC_locker active state (lock count) is only updated at a safepoint and only remains valid as long as _needs_gc is true. However, outside a safepoint_needs_gc can change to false at any time, which makes it impossible to do a correct call to is_active() in that context. In this case these calls can just be removed since the input argument to basic_add() should never be on the heap and so there's no need to check the GC_locker state. This change also adjusts the assert() in is_active() to makes sure all calls to this function are always done under a safepoint.
Reviewed-by: brutisso, dcubed
Contributed-by: per.liden at oracle.com

! src/share/vm/classfile/symbolTable.cpp
! src/share/vm/memory/gcLocker.cpp
! src/share/vm/memory/gcLocker.hpp

Changeset: 9361de86a50f
Author:    stefank
Date:      2013-09-20 11:00 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/9361de86a50f

8025059: Metspace::should_expand mixes bytes and words in check against MaxMetaspaceSize
Reviewed-by: coleenp, brutisso, mgerdin, jmasa

! src/share/vm/memory/metaspace.cpp

Changeset: b960c9df4f11
Author:    stefank
Date:      2013-09-21 10:09 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/b960c9df4f11

8025096: Move the ChunkManager instances out of the VirtualSpaceLists
Reviewed-by: coleenp, mgerdin, jmasa

! src/share/vm/memory/metaspace.cpp
! src/share/vm/memory/metaspace.hpp

Changeset: 10cc3b624f8f
Author:    tschatzl
Date:      2013-09-24 10:14 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/10cc3b624f8f


- test/runtime/6878713/Test6878713.sh
- test/runtime/6878713/testcase.jar
- test/runtime/7020373/Test7020373.sh
- test/runtime/7020373/testcase.jar

Changeset: a19bea467577
Author:    tschatzl
Date:      2013-09-25 13:25 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/a19bea467577

7163191: G1: introduce a "heap spanning table" abstraction
Summary: Add G1BiasedArray<T> that is an array where each element represents a fixed-sized subdivision of the heap. Use this abstraction to refactor the HeapRegionSeq class.
Reviewed-by: brutisso

! make/excludeSrc.make
+ src/share/vm/gc_implementation/g1/g1BiasedArray.cpp
+ src/share/vm/gc_implementation/g1/g1BiasedArray.hpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/heapRegionSeq.cpp
! src/share/vm/gc_implementation/g1/heapRegionSeq.hpp
! src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp
! src/share/vm/gc_implementation/g1/vmStructs_g1.hpp
! src/share/vm/prims/jni.cpp

Changeset: 03f493ce3a71
Author:    brutisso
Date:      2013-09-25 17:23 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/03f493ce3a71

8025228: assert(new_entry->reserved_words() == vs_word_size) fails in nightly
Reviewed-by: mgerdin, tschatzl, jmasa

! src/share/vm/memory/metaspace.cpp
! src/share/vm/prims/jni.cpp

Changeset: 461159cd7a91
Author:    tschatzl
Date:      2013-09-26 12:18 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/461159cd7a91


! src/share/vm/classfile/symbolTable.cpp

Changeset: 3da9fad1391e
Author:    tschatzl
Date:      2013-09-26 06:34 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/3da9fad1391e


More information about the hotspot-dev mailing list