Commit Graph

5136 Commits

Author SHA1 Message Date
Kevin Walls
d132f8e1c6 6897143: Stress test crashes during HeapInspection using ParallelGC
Ensure_parsability() must be called even if GC_locker prevents GC.

Reviewed-by: ysr, chrisphi
2010-04-16 17:36:37 +01:00
Antonios Printezis
89dcd228da 6939027: G1: assertion failure during the concurrent phase of cleanup
The outgoing region map is not maintained properly and it's causing an assert failure. Given that we don't actually use it, I'm removing it. I'm piggy-backing a small change on this which removes a message that it's printed before a Full GC when DisableExplicitGC is set.

Reviewed-by: apetrusenko, ysr
2010-04-15 18:45:30 -04:00
John Cuthbertson
6110c052aa 6943926: G1: Integer overflow during heap region verification
The expression that calculates the live bytes for a heap region can overflow for a suitably large humongous region/object. Cache the object size in a suitably sized local variable so that the expression is converted to a wider type.

Reviewed-by: tonyp, jmasa, iveresov, apetrusenko
2010-04-15 15:52:55 -07:00
Antonios Printezis
9b4fc8fc23 6937142: G1: improvements to debugging output (S-M)
Various fixes to the G1 debugging output.

Reviewed-by: johnc, iveresov
2010-03-30 15:43:03 -04:00
Jon Masamitsu
f5197d0d36 6858496: Clear all SoftReferences before an out-of-memory due to GC overhead limit
Ensure a full GC that clears SoftReferences before throwing an out-of-memory

Reviewed-by: ysr, jcoomes
2010-04-13 13:52:10 -07:00
Antonios Printezis
ba815bf09e Merge 2010-04-09 13:08:34 -04:00
John Cuthbertson
b98560aa10 6940894: G1: assert(new_obj != 0 || ... "should be forwarded") for compaction tests
Humongous regions may contain multiple objects as a result of being retained as to-space from a previous GC and then re-used as to-space after being tagged as humongous. These changes include a check that causes retained to-space regions that are now tagged as humongous to be disregarded and a new to-space region allocated.

Reviewed-by: tonyp, iveresov
2010-04-07 11:43:53 -07:00
Abhijit Saha
0610f6846b Merge 2010-04-06 22:06:57 -07:00
Antonios Printezis
719e7f0926 6909756: G1: guarantee(G1CollectedHeap::heap()->mark_in_progress(),"Precondition.")
Make sure that two marking cycles do not overlap, i.e., a new one can only start after the concurrent marking thread finishes all its work. In the fix I piggy-back a couple of minor extra fixes: some general code reformatting for consistency (only around the code I modified), the removal of a field (G1CollectorPolicy::_should_initiate_conc_mark) which doesn't seem to be used at all (it's only set but never read), as well as moving the "is GC locker active" test earlier into the G1 pause / Full GC and using a more appropriate method for it.

Reviewed-by: johnc, jmasa, jcoomes, ysr
2010-04-06 10:59:45 -04:00
Antonios Printezis
2e3363d109 6940310: G1: MT-unsafe calls to CM::region_stack_push() / CM::region_stack_pop()
Calling the methods region_stack_push() and region_stack_pop() concurrent is not MT-safe. The assumption is that we will only call region_stack_push() during a GC pause and region_stack_pop() during marking. Unfortunately, we also call region_stack_push() during marking which seems to be introducing subtle marking failures. This change introduces lock-based methods for pushing / popping to be called during marking.

Reviewed-by: iveresov, johnc
2010-04-05 12:19:22 -04:00
Vladimir Kozlov
6f0a3e4a80 Merge 2010-04-02 15:55:04 -07:00
J. Duke
3eab898282 Merge 2017-07-05 17:09:16 +02:00
J. Duke
2450c5d995 Merge 2017-07-05 17:09:13 +02:00
J. Duke
b0f657b35b Merge 2017-07-05 17:09:10 +02:00
J. Duke
cfc198e2cd Merge 2017-07-05 17:09:08 +02:00
J. Duke
4c37347ee0 Merge 2017-07-05 17:09:06 +02:00
J. Duke
df879ecaa9 Merge 2017-07-05 17:09:03 +02:00
J. Duke
ccfa1f6d3f Merge 2017-07-05 17:09:01 +02:00
J. Duke
a23f0a776b Added tag jdk7-b87 for changeset b7456c473862 2017-07-05 17:08:50 +02:00
J. Duke
bbbf57c196 Merge 2017-07-05 17:08:50 +02:00
J. Duke
c3635bc605 Merge 2017-07-05 17:08:47 +02:00
J. Duke
57fd63e5d6 Merge 2017-07-05 17:08:45 +02:00
J. Duke
454ebca25b Merge 2017-07-05 17:08:42 +02:00
J. Duke
5f5f5bd046 Merge 2017-07-05 17:08:40 +02:00
J. Duke
4ab26521a5 Merge 2017-07-05 17:08:37 +02:00
J. Duke
de167fe263 Merge 2017-07-05 17:08:35 +02:00
J. Duke
c381168275 Added tag jdk7-b86 for changeset c94d9cc81f49 2017-07-05 17:08:23 +02:00
J. Duke
d9942bb3c6 Merge 2017-07-05 17:08:23 +02:00
J. Duke
1044cffd9f Merge 2017-07-05 17:08:21 +02:00
J. Duke
af05a73b36 Merge 2017-07-05 17:08:17 +02:00
J. Duke
e939b0af55 Merge 2017-07-05 17:08:15 +02:00
J. Duke
677ffba656 Merge 2017-07-05 17:08:12 +02:00
J. Duke
82bd08fd05 Merge 2017-07-05 17:08:10 +02:00
J. Duke
e719b79545 Merge 2017-07-05 17:08:03 +02:00
J. Duke
056f97db02 Added tag jdk7-b85 for changeset b6f633a93ae0 2017-07-05 17:07:54 +02:00
J. Duke
1408dbfdbe Merge 2017-07-05 17:07:54 +02:00
J. Duke
581e4116ec Merge 2017-07-05 17:07:51 +02:00
J. Duke
5ac1691759 Merge 2017-07-05 17:07:47 +02:00
J. Duke
29da2d6059 Merge 2017-07-05 17:07:45 +02:00
J. Duke
66a0954424 Merge 2017-07-05 17:07:43 +02:00
J. Duke
d05c77bdf0 Merge 2017-07-05 17:07:40 +02:00
J. Duke
2a969c48db Merge 2017-07-05 17:07:36 +02:00
J. Duke
852eff2850 Added tag jdk7-b84 for changeset b1e55627a698 2017-07-05 17:07:26 +02:00
J. Duke
b7ee18f903 Merge 2017-07-05 17:07:26 +02:00
J. Duke
b6eab62610 Merge 2017-07-05 17:07:23 +02:00
J. Duke
746ad686ff Merge 2017-07-05 17:07:18 +02:00
J. Duke
1d27e4abd3 Merge 2017-07-05 17:07:16 +02:00
J. Duke
5ba1f90e9f Merge 2017-07-05 17:07:14 +02:00
J. Duke
75805658e2 Merge 2017-07-05 17:07:12 +02:00
J. Duke
8f1ed2e37e Merge 2017-07-05 17:07:03 +02:00