1508 Commits

Author SHA1 Message Date
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
Vladimir Kozlov
d72f8abedf 6937111: Restore optimization for Phi of AddP (6552204)
Restored the original code which was removed by the fix for 6614100.

Reviewed-by: never
2010-04-05 10:17:15 -07: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
Erik Trimble
bf4cf7fe60 Merge 2010-04-01 16:10:27 -07:00
Tom Rodriguez
7a9a877131 6936709: AsyncGetCallTrace doesn't handle inexact stack walking properly
Reviewed-by: kvn
2010-04-01 16:06:57 -07:00
Karen Kinnear
1271375647 Merge 2010-04-01 11:23:01 -04:00
Coleen Phillimore
47cda47c42 6938627: Make temporary directory use property java.io.tmpdir when specified
Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp".  Don't assume trailing file_separator either.

Reviewed-by: dholmes, kamg
2010-03-31 16:51:18 -07:00
Tom Rodriguez
654dfb3d0f Merge 2010-03-31 16:29:10 -07:00
Edward Nevill
8a72fb502e 6939845: zero needs fallback path in C++ interpreter for platform dependent fast bytecodes
Reviewed-by: never
2010-03-31 11:54:03 -07:00
Gary Benson
8dbf2b8020 6939731: JSR 292 Zero build fix after 6934494
The changes of 6934494 have broken the Zero build.

Reviewed-by: twisti
2010-03-31 08:03:33 -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
972acdab81 6937160: G1: should observe GCTimeRatio
Remove the G1GCPercent parameter, that specifies the desired GC overhead percentage in G1, and observe the GCTimeRatio parameter instead.

Reviewed-by: jmasa, johnc
2010-03-30 15:36:55 -04:00
Gary Benson
e76823e70b 6939180: Zero locking fix
When Zero is running with Shark enabled threads can be left with their _do_not_unlock_if_synchronized flag incorrectly set.

Reviewed-by: twisti
2010-03-30 00:57:55 -07:00
Karen Kinnear
7aaaad73cf Merge 2010-03-26 11:10:26 -04:00
Daniel D. Daugherty
656336b952 Merge 2010-03-25 16:54:59 -07:00
Daniel D. Daugherty
b44f682bf9 6938185: 3/4 6923488 breaks Windows command shell builds
Fix build.bat so invoking command shell doesn't exit on error. Fix dirname assumptions. Document some MKS environment dependencies.

Reviewed-by: coleenp
2010-03-25 16:27:12 -07:00
Michael Wilkerson
c37cee8e67 Added tag jdk7-b87 for changeset e147a1eaf2fc 2010-03-25 15:05:19 -07:00
Abhijit Saha
845f11dd17 Merge 2010-03-24 17:16:33 -07:00
Erik Trimble
1551fec9c6 Merge 2010-03-23 20:37:30 -07:00
Erik Trimble
26378d832b Added tag hs18-b01 for changeset 39a1b68b0062 2010-03-23 20:28:36 -07:00
Daniel D. Daugherty
6fb483993a Merge 2010-03-23 17:29:13 -07:00
Daniel D. Daugherty
30e02ce948 6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540
Remove assert to decouple JDK and HotSpot additions of known types.

Reviewed-by: mchung
2010-03-23 14:37:18 -07:00
Andrey Petrusenko
531591c2b9 Merge 2010-03-22 02:40:53 -07:00
Erik Trimble
e549c50c7d 6936366: Fork HS17 to HS18 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS18 fork

Reviewed-by: jcoomes
2010-03-18 17:21:54 -07:00
Erik Trimble
37ecae8f2c Merge 2010-03-18 16:06:00 -07:00
Tom Rodriguez
67c094c4c7 6926979: should simplify catch_inline_exception
Reviewed-by: twisti
2010-03-18 14:31:41 -07:00
Michael Wilkerson
fde6152215 Added tag jdk7-b86 for changeset 16a26e16c83f 2010-03-18 13:52:49 -07:00
Andrew Haley
87f44737a8 6936168: Recent fix for unmapping stack guard pages doesn't close /proc/self/maps
Add close to returns (fix for 6929067 also contributed by aph)

Co-authored-by: Andreas Kohn <andreas.kohn@fredhopper.com>
Reviewed-by: aph, dcubed, andrew, acorn
2010-03-18 16:47:37 -04:00
John Coomes
aa951c36cb 6935839: excessive marking stack growth during full gcs
Process one item at a time from the objarray stack/queue

Reviewed-by: apetrusenko, tonyp
2010-03-18 13:31:51 -07:00
Antonios Printezis
35f23f97b0 6935821: G1: threads created during marking do not active their SATB queues
Newly-created threads always had the active field of their SATB queue initialized to false, even if they were created during marking. As a result, updates from threads created during a marking cycle were never enqueued and never processed. The fix includes remaining a method from active() to is_active() for readability and naming consistency.

Reviewed-by: ysr, johnc
2010-03-18 12:14:59 -04:00
Christian Thalinger
beb119b36b Merge 2010-03-18 06:36:43 -07:00
Christian Thalinger
1270c6c005 6932091: JSR 292 x86 code cleanup
Some code cleanups found during the JSR 292 SPARC port.

Reviewed-by: kvn, never
2010-03-18 09:56:51 +01:00
Andrey Petrusenko
2fa0d00635 6921710: G1: assert(new_finger >= _finger && new_finger < _region_limit,"invariant")
If CM task was aborted while scanning the last object of the specified region and the size of that object is equal to bitmap's granularity then the next offset would be equal or over the region limit which is exactly what the assertion states.

Reviewed-by: ysr, tonyp, jmasa
2010-03-18 01:48:28 -07:00
Tom Rodriguez
dac78c30b9 6930043: C2: SIGSEGV in javasoft.sqe.tests.lang.arr017.arr01702.arr01702.loop_forw(II)I
Reviewed-by: kvn
2010-03-17 16:40:25 -07:00
Vladimir Kozlov
72a7a6ffcf 6935535: String.indexOf() returns incorrect result on x86 with SSE4.2
Added missing counter decrement when substring search restarted.

Reviewed-by: twisti
2010-03-17 10:47:03 -07:00
Frederic Parain
2450ae35a1 6935224: Adding new DTrace probes to work with Palantir
Adding probes related to thread scheduling and class initialization

Reviewed-by: kamg, never
2010-03-17 11:01:05 +01:00