Mercurial > hg > graal-compiler
annotate make/sa.files @ 15388:769fc3629f59
Add phase FlowSensitiveReductionPhase.
It is possible to remove GuardingPiNodes, CheckCastNodes, and FixedGuards during
HighTier under certain conditions (control-flow sensitive conditions).
The phase added in this commit (FlowSensitiveReductionPhase) does that,
and in addition replaces usages with "downcasting" PiNodes when possible
thus resulting in more precise object stamps (e.g., non-null).
Finally, usages of floating, side-effects free, expressions are also simplified
(as per control-flow sensitive conditions).
The newly added phase runs only during HighTier and can be deactivated
using Graal option FlowSensitiveReduction (it is active by default).
author | Miguel Garcia <miguel.m.garcia@oracle.com> |
---|---|
date | Fri, 25 Apr 2014 16:50:52 +0200 |
parents | 4ca6dc0799b6 |
children | 89152779163c |
rev | line source |
---|---|
0 | 1 # |
14909 | 2 # Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
0 | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | |
5 # This code is free software; you can redistribute it and/or modify it | |
6 # under the terms of the GNU General Public License version 2 only, as | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
311
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
311
diff
changeset
|
20 # or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
311
diff
changeset
|
21 # questions. |
0 | 22 # |
23 # | |
24 | |
25 # This filelist macro is included in platform specific sa.make | |
26 # included all packages/*.java. package list can be generated by | |
8103 | 27 # $(GAMMADIR)/agent/make/build-pkglist. |
0 | 28 |
29 # define AGENT_DIR before including this file in sa.make | |
30 | |
31 AGENT_SRC_DIR = $(AGENT_DIR)/src/share/classes | |
32 | |
311 | 33 # Splitted the set of files into two sets because on linux plaform |
34 # listing or compiling all the files results in 'Argument list too long' error. | |
35 | |
3963
098acdf97f09
7096016: SA build still produces "arg list too long" errors
never
parents:
3960
diff
changeset
|
36 AGENT_FILES = \ |
311 | 37 $(AGENT_SRC_DIR)/sun/jvm/hotspot/*.java \ |
38 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/*.java \ | |
39 $(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/*.java \ | |
0 | 40 $(AGENT_SRC_DIR)/sun/jvm/hotspot/c1/*.java \ |
3939 | 41 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ci/*.java \ |
0 | 42 $(AGENT_SRC_DIR)/sun/jvm/hotspot/code/*.java \ |
43 $(AGENT_SRC_DIR)/sun/jvm/hotspot/compiler/*.java \ | |
44 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/*.java \ | |
311 | 45 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \ |
3960 | 46 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/bsd/*.java \ |
47 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/bsd/amd64/*.java \ | |
48 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/bsd/x86/*.java \ | |
0 | 49 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/*.java \ |
50 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/*.java \ | |
51 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dummy/*.java \ | |
52 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/*.java \ | |
53 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/amd64/*.java \ | |
54 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/x86/*.java \ | |
55 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/sparc/*.java \ | |
56 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/posix/*.java \ | |
57 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/posix/elf/*.java \ | |
58 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/*.java \ | |
59 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/amd64/*.java \ | |
60 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/sparc/*.java \ | |
61 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/proc/x86/*.java \ | |
62 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/*.java \ | |
63 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/amd64/*.java \ | |
64 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/sparc/*.java \ | |
65 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/remote/x86/*.java \ | |
66 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/sparc/*.java \ | |
67 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/win32/coff/*.java \ | |
68 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/*.java \ | |
69 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/amd64/*.java \ | |
70 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/x86/*.java \ | |
10302
78332b46e604
6313816: SA: jstack -m fails on Win32 : UnalignedAddressException
kevinw
parents:
8103
diff
changeset
|
71 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windows/x86/*.java \ |
78332b46e604
6313816: SA: jstack -m fails on Win32 : UnalignedAddressException
kevinw
parents:
8103
diff
changeset
|
72 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windows/amd64/*.java \ |
0 | 73 $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/x86/*.java \ |
3972 | 74 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/g1/*.java \ |
0 | 75 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \ |
76 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/shared/*.java \ | |
77 $(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_interface/*.java \ | |
78 $(AGENT_SRC_DIR)/sun/jvm/hotspot/interpreter/*.java \ | |
79 $(AGENT_SRC_DIR)/sun/jvm/hotspot/jdi/*.java \ | |
80 $(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/*.java \ | |
3939 | 81 $(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java \ |
82 $(AGENT_SRC_DIR)/sun/jvm/hotspot/opto/*.java \ | |
3963
098acdf97f09
7096016: SA build still produces "arg list too long" errors
never
parents:
3960
diff
changeset
|
83 $(AGENT_SRC_DIR)/sun/jvm/hotspot/prims/*.java \ |
0 | 84 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/*.java \ |
85 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/amd64/*.java \ | |
3960 | 86 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/bsd/*.java \ |
87 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/bsd_amd64/*.java \ | |
88 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/bsd_x86/*.java \ | |
0 | 89 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux/*.java \ |
90 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_amd64/*.java \ | |
91 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_x86/*.java \ | |
92 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/linux_sparc/*.java \ | |
93 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/posix/*.java \ | |
94 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/solaris_amd64/*.java \ | |
95 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/solaris_sparc/*.java \ | |
96 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/solaris_x86/*.java \ | |
97 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/sparc/*.java \ | |
98 $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/x86/*.java \ | |
99 $(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/*.java \ | |
100 $(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/jcore/*.java \ | |
311 | 101 $(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/soql/*.java \ |
0 | 102 $(AGENT_SRC_DIR)/sun/jvm/hotspot/types/*.java \ |
103 $(AGENT_SRC_DIR)/sun/jvm/hotspot/types/basic/*.java \ | |
104 $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/*.java \ | |
105 $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/memo/*.java \ | |
311 | 106 $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/*.java \ |
107 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/*.java \ | |
108 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/action/*.java \ | |
109 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/classbrowser/*.java \ | |
110 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/table/*.java \ | |
111 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/tree/*.java \ | |
112 $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/treetable/*.java \ | |
113 $(AGENT_SRC_DIR)/com/sun/java/swing/action/*.java \ | |
114 $(AGENT_SRC_DIR)/com/sun/java/swing/ui/*.java |