Commit Graph

1512 Commits

Author SHA1 Message Date
Michael Wilkerson
cb7c059235 Added tag jdk7-b94 for changeset 84ace44cf876 2010-05-20 16:00:15 -07:00
John Coomes
8a34049f04 Merge 2010-05-20 08:32:11 -07:00
Christian Thalinger
c9f2ba541b 6951083: oops and relocations should part of nmethod not CodeBlob
This moves the oops from Codeblob to nmethod.

Reviewed-by: kvn, never
2010-05-20 06:34:23 -07:00
John R Rose
a13355babf Merge 2010-05-20 01:34:22 -07:00
Michael Wilkerson
f0887dcc05 Merge 2010-05-19 20:16:16 -07:00
Y. Srinivas Ramakrishna
ed25c962e1 6953952: collectedHeap.cpp should use #ifdef _LP64 not LP64
Changed LP64 to _LP64 in collectedHeap.cpp.

Reviewed-by: kvn, jcoomes
2010-05-19 16:05:47 -07:00
Y. Srinivas Ramakrishna
51c1f35548 6953483: Typo related to ReduceInitialCardMarks leaves concurrent collectors vulnerable to heap corruption
Corrected mis-spelling of COMPILER2 in #ifdef, which could cause heap corruption in CMS due to precleaning when +ReduceInitialCardMarks. Thanks to ChenGuang Sun <suncg03@gmail.com> for bringing this typo to our attention.

Reviewed-by: tonyp, jmasa, jcoomes, kvn
2010-05-19 10:37:05 -07:00
Vladimir Kozlov
24b71d013a Merge 2010-05-19 10:22:39 -07:00
Phil Race
56be4c0b46 6953588: hotspot\src\share\vm\interpreter\bytecodes.cpp doesn't compile with VS2010 on AMD64
Reviewed-by: dcubed
2010-05-19 10:21:41 -07:00
Keith McGuigan
4f45d8c3a2 6911922: JVM must throw VerifyError for jsr or jsr_w opcodes in class file v.51+
6693236: A class file whose version number is greater than to 50.0 must be verified using the typechecker

Disable failover verification for classfiles >= v51

Reviewed-by: never, acorn, dholmes
2010-05-19 10:19:10 -04:00
Tom Rodriguez
00d1e12daf 6953576: bottom_type for matched AddPNodes doesn't always agree with ideal
Reviewed-by: kvn
2010-05-18 23:58:32 -07:00
Erik Trimble
55440a84b9 Merge 2010-05-18 14:10:01 -07:00
Tom Rodriguez
b03699b985 6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append
Reviewed-by: kvn, twisti
2010-05-18 13:45:03 -07:00
John Coomes
04b4d79094 6951319: enable solaris builds using Sun Studio 12 update 1
Reviewed-by: kamg, ysr, dholmes, johnc
2010-05-18 11:02:18 -07:00
Vladimir Kozlov
c12b2b3f69 6953267: assert in EA code with -XX:+StressReflectiveCode
Add missing checks into EA code.

Reviewed-by: never
2010-05-18 09:54:05 -07:00
Eric Caspole
430574f398 6950075: nmethod sweeper should operate concurrently
Reviewed-by: never, kvn
2010-05-17 16:50:07 -07:00
Vladimir Kozlov
85854f0e13 6951686: Using large pages on Linux prevents zero based compressed oops
Use req_addr when attaching shared memory segment.

Reviewed-by: twisti
2010-05-17 11:32:56 -07:00
Daniel D. Daugherty
9b7dfe0cbc Merge 2010-05-17 07:11:27 -07:00
Daniel D. Daugherty
8c248ee5f2 6949515: 3/3 VM crash when calling GetMethodDeclaringClass
Use resolve_external_guard() instead of resolve_non_null().

Reviewed-by: thurka, kamg, acorn
2010-05-17 06:35:51 -07:00
Daniel D. Daugherty
e453a8780a Merge 2010-05-17 03:53:55 -07:00
Y. Srinivas Ramakrishna
f8643be266 6948539: CMS+UseCompressedOops: placement of cms_free bit interferes with promoted object link
When using compressed oops, use compressed promoted pointers in b63:b31 of the mark word, so as not to interfere with the CMS "freeness bit" at b7. Updated mark-word layout documentation.

Reviewed-by: minqi, poonam, jmasa, coleenp
2010-05-17 00:47:28 -07:00
Poonam Bajaj
e009d84ff6 6745217: jmap assertion failure
SA shows exception with core files > 2GB. These changes fix that by correcting the size of CMSBitmap during its allocation.

Reviewed-by: swamyv
2010-05-15 18:24:34 -07:00
Andrey Petrusenko
0d3978019b 6921317: (partial) G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or we must be setting it to
Extended the failing assertion with the new message format to get more data.

Reviewed-by: tonyp
2010-05-14 10:28:46 -07:00
Erik Trimble
10da52364f Merge 2010-05-13 17:10:32 -07:00
Erik Trimble
f52963c1bc 6952178: Fork HS18 to HS19 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS19 fork

Reviewed-by: jcoomes
2010-05-13 14:47:21 -07:00
Erik Trimble
8878667a36 Merge 2010-05-13 14:35:14 -07:00
Michael Wilkerson
9d2e4e1022 Added tag jdk7-b93 for changeset 886a48579400 2010-05-13 13:22:12 -07:00
John Coomes
d14dfb51af Merge 2010-05-13 13:05:47 -07:00
John R Rose
44f4fafdee Merge 2010-05-12 22:06:02 -07:00
Michael Wilkerson
c11f16c7f5 Merge 2010-05-12 17:19:41 -07:00
Gary Benson
df4f3b6c42 6951923: some uses of fatal1 were missed by 6888954
Reviewed-by: jcoomes
2010-05-12 10:28:13 -07:00
Gary Benson
b8491bb9fe 6951784: Zero deoptimizer changes
The way Zero currently handles deoptimization can lead to methods being freed while they are still being executed.

Reviewed-by: twisti
2010-05-12 03:49:52 -07:00
Daniel D. Daugherty
8773ad21fd Merge 2010-05-11 17:41:11 -07:00
John R Rose
71599d89d4 Merge 2010-05-11 15:19:19 -07:00
Phil Race
db63a9aa55 6931180: Migration to recent versions of MS Platform SDK
6951582: Build problems on win64

Changes to enable building JDK7 with Microsoft Visual Studio 2010

Reviewed-by: ohair, art, ccheung, dcubed
2010-05-11 14:35:43 -07:00
Tom Rodriguez
8afbd9a53e 6951190: assert(!klass_is_exact(),"only non-exact klass") while building JDK
Reviewed-by: kvn
2010-05-10 14:58:38 -07:00
Daniel D. Daugherty
f27d5ab6d8 Merge 2010-05-10 13:09:44 -07:00
Y. Srinivas Ramakrishna
4715f32101 6951188: CMS: move PromotionInfo into its own file
Moved PromotionInfo and friends into new files promotionInfo.{h,c}pp from their previous compactibleFreeListSpace.{h,c}pp home.

Reviewed-by: apetrusenko
2010-05-10 12:31:52 -07:00
Erik Trimble
bd1c4063c8 Added tag hs18-b04 for changeset 31ba466ddb99 2010-05-07 15:13:00 -07:00
Erik Trimble
145587a247 Merge 2010-05-07 15:12:28 -07:00
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
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