Commit Graph

289 Commits

Author SHA1 Message Date
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
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
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
Chuck Rasbold
997563be5d Merge 2008-04-16 14:55:36 -07:00
Keith McGuigan
cdc93ea431 Merge 2008-04-15 18:11:33 -04: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
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
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
Vladimir Kozlov
ccaa58c5db 6681577: PIT: some VM tests fails with -XX:+AggressiveOpts in 6u5p b01
C2 spends > 60% in escape analysis code during test nsk/regression/b4675027.

Reviewed-by: never
2008-04-02 16:59:37 -07:00
John R Rose
0d27a8639f 6667042: PrintAssembly option does not work without special plugin
Remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources

Reviewed-by: kvn, rasbold
2008-04-02 12:09:59 -07:00
Vladimir Kozlov
659a8dc7d5 6681646: Relocking of a scalar replaced object during deoptimization is broken
Relocking of a thread-local object during deoptimization is broken

Reviewed-by: kbr, jrose, never
2008-04-01 16:14:18 -07:00
Vladimir Kozlov
833746644c 6682236: C2 hits ideal nodes limit during IGVN optimization with EA
Missing check in LoadNode::Ideal() causes infinite generation of a value Phi.

Reviewed-by: jrose, never
2008-03-31 18:37:36 -07:00
Tom Rodriguez
1a350ad182 6636352: Unit tests for supplementary character support fail with -XX:+AggressiveOpts
Incorrect encoding

Reviewed-by: kvn, rasbold, sgoldman, jrose
2008-03-31 16:22:52 -07:00
John Coomes
b63d2cdd27 6679422: networkStream::connect() in ostream.cpp is not 64-bit clean
Reviewed-by: jmasa, xlu
2008-03-28 23:35:42 -07:00
John Coomes
5ac01e984f 6642862: Code cache allocation fails with large pages after 6588638
Reviewed-by: apetrusenko
2008-03-28 23:35:42 -07:00
Vladimir Kozlov
2ea233816f 6680665: bytecode Escape Analyzer produces incorrect escape information for methods without oop arguments
BcEscapeAnalyzer does not analyze methods with no oop arguments.

Reviewed-by: rasbold
2008-03-28 11:52:29 -07:00
Tom Rodriguez
0530e0d854 6680594: Load + Load isn't canonicalized leading to missed GVN opportunities
Reviewed-by: kvn, jrose
2008-03-28 09:00:39 -07:00
Antonios Printezis
6bfbc36dcd Merge 2008-03-27 17:22:06 -07:00
Vladimir Kozlov
fb63e29743 6679854: assert in escape.cpp:397
The assert misses the case CastX2P 'base' for an unsafe field reference

Reviewed-by: never, jrose
2008-03-27 09:12:54 -07:00
Tom Rodriguez
50bc5573a8 6679708: No_Safepoint_Verifier and BacktraceBuilder have uninitialized fields
Fix or remove uninitialized fields

Reviewed-by: kvn, rasbold
2008-03-26 12:25:06 -07:00
Chuck Rasbold
446895de2d Merge 2008-03-21 08:32:17 -07:00
Vladimir Kozlov
c58e0f9c95 6678377: Update build number for HS12
B01 -> b02

Reviewed-by: kvn
2008-03-21 00:49:06 -07:00
Vladimir Kozlov
cdd27962da 6674600: (Escape Analysis) Optimize memory graph for instance's fields
EA gives opportunite to do more aggressive memory optimizations.

Reviewed-by: never, jrose
2008-03-20 15:11:44 -07:00
Vladimir Kozlov
1ba2523386 6259129: (Escape Analysis) scalar replacement for not escaping objects
Use scalar replacement with EA to remove allocations for objects which do not escape the compiled method.

Reviewed-by: rasbold, never, jrose
2008-03-20 13:51:55 -07:00
Tom Rodriguez
a2b4f55757 6663621: JVM crashes while trying to execute api/java_security/Signature/SignatureTests.html#initSign tests
Alignment expression with secondary induction variables is sometimes wrong

Reviewed-by: kvn, rasbold
2008-03-20 10:43:42 -07:00
Keith McGuigan
c2c3f0fe72 Merge 2008-03-20 09:17:30 -05:00
Vladimir Kozlov
b71360f557 6662967: Optimize I2D conversion on new x86
Use CVTDQ2PS and CVTDQ2PD for integer values conversions to float and double values on new AMD cpu.

Reviewed-by: sgoldman, never
2008-03-19 15:33:25 -07:00
Tom Rodriguez
d200260fe5 6661247: Internal bug in 32-bit HotSpot optimizer while bit manipulations
Copy elimination of a constant value results in incorrect execution

Reviewed-by: kvn, sgoldman, rasbold
2008-03-19 15:14:36 -07:00
Steve Bohne
bf559c6dce 6667833: Remove CacheTimeMillis
Remove -XX:+CacheTimeMillis option and associated functionality

Reviewed-by: acorn, never
2008-03-19 09:58:01 -04:00