1140 Commits

Author SHA1 Message Date
Jon Masamitsu
428d02d5d7 Merge 2010-06-10 08:27:35 -07:00
Coleen Phillimore
b82f9f3c1e Merge 2010-06-09 13:53:58 -04:00
John Cuthbertson
6d8002eb26 6953058: G1: A bigapp crashes with SIGSEGV in compiled code
In C2's G1 post write barrier, the loads of the buffer and index fields from the DirtyCardQueue structure may be moved across a safepoint. Use the current value of "control" in the C2 IR to limit how far these loads can move.

Reviewed-by: never, iveresov, kvn
2010-06-07 17:46:04 -07:00
Tom Rodriguez
154ae789ef 6958485: fix for 6879921 was insufficient
Reviewed-by: kvn
2010-06-07 14:17:01 -07:00
Coleen Phillimore
d64aeff387 Merge 2010-06-04 17:44:51 -04:00
Igor Veresov
00b75f8353 6958292: C1: Enable parallel compilation
Enable parallel compilation in C1

Reviewed-by: never, kvn
2010-06-04 11:18:04 -07:00
Vladimir Kozlov
36f8c82970 6958254: -XX:+VerifyOops is broken on x86
Save and restore r10 in verify_oop().

Reviewed-by: never
2010-06-03 14:20:27 -07:00
Karen Kinnear
f8b167cccd Merge 2010-06-03 13:34:47 -04:00
Karen Kinnear
9934e0af8e 6852873: Reduce safepoint cleanup time
New optional flags to reduce inflated monitor cleanup times

Reviewed-by: chrisphi, dice
2010-06-03 13:21:47 -04:00
John R Rose
d6a9b93b5a Merge 2010-06-02 22:45:42 -07:00
Tom Rodriguez
3cf74e191f 6930994: Code cache is full warning should be visible in product
Reviewed-by: kvn, twisti, ysr
2010-06-02 20:15:33 -07:00
Tom Rodriguez
b26797f892 6956931: assert(SafepointSynchronize::is_at_safepoint()) failed: must be executed at a safepoint
Reviewed-by: kvn, dcubed
2010-06-02 14:23:23 -07:00
Vladimir Kozlov
a3005a16fc 6954029: Improve implicit null check generation with compressed oops
Hoist DecodeN instruction above null check

Reviewed-by: never, twisti
2010-06-02 09:49:32 -07:00
Erik Trimble
98d775ab1f Merge 2010-06-01 11:48:33 -07:00
John R Rose
be95b163a6 6957080: MethodComparator needs stress testing
Add a stress-test flag for running MethodComparator over many inputs.  Fix bugs that crop up.

Reviewed-by: kvn
2010-05-29 19:22:32 -07:00
John R Rose
49cbc41c82 6957004: MethodComparator uses the wrong CP index accessor
Change two uses of get_index_u2 to get_index_u2_cpcache; also tweak some debugging print functions

Reviewed-by: kvn
2010-05-28 16:23:51 -07:00
Igor Veresov
4da8658b14 6955349: C1: Make G1 barriers work with x64
This fixes G1 barriers in c1 on x64.

Reviewed-by: never
2010-05-27 22:01:55 -07:00
Erik Trimble
ba7c173659 6941466: Oracle rebranding changes for Hotspot repositories
Change all the Sun copyrights to Oracle copyright

Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Vladimir Kozlov
cc18a50e59 6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
Added new product ObjectAlignmentInBytes flag to control object alignment.

Reviewed-by: twisti, ysr, iveresov
2010-05-27 18:01:56 -07:00
Keith McGuigan
211a79fc65 6930553: classfile format checker allows invalid method descriptor in CONSTANT_NameAndType_info in some cases
Check NameAndType_info signatures aggressively, even when unreferenced

Reviewed-by: coleenp, acorn, never
2010-05-27 17:06:39 -04:00
Erik Trimble
18d0b0100c Merge 2010-05-27 12:42:44 -07:00
John R Rose
05b4f2e796 6956164: nightly regressions from 6939207
Fix errors in 6939207.

Reviewed-by: kvn
2010-05-27 09:54:07 -07:00
Daniel D. Daugherty
d2703f3e8d Merge 2010-05-26 14:16:55 -07:00
Christian Thalinger
7a9f2e7625 6934104: JSR 292 needs to support SPARC C2
C2 for SPARC needs to support JSR 292.

Reviewed-by: kvn, never
2010-05-25 02:38:48 -07:00
John Cuthbertson
9936975b96 6941378: G1: change default value of G1UseFixedWindowMMUTracker to true
Rather than changing the default value of the G1UseFixedWindowMMUTracker, the flag and associated guarantee have been removed.

Reviewed-by: jcoomes, tonyp, ysr
2010-05-24 17:11:22 -07:00
John R Rose
e59f431f8d Merge 2010-05-24 14:15:14 -07:00
John R Rose
581521ba96 6939207: refactor constant pool index processing
Factored cleanup of instruction decode which prepares for enhanced ldc semantics.

Reviewed-by: twisti
2010-05-23 01:38:26 -07:00
Christian Thalinger
2e24ba80e9 6930772: JSR 292 needs to support SPARC C1
C1 for SPARC needs to support JSR 292.

Reviewed-by: never, jrose
2010-05-21 02:59:24 -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
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
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
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
8878667a36 Merge 2010-05-13 14:35:14 -07:00
John Coomes
d14dfb51af Merge 2010-05-13 13:05:47 -07:00