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
Y. Srinivas Ramakrishna
f2b6ac989e
6634032: CMS: Need CMSInitiatingPermOccupancyFraction for perm, divorcing from CMSInitiatingOccupancyFraction
...
The option CMSInitiatingPermOccupancyFraction now controls perm triggering threshold. Even though the actual value of the threshold has not yet been changed, so there is no change in policy, we now have the infrastructure in place for dynamically deciding when to collect the perm gen, an issue that will be addressed in the near future.
Reviewed-by: jmasa
2008-03-16 21:57:25 -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
Jon Masamitsu
6c0c606249
6557851: CMS: ergonomics defaults are not set with FLAG_SET_ERGO
...
Default values set by cms ergonomics are set with FLAG_SET_DEFAULT so down stream the values look like the default values and affect how later parameters are set. Set these values with FLAG_SET_ERGO instead and adjust how later parameters are interpreted.
Reviewed-by: iveresov, apetrusenko, pbk, ysr
2008-03-02 16:10:12 -08:00
Mark Reinhold
1559ee2a70
6669216: Add jcheck configuration directories
...
Reviewed-by: ohair, xdono
2008-02-29 20:03:58 -08:00
Vladimir Kozlov
dc6ad19d70
6667618: disable LoadL->ConvL2I ==> LoadI optimization
...
This optimization causes problems (sizes of Load and Store nodes do not match) for objects initialization code and Escape Analysis
Reviewed-by: jrose, never
2008-02-29 19:57:41 -08:00
Vladimir Kozlov
09d7f4bbcf
6667588: Don't generate duplicated CMP for float/double values
...
Float CMove generation add duplicated CMPF if there are more then one Move depending on the condition.
Reviewed-by: jrose, never, rasbold
2008-02-29 19:07:15 -08:00
Y. Srinivas Ramakrishna
a6d8fca876
6668743: CMS: Consolidate block statistics reporting code
...
Reduce the amount of related code replication and improve pretty printing.
Reviewed-by: jmasa
2008-02-29 14:42:56 -08:00
Vladimir Kozlov
7ec44373b5
6667581: Don't generate initialization (by 0) code for arrays with size 0
...
Generate_arraycopy() does not check the size of allocated array.
Reviewed-by: jrose, never
2008-02-29 11:22:27 -08:00
Vladimir Kozlov
c223fed084
6667580: Optimize CmpP for allocations
...
CmpP could be optimized out if it compares new allocated objects.
Reviewed-by: jrose, never, rasbold
2008-02-29 09:57:18 -08:00
Vladimir Kozlov
9a4ccf8a06
6667573: Use set_req_X() in AddPNode::Ideal() for Iterative GVN
...
Set_req_X() puts dependent nodes on IGVN worklist which allows to improve graph and gives more opportunities for EA scalar replacement.
Reviewed-by: jrose, never
2008-02-28 15:40:09 -08:00
Vladimir Kozlov
7be6246821
6590177: jck60019 test assert(!repeated,"do not walk merges twice")
...
A mergemem node could be not in worklist_store but in should_not_repeat vectorset since it was processed and removed from worklist_store before.
Reviewed-by: jrose, never
2008-02-28 10:45:15 -08:00
Coleen Phillimore
f235d989d0
6549844: Wording problems in "An unexpected error ..."
...
Changed wording to "A fatal error.." also don't claim it's not VM bug if in hotspot compilers (Java thread in native).
Reviewed-by: jjh, sbohne, jrose, never
2008-02-27 13:55:58 -05:00
John R Rose
73fa03eafc
6610906: inexplicable IncompatibleClassChangeError
...
Dependency check must treat polymorphic interfaces consistently
Reviewed-by: kvn, never, sgoldman
2008-02-27 00:23:37 -08:00
Y. Srinivas Ramakrishna
51bf19209d
6621728: Heap inspection should not crash in the face of C-heap exhaustion
...
Deal more gracefully with situations where C-heap scratch space cannot be had
Reviewed-by: jmasa
2008-02-26 15:57:49 -08:00