Commit Graph

240 Commits

Author SHA1 Message Date
Tom Rodriguez
01130cd21c Merge 2008-06-10 09:57:24 -07:00
Jon Masamitsu
0568ea9ed4 6688799: Second fix for Guarantee failure "Unexpected dirty card found"
Expand cardtable without committing over existing regions.

Reviewed-by: apetrusenko
2008-06-10 07:26:42 -07:00
Coleen Phillimore
a2d6036a4d 6687581: Make CMS work with compressed oops
Make FreeChunk read markword instead of LSB in _klass pointer to indicate that it's a FreeChunk for compressed oops.

Reviewed-by: ysr, jmasa
2008-06-09 11:51:19 -04:00
Igor Veresov
ed4e9a5d5c 6711930: NUMA allocator: ParOld can create a hole less than minimal object size in the lgrp chunk
The fix takes care of three issues that can create a hole less a minimal object in the lgrp chunk

Reviewed-by: ysr, apetrusenko
2008-06-09 07:18:59 -07:00
Tom Rodriguez
2144ccf2f1 Merge 2008-06-06 14:34:24 -07:00
Chuck Rasbold
4cce21039e 6711701: disable compressed oops by default
Comment out code that turns on compressed oops

Reviewed-by: never, phh
2008-06-06 11:47:26 -07:00
Keith McGuigan
d58beaefde Merge 2008-06-06 13:43:36 -04:00
Tom Rodriguez
4760698435 6614100: EXCEPTION_ACCESS_VIOLATION while running Eclipse with 1.6.0_05-ea
Reviewed-by: kvn, jrose, rasbold
2008-06-05 21:44:53 -07:00
Tom Rodriguez
952b45f6b6 6711083: 64bit JVM crashes with Internal Error (type.cpp:763) - ShouldNotReachHere() with enabled COOPs
Add NarrowOop to various xmeet routines

Reviewed-by: kvn, sgoldman, jrose, rasbold
2008-06-05 15:43:18 -07:00
Coleen Phillimore
1562d78080 6695819: verify_oopx rax: broken oop in decode_heap_oop
Code in gen_subtype_check was encoding rax as an oop on a path where rax was not an oop.

Reviewed-by: never, kvn
2008-06-05 17:02:54 -04:00
Vladimir Kozlov
dbdeade3b7 6709093: Compressed Oops: reduce size of compiled methods
Exclude UEP size from nmethod code size and use narrow klass oop to load prototype header.

Reviewed-by: jrose, never
2008-06-05 13:02:51 -07:00
Tom Rodriguez
54eeffff83 6709165: Tests hang or misbahve with HS 13.0-b01 on solaris-sparcv9
Reviewed-by: kvn, jrose
2008-06-04 21:56:27 -07:00
Vladimir Kozlov
00bce59c67 6710654: SAJDI failures with Compressed Oops
Use correct offset for the java.lang.Class _klass field in SA.

Reviewed-by: jrose, never
2008-06-04 14:03:48 -07:00
Jon Masamitsu
39463bb3fc 6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong
The assertion can failure due to race conditions.

Reviewed-by: never
2008-06-04 13:51:09 -07:00
Chuck Rasbold
1f0f6c2277 Merge 2008-06-03 15:38:31 -07:00
Chuck Rasbold
d10912d513 6709972: runThese failed with assert(false,"bad AD file")
Guard AryEqNode construction with has_match_rule() test, set SpecialArraysEquals default off

Reviewed-by: kvn, never
2008-06-03 13:14:44 -07:00
Erik Trimble
835c7a9ddb 6709213: Update Build number for HS13 b02
Bump up build number to 02

Reviewed-by: jcoomes
2008-05-30 14:50:19 -07:00
Erik Trimble
694a069581 Merge 2008-05-30 14:31:11 -07:00
Chuck Rasbold
8f5e42a671 Merge 2008-05-30 07:22:22 -07:00
Igor Veresov
7f2d0f1318 Merge 2008-05-30 03:53:31 -07:00
Chuck Rasbold
2e672ac9bf 6695049: (coll) Create an x86 intrinsic for Arrays.equals
Intrinsify java/util/Arrays.equals(char[], char[])

Reviewed-by: kvn, never
2008-05-29 16:22:09 -07:00
Vladimir Kozlov
a1f50998ae 6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops
Generate addresses and implicit null checks with narrow oops to avoid decoding.

Reviewed-by: jrose, never
2008-05-29 12:04:14 -07:00
Keith McGuigan
319d956145 6706604: Copyright headers need to be changed to GPL
Update the copyrights

Reviewed-by: ohair
2008-05-29 14:06:30 -04:00
Coleen Phillimore
646ceb4a45 6696264: assert("narrow oop can never be zero") for GCBasher & ParNewGC
Decouple set_klass() with zeroing the gap when compressed.

Reviewed-by: kvn, ysr, jrose
2008-05-28 21:06:24 -07:00
Andrew Hughes
1f9e095ee3 6707485: bytecodeInterpreterWithChecks.xsl is malformed
Xsl output tag not at top level

Reviewed-by: never, kvn, rasbold
2008-05-28 12:42:34 -07:00
Kelly O'Hair
f73b1b78d7 6703308: Fix jprt.properties to allow for jdk6 and jdk7 builds
Allows for jprt submit -release option to select jdk version and proper build targets.

Reviewed-by: jcoomes
2008-05-28 10:16:33 -07:00
Jon Masamitsu
831ee085f0 6706662: Remove workaround introduced in fix for 6624782
Remove workaround compiler options for instanceKlass.cpp and objArrayKlass.cpp.

Reviewed-by: ysr, jcoomes
2008-05-27 11:46:44 -07:00
Kelly O'Hair
5d322a1edf 6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles)
Allows for building with SS12, no longer requires SS11, warns if not SS11 for now. Once SS12 is validated and performance measurements look ok, SS12 will be the validated compiler.

Reviewed-by: sspitsyn, ikrylov
2008-05-27 09:47:18 -07:00
Keith McGuigan
c966634470 6705523: Fix for 6695506 will violate spec when used in JDK6
Make max classfile version number dependent on JDK version

Reviewed-by: acorn, never
2008-05-22 13:03:52 -04:00
Xiomara Jayasena
6346f4b62b Added tag jdk7-b27 for changeset 9ba36c07dcee 2008-05-22 09:37:40 -07:00
Vladimir Kozlov
e53e767d88 6703888: Compressed Oops: use the 32-bits gap after klass in a object
Use the gap also for a narrow oop field and a boxing object value.

Reviewed-by: coleenp, never
2008-05-21 16:31:35 -07:00
Vladimir Kozlov
76035424de 6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
Add LoadNKlass and CMoveN nodes, use CmpN and ConN nodes to generate narrow oops compare instructions.

Reviewed-by: never, rasbold
2008-05-21 13:46:23 -07:00
Vladimir Kozlov
757229db71 6695810: null oop passed to encode_heap_oop_not_null
Fix several problems in C2 related to Escape Analysis and Compressed Oops.

Reviewed-by: never, jrose
2008-05-21 10:45:07 -07:00
Erik Trimble
e5e433a94c Merge 2008-05-20 19:50:32 -07:00
Daniel D. Daugherty
7c478e3028 Merge 2008-05-20 09:47:05 -07:00
Chuck Rasbold
dbf60cec88 Merge 2008-05-20 06:32:58 -07:00
Daniel D. Daugherty
e03f944292 Merge 2008-05-16 13:42:07 -07:00
Vladimir Kozlov
60c74ba115 6701887: JDK7 server VM in endless loop in Node::dominates
The method Node::dominates loops in the dead code which does not have a Region node.

Reviewed-by: jrose, never
2008-05-15 22:43:11 -07:00
Vladimir Kozlov
9bcba384cb 6700102: c2 assertion "counter_changed,"failed dependencies, but counter didn't change")" with AggressiveOpts
Bytecode Escape Analyzer does not have the check for the case described in 6389127.

Reviewed-by: never
2008-05-15 22:40:43 -07:00
Chuck Rasbold
3d93819395 Merge 2008-05-14 15:01:08 -07:00
John R Rose
3a4ea9a986 6701024: SAJDI functionality is broken
Back out sa-related changes to 6652736, use concrete expressions for WKK names in the SA

Reviewed-by: never, sundar
2008-05-14 00:41:06 -07:00
Daniel D. Daugherty
a55c15f436 Merge 2008-05-09 09:11:34 -07:00
Daniel D. Daugherty
a2a49ae8de 6670684: 4/5 SA command universe did not print out CMS space information
Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified the port was correct.

Reviewed-by: dcubed
2008-05-09 08:55:13 -07:00
Igor Veresov
1689a5ecba 6697534: Premature GC and invalid lgrp selection with NUMA-aware allocator
Don't move tops of the chunks in ensure_parsibility(). Handle the situation with Solaris when a machine has a locality group with no memory.

Reviewed-by: apetrusenko, jcoomes, ysr
2008-05-09 16:34:08 +04:00
Chuck Rasbold
2cd3a90782 Merge 2008-05-09 05:26:59 -07:00
Chuck Rasbold
72313bcf20 6603011: RFE: Optimize long division
Transform long division by constant into multiply

Reviewed-by: never, kvn
2008-05-07 08:06:46 -07:00
Y. Srinivas Ramakrishna
9b2d755745 6662086: 6u4+, 7b11+: CMS never clears referents when -XX:+ParallelRefProcEnabled
Construct the relevant CMSIsAliveClosure used by CMS during parallel reference processing with the correct span. It had incorrectly been constructed with an empty span, a regression introduced in 6417901.

Reviewed-by: jcoomes
2008-05-06 15:37:36 -07:00
Igor Veresov
035662396c Merge 2008-05-04 03:29:31 -07:00
Steve Bohne
92cdc5a2e2 Merge 2008-05-02 08:22:11 -07:00
Steve Bohne
4cfac3990e Merge 2008-05-01 09:38:23 -04:00
Keith McGuigan
0bbb786728 6695506: JVM should accept classfiles with classfile version 51
Increase class file parser's acceptable max to 51

Reviewed-by: sbohne, ikrylov
2008-04-30 10:58:37 -04:00
John R Rose
bb7ccea4ff 6652736: well known classes in system dictionary are inefficiently processed
Combine many scalar variables into a single enum-indexed array in SystemDictionary.

Reviewed-by: kvn
2008-04-29 19:45:22 -07:00
John R Rose
b05f95c5a9 6695288: runThese tests expr30303 and drem00301m1 fail when compiled code executes without deopt
Rework Value method for ModD and ModF, to DTRT for infinities

Reviewed-by: sgoldman, kvn, rasbold
2008-04-29 19:40:51 -07:00
Coleen Phillimore
aee4bafd9b 6689523: max heap calculation for compressed oops is off by MaxPermSize
Need to subtract MaxPermSize from the total heap size when determining whether compressed oops is turned on.

Reviewed-by: jmasa, jcoomes, kvn
2008-04-29 19:31:29 -04:00
Keith McGuigan
e6afe110b8 6692246: Regression : JDK 6u4 b01 fails two JCK tests when fallback is switched off
Added a clause to allow null to be an operand to the arraylength bytecode

Reviewed-by: sbohne, coleenp
2008-04-29 11:21:51 -04:00
Chuck Rasbold
e062de361a Merge 2008-04-29 06:52:16 -07:00
Igor Veresov
a24f915b60 6684395: Port NUMA-aware allocator to linux
NUMA-aware allocator port to Linux

Reviewed-by: jmasa, apetrusenko
2008-04-29 13:51:26 +04:00
Chuck Rasbold
cf2288b223 Merge 2008-04-28 08:08:12 -07:00
Chuck Rasbold
088cd1203f 6646019: array subscript expressions become top() with -d64
Stop compilation after negative array allocation

Reviewed-by: never, jrose
2008-04-24 14:02:13 -07:00
Xiomara Jayasena
0584538555 Added tag jdk7-b26 for changeset a00cf1fc28a8 2008-04-24 12:12:10 -07:00
Paul Hohensee
81c6ccf729 6693457: Open-source hotspot linux-sparc support
Move os_cpu/linux_sparc from closed to open

Reviewed-by: kamg
2008-04-24 15:07:57 -04:00
Tom Rodriguez
6f63c6e88b 6663848: assert(i < Max(),"oob") in C2 with -Xcomp
NeverBranchNodes aren't handled properly

Reviewed-by: kvn, sgoldman, rasbold, jrose
2008-04-24 11:13:03 -07:00
Vladimir Kozlov
4e3444d0ce 6625997: CastPP, CheckCastPP and Proj nodes are not dead loop safe
EA and initialization optimizations could bypass these nodes.

Reviewed-by: rasbold, never
2008-04-23 19:09:16 -07:00
Tom Rodriguez
041877583d 6601321: Assert(j == 1 || b->_nodes[j-1]->is_Phi(),"CreateEx must be first instruction in block")
Reviewed-by: kvn, rasbold, sgoldman, jrose
2008-04-23 13:57:14 -07:00
Vladimir Kozlov
69155d87f9 6689060: Escape Analysis does not work with Compressed Oops
64-bits VM crashes with -XX:+AggresiveOpts (Escape Analysis + Compressed Oops)

Reviewed-by: never, sgoldman
2008-04-23 11:20:36 -07:00
Keith McGuigan
14e50a456b Merge 2008-04-23 06:35:28 -04:00
Erik Trimble
0940e9760b Merge 2008-04-22 15:36:18 -07:00
Keith McGuigan
15a1776a30 Merge 2008-04-18 07:51:43 -04:00
Keith McGuigan
f072bc9d3f 6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: acorn, sbohne
2008-04-17 22:18:15 -04:00
Erik Trimble
15b006b37c 6690518: Bump Version to 13 B01
Change Hotspot version and build number for 13b1

Reviewed-by: pbk
2008-04-17 16:29:42 -07:00
Volker Simonis
8ece15fd05 6688137: c++ interpreter fails on 64bit sparc
Misc. 64bit and endian fixes for sparc

Reviewed-by: never, kvn, rasbold
2008-04-17 07:16:03 -07:00
Vladimir Kozlov
df8fc19aac 6686791: Side effect in NumberFormat tests with -server -Xcomp
Optimization in CmpPNode::sub() removed the valid compare instruction because of false positive answer from detect_dominating_control().

Reviewed-by: jrose, sgoldman
2008-04-16 19:19:48 -07:00
John Coomes
fe31c02053 6689788: Bump HSX12 build version number
Update HSX12 build number to 03

Reviewed-by: kvn
2008-04-16 15:34:39 -07:00
Chuck Rasbold
997563be5d Merge 2008-04-16 14:55:36 -07:00
Keith McGuigan
849e0dfc44 6622385: Accessing protected static methods
Protected contraints should only be applied if member is not static

Reviewed-by: acorn, coleenp
2008-04-16 17:36:29 -04:00
Andrey Petrusenko
f784be24d1 Merge 2008-04-16 12:58:03 +04:00
Keith McGuigan
cdc93ea431 Merge 2008-04-15 18:11:33 -04:00
Vladimir Kozlov
e4c9ea9e2d 6692301: Side effect in NumberFormat tests with -server -Xcomp
Optimization in CmpPNode::sub() removed the valid compare instruction because of false positive answer from detect_dominating_control().

Reviewed-by: jrose, sgoldman
2008-04-15 10:49:32 -07:00
Andrey Petrusenko
5b3080922d Merge 2008-04-14 08:29:41 -07:00
Coleen Phillimore
4a831d45f0 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv

Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
2008-04-13 17:43:42 -04:00
Keith McGuigan
680ecf1611 Merge 2008-04-11 09:56:35 -04:00
Steve Goldman
4230ecea86 6644928: Internal Error (src/share/vm/code/relocInfo.hpp:1089)
Cardtable base can be zero, ExternalAddress can't take a NULL.
2008-04-11 06:18:44 -07:00
Steve Bohne
7ea0891458 6692235: Fix for 6666698 broke -XX:BiasedLockingStartupDelay=0
Stack allocated VM_EnableBiasedLocking op must be marked as such

Reviewed-by: xlu, acorn, never, dholmes
2008-04-10 15:49:29 -04:00
Steve Bohne
0b3a154bf3 6686407: Fix for 6666698 broke -XX:BiasedLockingStartupDelay=0
Stack allocated VM_EnableBiasedLocking op must be marked as such

Reviewed-by: xlu, acorn, never, dholmes
2008-04-10 15:49:16 -04:00
Keith McGuigan
81475bf1a6 6615981: JVM class file parser incorrectly rejects class files with version < 45.2
A check on Code length did not take into account the old sizes of the max_stack, max_locals, and code_length.

Reviewed-by: phh, sbohne
2008-04-10 12:21:01 -04:00
Chuck Rasbold
87c524d47e Merge 2008-04-09 15:10:22 -07:00
Keith McGuigan
c8e6b3d60b 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
Moved makefiles out of build and build/closed into make/

Reviewed-by: kvn, ohair
2008-04-09 14:22:48 -04:00
Xiomara Jayasena
86c8eed0db Added tag jdk7-b25 for changeset 408b55da75b0 2008-04-09 11:18:58 -07:00
Chuck Rasbold
ba411c2466 6684385: Loop unswitching crashes without LoopNode
Without LoopNode, exit early from loop unswitching and partial peeling

Reviewed-by: kvn, never, sgoldman
2008-04-09 09:25:45 -07:00
Keith McGuigan
d63c022d94 Merge 2008-04-09 10:38:30 -04:00
Y. Srinivas Ramakrishna
8b3a19628f 6685160: fix cscope build with hg
Use hg's fstatus instead of teamware's nametable to trigger cscope database rebuild

Reviewed-by: jcoomes, kamg
2008-04-08 12:10:35 -07:00
Steve Goldman
c89e39d40a 6603919: Stackwalking crash on x86 -server with Sun Studio's collect -j on
Rewrite frame::safe_for_sender and friends to be safe for collector/analyzer

Reviewed-by: dcubed, kvn
2008-04-08 12:23:15 -04:00
Chuck Rasbold
bfbfdfa428 6663908: NegativeArraySizeException is not thrown
Don't optimize zero length array allocations at compile time.

Reviewed-by: kvn, never
2008-04-07 15:15:16 -07:00
Andrey Petrusenko
0ae0691490 Merge 2008-04-07 09:32:49 -07:00
Keith McGuigan
dcfe7d7fc6 Merge 2008-04-04 10:48:43 -04:00
Tom Rodriguez
3093e354db 6646020: assert(in_bb(n),"must be in block") in -Xcomp mode
Reviewed-by: kvn, rasbold
2008-04-03 21:26:03 -07:00
Chuck Rasbold
21dbe47a30 6624474: Server compiler generates unexpected LinkageError
Fix load_signature_classes to tolerate LinkageErrors

Reviewed-by: kvn, never
2008-04-03 13:33:13 -07:00
Xiaobin Lu
3bc5120d53 6671882: memory access after free in solaris/vm/os_solaris.cpp
Corrected the wrong memory access problem and made some minor clean ups

Reviewed-by: dholmes, jcoomes
2008-04-03 12:21:06 -07:00
Tom Rodriguez
89290f2817 6619271: The -Xprintflags causes the VM to segv
Add null checks

Reviewed-by: jrose, kvn
2008-04-03 10:20:44 -07:00
Chuck Rasbold
1659f11da6 Merge 2008-04-03 06:41:16 -07:00