Commit Graph

1390 Commits

Author SHA1 Message Date
John Coomes
99196ff9ca 6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
John Coomes
7e76feaf42 6888953: some calls to function-like macros are missing semicolons
Reviewed-by: pbk, kvn
2009-10-11 16:19:25 -07:00
John Cuthbertson
83f1d02a67 6946056: assert((intptr_t) sp()<=(intptr_t) result,"result must>=than stack pointer"), frame_x86.cpp:295
Frame::interpreter_frame_monitor_end() will spuriously assert for a frame that spans 0x80000000. Cast values to intptr_t* (rather than intptr_t) so that an unsigned pointer compare is performed.

Reviewed-by: never, jcoomes, pbk
2010-04-27 18:13:47 -07:00
Antonios Printezis
e1ae5e1cb0 Merge 2010-04-26 18:01:55 -04:00
John Cuthbertson
b1867e0dd5 6819061: G1: eliminate serial Other times that are proportional to the collection set length
6871109: G1: remove the concept of the scan only prefix

Removed scan only regions and associated code. The young portion of the collection set is now constructed incrementally - when a young region is retired as the current allocation region it is added to the collection set.

Reviewed-by: apetrusenko, iveresov, tonyp
2010-04-22 10:02:38 -07:00
John R Rose
333bea1423 Merge 2010-04-21 01:13:15 -07:00
Erik Trimble
80ce50ed3f Merge 2010-04-20 21:38:23 -07:00
Tom Rodriguez
166ea7f01c 6945219: minor SA fixes
Reviewed-by: twisti
2010-04-20 13:26:33 -07:00
Kevin Walls
db6aad1e4e Merge 2010-04-19 05:40:21 -07:00
Gary Benson
5e6b418472 6944503: Improved Zero crash dump
With Zero on a GC crash the stack was dumped differently to other crashes.

Reviewed-by: twisti
2010-04-19 02:13:06 -07:00
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
Andrey Petrusenko
99cdb36eca 6942253: G1: replace G1ParallelGCAllocBufferSize with YoungPLABSize and OldPLABSize
Replaces the G1-specific parameter with the existing ones that are used by the other GCs (YoungPLABSize and OldPLABSize)

Reviewed-by: tonyp, johnc
2010-04-16 08:48:16 -07:00
Gary Benson
193be0b9eb 6944473: 6941224 misses new files
Two new files are missing in the push for 6941224.

Reviewed-by: twisti
2010-04-16 05:05:53 -07:00
Christian Thalinger
20b4da422d Merge 2010-04-16 02:59:34 -07:00
Christian Thalinger
31f1aba365 Merge 2010-04-16 00:52:45 -07:00
Erik Trimble
a61cccd54b Added tag hs18-b02 for changeset 0c79cc0b79fd 2010-04-15 19:09:48 -07:00
Erik Trimble
8fc0842347 Merge 2010-04-15 19:08:48 -07:00
Erik Trimble
67e6e0207c 6944398: Bump the HS18 build number to 03
Update the HS18 build number to 03

Reviewed-by: jcoomes
2010-04-15 19:08:18 -07:00
Tom Rodriguez
98ee92e724 6939930: exception unwind changes in 6919934 hurts compilation speed
Reviewed-by: twisti
2010-04-15 18:14:49 -07: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
Michael Wilkerson
8c5458caf1 Added tag jdk7-b89 for changeset 750e57985f1e 2010-04-15 13:54:54 -07:00
Gary Benson
d889909335 6944028: 6940701 broke Zero
The fix for 6940701 broke Zero.

Reviewed-by: twisti
2010-04-15 03:13:56 -07:00
Gary Benson
95b528bff0 6941224: Improved stack overflow handling for Zero
Adding stack overflow checking to Shark brought to light a bunch of deficiencies in Zero's stack overflow code.

Reviewed-by: twisti
2010-04-15 02:40:12 -07:00
Tom Rodriguez
a1446b775d 6938026: C2 compiler fails in Node::rematerialize()const
Reviewed-by: twisti
2010-04-14 15:30:13 -07:00
Lana Steuck
b6e716a486 Merge 2010-04-13 16:36:27 -07:00
John R Rose
d3b254656d Merge 2010-04-13 13:01:37 -07:00
Antonios Printezis
dc66d123d2 Merge 2010-04-09 15:01:49 -07:00
Antonios Printezis
ba815bf09e Merge 2010-04-09 13:08:34 -04:00
John R Rose
01c5c9a34b Merge 2010-04-08 17:45:20 -07:00
Michael Wilkerson
9e32cd0837 Added tag jdk7-b88 for changeset 0c79cc0b79fd 2010-04-08 17:02:41 -07:00
Lana Steuck
744771ab77 Merge 2010-04-08 15:28:37 -07:00
Igor Veresov
fc76d07b40 6942223: c1 64 bit fixes
This fixes lir_cmp_l2i on x64 and sparc 64bit, and the debug info generation.

Reviewed-by: never
2010-04-08 12:13:07 -07:00
Christian Thalinger
4d0664b427 6941529: SharedRuntime::raw_exception_handler_for_return_address must reset thread MethodHandle flag
During testing a bug was hit when an exception returned to the interpreter and the SP was wrong.

Reviewed-by: kvn, never
2010-04-08 10:55:40 +02:00
Vladimir Kozlov
f6934fd3b7 6940726: Use BIS instruction for allocation prefetch on Sparc
Use BIS instruction for allocation prefetch on Sparc

Reviewed-by: twisti
2010-04-07 12:39:27 -07: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
Vladimir Kozlov
629d139cac 6940733: allocate non static oop fields in super and sub classes together
Use FieldsAllocationStyle=2 to allocate non static oop fields in super and sub classes together

Reviewed-by: twisti
2010-04-07 10:35:56 -07:00
Vladimir Kozlov
5f8098a402 6940701: Don't align loops in stubs for Niagara sparc
Don't align loops in stubs for Niagara sparc since NOPs are expensive.

Reviewed-by: twisti, never
2010-04-07 09:37:47 -07:00
Keith McGuigan
66b6e88578 Merge 2010-04-07 12:28:22 -04:00
Abhijit Saha
0610f6846b Merge 2010-04-06 22:06:57 -07:00
Vladimir Kozlov
429cea33ba 6940677: Use 64 bytes chunk copy for arraycopy on Sparc
For large arrays we should use 64 bytes chunks copy.

Reviewed-by: twisti
2010-04-06 15:18:10 -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
Christian Thalinger
f90547c0b9 6940520: CodeCache::scavenge_root_nmethods_do must fix oop relocations
ScavengeRootsInCode can lead to unfixed code-embedded oops.

Reviewed-by: kvn, never
2010-04-06 13:39:52 +02: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
John Coomes
bd4179633a Merge 2010-04-02 17:04:09 -07:00
Vladimir Kozlov
6f0a3e4a80 Merge 2010-04-02 15:55:04 -07:00
Vladimir Kozlov
8e1f408216 6939804: ciConstant::print() prints incorrect bool value
Fix typo.

Reviewed-by: never
2010-04-02 11:55:00 -07:00
Antonios Printezis
9545c0521e 6677708: G1: re-enable parallel RSet updating and scanning
Enable parallel RSet updating and scanning.

Reviewed-by: iveresov, jmasa
2010-04-02 12:10:08 -04:00
Karen Kinnear
60b7da9e8f Merge 2010-04-01 20:48:50 -04:00
Erik Trimble
dd2e2966dd 6940419: Bump the HS18 build number to 02
Update the HS18 build number to 02

Reviewed-by: jcoomes
2010-04-01 16:15:12 -07:00