Commit Graph

1574 Commits

Author SHA1 Message Date
Gary Benson
399d1f6a5f 6950617: Zero/Shark interface updates
Zero needs a couple of new methods to allow Shark to access the new frame anchor field.

Reviewed-by: twisti
2010-05-07 04:20:56 -07:00
Michael Wilkerson
d8298c3ca4 Added tag jdk7-b92 for changeset 8f63b4408306 2010-05-06 18:25:58 -07:00
Erik Trimble
f5ca51f9e7 Merge 2010-05-06 13:03:03 -07:00
Erik Trimble
611ef51964 6950438: Add 6u18 and 6u20 release values explicitly to jprt.properties file
Modify jprt.properties to allow JPRT to use 6u18 and 6u18 targets

Reviewed-by: ohair
2010-05-06 12:46:21 -07:00
Gary Benson
4d6c5d6fef 6950178: Zero stack improvements
Moves the logic for determining the size of the Zero stack into the ZeroStack class.

Reviewed-by: twisti
2010-05-06 02:09:18 -07:00
Daniel D. Daugherty
1f1393802c Merge 2010-05-05 16:39:47 -07:00
Keith McGuigan
51da92458c 6949118: jvm.dll shows the company name as Sun Microsystems
Changed to "Oracle Corporation"

Reviewed-by: coleenp, dcubed
2010-05-05 09:28:13 -04:00
Gary Benson
070ea7c310 6949830: 6939134 broke Zero
The commit for 6939134 broke Zero.

Reviewed-by: twisti
2010-05-05 05:57:21 -07:00
Erik Trimble
510d77a436 Added tag hs18-b03 for changeset d5db8102090b 2010-05-04 12:25:39 -07:00
Erik Trimble
66a1d08862 Merge 2010-05-04 12:23:38 -07:00
Volker Simonis
43a9130faa 6935118: UseCompressedOops modification in methodOopDesc::sort_methods() causes JCK timeout
Add comparison functions for compressed oops to use bubblesort.

Reviewed-by: never, coleenp
2010-05-04 15:12:08 -04:00
Gary Benson
416df6da75 6949423: remove tagged stack interpreter for Zero
Missed Zero changes for 6943304.

Reviewed-by: twisti
2010-05-04 02:33:59 -07:00
Y. Srinivas Ramakrishna
d14cf2e13c 6919638: CMS: ExplicitGCInvokesConcurrent misinteracts with gc locker
GC-locker induced concurrent full gc should be asynchronous; policy now controlled by a separate flag, which defaults to false.

Reviewed-by: jmasa
2010-05-03 20:19:05 -07:00
Antonios Printezis
643553d0e6 Merge 2010-05-03 17:23:58 -04:00
Antonios Printezis
cc872846f5 Merge 2010-05-03 16:31:07 -04:00
Y. Srinivas Ramakrishna
762f60d343 6948537: CMS: BOT walkers observe out-of-thin-air zeros on sun4v sparc/CMT
On sun4v/CMT avoid use of memset() in BOT updates so as to prevent concurrent BOT readers from seeing the phantom zeros arising from memset()'s use of BIS.

Reviewed-by: jmasa, johnc, minqi, poonam, tonyp
2010-05-03 10:24:51 -07:00
John R Rose
973b1ef143 6939196: method handle signatures off the boot class path get linkage errors
Adjust MethodType lookup logic to search off the BCP, but not to cache those results

Reviewed-by: twisti
2010-05-01 21:57:35 -07:00
John R Rose
4eb75c2df3 6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces

Reviewed-by: twisti
2010-05-01 02:42:18 -07:00
Christian Thalinger
0211f9703a 6943304: remove tagged stack interpreter
Reviewed-by: coleenp, never, gbenson
2010-04-30 08:37:24 -07:00
Gary Benson
55457c9cc7 6939182: Zero JNI handles fix
Zero will exit with an error when invoked with -Xcheck:jni.

Reviewed-by: twisti, kamg
2010-04-30 04:27:25 -07:00
Igor Veresov
61b9d428d1 6948602: Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed
Disable the use of pcmpestri until it can be guaranteed that the load doesn't cross in to the uncommited space. See 6942326.

Reviewed-by: never, kvn
2010-04-29 17:53:58 -07:00
Erik Trimble
a7fa37352d 6948636: Bump the HS18 build number to 04
Update the HS18 build number to 04

Reviewed-by: jcoomes
2010-04-29 15:47:28 -07:00
Erik Trimble
f88224d98e Merge 2010-04-29 15:18:27 -07:00
Michael Wilkerson
1273d6969f Added tag jdk7-b91 for changeset c5092b6d8193 2010-04-29 14:32:43 -07:00
Christian Thalinger
6d2a896bcd 6829193: JSR 292 needs to support SPARC
There are unimplemented portions of the hotspot code for method handles and invokedynamic specific to SPARC.

Reviewed-by: kvn, never, jrose
2010-04-29 06:30:25 -07:00
John R Rose
78e6939c37 Merge 2010-04-29 00:03:40 -07:00
Igor Veresov
cb911cf098 6946892: c1 shouldn't sign-extend to upper 32bits on x64
C1 does sign-extension when it loads ints and shorts from memory to 64-bit registers. This causes problems for c2 because it relies on the fact the int passed in a 64-bit register is zero-extended.

Reviewed-by: never
2010-04-27 11:19:12 -07:00
Tom Rodriguez
eb534d777a 6943485: JVMTI always on capabilities change code generation too much
Reviewed-by: twisti, dcubed
2010-04-26 23:59:45 -07:00
Antonios Printezis
e1ae5e1cb0 Merge 2010-04-26 18:01:55 -04:00
Hiroshi Yamauchi
cd48f31efe 6946040: add intrinsic for short and char reverseBytes
Reviewed-by: never, twisti
2010-04-26 11:27:21 -07:00
Michael Wilkerson
f0c93107d3 Added tag jdk7-b90 for changeset f1a81d71d1c6 2010-04-22 16:54:23 -07:00
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
Antonios Printezis
3e2cf1a294 6946048: G1: improvements to +PrintGCDetails output
Small improvements to G1's PrintGCDetails output. It also includes minor formatting details.

Reviewed-by: ysr, johnc
2010-04-22 15:20:16 -04:00
Antonios Printezis
a6d2266193 6949307: G1: raise a vm error, do not core dump, if target pause time and target interval are inconsistent
First, change the guarantee to raising a vm error. Second, set the interval dynamically, and based on the pause time target, if it is not set explicitly.

Reviewed-by: ysr, johnc
2010-05-07 13:14:41 -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
Andreas Kohn
50654ebc2b 6944822: Fix for 6938627 exposes problem with hard-coded buffer sizes
Make tmpdir buffer sizes MAX_PATH+1

Reviewed-by: dholmes, coleenp
2010-04-19 18:58:31 -04: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
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
Christian Thalinger
ebc298d208 6934966: JSR 292 add C1 logic for saved SP over MethodHandle calls
The logic for x86 C1 to save the SP over MH calls is pretty straight forward but SPARC handles that differently.

Reviewed-by: never, jrose
2010-03-17 10:22:41 +01:00
Daniel D. Daugherty
d713517a21 Merge 2010-03-16 20:47:17 -07:00
Daniel D. Daugherty
13296056f0 6923488: 4/4 need minor tweaks to HotSpot build for Cygwin
Clean up get_msc_ver, build.bat and build.make in general and for Cygwin.

Reviewed-by: ohair
2010-03-16 17:47:03 -06:00
Vladimir Kozlov
e8191b6730 6935466: new CodeCache flushing code is not guarded by the flag
Add missing guard.

Reviewed-by: never
2010-03-16 15:35:33 -07:00
Christian Thalinger
82e9e2b4af 6934494: JSR 292 MethodHandles adapters should be generated into their own CodeBlob
Passing a null pointer to an InvokeDynamic function call should lead to a NullPointerException.

Reviewed-by: kvn, never
2010-03-16 11:52:17 +01:00
Karen Kinnear
d8ec453382 6932480: Fix crash in CompilerThread/Parser. Unloaded array klass?
Restore code deleted in 6626217

Reviewed-by: asaha, kevinw
2010-03-15 15:51:36 -04:00
Xiaobin Lu
09f8dd45d1 6934758: Expose the break down of clean up task time during safepoint
Use -XX:+TraceSafepointCleanupTime to print out the details of each clean up tasks.

Reviewed-by: dholmes, ysr
2010-03-13 16:32:49 -08:00
Coleen Phillimore
053d7adeb2 6929067: Stack guard pages should be removed when thread is detached
Add code to unmap stack guard area when thread is detached.

Reviewed-by: coleenp, kamg
2010-03-12 10:42:16 -05:00
John Cuthbertson
e9f77f7ec1 6755988: G1: assert(new_obj != 0 || ... "should be forwarded")
A TLAB became large enough to be considered a humongous object allowing multiple objects to be allocated in a humongous region, which violates a basic assumption about humongous regions. The changes ensure that TLABs cannot be regarded as humongous.

Reviewed-by: iveresov, tonyp
2010-03-11 11:44:43 -08:00
Andrey Petrusenko
5e42804119 Merge 2010-03-15 02:56:45 -07:00
Karen Kinnear
8d1747bc4b Merge 2010-03-11 14:41:29 -05:00
Gary Benson
dae3356905 6934089: Zero 32-bit/64kb page fix
The fix for 6927165 increased the number of shadow pages for 32-bit platforms and this causes a problem on systems with 64kb pages.

Reviewed-by: twisti
2010-03-11 05:09:20 -08:00
Xiaobin Lu
8742fc8e62 6933402: RFE: Improve PrintSafepointStatistics output to track cleanup time
Improve the usability of safepoint statistics data. See bug evaluation for more details.

Reviewed-by: ysr, dholmes
2010-03-10 21:42:26 -08:00
Erik Trimble
dbcabb71d7 Added tag hs17-b10 for changeset bd3cc6d99492 2010-03-08 15:50:52 -08:00
Roland Westrelin
7dcf59914e 6932496: c1: deoptimization of jsr subroutine fails on sparcv9
Store jsr ret bci as intptr constant in c1 debug info

Reviewed-by: never
2010-03-05 13:58:34 +01:00
Christian Thalinger
8f6df4c4af Merge 2010-03-09 23:57:36 -08:00
Christian Thalinger
ffec4c00c4 6919934: JSR 292 needs to support x86 C1
This implements JSR 292 support for C1 x86.

Reviewed-by: never, jrose, kvn
2010-03-09 20:16:19 +01:00
Andrew Haley
11051a4e6a 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
Reviewed-by: never
2010-03-09 11:02:39 -08:00
Christian Thalinger
94a808f51d 6932536: JSR 292 modified JDK MethodHandlesTest fails on x86_64
A modified MethodHandlesTest revealed two bugs on x86_64.

Reviewed-by: never, jrose
2010-03-08 04:46:30 -08:00
Michael Wilkerson
d1d696c305 Added tag jdk7-b85 for changeset 448969041d3d 2010-03-04 13:50:13 -08:00
John Coomes
4f82340476 4396719: Mark Sweep stack overflow on deeply nested Object arrays
Use an explicit stack for object arrays and process them in chunks.

Reviewed-by: iveresov, apetrusenko
2010-03-03 14:48:26 -08:00
Jon Masamitsu
5fdec09798 6910182: CMS: assert(_cursor[j] == _survivor_plab_array[j].end(),"Ctl pt invariant")
Calculation of the slicing of survivor spaces for MT was incorrect.

Reviewed-by: ysr
2010-03-03 08:10:41 -08:00
John Cuthbertson
a9c71d9169 Merge 2010-03-02 13:59:37 -08:00
John Cuthbertson
76881615ca Merge 2010-03-02 13:57:46 -08:00
Coleen Phillimore
13ac3be829 6914050: jvm assertion "guard pages must be in use" in -Xcomp mode
Move creating stack guard pages in jni attach thread before potential java call rather than after. Also cleanup stack guard pages when jni attach fails

Reviewed-by: never, dholmes
2010-03-02 12:09:40 -08:00
Tom Rodriguez
e904069b51 6930398: fix for return address locals in OSR entries uses wrong test
Reviewed-by: kvn
2010-03-01 12:12:35 -08:00
Paul Hohensee
cef423370c 6923123: Hotspot refuses to start when -Xmx4m or -Xms4m is specified
Reduce NewSize from 4m to 1m.

Reviewed-by: tonyp, jmasa
2010-02-26 16:40:55 -05:00
Vladimir Kozlov
667e7ff0c0 6930116: loop predication code does not handle If nodes with only one projection
Add check for iff->outcnt() < 2.

Reviewed-by: never
2010-02-25 22:58:43 -08:00
Vladimir Kozlov
8554996b9b 6930035: C2 type system incorrectly handles case j.l.Object->meet(constant AryPtr)
Add missing code.

Reviewed-by: never
2010-02-25 15:55:47 -08:00
Tom Rodriguez
0ab4fb9e37 6915557: assert(_gvn.type(l)->higher_equal(type),"must constrain OSR typestate") with debug build
Reviewed-by: kvn
2010-02-25 11:38:50 -08:00
Antonios Printezis
1eb12e87a7 6928065: G1: use existing command line parameters to set the young generation size
See synopsis

Reviewed-by: johnc, jmasa
2010-02-24 14:56:20 -05:00
Jon Masamitsu
f254745228 6928081: G1: rename parameters common with CMS
Rename marking stack sizing flags to be common between G1 and CMS

Reviewed-by: ysr, tonyp
2010-02-24 07:00:33 -08:00
Antonios Printezis
77b2dfce1d 6928073: G1: use existing command line parameters for marking cycle initiation
Replace the combination of the G1SteadyStateUsed / G1SteadyStateUsedDelta parameteres to decide the marking initiation threshold and instead use InitiatingHeapOccupancyPercent.

Reviewed-by: ysr, johnc
2010-02-23 23:14:34 -05:00
Antonios Printezis
b5c83abcd4 6928059: G1: command line parameter renaming
Rename G1 parameters to make them more consistent.

Reviewed-by: jmasa, johnc
2010-02-23 23:13:23 -05:00
Christian Thalinger
d1a6f819e6 6928839: JSR 292 typo in x86 _adapter_check_cast
There is a small typo in methodHandles_x86.cpp.

Reviewed-by: kvn
2010-02-23 17:46:29 +01:00
Vladimir Kozlov
e599f6c927 6928717: HS17 fails to build with SS11 C++
Add missing handles.inline.hpp for codeCache.cpp.

Reviewed-by: never
2010-02-22 16:56:49 -08:00
Tom Rodriguez
fbd5ca617d 6927049: assert(is_Loop(),"invalid node class")
Reviewed-by: kvn
2010-02-19 13:06:11 -08:00
Vladimir Kozlov
fa2d360cd5 6910664: C2: java/util/Arrays/Sorting.java fails with DeoptimizeALot flag
Matcher::float_in_double should be true only when FPU is used for floats.

Reviewed-by: never, twisti
2010-02-19 10:04:16 -08:00
Erik Trimble
fbd3f3a787 6927886: Bump the HS17 build number to 10
Update the HS17 build number to 10

Reviewed-by: jcoomes
2010-02-18 22:16:12 -08:00
Erik Trimble
1fc852832b Merge 2010-02-18 22:15:35 -08:00
Tom Rodriguez
3e1688a8cd 6663854: assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
Reviewed-by: kvn
2010-02-18 15:05:10 -08:00
Michael Wilkerson
85b4073f99 Added tag jdk7-b84 for changeset 31557f5428d0 2010-02-18 13:31:31 -08:00
Christian Thalinger
c3066e0605 Merge 2010-02-18 10:44:14 -08:00
Gary Benson
51b9396b40 6927165: Zero S/390 fixes
Fixes two failures on 31-bit S/390.

Reviewed-by: twisti
2010-02-18 06:54:48 -08:00
Christian Thalinger
0c605ed991 6926782: CodeBuffer size too small after 6921352
After 6921352 the CodeBuffer size was too small.

Reviewed-by: kvn, never
2010-02-18 11:35:41 +01:00
Tom Rodriguez
51fc36cc9a 6877221: Endless deoptimizations in OSR nmethod
Reviewed-by: kvn
2010-02-16 20:07:48 -08:00
Vladimir Kozlov
892336beb1 6926697: "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete
Define AdapterHandlerTableIterator class as non product instead of debug.

Reviewed-by: never
2010-02-16 16:17:46 -08:00
John Cuthbertson
e475437c5a Merge 2010-02-16 14:11:44 -08:00
Vladimir Kozlov
9110d86267 Merge 2010-02-12 15:27:36 -08:00
Michael Wilkerson
d3c21e471a Added tag jdk7-b83 for changeset 36d525db29a0 2010-02-12 13:25:08 -08:00
Gary Benson
17a0e10b07 6926048: Improve Zero performance
Make Zero figure out result types in a similar way to C++ interpreter implementation.

Reviewed-by: kvn
2010-02-12 10:34:11 -08:00
Vladimir Kozlov
d4437819bd 6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos")
Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions.

Reviewed-by: twisti
2010-02-12 08:54:13 -08:00
Erik Trimble
394f79f57d Added tag hs15-b05 for changeset c77d20908054 2010-02-11 20:37:05 -08:00
Erik Trimble
e2d51faf01 Added tag hs15-b04 for changeset 0ea2576e714b 2010-02-11 20:37:03 -08:00
Erik Trimble
a4f8dd6290 Added tag hs15-b03 for changeset c5c3e5f4accc 2010-02-11 20:37:01 -08:00
Erik Trimble
a4ec1f8d33 Added tag hs15-b02 for changeset ccfb5ba09cb6 2010-02-11 20:36:59 -08:00
Erik Trimble
7a355435d6 Added tag hs15-b01 for changeset a128eac78670 2010-02-11 20:36:57 -08:00
Erik Trimble
01e49c956d Added tag hs16-b08 for changeset d716bbc29dcc 2010-02-11 20:11:47 -08:00
Erik Trimble
25c80d5c0c Added tag hs16-b07 for changeset 699915c095af 2010-02-11 20:11:45 -08:00
Erik Trimble
246dccdcea Added tag hs16-b06 for changeset 60611616dba4 2010-02-11 20:11:44 -08:00
Erik Trimble
ea13d3eda9 Added tag hs16-b05 for changeset 06171649948f 2010-02-11 20:11:42 -08:00
Erik Trimble
f2daf5d174 Added tag hs16-b04 for changeset 28ccf5edf0ec 2010-02-11 20:11:40 -08:00
Erik Trimble
59829da36c Added tag hs16-b03 for changeset 10154d4b4b4b 2010-02-11 20:11:38 -08:00
Erik Trimble
8660022372 Added tag hs16-b02 for changeset 86c4409e49f6 2010-02-11 20:11:37 -08:00
Erik Trimble
54083a72cb Added tag hs16-b01 for changeset 1ecc4413e7e7 2010-02-11 20:11:35 -08:00
Erik Trimble
db5d24ec8b Added tag hs17-b09 for changeset 246521c00249 2010-02-11 19:53:02 -08:00
Erik Trimble
7fc922d19f Added tag hs17-b08 for changeset 4197a09e1259 2010-02-11 19:53:01 -08:00
Erik Trimble
4b3a1713bd Added tag hs17-b07 for changeset 8f15a8afca28 2010-02-11 19:53:00 -08:00
Erik Trimble
d4d720b74c Added tag hs17-b06 for changeset 9b63533d5895 2010-02-11 19:52:59 -08:00
Erik Trimble
e8b9c40477 Added tag hs17-b05 for changeset 02d36709a16f 2010-02-11 19:52:58 -08:00
Erik Trimble
7eacf2d5f6 Added tag hs17-b04 for changeset ac997bc87110 2010-02-11 19:52:57 -08:00
Erik Trimble
e3d5b796ea Added tag hs17-b03 for changeset b95ea007fe67 2010-02-11 19:52:56 -08:00
Erik Trimble
222701d515 Added tag hs17-b02 for changeset 2248859f89d4 2010-02-11 19:52:55 -08:00
Erik Trimble
0c7a5610f8 Added tag hs17-b01 for changeset 0fa11a27fb57 2010-02-11 19:52:39 -08:00
Igor Veresov
52b92d5593 6923991: G1: improve scalability of RSet scanning
Implemented block-based work stealing. Moved copying during the rset scanning phase to the main copying phase. Made the size of rset table depend on the region size.

Reviewed-by: apetrusenko, tonyp
2010-02-11 15:52:19 -08:00
Andrei Pangin
291a66ad2f Merge 2010-02-11 10:48:10 -08:00
John Cuthbertson
0356567ed8 6782663: Data produced by PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime is not accurate
Update and display the timers associated with these flags for all safepoints.

Reviewed-by: ysr, jcoomes
2010-02-09 13:56:09 -08:00
Vladimir Kozlov
1a1e145498 6924097: assert((_type == Type::MEMORY) == (_adr_type != 0),"adr_type for memory phis only")
Use PhiNode::make_blank(r, n) method to construct the phi.

Reviewed-by: never
2010-02-09 10:21:06 -08:00
Vladimir Kozlov
22409a5704 6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.

Reviewed-by: never
2010-02-09 01:31:13 -08:00
Vladimir Kozlov
3f7a94c3f2 6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode.

Reviewed-by: never
2010-02-08 12:20:09 -08:00
Antonios Printezis
a88853347f 6802453: G1: hr()->is_in_reserved(from),"Precondition."
The operations of re-using a RSet component and expanding the same RSet component were not mutually exlusive, and this could lead to RSets getting corrupted and entries being dropped.

Reviewed-by: iveresov, johnc
2010-02-08 14:23:01 -05:00
Neo Jia
7d7887d46c 6587322: dtrace probe object__alloc doesn't fire in some situations on amd64
Fix misplaced probe point

Reviewed-by: rasbold, phh
2010-02-08 13:49:03 -05:00
John Cuthbertson
e003616106 Merge 2010-02-08 09:58:32 -08:00
Vladimir Kozlov
2fd8d35905 6923002: assert(false,"this call site should not be polymorphic")
Clear the total count when a receiver information is cleared.

Reviewed-by: never, jrose
2010-02-07 12:15:06 -08:00