2198 Commits

Author SHA1 Message Date
John Cuthbertson
b2ab93cc7b Merge 2012-04-20 11:41:49 -07:00
Antonios Printezis
0afaaf8d36 7145441: G1: collection set chooser-related cleanup
Cleanup of the CSet chooser class: standardize on uints for region num and indexes (instead of int, jint, etc.), make the method / field naming style more consistent, remove a lot of dead code.

Reviewed-by: johnc, brutisso
2012-04-18 13:39:55 -04:00
Antonios Printezis
01ea4199c7 7157073: G1: type change size_t -> uint for region counts / indexes
Change the type of fields / variables / etc. that represent region counts and indeces from size_t to uint.

Reviewed-by: iveresov, brutisso, jmasa, jwilhelm
2012-04-18 07:21:15 -04:00
Stefan Karlsson
99802ac63d 7160613: VerifyRememberedSets doesn't work with CompressedOops
Use load_decode_heap_oop instead of load_decode_heap_oop_not_null

Reviewed-by: tonyp, brutisso
2012-04-11 16:18:45 +02:00
Bengt Rutisson
f695b75d78 4988100: oop_verify_old_oop appears to be dead
Removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com

Reviewed-by: jmasa, jwilhelm
2012-04-16 08:57:18 +02:00
Bengt Rutisson
bb59715dae 7160728: Introduce an extra logging level for G1 logging
Added log levels "fine", "finer" and "finest". Let PrintGC map to "fine" and PrintGCDetails map to "finer". Separated out the per worker information in the G1 logging to the "finest" level.

Reviewed-by: stefank, jwilhelm, tonyp, johnc
2012-04-13 01:59:38 +02:00
John Cuthbertson
18cb0746b3 Merge 2012-04-06 09:48:34 -07:00
Tom Rodriguez
04f50526d3 Merge 2012-04-05 15:08:04 -07:00
Antonios Printezis
29afa9bf4b 7127697: G1: remove dead code after recent concurrent mark changes
Removed lots of dead code after some recent conc mark changes.

Reviewed-by: brutisso, johnc
2012-04-05 13:57:23 -04:00
Tom Rodriguez
8fc6b2ef2a 7157141: crash in 64 bit with corrupted oops
Reviewed-by: kvn, iveresov
2012-04-02 16:05:56 -07:00
Karen Kinnear
69a42aedf9 Merge 2012-04-01 17:04:26 -04:00
Jesper Wilhelmsson
dc0184185c Merge 2012-03-30 09:31:26 +02:00
Dean Long
3798179e83 Merge 2012-03-29 23:49:47 -04:00
Frederic Parain
5bb1350803 7087969: GarbageCollectorMXBean notification contains ticks vs millis
Reviewed-by: acorn, dcubed, rbackman
2012-03-29 02:12:40 -07:00
Karen Kinnear
b0fc983013 Merge 2012-03-27 15:28:52 -04:00
Bengt Rutisson
a6d84bc811 7156764: Remove unused size parameter from some CollectedHeap methods
Some minor cleanups

Reviewed-by: tonyp, jwilhelm
2012-03-27 10:29:59 +02:00
Jesper Wilhelmsson
6c25e1cdce Merge 2012-03-26 13:22:38 +02:00
Dean Long
50a2f8c16d Merge 2012-03-25 18:08:52 -04:00
Coleen Phillimore
1431a5efd1 7150058: Allocate symbols from null boot loader to an arena for NMT
Move symbol allocation to an arena so NMT doesn't have to track them at startup.

Reviewed-by: never, kamg, zgu
2012-03-23 11:16:05 -04:00
Bengt Rutisson
efa036748b 7103665: HeapWord*ParallelScavengeHeap::failed_mem_allocate(unsigned long,bool)+0x97
Make sure that MutableNUMASpace::ensure_parsability() only calls CollectedHeap::fill_with_object() with valid sizes and make sure CollectedHeap::filler_array_max_size() returns a value that can be converted to an int without overflow

Reviewed-by: azeemj, jmasa, iveresov
2012-03-23 15:28:24 +01:00
Antonios Printezis
450d6e8d9a 7146246: G1: expose some of the -XX flags that drive which old regions to collect during mixed GCs
Make two G1 cmd line flags available in product builds: G1HeapWastePercent (previously called: G1OldReclaimableThresholdPercent) and G1MixedGCCountTarget (previous called: G1MaxMixedGCNum). Also changed the default of the former from 1% to 5% and the default for G1OldCSetRegionLiveThresholdPercent to 90%.

Reviewed-by: azeemj, jwilhelm, johnc
2012-03-23 10:53:19 -04:00
Tom Rodriguez
cff05c3432 Merge 2012-03-22 13:54:26 -07:00
James Melvin
3693f0fe43 7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
Provide custom error messages for locked commercial feature options which are not first unlocked.

Reviewed-by: dcubed, jcoomes, kamg
2012-03-20 16:46:39 -04:00
Vladimir Kozlov
08973326c4 7154997: assert(false) failed: not G1 barrier raw StoreP
Skip only G1 cases and explicitly set global escape state in unsafe cases.

Reviewed-by: never
2012-03-20 13:10:13 -07:00
Dean Long
41d6c584cd Merge 2012-03-17 17:31:59 -04:00
John Coomes
7e1dbd7a03 Merge 2012-03-16 23:52:03 -07:00
John Coomes
0192f2b6c8 Merge 2012-03-16 23:45:05 -07:00
Bengt Rutisson
a99b0c08d4 7130974: G1: Remove G1ParCopyHelper
Reviewed-by: tonyp, johnc
2012-03-16 09:52:57 +01:00
Igor Veresov
cd47d982d9 7154333: JVM fails to start if -XX:+AggressiveHeap is set
Don't set CompilationPolicyChoice with AggressiveHeap

Reviewed-by: never
2012-03-15 16:38:56 -07:00
Nils Loodin
2c07f4154e 7148488: Whitebox tests for the Diagnostic Framework Parser
Reviewed-by: brutisso, sla, mgerdin
2012-03-15 13:37:13 +01:00
Serguei Spitsyn
7d0f6b051c 7123170: JCK vm/jvmti/ResourceExhausted/resexh001/resexh00101/ tests fails since 7u4 b02
The JVMTI ResourceExhausted events must be generated in all places where OOME is thrown

Reviewed-by: acorn, coleenp, dcubed, dholmes, dsamersoff, jwilhelm, tonyp
2012-03-14 20:06:48 -07:00
Alexey Ragozin
2c9482428f 7068625: Testing 8 bytes of card table entries at a time speeds up card-scanning
Check clean words instead of clean bytes

Reviewed-by: jcoomes, jmasa, jwilhelm, ysr
2012-03-14 12:49:27 +01:00
Nils Eliasson
ea28f47062 7152955: print_method crashes with null root
Reviewed-by: kvn, never
2012-03-13 20:54:56 -07:00
Gary Collins
c0d6562b8b Merge 2012-03-13 15:37:50 -07:00
Bengt Rutisson
4a2a6ebe99 7152954: G1: Native memory leak during full GCs
Add destructor to TruncatedSeq and call delete when necessary

Reviewed-by: johnc, tonyp
2012-03-13 21:12:53 +01:00
John Cuthbertson
79c90a15fa 7143511: G1: Another instance of high GC Worker Other time (50ms)
Tiered compilation has increased the number of nmethods in the code cache. This has, in turn, significantly increased the number of marked nmethods processed during the StrongRootsScope destructor. Create a specialized version of CodeBlobToOopClosure for G1 which places only those nmethods that contain pointers into the collection set on to the marked nmethods list.

Reviewed-by: iveresov, tonyp
2012-03-13 11:05:32 -07:00
Jiangli Zhou
b9e6895d3a 7109878: The instanceKlass EnclosingMethhod attribute fields can be folded into the _inner_class field
Fold instanceKlass::_enclosing_method_class_index and instanceKlass::_enclosing_method_method_index into the instanceKlass::_inner_classes array.

Reviewed-by: never, coleenp
2012-03-13 13:50:48 -04:00
Nils Eliasson
3683f82865 7152961: InlineTree::should_not_inline may exit prematurely
Reviewed-by: kvn, never
2012-03-13 10:03:59 -07:00
Tom Rodriguez
2d308ccc78 Merge 2012-03-12 19:54:41 -07:00
Nils Eliasson
7b7d3507db 7152957: VM crashes with assert(false) failed: bad AD file
Reviewed-by: kvn, never
2012-03-12 15:28:07 -07:00
John Cuthbertson
006def0451 7147724: G1: hang in SurrogateLockerThread::manipulatePLL
Attempting to initiate a marking cycle when allocating a humongous object can, if a marking cycle is successfully initiated by another thread, result in the allocating thread spinning until the marking cycle is complete. Eliminate a deadlock between the main ConcurrentMarkThread, the SurrogateLocker thread, the VM thread, and a mutator thread waiting on the SecondaryFreeList_lock (while free regions are going to become available) by not manipulating the pending list lock during the prologue and epilogue of the cleanup pause.

Reviewed-by: brutisso, jcoomes, tonyp
2012-03-12 14:59:00 -07:00
Nils Loodin
8950ee8d8e 7154517: Build error in hotspot-gc without precompiled headers
Reviewed-by: jcoomes, brutisso
2012-03-16 16:14:04 +01:00
Vladimir Kozlov
e5f92a2396 7147744: CTW: assert(false) failed: infinite EA connection graph build
Rewrote Connection graph construction code in EA to reduce time spent there.

Reviewed-by: never
2012-03-12 10:46:47 -07:00
Tom Rodriguez
b255b0eccc Merge 2012-03-09 08:34:36 -08:00
Karen Kinnear
a0e6b7797c Merge 2012-03-09 00:28:20 -05:00
Tom Rodriguez
9a93f60e34 7150390: JFR test crashed on assert(_jni_lock_count == count) failed: must be equal
Reviewed-by: dholmes, minqi, kvn, coleenp
2012-03-06 16:32:23 -08:00
Rickard Bäckman
cf406f37e3 7160570: Intrinsification support for tracing framework
Reviewed-by: sla, never
2012-03-06 12:36:59 +01:00
Daniel D. Daugherty
70685b85af Merge 2012-04-15 15:37:20 -07:00
Rickard Bäckman
2ea955a642 7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued
Reviewed-by: acorn, dcubed
2012-04-12 13:24:08 +02:00
Bob Vandette
4d6f8e3d34 Merge 2012-04-10 13:27:09 -04:00