660 Commits

Author SHA1 Message Date
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
Vladimir Kozlov
9f1a8ede80 6633953: type2aelembytes{T_ADDRESS} should be 8 bytes in 64 bit VM
T_ADDRESS size is defined as 'int' size (4 bytes) but C2 use it for raw pointers and as memory type for StoreP and LoadP nodes.

Reviewed-by: jrose
2008-02-25 15:05:44 -08:00
Vladimir Kozlov
0dd8f3e8c0 6650373: Assert in methodOopDesc::make_adapters()
AdapterHandlerLibrary::get_create_adapter_index() returns incorrect value (-2) when CodeCache is full.

Reviewed-by: sgoldman
2008-02-22 17:55:13 -08:00
Vladimir Kozlov
5ade869e8c 6614330: Node::dump(n) does not print full graph for specified depth
A node is not processed in dump_nodes() if it was visited during processing previous inputs.

Reviewed-by: rasbold
2008-02-20 16:19:43 -08:00
Vladimir Kozlov
90815abd51 6621098: "* HeapWordSize" for TrackedInitializationLimit is missing
'* HeapWordSize' is missing in GraphKit::set_output_for_allocation()

Reviewed-by: rasbold, jrose, never
2008-02-12 18:37:50 -08:00
Tom Rodriguez
10c473e425 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
Reviewed-by: kvn, rasbold
2007-12-05 09:01:00 -08:00
J. Duke
8153779ad3 Initial load 2007-12-01 00:00:00 +00:00