88 Commits

Author SHA1 Message Date
Erik Trimble
0940e9760b Merge 2008-04-22 15:36:18 -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
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
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
Xiomara Jayasena
86c8eed0db Added tag jdk7-b25 for changeset 408b55da75b0 2008-04-09 11:18:58 -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
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
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
Tom Rodriguez
49434b6bad 6659207: access violation in CompilerThread0
Split_thru_phi produces top on a non-dead path

Reviewed-by: kvn, rasbold, sgoldman
2008-03-18 23:54:17 -07:00
Tom Rodriguez
8e1624d88c 6676841: ClearArrayNode::Identity is incorrect for 64-bit
ClearArrayNode::Identity should use TypeX instead of TypeInt

Reviewed-by: jrose, kvn, sgoldman
2008-03-18 23:44:46 -07:00
Tom Rodriguez
641bce6847 6666343: Compile::has_loops not always set correctly
Compile::has_loops() should be set from inlined methods

Reviewed-by: kvn, rasbold
2008-03-18 11:17:37 -07:00
Vladimir Kozlov
20046c1a18 6672848: (Escape Analysis) improve lock elimination with EA
Remove lock/unlock MemBar nodes and specify locks in debug info for deoptimization.

Reviewed-by: never
2008-03-14 16:40:42 -07:00
Vladimir Kozlov
fc0117cb9a 6674588: (Escape Analysis) Improve Escape Analysis code
Current EA code has several problems which have to be fixed.

Reviewed-by: jrose, sgoldman
2008-03-14 15:26:33 -07:00
Steve Bohne
387f42921b 6204603: Modify hotspot to use new Solaris mmap semantics for class data archive file
Os::attempt_reserve_memory_at() now passes an address hint to mmap

Reviewed-by: kamg, dice
2008-03-14 10:43:02 -04:00
Vladimir Kozlov
30dc0edfc8 6673473: (Escape Analysis) Add the instance's field information to PhiNode
Avoid an infinite generation of instance's field values Phi nodes.

Reviewed-by: never
2008-03-13 16:31:32 -07:00
Vladimir Kozlov
000ac830a0 6671807: (Escape Analysis) Add new ideal node to represent the state of a scalarized object at a safepoint
Values of non-static fields of a scalarized object should be saved in debug info to reallocate the object during deoptimization.

Reviewed-by: never
2008-03-13 16:06:34 -07:00
Daniel D. Daugherty
0745d10694 Merge 2008-03-13 14:17:48 -07:00
Chuck Rasbold
1931e94bad Merge 2008-03-13 05:40:44 -07:00
Daniel D. Daugherty
63a8cc420e 6667089: 3/3 multiple redefinitions of a class break reflection
Use instanceKlass::method_with_idnum() instead of slot() to work with RedefineClasses().

Reviewed-by: sspitsyn
2008-03-12 18:39:05 -07:00
Daniel D. Daugherty
2927815658 6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
(for Serguei) Allow for Linux builds with Sun Studio Linux compilers

Reviewed-by: sspitsyn, ohair
2008-03-12 18:37:03 -07:00
Daniel D. Daugherty
454bce8993 6453355: 4/4 new No_Safepoint_Verifier uses fail during GC
(for Serguei) Clean up use of No_Safepoint_Verifier in JVM TI

Reviewed-by: dcubed
2008-03-12 18:09:34 -07:00
Daniel D. Daugherty
f813016add 6599425: 4/3 OopMapCache::lookup() can cause later crash or assert() failure
Add should_not_be_cached() to markOop and methodOop and query that status inOopMapCache::lookup()

Reviewed-by: coleenp, sspitsyn, jmasa
2008-03-12 18:07:46 -07:00
Daniel D. Daugherty
0f1d30354a 6497639: 4/3 Profiling Swing application caused JVM crash
Make RedefineClasses() interoperate better with class sharing.

Reviewed-by: sspitsyn, jmasa
2008-03-12 18:06:50 -07:00
John Coomes
1e62d37cc0 Merge 2008-03-12 16:31:37 -07:00
Vladimir Kozlov
b64d5e4209 6667615: (Escape Analysis) extend MDO to cache arguments escape state
Use MDO to cache arguments escape state determined by the byte code escape analyzer.

Reviewed-by: never
2008-03-11 19:00:38 -07:00
Jon Masamitsu
3bf59e9c0a 6673975: Disable ZapUnusedHeapArea to reduce GC execution times of debug JVM's
Mangling the unused space is having an adverse affect on testing with fastdebug builds so turn it off by default.

Reviewed-by: ysr, tonyp
2008-03-11 14:19:53 -07:00
Vladimir Kozlov
96e8bcb6aa 6667620: (Escape Analysis) fix deoptimization for scalar replaced objects
Deoptimization code for reallocation and relocking scalar replaced objects has to be fixed.

Reviewed-by: rasbold, never
2008-03-11 11:25:13 -07:00
Vladimir Kozlov
50708126d4 6623167: C2 crashed in StoreCMNode::Value
C2 crashed in StoreCMNode::Value because n->in(MemNode::OopStore) is 0.

Reviewed-by: rasbold, never
2008-03-11 11:04:40 -07:00
John Coomes
a39a588efa Merge 2008-03-10 17:21:56 -07:00
Vladimir Kozlov
9ec574b7e6 6667605: (Escape Analysis) inline java constructors when EA is on
Java constructors should be inlined to be able scalar replace a new object

Reviewed-by: rasbold
2008-03-07 11:09:13 -08:00
Vladimir Kozlov
37b9a97e08 6670459: Fix Node::dump() performance
Dump full ideal graph takes forever.

Reviewed-by: never, rasbold
2008-03-06 20:58:16 -08:00
Vladimir Kozlov
277c3322f6 6667612: (Escape Analysis) disable loop cloning if it has a scalar replaceable allocation
Cloning an allocation will not allow scalar replacement since memory operations could not be associated with one allocation.

Reviewed-by: rasbold
2008-03-06 10:53:33 -08:00
Vladimir Kozlov
bf7f5e1887 6667610: (Escape Analysis) retry compilation without EA if it fails
During split unique types EA could exceed nodes limit and fail the method compilation.

Reviewed-by: rasbold
2008-03-06 10:30:17 -08:00
John Coomes
1e10db0d6a Merge 2008-03-05 17:37:04 -08:00
Vladimir Kozlov
17458c9660 6671250: In Parse::do_if() old Cmp node 'c' should be replaced with new one after BoolNode transformation
In Parse::do_if() 'c' (CmpNode) node may be changed during BoolNode transformation so 'c' may became dead but the node is referenced later in the code.

Reviewed-by: never
2008-03-05 11:33:31 -08:00
Steve Bohne
c953a1e7b8 6666698: EnableBiasedLocking with BiasedLockingStartupDelay can block Watcher thread
Enqueue VM_EnableBiasedLocking operation asynchronously

Reviewed-by: never, xlu, kbr, acorn
2008-03-04 09:44:24 -05:00
Steve Bohne
59cc274f16 6655385: Disable frame pointer omission in jvm.dll on Windows for better crash logs
Add /Oy- C++ compiler option on Windows

Reviewed-by: phh, never, ysr
2008-03-03 14:47:02 -05:00