Compare commits

...

2302 Commits

Author SHA1 Message Date
J. Duke
cd16fed9b8 Merge 2017-07-05 20:23:32 +02:00
J. Duke
416f47be04 Merge 2017-07-05 20:23:28 +02:00
J. Duke
1a9060a7b6 Merge 2017-07-05 20:23:23 +02:00
J. Duke
0fff7bc455 Merge 2017-07-05 20:23:19 +02:00
J. Duke
3a2ef184e9 Merge 2017-07-05 20:23:16 +02:00
J. Duke
095a2e5b05 Merge 2017-07-05 20:23:10 +02:00
J. Duke
f72191ed2c Merge 2017-07-05 20:23:07 +02:00
J. Duke
ba13c1c9c9 Merge 2017-07-05 20:22:50 +02:00
J. Duke
7bb362569a Added tag jdk9-b53 for changeset 874d76e4699d 2017-07-05 20:22:23 +02:00
J. Duke
44cc65ae49 Merge 2017-07-05 20:22:22 +02:00
J. Duke
83209b6314 Merge 2017-07-05 20:22:17 +02:00
J. Duke
fc9be779d8 Merge 2017-07-05 20:22:09 +02:00
J. Duke
31ac9e0332 Merge 2017-07-05 20:22:03 +02:00
J. Duke
e4e7b03945 Merge 2017-07-05 20:21:57 +02:00
J. Duke
c5fd2d7fab Merge 2017-07-05 20:21:51 +02:00
J. Duke
180d323cea Merge 2017-07-05 20:21:44 +02:00
J. Duke
adfdf89511 Merge 2017-07-05 20:21:34 +02:00
J. Duke
3d64465495 Added tag jdk9-b52 for changeset d6224d602145 2017-07-05 20:21:14 +02:00
J. Duke
f3a755b2ab Merge 2017-07-05 20:21:13 +02:00
J. Duke
29c3545e2e Merge 2017-07-05 20:21:08 +02:00
J. Duke
61245c16cf Merge 2017-07-05 20:21:01 +02:00
J. Duke
c07225a5d7 Merge 2017-07-05 20:20:55 +02:00
J. Duke
2ee38500b9 Merge 2017-07-05 20:20:49 +02:00
J. Duke
90f2e4148c Merge 2017-07-05 20:20:43 +02:00
J. Duke
712a00c48d Merge 2017-07-05 20:20:37 +02:00
J. Duke
9ea6d496cf Merge 2017-07-05 20:20:17 +02:00
J. Duke
6ea721380c Added tag jdk9-b51 for changeset 6efe265424e3 2017-07-05 20:19:46 +02:00
J. Duke
7081b471c4 Merge 2017-07-05 20:19:45 +02:00
J. Duke
dc345a08a6 Merge 2017-07-05 20:19:40 +02:00
J. Duke
3c916a14ac Merge 2017-07-05 20:19:33 +02:00
J. Duke
2ffb8a598b Merge 2017-07-05 20:19:27 +02:00
J. Duke
2a4ff36888 Merge 2017-07-05 20:19:22 +02:00
J. Duke
787b2ba946 Merge 2017-07-05 20:19:16 +02:00
J. Duke
96d022661e Merge 2017-07-05 20:19:12 +02:00
J. Duke
e7d0218faf Merge 2017-07-05 20:19:04 +02:00
J. Duke
f6fd594f98 Added tag jdk9-b50 for changeset 1550b2f6b63d 2017-07-05 20:18:44 +02:00
J. Duke
b1d6b18b33 Merge 2017-07-05 20:18:43 +02:00
J. Duke
c842b05b7a Merge 2017-07-05 20:18:38 +02:00
J. Duke
0a8da5ffb0 Merge 2017-07-05 20:18:32 +02:00
J. Duke
53abd2c412 Merge 2017-07-05 20:18:26 +02:00
J. Duke
0184c716f1 Merge 2017-07-05 20:18:19 +02:00
J. Duke
b18bb30fd8 Merge 2017-07-05 20:18:12 +02:00
J. Duke
2e445fa6b1 Merge 2017-07-05 20:18:07 +02:00
J. Duke
e685a2ba2d Merge 2017-07-05 20:17:56 +02:00
J. Duke
7c6c248530 Added tag jdk9-b49 for changeset 5b8db585a33c 2017-07-05 20:17:34 +02:00
J. Duke
edc9d85e7b Merge 2017-07-05 20:17:33 +02:00
J. Duke
10e4c93ad6 Merge 2017-07-05 20:17:28 +02:00
J. Duke
99bf10ea9d Merge 2017-07-05 20:17:22 +02:00
J. Duke
79671d43ad Merge 2017-07-05 20:17:15 +02:00
J. Duke
3cae9c241e Merge 2017-07-05 20:17:09 +02:00
J. Duke
021359923f Merge 2017-07-05 20:17:03 +02:00
J. Duke
94e8c5c5d5 Merge 2017-07-05 20:16:58 +02:00
J. Duke
c202b33f02 Merge 2017-07-05 20:16:49 +02:00
J. Duke
82418d4c81 Added tag jdk9-b48 for changeset b2f9702efbe9 2017-07-05 20:16:24 +02:00
J. Duke
4775e0767d Merge 2017-07-05 20:16:23 +02:00
J. Duke
b809fe8c7b Merge 2017-07-05 20:16:18 +02:00
J. Duke
48c3257067 Merge 2017-07-05 20:16:10 +02:00
J. Duke
5ae2dc927d Merge 2017-07-05 20:16:04 +02:00
J. Duke
85e4cc4204 Merge 2017-07-05 20:15:59 +02:00
J. Duke
e4221831b9 Merge 2017-07-05 20:15:53 +02:00
J. Duke
7805931a94 Merge 2017-07-05 20:15:49 +02:00
J. Duke
5fd9c0ca10 Merge 2017-07-05 20:15:36 +02:00
J. Duke
be240f80fb Added tag jdk9-b47 for changeset 8327024a9955 2017-07-05 20:15:13 +02:00
J. Duke
f022a99128 Merge 2017-07-05 20:15:13 +02:00
J. Duke
e7d2c62242 Merge 2017-07-05 20:15:08 +02:00
J. Duke
fd0cf8531e Merge 2017-07-05 20:15:03 +02:00
J. Duke
3f599d7bb3 Merge 2017-07-05 20:15:00 +02:00
J. Duke
0d76bc77f2 Merge 2017-07-05 20:14:53 +02:00
J. Duke
7a8216738b Merge 2017-07-05 20:14:48 +02:00
J. Duke
ba2775ff90 Merge 2017-07-05 20:14:43 +02:00
J. Duke
62de4c2558 Merge 2017-07-05 20:14:34 +02:00
J. Duke
b1b7c43725 Added tag jdk9-b46 for changeset 722378bc599e 2017-07-05 20:14:13 +02:00
J. Duke
7d89dd0039 Merge 2017-07-05 20:14:13 +02:00
J. Duke
64b87fc657 Merge 2017-07-05 20:14:07 +02:00
J. Duke
7a7fbd12e9 Merge 2017-07-05 20:14:02 +02:00
J. Duke
b5fb15ad9d Merge 2017-07-05 20:13:58 +02:00
J. Duke
21cd80cd2f Merge 2017-07-05 20:13:53 +02:00
J. Duke
00f75dab63 Merge 2017-07-05 20:13:47 +02:00
J. Duke
981350aefd Merge 2017-07-05 20:13:41 +02:00
J. Duke
27a17f118b Merge 2017-07-05 20:13:35 +02:00
J. Duke
49f6e20fba Added tag jdk9-b45 for changeset bfc24ae2b900 2017-07-05 20:13:25 +02:00
J. Duke
d708838bee Merge 2017-07-05 20:13:25 +02:00
J. Duke
f29a10fde1 Merge 2017-07-05 20:13:21 +02:00
J. Duke
add20086d2 Merge 2017-07-05 20:13:14 +02:00
J. Duke
12f470765d Merge 2017-07-05 20:13:08 +02:00
J. Duke
e7ceaf1579 Merge 2017-07-05 20:13:05 +02:00
J. Duke
e53bdbf9ab Merge 2017-07-05 20:13:01 +02:00
J. Duke
27c2421978 Merge 2017-07-05 20:12:57 +02:00
J. Duke
79daddc7ec Merge 2017-07-05 20:12:43 +02:00
J. Duke
5b58151c4f Added tag jdk9-b44 for changeset abbfccd659b9 2017-07-05 20:12:20 +02:00
J. Duke
d85024b321 Merge 2017-07-05 20:12:20 +02:00
J. Duke
2c944c9fc9 Merge 2017-07-05 20:12:15 +02:00
J. Duke
93865decb3 Merge 2017-07-05 20:12:08 +02:00
J. Duke
f434c58e7b Merge 2017-07-05 20:12:03 +02:00
J. Duke
1ef4b7c42b Merge 2017-07-05 20:11:58 +02:00
J. Duke
e43240c8cf Merge 2017-07-05 20:11:52 +02:00
J. Duke
ffd74d95af Merge 2017-07-05 20:11:47 +02:00
J. Duke
af757204d4 Merge 2017-07-05 20:11:32 +02:00
J. Duke
16fd24d195 Added tag jdk9-b43 for changeset 6494b13f88a8 2017-07-05 20:11:08 +02:00
J. Duke
f6c045bef0 Merge 2017-07-05 20:11:08 +02:00
J. Duke
7bcd68204b Merge 2017-07-05 20:11:04 +02:00
J. Duke
c687b091de Merge 2017-07-05 20:11:00 +02:00
J. Duke
1f2d6ba173 Merge 2017-07-05 20:10:57 +02:00
J. Duke
471aa144e5 Merge 2017-07-05 20:10:53 +02:00
J. Duke
fc69e0be42 Merge 2017-07-05 20:10:48 +02:00
J. Duke
3432f1a112 Merge 2017-07-05 20:10:44 +02:00
J. Duke
6ae7566845 Merge 2017-07-05 20:10:37 +02:00
J. Duke
c587b06be2 Added tag jdk9-b42 for changeset 3107be2ba9c6 2017-07-05 20:10:08 +02:00
J. Duke
bbce1abbce Merge 2017-07-05 20:10:08 +02:00
J. Duke
da2b518a4c Merge 2017-07-05 20:10:04 +02:00
J. Duke
2a54d5c420 Merge 2017-07-05 20:09:54 +02:00
J. Duke
6284697046 Merge 2017-07-05 20:09:48 +02:00
J. Duke
8a268d8e9f Merge 2017-07-05 20:09:40 +02:00
J. Duke
19b9a527d5 Merge 2017-07-05 20:09:35 +02:00
J. Duke
c831b93637 Merge 2017-07-05 20:09:31 +02:00
J. Duke
9464c8981e Merge 2017-07-05 20:09:15 +02:00
J. Duke
1e89746cb2 Added tag jdk9-b41 for changeset 9fffb959eb41 2017-07-05 20:08:43 +02:00
J. Duke
61ae72e93c Merge 2017-07-05 20:08:43 +02:00
J. Duke
cb28bb5581 Merge 2017-07-05 20:08:38 +02:00
J. Duke
6dda1e980c Merge 2017-07-05 20:08:34 +02:00
J. Duke
3e0c2b770c Merge 2017-07-05 20:08:31 +02:00
J. Duke
8634213bd4 Merge 2017-07-05 20:08:27 +02:00
J. Duke
50dc6850de Merge 2017-07-05 20:08:21 +02:00
J. Duke
0689cd758e Merge 2017-07-05 20:08:17 +02:00
J. Duke
99f8985d20 Merge 2017-07-05 20:08:11 +02:00
J. Duke
e5ca45cb6a Added tag jdk9-b40 for changeset 82f4cb44b2d7 2017-07-05 20:07:56 +02:00
J. Duke
99895e4249 Merge 2017-07-05 20:07:55 +02:00
J. Duke
80c4144f82 Merge 2017-07-05 20:07:51 +02:00
J. Duke
100dcf9f32 Merge 2017-07-05 20:07:46 +02:00
J. Duke
c22c66e726 Merge 2017-07-05 20:07:41 +02:00
J. Duke
794559235d Merge 2017-07-05 20:07:38 +02:00
J. Duke
c391740612 Merge 2017-07-05 20:07:33 +02:00
J. Duke
46d13b99d3 Merge 2017-07-05 20:07:30 +02:00
J. Duke
75c28ef4e8 Merge 2017-07-05 20:07:22 +02:00
J. Duke
5550c31902 Added tag jdk9-b39 for changeset 4e7c4d692e93 2017-07-05 20:06:59 +02:00
J. Duke
e49b1e9aef Merge 2017-07-05 20:06:58 +02:00
J. Duke
75a2a53eb5 Merge 2017-07-05 20:06:54 +02:00
J. Duke
8ba6f17576 Merge 2017-07-05 20:06:47 +02:00
J. Duke
0a870e6591 Merge 2017-07-05 20:06:42 +02:00
J. Duke
348b0166d1 Merge 2017-07-05 20:06:36 +02:00
J. Duke
5b5ff5f1de Merge 2017-07-05 20:06:31 +02:00
J. Duke
836b64c338 Merge 2017-07-05 20:06:27 +02:00
J. Duke
4c76715950 Merge 2017-07-05 20:06:21 +02:00
J. Duke
51813d86d7 Added tag jdk9-b38 for changeset 948cceef81ba 2017-07-05 20:06:12 +02:00
J. Duke
ce7a159195 Merge 2017-07-05 20:06:12 +02:00
J. Duke
e5670aea37 Merge 2017-07-05 20:06:08 +02:00
J. Duke
d0ecb2c930 Merge 2017-07-05 20:06:04 +02:00
J. Duke
2a4cd0e941 Merge 2017-07-05 20:06:01 +02:00
J. Duke
b81f15b1e4 Merge 2017-07-05 20:05:57 +02:00
J. Duke
a9b5bf907a Merge 2017-07-05 20:05:54 +02:00
J. Duke
bbe9f0dc0c Merge 2017-07-05 20:05:51 +02:00
J. Duke
eba141331e Merge 2017-07-05 20:05:43 +02:00
J. Duke
2bb2dec633 Added tag jdk9-b37 for changeset b409bc51bc23 2017-07-05 20:05:31 +02:00
J. Duke
0498575d5e Merge 2017-07-05 20:05:30 +02:00
J. Duke
92e5bf5b59 Merge 2017-07-05 20:05:28 +02:00
J. Duke
76a3cfa2dd Merge 2017-07-05 20:05:23 +02:00
J. Duke
efdb701bcc Merge 2017-07-05 20:05:20 +02:00
J. Duke
f7f9acb23c Merge 2017-07-05 20:05:16 +02:00
J. Duke
d1fc4598f6 Merge 2017-07-05 20:05:12 +02:00
J. Duke
dade1b026c Merge 2017-07-05 20:05:09 +02:00
J. Duke
c3b03096c5 Merge 2017-07-05 20:05:03 +02:00
J. Duke
997b80adb6 Added tag jdk9-b36 for changeset 41df50e7303d 2017-07-05 20:04:47 +02:00
J. Duke
839cec40e9 Merge 2017-07-05 20:04:46 +02:00
J. Duke
ee8996368e Merge 2017-07-05 20:04:43 +02:00
J. Duke
04717d2cff Merge 2017-07-05 20:04:39 +02:00
J. Duke
2d908e9a2f Merge 2017-07-05 20:04:36 +02:00
J. Duke
a905e38975 Merge 2017-07-05 20:04:33 +02:00
J. Duke
a3ad572569 Merge 2017-07-05 20:04:29 +02:00
J. Duke
a316bac46c Merge 2017-07-05 20:04:26 +02:00
J. Duke
0a4a26770b Merge 2017-07-05 20:04:17 +02:00
J. Duke
841d31efe8 Added tag jdk9-b35 for changeset a137992d750c 2017-07-05 20:04:04 +02:00
Lana Steuck
e9a801f0ef Merge 2015-03-05 15:24:15 -08:00
Lana Steuck
3ac6a66232 Merge 2015-03-05 15:23:22 -08:00
Lana Steuck
5411c3c53b Merge 2015-03-05 15:22:39 -08:00
Lana Steuck
3b60a5c6e0 Merge 2015-03-05 15:21:35 -08:00
Lana Steuck
8ad860b267 Merge 2015-03-05 15:21:11 -08:00
David Katleman
c01b1f87de Added tag jdk9-b53 for changeset 1582f6df75ee 2015-03-05 11:26:22 -08:00
David Katleman
afc563fcc9 Added tag jdk9-b53 for changeset 569659e4dc38 2015-03-05 11:26:21 -08:00
David Katleman
52d8d1433e Added tag jdk9-b53 for changeset 4bb4756ceb9c 2015-03-05 11:26:17 -08:00
David Katleman
64adac1a81 Added tag jdk9-b53 for changeset eccafe6808d1 2015-03-05 11:26:16 -08:00
David Katleman
2caa965d42 Added tag jdk9-b53 for changeset 6be67f434046 2015-03-05 11:26:16 -08:00
David Katleman
f552a16a7d Added tag jdk9-b53 for changeset 92bf22ed0621 2015-03-05 11:26:13 -08:00
David Katleman
e3a2a22af9 Added tag jdk9-b53 for changeset 9bbd69ad1f34 2015-03-05 11:26:13 -08:00
David Katleman
e747097c26 Added tag jdk9-b53 for changeset 6cf7b027c792 2015-03-05 11:26:12 -08:00
Chris Hegarty
9e0c46f629 8005226: java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java fails intermittently
Reviewed-by: rriggs, smarks
2015-03-05 17:04:47 +00:00
Aleksey Shipilev
89cc77c8cb 8073432: Object.getClass() throws stackless NPE, due to C2 intrinsic
Javac should generate NPE checks using Objects.requireNonNull if -target >= 7

Reviewed-by: jlahoda
2015-03-05 15:03:07 +00:00
Attila Szegedi
4a3782b060 8035712: Restore some of the RuntimeCallSite specializations
Reviewed-by: hannesw, lagergren
2015-03-05 15:43:43 +01:00
Shanliang Jiang
b7c2d1b8fe 8073148: "The server has decided to close this client connection" repeated continuously
Reviewed-by: jbachorik
2015-03-05 14:54:07 +01:00
Maurizio Cimadamore
1114c26925 8073645: Add lambda-based lazy eval versions of Assert.check methods
Enhance Assert so that lazy string computation can occurr where needed; enhance static roding rule checkers to make sure the right version of the method is called.

Reviewed-by: jlahoda
2015-03-05 13:10:49 +00:00
Dmitry Samersoff
b4061375cc 8030708: warnings from b119 for jdk/src/share/back: JNI exception pending
Added some more checks for pending exception

Reviewed-by: dholmes, sspitsyn
2015-03-05 05:06:00 -08:00
Chris Hegarty
0ade1fd974 8068260: java/io/Serializable/clearHandleTable/ClearHandleTable.java timed out
Reviewed-by: rriggs, smarks
2015-03-05 09:38:45 +00:00
Erik Joelsson
8c34ca1072 8074395: Random build failures in javadoc on Solaris
Reviewed-by: tbell
2015-03-05 10:29:36 +01:00
Brian Burkhalter
bd61d670c3 8073445: (fs) FileSystem.getPathMatcher(...) should check syntax component without regard to case
Change String equals() to equalsIgnoreCase() where needed.

Reviewed-by: alanb
2015-03-04 15:05:41 -08:00
Stuart Marks
d01c5811df 8073923: Files.lines() documentation needs clarification
Reviewed-by: darcy, alanb
2015-03-04 13:22:45 -08:00
Steven Loomis
a6d31e225e 8074048: ccache 1.3.10 still not detected properly
Fix configure to detect ccache 1.3.10 properly

Reviewed-by: erikj
2015-03-04 09:45:12 -08:00
Ivan Gerasimov
2264f58af9 8074067: (bf) Re-examine java.base/share/native/libjava/Bits.c
Reviewed-by: alanb, martin
2015-03-04 13:44:18 +03:00
Erik Joelsson
eb8ced8051 8074091: Remove dead code from merge mistake in JavaCompilation.gmk
Reviewed-by: ihse
2015-03-04 11:00:04 +01:00
Magnus Ihse Bursie
70e66b384a 8074099: Even with toolchain type clang, OBJC is set to gcc
Reviewed-by: erikj, ddehaven
2015-03-04 10:47:36 +01:00
Zaiyao Liu
fae048d0e2 8048610: Implement regression test for bug fix of 4686632 in JCE
Reviewed-by: weijun
2015-03-04 16:26:49 +08:00
Zaiyao Liu
7b95618234 8050371: More MessageDigest tests
Reviewed-by: xuelei
2015-03-04 08:10:23 +00:00
Amanda Jiang
a1f3c2d2fe 8048360: Test signed jar files
Reviewed-by: weijun
2015-03-04 10:12:25 +08:00
Jason Uh
33505a8b52 8054037: Improve tracing for java.security.debug=certpath
8055207: keystore and truststore debug output could be much better

Reviewed-by: mullan, coffeys, jnimeh
2015-03-03 14:16:49 -08:00
Andrew Haley
45d5073b91 8074349: AARCH64: C2 generates poor code for some byte and character stores
Use iRegIorL2I as src input for char and byte stores.

Reviewed-by: kvn
2015-03-03 17:56:33 +00:00
Phil Race
9f78b4347e Merge 2015-03-03 08:49:13 -08:00
Phil Race
b21e31424b Merge 2015-03-03 08:48:21 -08:00
Alejandro Murillo
1b7e7fdf70 Merge 2015-03-03 06:23:50 -08:00
Alejandro Murillo
94ddb7fc72 Merge 2015-03-03 06:23:49 -08:00
Paul Sandoz
0405de7fca 8071479: Stream and lambdafication improvements to j.u.regex.Matcher
Reviewed-by: smarks, briangoetz, sherman
2015-03-03 12:30:48 +01:00
Ivan Gerasimov
68b3fe02ad 8074066: Useless code in share/native/libjava/VM.c
Reviewed-by: mchung
2015-03-03 10:30:44 +03:00
Vladimir Kozlov
adfbe70e01 Merge 2015-03-02 17:36:56 -08:00
Joe Darcy
de2f72a351 8074126: Correct @see cross-refs to the JLS in java.lang[.annotation]
Reviewed-by: lancea
2015-03-02 16:06:58 -08:00
Vladimir Kozlov
97b9b51906 Merge 2015-03-02 15:15:15 -08:00
Vladimir Kozlov
0364ea227d Merge 2015-03-02 15:15:02 -08:00
Brent Christian
8dd500f340 8073596: Add jdk.management.cmm in boot.modules that needs sun.management.spi be exported to it
Reviewed-by: alanb, erikj, ihse, mchung
2015-03-02 13:37:30 -08:00
Brent Christian
29259d17a8 8073596: Add jdk.management.cmm in boot.modules that needs sun.management.spi be exported to it
Reviewed-by: alanb, erikj, ihse, mchung
2015-03-02 13:35:57 -08:00
Andrew Dinn
539384a8d2 8074119: [AARCH64] stage repo misses fixes from several Hotspot changes
Add shared code changes from 8059606, 8069230, 8068976, 8068977, 8072911 and 8071805

Reviewed-by: aph, kvn
2015-03-02 10:31:52 -08:00
Vladimir Kozlov
6fd49139e8 Merge 2015-03-02 10:09:33 -08:00
Vladimir Kozlov
2c553427a9 Merge 2015-03-02 10:09:03 -08:00
Vladimir Kozlov
f2ca39b031 Merge 2015-03-02 10:08:47 -08:00
Daniel Fuchs
9b5f69fa24 8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.

Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Attila Szegedi
b5aaccb15f 8074031: Canonicalize is-a-JS-string tests
Reviewed-by: hannesw, lagergren
2015-03-02 14:33:55 +01:00
Erik Joelsson
6de0c1df26 8074072: Race condition in build since JDK-8072842 can cause failed builds on Solaris
Reviewed-by: ihse
2015-03-02 14:18:05 +01:00
Erik Joelsson
28a8022f82 8074072: Race condition in build since JDK-8072842 can cause failed builds on Solaris
Reviewed-by: ihse
2015-03-02 14:18:01 +01:00
Magnus Ihse Bursie
f02b21927b 8074055: Improvements in compare.sh from build-infra
Reviewed-by: erikj
2015-03-02 13:45:05 +01:00
Ivan Gerasimov
fee38a671f 8055915: (ch) FileDispatcherImpl.truncate0 should use SetFileInformationByHandle [win]
Reviewed-by: alanb
2015-03-02 11:07:47 +03:00
Srikanth Adayapalam
105275fb87 8071453: Allow interface methods to be private
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2015-03-02 10:41:08 +05:30
Masayoshi Okutsu
e088a6e1ef 8072602: Unpredictable timezone on Windows when OS's timezone is not found in tzmappings
Reviewed-by: peytoia
2015-03-02 11:48:08 +09:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Weijun Wang
2bcc0c7789 8074018: Named extension not recognized in keytool -ext honored after 8073182
Reviewed-by: mullan
2015-02-28 10:47:07 +08:00
Brian Burkhalter
03088bb6e6 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Maurizio Cimadamore
7b2bf7805a 8073842: Invalid method reference when referencing a method on a wildcard type
Method rteference lookup logic doesn't skip type-variables as required by javac.

Reviewed-by: jlahoda
2015-02-27 18:20:33 +00:00
Chris Hegarty
43f188234a 8074043: java.util.Arrays setAll and parallelSetAll subrange note
Reviewed-by: smarks
2015-02-27 18:12:07 +00:00
Erik Joelsson
a88048005f 8073965: Bring compare.sh up to date with JDK 9
Reviewed-by: tbell, ihse
2015-02-27 17:27:11 +01:00
Alejandro Murillo
bcb3fde88f Merge 2015-02-27 07:34:27 -08:00
Alejandro Murillo
e7f35f99b5 Merge 2015-02-27 07:34:26 -08:00
Roger Riggs
9b8b669510 8044051: Test jdk/lambda/vm/InterfaceAccessFlagsTest.java gets IOException during compilation
Create the gen-separate directory in the current directory to improve robustness

Reviewed-by: darcy
2015-02-27 10:09:06 -05:00
Vladimir Ivanov
284a867adc 8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Hannes Wallnöfer
74c88b0515 8073707: const re-assignment should not reported as a early error
Reviewed-by: sundar, attila
2015-02-27 14:33:47 +01:00
Athijegannathan Sundararajan
ffd434caa1 8074021: Indirect eval fails when used as an element of an array or as a property of an object
Reviewed-by: attila, hannesw
2015-02-27 18:03:18 +05:30
Aleksey Shipilev
ee906c96d7 8073550: java* tools: replace obj.getClass hacks with Assert.checkNonNull or Objects.requireNonNull
Replace getClass() with approapriate NPE checks

Reviewed-by: jjg
2015-02-27 11:51:53 +00:00
Chris Hegarty
dc378de91b 8074022: Serialization should issue a freeze action after reconstituting a graph that contains objects with final fields
Reviewed-by: dholmes, plevart, psandoz
2015-02-27 11:45:07 +00:00
Magnus Ihse Bursie
f6875fea5b 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:57 +01:00
Magnus Ihse Bursie
90a23fca14 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:42 +01:00
Magnus Ihse Bursie
0624f19e6e 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:34 +01:00
Paul Sandoz
95b2455d16 8071600: Add a flat-mapping collector
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Lana Steuck
47613833a3 Merge 2015-02-26 20:19:29 -08:00
Lana Steuck
992a3bfb85 Merge 2015-02-26 20:18:40 -08:00
Lana Steuck
171f832de9 Merge 2015-02-26 20:17:34 -08:00
Lana Steuck
69035f0846 Merge 2015-02-26 20:17:21 -08:00
Lana Steuck
8d0e82310d Merge 2015-02-26 20:17:06 -08:00
Lana Steuck
f8e7c24ceb Merge 2015-02-26 20:16:58 -08:00
Lana Steuck
5580a8a920 Merge 2015-02-26 20:16:43 -08:00
Joe Darcy
8efc09a66a 8073952: Spec of j.l.r.Method.toString/toGenericString need to be clarified
Reviewed-by: lancea
2015-02-26 18:02:49 -08:00
David Katleman
084063f0b6 Added tag jdk9-b52 for changeset 1a9a6f8f71f6 2015-02-26 15:58:18 -08:00
David Katleman
976db392e3 Added tag jdk9-b52 for changeset ff6339407acb 2015-02-26 15:58:16 -08:00
David Katleman
10b846cb84 Added tag jdk9-b52 for changeset 8a11fed0d1a0 2015-02-26 15:58:06 -08:00
David Katleman
3b2f3289af Added tag jdk9-b52 for changeset 65feae01b278 2015-02-26 15:57:49 -08:00
David Katleman
f6d69c281e Added tag jdk9-b52 for changeset 991394bd2448 2015-02-26 15:57:44 -08:00
David Katleman
435bd0a792 Added tag jdk9-b52 for changeset d638088414a8 2015-02-26 15:57:41 -08:00
David Katleman
46d656c5c4 Added tag jdk9-b52 for changeset cda0ffc99002 2015-02-26 15:57:37 -08:00
David Katleman
c161f3553b Added tag jdk9-b52 for changeset e42a1d291fde 2015-02-26 15:57:35 -08:00
Lev Priima
ff45a0b5b0 8073354: TimSortStackSize2.java: test cleanup: make test run with single argument
Reviewed-by: dholmes
2015-02-26 18:50:02 -05:00
Xueming Shen
7f950ef63d 8073924: Update test/java/nio/charset/Charset/NIOCharsetAvailability.java to work with module system
To use module's runtime filesystem to iterate the class files

Reviewed-by: alanb
2015-02-26 14:40:43 -08:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Vladimir Kozlov
7e75bdc891 Merge 2015-02-26 10:56:26 -08:00
Vladimir Kozlov
2c25f6b054 Merge 2015-02-26 10:56:01 -08:00
Jesper Wilhelmsson
b22466d59d Merge 2015-02-26 19:32:03 +01:00
Vinnie Ryan
a929976abd 8073955: Update java.security.debug help text to reflect recent enhancements for debugging
Reviewed-by: mullan
2015-02-26 16:29:49 +00:00
Sean Coffey
79240eab9b 8071447: IBM1166 Locale Request for Kazakh characters
Reviewed-by: sherman
2015-02-26 09:36:30 +00:00
Weijun Wang
c12ac1b4cc 8073853: KeyToolTest.java has too many too long lines
Reviewed-by: mullan
2015-02-26 08:08:52 +08:00
Mandy Chung
8c3edc1d57 8073361: Missing doPrivileged in com.sun.xml.internal.bind.v2.ClassFactory
Reviewed-by: mullan, mkos
2015-02-25 14:51:12 -08:00
Gilles Duboscq
42c543abd9 8041628: Javadoc cross-compilation problem
Reviewed-by: jjg
2015-02-25 14:35:39 -08:00
Xueming Shen
ece4e20848 8073893: Enable charsets build system to configure euc_tw into java.base module/sun.nio.cs
To enable charsets build system to configure euc_tw into java.base module/sun.nio.cs

Reviewed-by: alanb, mchung
2015-02-25 13:04:31 -08:00
Mark Sheppard
c90f8b8839 8046901: Check jdk/src/solaris/native/sun/nio for Parfait flagged uninitialized memory
Reviewed-by: rriggs, alanb
2015-02-25 19:36:29 +00:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Mark Sheppard
0f708456b2 8055204: Memory leak in jdk/src/windows/native/java/lang/java_props_md.c
Reviewed-by: rriggs
2015-02-25 17:24:13 +00:00
Mark Sheppard
dcdbd32603 8046893: JNI exception pending in jdk/src/solaris/native/java/net: ExtendedOptionsImpl.c, PlainDatagramSocketImpl.c
Reviewed-by: alanb, chegar
2015-02-25 17:05:56 +00:00
Kumar Srinivasan
8749a5a08c 8066185: VM crashed with SIGSEGV VirtualMemoryTracker::add_reserved_region
Reviewed-by: coleenp, dholmes
2015-02-25 06:21:55 -08:00
Magnus Ihse Bursie
43e3412689 8073864: Configure must handle invalid elements on INCLUDE/LIB for visualstudio
Reviewed-by: erikj
2015-02-25 14:50:07 +01:00
Magnus Ihse Bursie
b3005d5d3c 8073862: BASIC_FIXUP_EXECUTABLE should not fail on empty path
Reviewed-by: erikj
2015-02-25 14:48:41 +01:00
Joel Borggrén-Franck
cdf8c27ddb 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Sean Coffey
6d78b91ac9 7178362: Socket impls should ignore unsupported proxy types rather than throwing
Reviewed-by: chegar
2015-02-25 11:44:53 +00:00
Weijun Wang
b505d5ad05 8073182: keytool may generate duplicate extensions
Reviewed-by: mullan
2015-02-25 18:30:29 +08:00
Weijun Wang
ed25ae3aeb 8073181: keytool -ext honored not working correctly
Reviewed-by: mullan
2015-02-25 18:30:07 +08:00
Ingemar Aberg
3bc3440bb6 8073231: Add convenient way of adding custom configure options to jprt
Reviewed-by: erikj, tbell
2015-02-25 11:04:14 +01:00
Mandy Chung
f2313d073e 8073696: Remove unused imports in java.corba, java.jaxws, jdk.httpserver
Reviewed-by: alanb, chegar
2015-02-24 12:45:56 -08:00
Daniel Fuchs
2390a77789 8073394: Clock.systemUTC() should return a constant
Clock.systemUTC() now returns SystemClock.UTC

Reviewed-by: scolebourne, rriggs, plevart, lancea
2015-02-24 21:51:45 +01:00
Mandy Chung
1f3b999b98 8073696: Remove unused imports in java.corba, java.jaxws, jdk.httpserver
Reviewed-by: alanb, chegar
2015-02-24 12:45:47 -08:00
Mandy Chung
92a410c125 8073696: Remove unused imports in java.corba, java.jaxws, jdk.httpserver
Reviewed-by: alanb, chegar
2015-02-24 12:45:34 -08:00
Alejandro Murillo
8af70656ce Merge 2015-02-24 10:52:02 -08:00
Ivan Gerasimov
f3c4924379 8073779: StackOverflowError called StackOverflowException in javadoc
Reviewed-by: martin
2015-02-24 19:50:17 +03:00
Jan Lahoda
681758e0fa 8067886: Inaccessible nested classes can be incorrectly imported
Check type accessibility at the point of import when importing the type using type-import-on-demand.

Reviewed-by: mcimadamore, jfranck
2015-02-24 16:11:59 +01:00
Staffan Larsen
93d09edf06 8073713: javadoc warnings in serviceability code
Reviewed-by: mgronlun, alanb, sspitsyn
2015-02-24 10:56:48 +01:00
Jeremy Manson
d1225ad485 6588467: Add isDaemon() and getPriority() to ThreadInfo
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Jason Uh
33dd267f40 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:42:54 -08:00
Jason Uh
91722e7903 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:42:16 -08:00
Jason Uh
9a2cc32b19 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:40:48 -08:00
Phil Race
9ec44e8c16 Merge 2015-02-23 10:47:32 -08:00
Phil Race
b71fe70e46 Merge 2015-02-23 10:47:09 -08:00
Mandy Chung
638c2d5f82 8062750: Separate SNMP messages from sun.management.resources.agent
Reviewed-by: alanb, dfuchs, erikj
2015-02-23 08:46:07 -08:00
Chris Hegarty
f71f63f2f2 8073667: URL should not use service loader to lookup the jar protocol handler
Reviewed-by: alanb
2015-02-23 17:22:56 +00:00
Chris Hegarty
4db8117dec 8064924: Update java.net.URL to work with modules
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:51:47 +00:00
Chris Hegarty
b7d0702188 8064924: Update java.net.URL to work with modules
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:48:20 +00:00
Maurizio Cimadamore
110a99f0dd 8071291: Compiler crashes trying to cast UnionType to IntersectionClassType
Compiler tests for .isCompound but then cast to a more specific Type subclass, resulting in CCE

Reviewed-by: vromero, jlahoda
2015-02-23 13:02:37 +00:00
Christian Tornqvist
88609236a3 Merge 2015-02-23 05:01:33 -08:00
Christian Tornqvist
07a6ab00bc Merge 2015-02-23 05:01:11 -08:00
Erik Joelsson
414de033e0 8073498: Enhance GensrcProperties.gmk to allow an alternative source root
Reviewed-by: tbell, mchung, ihse
2015-02-23 11:37:36 +01:00
Erik Joelsson
938840c853 8073498: Enhance GensrcProperties.gmk to allow an alternative source root
Reviewed-by: tbell, mchung, ihse
2015-02-23 11:37:14 +01:00
Claes Redestad
16989e7b17 8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Dan Smith
13490088bf 8039214: Inference should not map capture variables to their upper bounds
Update to Types.containsType; related adjustment to most-specific test

Reviewed-by: mcimadamore, vromero
2015-02-20 17:05:13 -07:00
Alejandro Murillo
d85d8b1ade Merge 2015-02-20 14:14:09 -08:00
Alejandro Murillo
908ae8461b Merge 2015-02-20 14:14:08 -08:00
Mandy Chung
31717ccf1c 8073374: Re-examine jdk.xml.ws dependency on java.xml.ws SOAPNamespaceConstants
Reviewed-by: lancea, mkos
2015-02-20 09:15:59 -08:00
Attila Szegedi
d76b6c183d 8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build
Reviewed-by: sundar
2015-02-20 17:18:47 +01:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Attila Szegedi
0a6d13699b 8072426: Can't compare Java objects to strings or numbers
Reviewed-by: hannesw, lagergren, sundar
2015-02-20 15:47:28 +01:00
Lana Steuck
35130d616e Merge 2015-02-19 16:38:54 -08:00
Lana Steuck
86292086b7 Merge 2015-02-19 16:38:11 -08:00
Lana Steuck
685b728f55 Merge 2015-02-19 16:37:05 -08:00
Lana Steuck
e041f4aadd Merge 2015-02-19 16:36:35 -08:00
Lana Steuck
5b67af846e Merge 2015-02-19 16:35:58 -08:00
David Katleman
5672ca6e68 Added tag jdk9-b51 for changeset db20db37be55 2015-02-19 11:24:08 -08:00
David Katleman
82735606dd Added tag jdk9-b51 for changeset bf992bd35aad 2015-02-19 11:24:07 -08:00
David Katleman
42d9f7489a Added tag jdk9-b51 for changeset 0584b09d5a1d 2015-02-19 11:24:03 -08:00
David Katleman
c3e738b069 Added tag jdk9-b51 for changeset 2815ad059e8d 2015-02-19 11:24:01 -08:00
David Katleman
523249ec57 Added tag jdk9-b51 for changeset c7d0c39dd761 2015-02-19 11:24:00 -08:00
David Katleman
cb126fc539 Added tag jdk9-b51 for changeset 5fb718119516 2015-02-19 11:23:58 -08:00
David Katleman
0efeaabb0a Added tag jdk9-b51 for changeset 1ede1e98cd63 2015-02-19 11:23:57 -08:00
David Katleman
0fafef8147 Added tag jdk9-b51 for changeset 5d0c07a90e82 2015-02-19 11:23:55 -08:00
Vladimir Ivanov
93f9344ff4 Merge 2015-02-19 11:12:59 -08:00
Sergey Bylokhov
8929d90866 8072665: SoundLibraries.gmk and SoundDefs.h: remove isSigned8() dead code
Reviewed-by: erikj, ihse, alexsch
2015-02-19 18:47:55 +03:00
Alexey Ivanov
14fc538ce9 8056915: Focus lost in applet when browser window is minimized and restored
Reviewed-by: ant, dtitov, dcherepanov
2015-02-19 12:50:32 +00:00
Jesper Wilhelmsson
5c18821ea5 Merge 2015-02-19 12:56:50 +01:00
Christian Tornqvist
f5ef1f7ce6 Merge 2015-02-18 19:28:08 -08:00
Christian Tornqvist
b92cbf650b Merge 2015-02-18 19:27:49 -08:00
David Holmes
2a2e56342c 8072055: Argument checking for SE Embedded and ARM should be moved out of arguments.cpp
Reviewed-by: bdelsart, dlong, hseigel, coleenp
2015-02-18 22:19:47 -05:00
Mandy Chung
db4c181844 8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Vicente Romero
7bf016c7b1 8068489: remove unnecessary complexity in Flow and Bits, after JDK-8064857
Reviewed-by: mcimadamore, jjg
2015-02-18 17:07:06 -08:00
Vivi An
7b27235df4 8069268: JComponent.AccessibleJComponent.addPropertyListeners adds exponential listeners
Reviewed-by: ptbrunet, serb
2015-02-18 11:15:24 -08:00
Mandy Chung
3bbf6fb281 8073373: Remove redundant imports from sun/applet/AppletProps.java
Reviewed-by: serb
2015-02-18 08:59:55 -08:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
Jaroslav Bachorik
41d784d98e 8071657: JDI ObjectReferenceImpl.invokeMethod() validation fails for virtual invocations of method with declaring type being an interface
Reviewed-by: sspitsyn, sla
2015-02-18 17:50:41 +01:00
Sergey Bylokhov
86506d6858 8068412: [macosx] Initialization of Cocoa hangs if CoreAudio was initialized before
Reviewed-by: azvegint, prr
2015-02-18 16:59:51 +03:00
Dmitry Samersoff
eaa8d1e0f3 8072395: sun/tools/jmap/heapconfig/LingeredAppTest.java and sun/tools/jmap/heapconfig/JMapHeapConfigTest.java fail due to LingeredApp ERROR: java.io.IOException: Lock is too old. Aborting
Remove lock age check

Reviewed-by: sla, dholmes, kevinw
2015-02-18 03:45:06 -08:00
Dmitry Samersoff
7168bf102d 8072835: sun/tools/jmap/heapconfig/JMapHeapConfigTest.java Key MaxHeapSize doesnt match
Make sure that maxheapsize is set explicitly in command line

Reviewed-by: sla, ykantser
2015-02-18 03:16:48 -08:00
Erik Joelsson
cf0e1e5323 8072904: building jdk9 with jdk9 boot jdk can cause failure or incorrect results
Reviewed-by: dholmes, dlong
2015-02-18 11:25:34 +01:00
Erik Joelsson
6d4ea4d7da 8073328: Incremental build of gensrc broken
Reviewed-by: alanb, tbell, dfuchs, sherman
2015-02-18 11:18:00 +01:00
Stefan Karlsson
2e888853a1 8073387: Move VerifyOopClosures out from genOopClosures.hpp
Reviewed-by: brutisso, mgerdin, coleenp
2015-02-18 08:57:29 +01:00
Igor Veresov
f96ca50eca Merge 2015-02-17 21:46:39 +00:00
Brian Burkhalter
3004d4881c 8073347: javadoc of Formattable messed up by JDK-8019857
Change sample code formatting to the currently blessed idiom.

Reviewed-by: martin
2015-02-17 12:02:38 -08:00
David Dehaven
d747007634 Merge 2015-02-17 11:50:06 -08:00
David Dehaven
64fce0cc80 Merge 2015-02-17 11:50:02 -08:00
David Dehaven
c627fa5807 Merge 2015-02-17 11:44:51 -08:00
David Dehaven
8e08670d9a Merge 2015-02-17 11:44:44 -08:00
Igor Veresov
783f2be52f 8072753: Nondeterministic wrong answer on arithmetic
Check for overflow when inverting the loop during the counted loop conversion

Reviewed-by: kvn
2015-02-17 11:00:18 -08:00
David Chase
46fa321d63 8069412: Locks need better debug-printing support
Added better debug-printing support and enhanced LogCompilation tool

Reviewed-by: kvn, roland, dholmes
2015-02-17 13:54:53 -05:00
Jason Uh
f7f4ab9df6 8042967: Add variant of DSA Signature algorithms that do not ASN.1 encode the signature bytes
Reviewed-by: mullan
2015-02-17 10:48:24 -08:00
Harold Seigel
ce4261471b 8068687: Remove meta-index support and cleanup hotspot code for rt.jar etc in non-modular jdk image
Remove the meta-index code and rt.jar code and comments

Reviewed-by: mchung, gtriantafill
2015-02-17 13:19:23 -05:00
Brian Burkhalter
2b1139db7c 8073207: javadoc typos in java.nio.channels.Pipe
Correct the verbiage as suggested.

Reviewed-by: alanb
2015-02-17 09:18:27 -08:00
Anton Nashatyrev
05a0c3b3eb 8072069: Toolkit.getScreenInsets() doesn't update if insets change
Reviewed-by: serb, azvegint
2015-02-17 19:56:15 +03:00
Erik Joelsson
d2719e8bdf 8072950: api/xinclude/Harold/harold-97.html\#harold-97, api/xinclude/Harold/harold-67.html\#harold-67 fails on solaris with build port-stage-aarch64
Reviewed-by: tbell
2015-02-17 16:53:41 +01:00
Jan Lahoda
0a57971dd9 8067445: New modular image-based file manager skips boot classes
Taking "sun.boot.class.path" system property into account when constructing bootclasspath for modular images.

Reviewed-by: jjg, mcimadamore
2015-02-17 15:39:05 +01:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Rob McKenna
0ad8cc755b 8067846: (sctp) InternalError when receiving SendFailedNotification
Reviewed-by: chegar
2015-02-16 22:57:17 +00:00
Xueming Shen
1eb1419d72 8073152: Update Standard/ExtendedCharsets to work with module system
To reorganize the standard and extendec charset configuration during build time

Reviewed-by: alanb
2015-02-16 14:53:59 -08:00
Jesper Wilhelmsson
d7f5fccbc6 Merge 2015-02-16 21:24:39 +01:00
Alan Bateman
8104906db2 8068680: Move java.transaction to the ext class loader
Reviewed-by: lancea, mchung
2015-02-16 18:30:16 +00:00
Sergey Bylokhov
aa024f2afc 8039269: images/cursors should not be in ${java.home}/lib
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:02:08 +03:00
Sergey Bylokhov
18975e3676 8039269: images/cursors should not be in ${java.home}/lib
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:01:17 +03:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Alejandro Murillo
b56016b4fb Merge 2015-02-16 08:47:39 -08:00
Sangheon Kim
14916eab46 8073115: assert(_covered_region.contains(p)) needs better error messages
Changed to print out related values

Reviewed-by: jwilhelm, brutisso, stefank
2015-02-16 08:38:23 -08:00
Anton Nashatyrev
f149b6e2fd 8072676: [macosx] Jtree icon painted over label when scrollbars present in window
Reviewed-by: serb, alexsch
2015-02-16 19:10:05 +03:00
Srikanth Adayapalam
31b752c691 8073201: Incorrect @bug annotation in checkin for JDK-8069545
Reviewed-by: mcimadamore
2015-02-16 19:14:18 +05:30
Maurizio Cimadamore
b91b333053 8071241: Investigate alternate strategy for type-checking operators
Separat operator lookup logic from overload resolution.

Reviewed-by: jjg, jlahoda, sadayapalam
2015-02-16 12:24:25 +00:00
Erik Joelsson
7208abd71e 8073166: Unable to successfully build the merge of jdk9/hs with jdk9/dev
Reviewed-by: alanb
2015-02-16 12:25:56 +01:00
Jaroslav Bachorik
9f4631e772 8072908: com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh fails on OS X with exit code 2
Reviewed-by: dholmes, sla
2015-02-16 10:53:49 +01:00
Mario Torre
2400d1a6ee 8072905: Fix copyright year for test from JDK-8071705
Test was pushed with wrong copyright year

Reviewed-by: alexsch
2015-02-16 10:34:52 +01:00
Mark Sheppard
b5a98a12fe 8068682: Deprivilege/move java.corba to the ext class loader
Reviewed-by: alanb, mchung
2015-02-16 00:12:13 +00:00
Mark Sheppard
c717b07bc5 8068682: Deprivilege/move java.corba to the ext class loader
Reviewed-by: alanb, mchung
2015-02-16 00:10:42 +00:00
Prasanta Sadhukhan
f4fa68a2a7 8072678: Wrong exception messages in java.awt.color.ICC_ColorSpace
Reviewed-by: prr, serb
2015-02-14 21:05:41 +03:00
Chris Plummer
9604a593ee 8073167: Undo change to -retain argument in hotspot/test/Makefile
-retain:all changed back to -retain:fail,error

Reviewed-by: stefank
2015-02-14 08:53:57 -08:00
Christian Tornqvist
a72a716adf Merge 2015-02-14 00:03:48 +00:00
Christian Tornqvist
cdb714aeb5 Merge 2015-02-13 15:05:30 -08:00
Eric McCorkle
b014a7728f 8066725: javac produces classfiles it cannot read
Revert behavioral changes from 8029012 and 8065132

Reviewed-by: jfranck
2015-02-13 17:00:45 -05:00
Jiangli Zhou
9c5033338c Merge 2015-02-13 20:33:25 +00:00
Anthony Scarpino
ad70e04133 8022313: sun/security/pkcs11/rsa/TestKeyPairGenerator.java failed in aurora
Reviewed-by: mullan
2015-02-13 10:44:53 -08:00
Volker Simonis
137f134743 8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB
Reviewed-by: serb
2015-02-13 19:14:44 +01:00
Daniel D. Daugherty
a9e28164eb 8061553: Contended Locking fast enter bucket
JEP-143/JDK-8061553 Contended Locking fast enter bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn
2015-02-13 10:01:42 -08:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Christian Tornqvist
700da67504 Merge 2015-02-13 05:17:57 -08:00
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Katja Kantserova
3d3f6553c0 8073132: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-13 13:17:13 +01:00
Thomas Stuefe
0d2c28e3b8 8072935: Fix missing newline at end of file after 8067447
Reviewed-by: dholmes, dlong
2015-02-13 06:23:48 -05:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Weijun Wang
3cb54779b0 8071338: Move policytool from JRE to JDK
Reviewed-by: alanb, erikj, ihse, mchung
2015-02-13 11:03:57 +08:00
Weijun Wang
351ed3d735 8071338: Move policytool from JRE to JDK
Reviewed-by: alanb, erikj, ihse, mchung
2015-02-13 11:03:13 +08:00
Jesper Wilhelmsson
0212ed173a Merge 2015-02-13 01:41:06 +01:00
Lana Steuck
25db70d299 Merge 2015-02-12 16:39:35 -08:00
Lana Steuck
06fb272637 Merge 2015-02-12 16:39:22 -08:00
Lana Steuck
86ab634dc1 Merge 2015-02-12 16:38:39 -08:00
Lana Steuck
9b5b4b60c3 Merge 2015-02-12 16:37:08 -08:00
Lana Steuck
b34ea60691 Merge 2015-02-12 16:36:53 -08:00
Lana Steuck
2bb41d2f62 Merge 2015-02-12 16:36:30 -08:00
David Katleman
a8f03a25b5 Added tag jdk9-b50 for changeset 51d0ef4e53e6 2015-02-12 16:23:30 -08:00
David Katleman
e8917c4867 Added tag jdk9-b50 for changeset 1ba2a6b0fd9f 2015-02-12 16:23:29 -08:00
David Katleman
036d9d38e7 Added tag jdk9-b50 for changeset d0f9f129c1f4 2015-02-12 16:23:25 -08:00
David Katleman
e4b28ccb36 Added tag jdk9-b50 for changeset f9362d750e69 2015-02-12 16:23:24 -08:00
David Katleman
8f6c7438b0 Added tag jdk9-b50 for changeset f8317f53f898 2015-02-12 16:23:24 -08:00
David Katleman
1a19291ca8 Added tag jdk9-b50 for changeset 70a5f7d7a66a 2015-02-12 16:23:21 -08:00
David Katleman
126debe100 Added tag jdk9-b50 for changeset 674362e1d111 2015-02-12 16:23:21 -08:00
David Katleman
e63e1780a0 Added tag jdk9-b50 for changeset 67486ff44b55 2015-02-12 16:23:20 -08:00
Kumar Srinivasan
0bbdf59743 8071836: javadoc fails as javadoc resource bundle not visible to com.sun.tools.javac.util.JavacMessages
Reviewed-by: jjg, mchung
2015-02-12 15:00:37 -08:00
Abhijit Saha
0236698692 Merge 2015-02-12 14:56:30 -08:00
Vladimir Ivanov
a1b368700b Merge 2015-02-12 13:55:54 -08:00
Vladimir Ivanov
75a181784a Merge 2015-02-12 13:55:05 -08:00
Jaroslav Bachorik
36e2265a17 Merge 2015-02-12 17:28:58 +00:00
Roger Riggs
5d4cdb23e5 8072034: (process) ProcessBuilder.start and Runtime.exec UnsupportedOperationException editorial cleanup
Reviewed-by: alanb
2015-02-12 12:06:36 -05:00
Jaroslav Bachorik
2c4a9ce20b 8072932: Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")
Reviewed-by: mullan
2015-02-12 17:01:10 +01:00
Attila Szegedi
8d084dc298 8072596: Arrays.asList results in ClassCastException with a JS array
Reviewed-by: lagergren, sundar
2015-02-12 16:43:33 +01:00
Lev Priima
892b06056c 8072909: TimSort fails with ArrayIndexOutOfBoundsException on worst case long arrays
Reviewed-by: rriggs, dholmes
2015-02-12 10:34:35 -05:00
Aleksei Efimov
d2cbbd335a 8071585: Update JAX-WS RI integration to latest version (2.2.11-b150127.1410)
Reviewed-by: alanb
2015-02-12 17:12:57 +03:00
Katja Kantserova
c7a16db145 8072856: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-12 10:28:14 +01:00
Jaroslav Bachorik
103110ad85 8069286: Unexpected count of notification in LowMemoryTest
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Srikanth Adayapalam
cb2a21c5a5 8069545: javac shouldn't check nested stuck lambdas during overload resolution
Nested lambdas should not be considered while overload resolution is in progress

Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2015-02-12 10:16:19 +05:30
Brian Burkhalter
14b8722c45 8066842: java.math.BigDecimal.divide(BigDecimal, RoundingMode) produces incorrect result
Replace divWord() with non-truncating alternatives

Reviewed-by: psandoz, darcy
2015-02-11 17:20:39 -08:00
Vivi An
b4ad645936 8068518: IllegalArgumentException in JTree.AccessibleJTree
Reviewed-by: alexsch, ptbrunet
2015-02-11 16:22:29 -08:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

Reviewed-by: stefank, miauno
2015-02-11 15:22:43 -08:00
Daniel Fuchs
654c893170 8072482: Cleanup: In jvm.cpp and other shared files declaration of 64bits constants should use the CONST64/UCONST64 macros instead of the LL suffix
Reviewed-by: dholmes, coleenp
2015-02-11 17:41:55 +01:00
Marcus Larsson
20bfd4cf7c 8066566: Refactor ParNewGeneration to contain ParNewTracer
Reviewed-by: ehelin, kbarrett
2015-02-11 14:47:21 +01:00
Steve Sides
11ef4537fa 8044394: javadoc for BasicOptionPaneUI.addMessageComponents() has typo and grammar errors
Fix typos in javadoc of BasicOptionPaneUI.addMessageComponents()

Reviewed-by: alexsch, serb
2015-02-11 15:10:33 +03:00
Magnus Ihse Bursie
95c2f1d577 8072132: Filter out additional files when stripping
Reviewed-by: erikj, tbell
2015-02-11 09:20:29 +01:00
Magnus Ihse Bursie
a9b617a74b 8072732: Regression in configure due to JDK-8069057
Reviewed-by: erikj, tbell
2015-02-11 09:18:49 +01:00
Mario Torre
9c38d96e2e 8071705: Java application menu misbehaves when running multiple screen stacked vertically
JMenu miscalculates the position of the Popup origin when on multiple monitors stacked vertically

Reviewed-by: alexsch
2015-02-11 07:54:39 +01:00
Tom Benson
2c63608419 8065093: Remove unused variable/output argument
Remove total_reserved from GenCollectedHeap::initialize and ::allocate

Reviewed-by: tschatzl, kbarrett
2015-02-10 17:41:19 -05:00
Paul Sandoz
03d00d97a5 Merge 2015-02-10 22:22:36 +00:00
Tom Benson
89d88a42c4 8072056: Remove unnecessary header file #include
TenuredGeneration.cpp needlessly includes parGCAllocBuffer.hpp

Reviewed-by: tschatzl, kbarrett, jprovino
2015-02-10 15:44:42 -05:00
Paul Sandoz
c002e71565 8068977: Remove unused sun.misc.Unsafe prefetch intrinsic support
Reviewed-by: kvn, vlivanov
2015-02-10 21:32:05 +01:00
Coleen Phillimore
8df6ac1794 8068451: Kitchensink fails with assert(_size >= sz) failed: Negative size
Need ThreadCritical lock around chunk pool cleaning and copying for snapshot

Reviewed-by: lfoltan, gtriantafill, hseigel
2015-02-10 15:10:47 -05:00
Alejandro Murillo
bdb9bc84c3 Merge 2015-02-10 10:09:31 -08:00
Paul Sandoz
cc1c11c366 Merge 2015-02-10 16:53:00 +00:00
Stefan Karlsson
c132a5a0a5 8072910: Move the g1EvacFailure.hpp implementation to g1EvacFailure.cpp
Reviewed-by: jwilhelm, tschatzl
2015-02-10 17:16:17 +01:00
Marcus Larsson
71cfff7df1 8066771: Refactor VM GC operations caused by allocation failure
Reviewed-by: brutisso, jmasa
2015-02-13 10:31:52 +01:00
Marcus Larsson
7727fe0044 8072621: Clean up around VM_GC_Operations
Reviewed-by: brutisso, jmasa
2015-02-13 09:48:49 +01:00
Harold Seigel
811df313ff 8072694: Need errno info when CDS archive creation fails
Add errno output to error message when CDS archive creation fails

Reviewed-by: dholmes, lfoltan
2015-02-10 09:25:00 -05:00
Paul Sandoz
a1d993e9ce 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Paul Sandoz
736e4a1146 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:32 +01:00
Erik Joelsson
24bc773808 8062223: Upgrading to ccache 1.3.10 disables the use of ccache
Reviewed-by: ihse
2015-02-10 12:25:44 +01:00
Sergey Lugovoy
d1c194480f 8069182: Nightly test results are empty for targets test262/markdown/testjfx
Reviewed-by: sundar, lagergren
2015-02-10 13:10:07 +03:00
Johannes Scheerer
b856eeaa98 8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Shaun Spiller
9807a1372d 8064562: (doc) errors in java.io.PushbackInputStream API documentation
Update the documentation as suggested to reflect reality.

Reviewed-by: lancea, rriggs
2015-02-11 07:40:43 -08:00
Erik Joelsson
28d199d088 8072834: jrt-fs.jar missing META-INF/services/java.nio.file.spi.FileSystemProvider
Reviewed-by: ihse
2015-02-11 09:59:30 +01:00
Rob McKenna
4c95aedcd9 8065553: Failed Java web start via IPv6 (Java7u71 or later)
Reviewed-by: xuelei
2015-02-10 23:32:48 +00:00
Joe Darcy
42d24e8ed5 8072843: Typo in the description of the j.l.r.Executable.getAnnotatedReceiverType
Reviewed-by: lancea
2015-02-10 11:34:13 -08:00
Alejandro Murillo
805200fc3e Merge 2015-02-10 10:09:33 -08:00
Amy Lu
3bf803f0c9 8069255: Suppress deprecation warnings in jdk.rmic module (jdk repo)
Reviewed-by: rriggs
2015-02-10 12:28:02 -05:00
Paul Sandoz
7c67f47c4d 8050819: Please add java.util.Stream.ofNullable(T object)
Reviewed-by: alanb, smarks
2015-02-10 11:18:51 +01:00
Athijegannathan Sundararajan
31d47aea0f 8068587: ScriptEngineFactory.getParameter() should specify NPE for a null key
Reviewed-by: alanb, lagergren
2015-02-10 14:44:33 +05:30
Joe Darcy
127d4e1aec 8069277: Doclint regression in java/security/KeyStore.java
Reviewed-by: weijun
2015-02-09 17:49:26 -08:00
Joe Darcy
0d5c151c94 8041395: Doclint regression in java.net.SocketOption
Reviewed-by: lancea
2015-02-09 15:33:56 -08:00
Florian Weimer
5c35079895 8069072: GHASH performance improvement
Eliminate allocations and vectorize

Reviewed-by: mullan, ascarpino
2015-02-09 13:32:42 -08:00
Xueming Shen
81f4c6102a 8030179: java/nio/Buffer/Chars.java, testcases seems all pass but jtreg/testng failed with java.lang.AssertionError
Fix the surrogate corner case in SingleByte charset encoder

Reviewed-by: psandoz, alanb
2015-02-09 11:37:56 -08:00
David Dehaven
8737b37ffc Merge 2015-02-09 09:52:48 -08:00
David Dehaven
cbd516739c Merge 2015-02-09 09:52:45 -08:00
Jesper Wilhelmsson
832b4db215 8072688: Description of flag ExplicitGCInvokesConcurrent should mention G1 as well
Changed to a more generic description.

Reviewed-by: mgerdin, tschatzl
2015-02-09 17:38:42 +01:00
Roland Westrelin
01716f18f3 8071821: Assert failed in UnexpectedDeoptimizationTest.java
Assert fires in case of concurrent initialization of ciInstanceKlass::_has_injected_fields

Reviewed-by: kvn
2015-02-09 13:45:59 +01:00
Roland Westrelin
e6ac3ca09e 8072016: Array copy may cause infinite cycle of deoptimization/compilation
Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation

Reviewed-by: kvn, vlivanov
2015-02-09 15:10:58 +01:00
Athijegannathan Sundararajan
13a7f3810a 8072752: Add regression tests for 8071678 and 8071594
Reviewed-by: hannesw, attila
2015-02-09 14:40:56 +05:30
Sergei Kovalev
f387f55093 8071811: gc/arguments/TestG1ConcRefinementThreads.java failed on Exception: java.lang.RuntimeException: Actual G1ConcRefinementThreads(0) is not equal to expected value(23)
Reviewed-by: jwilhelm, iignatyev
2015-02-09 09:51:12 +03:00
Mandy Chung
c8528fd410 8057645: Deprivilege JAX-WS, JAXB, JAF to extension class loader
Reviewed-by: alanb, dfuchs, lancea, mkos
2015-02-06 15:42:07 -08:00
Roger Riggs
8d8f34b9a6 8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
Check the year range consistently with other Hijrah date years

Reviewed-by: lancea, scolebourne
2015-02-06 17:29:11 -05:00
Andrew Haley
182a191e07 8071947: AARCH64: frame::safe_for_sender() computes incorrect sender_sp value for interpreted frames
Apply the fix for 8068655 to the AArch64 sources.

Reviewed-by: kvn
2015-02-06 10:36:46 -08:00
Andrew Haley
978182d229 8072698: Add AArch64 support to hsdis
Reviewed-by: kvn
2015-02-06 10:21:46 -08:00
Andrew Haley
f60dba6c5f 8072053: AARCH64: remove src/java.base/unix/native/libjli/aarch64/jvm.cfg
Reviewed-by: kvn
2015-02-06 10:14:59 -08:00
Sergey Bylokhov
67c555e053 8063066: Some look and feels ignores the JSlider.PaintTrack property
Reviewed-by: ant, azvegint, alexsch
2015-02-06 19:49:20 +03:00
Brian Burkhalter
980fb58833 8072495: (fs) Path.relativize() gives incorrect result for empty path on Windows
Correct handling of empty path in Windows version of relativize()

Reviewed-by: alanb, dfuchs
2015-02-06 08:05:44 -08:00
Mikael Gerdin
685f6eb32e 8072693: [BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()
Reviewed-by: jwilhelm, tschatzl
2015-02-06 16:24:25 +01:00
Athijegannathan Sundararajan
2f101d122b 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes
Reviewed-by: attila, lagergren
2015-02-06 19:28:26 +05:30
Roland Westrelin
a967f754a2 8071999: SA's buildreplayjars fail with exception
Support default methods when dumping classes in SA

Reviewed-by: vlivanov, kvn, dsamersoff
2015-02-06 13:50:44 +01:00
Magnus Ihse Bursie
283b6c7fbc 8071767: Improve names and dependencies for image targets
Co-authored-by: Ingemar Aberg <ingemar.aberg@oracle.com>
Reviewed-by: ihse, erikj, dholmes
2015-02-06 12:46:59 +01:00
Magnus Ihse Bursie
8450ccc371 8072106: Properly handle dependencies for deleted header files
Reviewed-by: erikj
2015-02-06 12:37:31 +01:00
Erik Joelsson
c9bf298a67 8071329: Stop exporting INCLUDE and LIB when building on windows
Reviewed-by: ihse
2015-02-06 09:57:28 +01:00
Erik Joelsson
c0277e17c9 8071329: Stop exporting INCLUDE and LIB when building on windows
Reviewed-by: ihse
2015-02-06 09:56:30 +01:00
Weijun Wang
ee2ba7946a 8072615: test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java wrong on Windows
Reviewed-by: xuelei
2015-02-06 11:38:29 +08:00
Lana Steuck
c45c18ee1a Merge 2015-02-05 15:45:17 -08:00
Lana Steuck
3a5a821349 Merge 2015-02-05 15:44:57 -08:00
Lana Steuck
4cc06ec416 Merge 2015-02-05 15:44:19 -08:00
Lana Steuck
77709e9fba Merge 2015-02-05 15:43:20 -08:00
Lana Steuck
d0aae9c2a0 Merge 2015-02-05 15:42:09 -08:00
Lana Steuck
348b90c794 Merge 2015-02-05 15:41:43 -08:00
Alejandro Murillo
b49ef0ce12 Merge 2015-02-05 14:57:53 -08:00
Alejandro Murillo
7d4ea26916 Merge 2015-02-05 14:57:52 -08:00
Andrew Haley
86e7982c2c 8072483: AARCH64: aarch64.ad uses the wrong operand class for some operations
Use iReg<X>NoSp registers operands where required.

Reviewed-by: kvn, adinn, enevill
2015-02-05 11:47:33 -08:00
David Katleman
125aff9d19 Added tag jdk9-b49 for changeset bdc353778a28 2015-02-05 11:43:38 -08:00
David Katleman
a52924200a Added tag jdk9-b49 for changeset ac59fe6cd98f 2015-02-05 11:43:37 -08:00
David Katleman
0ea4df7b6c Added tag jdk9-b49 for changeset 6e8154707178 2015-02-05 11:43:33 -08:00
David Katleman
5d5585acd9 Added tag jdk9-b49 for changeset abeda3261f92 2015-02-05 11:43:32 -08:00
David Katleman
6680f97794 Added tag jdk9-b49 for changeset f9e5640d832e 2015-02-05 11:43:32 -08:00
David Katleman
00fa5a044f Added tag jdk9-b49 for changeset 08067f67dde0 2015-02-05 11:43:29 -08:00
David Katleman
e58a6b0ce9 Added tag jdk9-b49 for changeset 6a22230c068f 2015-02-05 11:43:29 -08:00
David Katleman
5184f0183b Added tag jdk9-b49 for changeset dd613dc718a1 2015-02-05 11:43:28 -08:00
Maurizio Cimadamore
dbe88a2ef1 8072445: tools/javac/lambda/MethodReference55.java fails across platforms
Remove copyright from test header

Reviewed-by: jlahoda
2015-02-05 18:51:09 +00:00
Hannes Wallnöfer
3f9c2f13ee 8072626: Test for JDK-8068872 fails in tip
Reviewed-by: lagergren, jlaskey
2015-02-05 16:26:36 +01:00
Erik Joelsson
b81e35ebff 8072107: New dependency introduced by deploy.dll and awt.dll (msvcp100.dll)
Reviewed-by: ihse
2015-02-05 14:55:30 +01:00
Hannes Wallnöfer
0e498bf1aa 8068872: Nashorn JSON.parse drops numeric keys
Reviewed-by: attila, lagergren
2015-02-05 14:47:28 +01:00
Hannes Wallnöfer
d4e6353375 8062141: Various performance issues parsing JSON
Reviewed-by: lagergren, attila
2015-02-05 14:42:14 +01:00
Athijegannathan Sundararajan
2d266be7f6 8072595: nashorn should not use obj.getClass() for null checks
Reviewed-by: hannesw, attila
2015-02-05 19:08:00 +05:30
Staffan Larsen
4ce8ee0253 8072458: jdk/test/Makefile references (to be removed) win32 directory in jtreg
Reviewed-by: alanb
2015-02-05 13:00:26 +01:00
Staffan Larsen
80a1d2bba8 8072456: @since tags missing from TimeUnit
Reviewed-by: alanb, martin
2015-02-05 12:59:01 +01:00
Aleksei Efimov
61473e39ce 8072042: (tz) Support tzdata2015a
Reviewed-by: coffeys, okutsu
2015-02-05 14:48:57 +03:00
Jesper Wilhelmsson
ad23789419 Merge 2015-02-05 12:23:29 +01:00
Shanliang Jiang
fa9a534731 8065213: Specify and implement PlatformMBeanProvider for looking for all platform MBeans
Reviewed-by: dfuchs, mchung, jbachorik
2015-02-05 12:13:45 +01:00
Weijun Wang
d63bf0c50a 8071643: sun.security.krb5.KrbApReq.authenticate() is not thread safe
Reviewed-by: mullan
2015-02-05 11:42:39 +08:00
Christian Tornqvist
f95f9bd5d1 Merge 2015-02-04 18:23:09 -08:00
Christian Tornqvist
edbc932bc7 Merge 2015-02-04 18:22:46 -08:00
Alexander Harlap
3e2dcfd880 8067460: G1: TestResourceManagementFlagWithCommercialBuild.java failed on embedded platform
Added extension point to detect unsupported options

Reviewed-by: dholmes, bdelsart
2015-02-04 13:14:27 -05:00
Daniel Fuchs
13c456e099 8072450: 9-dev build failed on elinux-i586 and rlinux-i586
Added LL suffix to constant declaration

Reviewed-by: dholmes, coleenp, sla
2015-02-04 17:12:03 +01:00
Joseph Provino
00d9c7a2d1 8071805: BarrierSet::Other is not used and should be removed
Remove all occurences of BarrierSet::Other because the barrier set kind is never set to Other.

Reviewed-by: tschatzl, kbarrett
2015-02-04 10:18:28 -05:00
Yasumasa Suenaga
3e6220b1ab 8068589: GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: sla, tamao
2015-02-04 22:21:08 +09:00
Mandy Chung
e0a39dc574 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:09:25 -08:00
Mandy Chung
37a1a74efd 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:09:20 -08:00
Mandy Chung
778c94c9f3 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:08:55 -08:00
Roger Riggs
ddb472a4dc 8068278: ArrayIndexOutOfBoundsException instead of DateTimeException in j.t.chrono.JapaneseChronology.eraOf()
Corrected era range check

Reviewed-by: mchung, lancea
2015-02-03 14:39:57 -05:00
Kumar Srinivasan
bb5e8afcf2 8068033: JNI exception pending in jdk/src/share/bin/java.c
Reviewed-by: mchung, serb
2015-02-03 09:49:27 -08:00
Alejandro Murillo
004b407992 Merge 2015-02-03 08:45:07 -08:00
Jaroslav Bachorik
d9fe0af048 8066708: JMXStartStopTest fails to connect to port 38112
Reviewed-by: smarks, dsamersoff, olagneau
2015-02-03 16:46:05 +01:00
Stefan Johansson
dc5a35154d 8069034: gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java nightly failure
When checking for humongous objects to reclaim, we dirty cards that might belong to freed regions. Fixed by checking the region before dirtying.

Reviewed-by: tschatzl, brutisso
2015-02-03 15:50:06 +01:00
Mikael Auno
a0057ef650 8072405: [TESTBUG] DCMD tests needs at least compact3 profile
Reviewed-by: jbachorik, sla
2015-02-03 12:49:33 +01:00
Mikael Auno
5ae2ec81e7 8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs
Reviewed-by: jbachorik, sla
2015-02-03 12:49:13 +01:00
Mikael Auno
eb67830333 8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData
Reviewed-by: jbachorik, sla
2015-02-03 12:26:40 +01:00
Joe Darcy
4f6e5d902d 8072371: Add two failing svc tests to the problem list
Reviewed-by: lancea
2015-02-02 16:35:10 -08:00
Frederic Parain
2cbdd33aed Merge 2015-02-02 21:19:39 +00:00
Jan Lahoda
3aff88ae3b 8072054: Cannot build langtools if checked-out in a directory ending with \"com\"
Making sure a proper package name is used when generating Properties classes

Reviewed-by: mcimadamore
2015-02-02 21:53:36 +01:00
Joe Darcy
887b823a0d 8072135: Add javax/xml/ws/8046817/GenerateEnumSchema.java to the problem list
Reviewed-by: rriggs
2015-02-02 12:35:18 -08:00
Ed Nevill
db7a37cee0 8072129: [AARCH64] missing fix for 8066900
Add 8066900 fix to arm64 code.

Reviewed-by: kvn
2015-02-02 11:29:37 -08:00
Alexander Zvegintsev
47d0ae0d36 8072088: [PIT] NPE in DnD tests apparently because of the fix to JDK-8061636
Reviewed-by: ant, prr, serb
2015-02-02 21:38:19 +03:00
Sergey Bylokhov
3cd8a07dc7 8062738: Test java/awt/datatransfer/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug fails in Windows
Reviewed-by: azvegint, ant
2015-02-05 16:16:46 +03:00
Sergey Bylokhov
d32000a710 4952954: abort flag is not cleared for every write operation for JPEG ImageWriter
Reviewed-by: bae, prr
2015-02-05 14:20:05 +03:00
Phil Race
9ea6ddb851 8072433: copy/paste duplicated tests in some condition statements
Reviewed-by: bae, serb
2015-02-04 10:29:51 -08:00
Phil Race
a75613049b 6243376: JPEGImageWriter corrupts color for non-JFIF images with differing sample factor
Reviewed-by: bae, serb
2015-02-04 10:28:40 -08:00
Phil Race
cec84ed1f2 8072116: [Solaris] : Fix for 8071710 needs to be updated for build dependency checking
Reviewed-by: ihse
2015-02-03 09:28:21 -08:00
Dmitry Markov
5a65a2cc13 8064934: Incorrect Exception message from java.awt.Desktop.open()
Reviewed-by: azvegint, serb
2015-02-03 11:51:30 +04:00
Jiangli Zhou
63b331bba7 Merge 2015-02-02 13:10:27 -05:00
Frederic Parain
788217a445 8068655: frame::safe_for_sender() computes incorrect sender_sp value for interpreted frames
Reviewed-by: dcubed, coleenp, bdelsart
2015-02-02 18:20:14 +01:00
Sergey Bylokhov
afa1e6d670 8015085: [macosx] Label shortening via " ... " broken when String contains combining diaeresis
Reviewed-by: alexsch, azvegint
2015-02-02 18:21:24 +03:00
Srikanth Adayapalam
74f6de6859 8069265: ClassCastException when compiled with JDK 9b08+, JDK8 compiles OK
Alternate fix for 8015499 to eliminate extra checkcast (by working around a limitation in Types#asSuper) without the side effect that results in 8069265

Reviewed-by: mcimadamore, jjg
2015-02-02 18:52:16 +05:30
Paul Sandoz
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01:00
Paul Sandoz
dd21d2c4db 8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>
Reviewed-by: alundblad, forax, chegar, jrose
2015-02-02 14:19:12 +01:00
Paul Sandoz
3b9021981f 8059324: orElseThrow has different signatures for OptionalPrimitive and Optional<T>
Reviewed-by: lancea, chegar
2015-02-02 14:19:00 +01:00
Paul Sandoz
8aae81b484 8048689: Clarify documentation on BaseStream.spliterator
Reviewed-by: lancea, chegar
2015-02-02 14:18:54 +01:00
Jesper Wilhelmsson
9cc24cf76e Merge 2015-02-02 13:57:38 +01:00
Thomas Schatzl
ba4a04aa05 8069760: When iterating over a card, G1 often iterates over much more references than are contained in the card
Properly bound the iteration work for objArray-oops.

Reviewed-by: mgerdin, kbarrett
2015-02-02 10:38:39 +01:00
Alexander Kulyakthin
5eb21ad94f 8071464: Clear up SVC jdk/test/* JRE layout dependencies other than those on tools.jar
Reviewed-by: sla
2015-02-02 09:37:53 +01:00
Dean Long
8a65f6962b Merge 2015-01-31 02:42:15 -05:00
Frank Yuan
1b0daecb26 8051710: Convert JAXP function tests: javax.xml.jaxp14.* to jtreg (testng) tests
Reviewed-by: lancea, joehw
2015-01-30 19:10:29 -08:00
Jiangli Zhou
dc9bb3c201 8071962: The SA code needs to be updated to support Symbol lookup from the shared archive
Support shared symbols lookup.

Reviewed-by: minqi, sspitsyn, dsamersoff, iklam
2015-01-30 20:31:05 -05:00
Frank Yuan
ffe5a2e589 8051709: Convert JAXP function tests: javax.xml.datatype to jtreg (testng) tests
Reviewed-by: lancea
2015-01-30 17:07:53 -08:00
Alejandro Murillo
e9c6fa1317 Merge 2015-01-30 16:56:08 -08:00
Alejandro Murillo
e9af52deeb Merge 2015-01-30 16:56:05 -08:00
Alejandro Murillo
93cc7a9273 Merge 2015-01-30 16:56:03 -08:00
Sonali Goel
b523cb6aaa 8071629: Write new test to test -j switch
Reviewed-by: jjg
2015-01-30 14:59:47 -08:00
Roger Riggs
24a3c49404 8068284: Missing @throws in DateTimeFormatterBuilder.appendOffset
8068285: Missing @throws in DateTimeFormatterBuilder.appendInstant
8062803: 'principal' should be 'principle' in java.time package description
8062796: java.time.format.DateTimeFormatter error in API doc example

Reviewed-by: lancea, mchung
2015-01-30 16:13:57 -05:00
Roger Riggs
0854df7b86 8055330: (process spec) ProcessBuilder.start and Runtime.exec should throw UnsupportedOperationException on platforms that don't support
Clarify optional behavior and the exception thrown when not supported

Reviewed-by: dfuchs, martin
2015-01-30 16:13:04 -05:00
Brian Burkhalter
2a8d5c46e1 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Throw IllegalArgumentException if the channel parameter is null

Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Mikael Auno
2f12527848 8071908: Port internal Diagnostic Command tests and test framework to jtreg
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:00:57 +01:00
Mikael Auno
353ca5002c 8071909: Port testlibrary improvments in jdk/test to hotspot/test as required for DCMD test port
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:20:11 +01:00
Yumin Qi
07acd9a05e Merge 2015-01-30 10:52:25 -08:00
Brian Burkhalter
c2fe1ca470 8067669: Documentation for methods in Number incomplete regarding too large values
Remove statments about rounding and truncation from the *Valud() methods

Reviewed-by: rriggs, darcy, alundblad
2015-01-30 10:23:45 -08:00
Roland Westrelin
43bcdf4017 8071533: assert(n0->is_Call()) failed: expect a call here
Remove_dead_region() call missing from ArrayCopyNode::Ideal()

Reviewed-by: kvn, vlivanov
2015-01-30 15:23:41 +01:00
Pavel Chistyakov
fb0bdf6a4b 8068003: compiler/whitebox/DeoptimizeFramesTest.java fails: compilation 48 can't be available
Disabled DeoptimizeALot for test runs

Reviewed-by: kvn
2015-01-30 20:45:18 +03:00
Zoltan Majo
a25fe37e17 8072398: assert fails in L1RGenerator::increment_event_counter_impl
Change scaling code to allow scaling with 0.0; change set_tiered_flags() to treat CompileThresholdScaling==0.0 in a special way.

Reviewed-by: kvn, iveresov
2015-02-06 18:16:55 +01:00
Attila Szegedi
73d940848b 8072000: New compiler warning after JDK-8067139
Reviewed-by: hannesw, sundar
2015-01-30 15:03:56 +01:00
Goetz Lindenmaier
d4d8ef4585 8071996: split_if accesses NULL region of ConstraintCast
Reviewed-by: kvn
2015-01-30 12:53:56 +01:00
Albert Noll
18ccddbb82 Merge 2015-02-03 09:56:21 +00:00
Albert Noll
c5bb133c68 8068440: Test6857159.java times out
Replace shell script with Java-only code

Reviewed-by: kvn, iignatyev
2015-02-03 10:30:16 +01:00
Dean Long
0682d29b8f 8069030: support new PTRACE_GETREGSET
Use PTRACE_GETREGSET if other options are not available

Reviewed-by: sla, dholmes
2015-02-02 23:26:33 -05:00
Tobias Hartmann
2b99947be1 Merge 2015-02-02 14:35:24 +00:00
Tobias Hartmann
87ac24f1e2 8071995: compiler/codecache/jmx/InitialAndMaxUsageTest.java fails with large pages
Disable large page usage for test.

Reviewed-by: kvn
2015-02-02 15:19:24 +01:00
Dean Long
5b196d9525 Merge 2015-01-31 02:42:13 -05:00
Vladimir Kozlov
1e85e321f9 8071534: assert(!failing()) failed: Must not have pending failure. Reason is: out of memory
Add missing C->failing() check after Connection graph construction.

Reviewed-by: iveresov
2015-01-30 10:27:50 -08:00
Albert Noll
8a42e92446 Merge 2015-01-30 15:36:29 +00:00
Albert Noll
5e8a30526d Merge 2015-01-30 14:35:37 +00:00
Albert Noll
a32f9adb0f 8071906: Quarantine OverloadCompileQueueTest until the reason for timeout is known
Quarantine OverloadCompileQueueTest until the reason for timeout is known

Reviewed-by: kvn
2015-01-30 15:20:45 +01:00
Tobias Hartmann
7d34206cdb Merge 2015-01-30 13:31:54 +00:00
Shobhit Gupta
7c658a7610 8068301: [TEST_BUG] Test javax/swing/JColorChooser/Test4177735.java fails with ArrayIndexOutOfBoundsException with GTKL&F
Reviewed-by: alexsch, azvegint
2015-01-30 13:27:33 +03:00
Zoltan Majo
883d349e17 8071818: Incorrect addressing mode used for ldf in SPARC assembler
Update MacroAssembler::ldf to select addressing mode depending on Address parameter.

Reviewed-by: kvn, dlong
2015-01-30 10:40:08 +01:00
Katja Kantserova
8563f899e6 8071784: serviceability/attach/AttachWithStalePidFile.java should be quarantined
Reviewed-by: sla, jbachorik
2015-01-30 09:32:23 +01:00
Katja Kantserova
45a6ed8315 8068613: Wrong number of objects pending finalization start
Repeat until expected result, instead of fail after sleep()

Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d 8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Joe Darcy
51e2269c61 8071959: java.lang.Object uses implicit default constructor
Reviewed-by: lancea
2015-01-29 16:16:35 -08:00
Lana Steuck
f94cbb0286 Merge 2015-01-29 15:36:59 -08:00
Lana Steuck
160c7e3cac Merge 2015-01-29 15:36:29 -08:00
Lana Steuck
6fa0aa7e15 Merge 2015-01-29 15:36:21 -08:00
Lana Steuck
a580d7fb6a Merge 2015-01-29 15:36:12 -08:00
Lana Steuck
ce0c1fcc34 Merge 2015-01-29 15:35:29 -08:00
Lana Steuck
9853c62a2b Merge 2015-01-29 15:35:04 -08:00
Lana Steuck
9e3b5cf489 Merge 2015-01-29 15:34:46 -08:00
Joe Darcy
0841b6a90e 8071434: doc updates for java.lang.Object
Reviewed-by: rriggs
2015-01-29 15:14:44 -08:00
Christian Tornqvist
62166e9f59 8071584: [TESTBUG] runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation
Reviewed-by: dholmes, gtriantafill, jprovino
2015-01-29 14:50:43 -08:00
Brent Christian
76ace03a9e 8068578: test/java/io/Serializable/subclassGC/SubclassGC.java assumes app class loader is a URLClassLoader
Reviewed-by: alanb
2015-01-29 14:49:15 -08:00
Jonathan Gibbons
6b95a91213 8071617: move pathToURLs from javac.file.Locations to javadoc.DocletInvoker
Reviewed-by: ksrini
2015-01-29 14:43:19 -08:00
Chris Hegarty
60fdd0dceb 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows
Reviewed-by: alanb, igerasim
2015-01-29 20:45:30 +00:00
Coleen Phillimore
d57245dcbb 8049632: JDK 1.8.0 b132 :Linux x64 : Crash in ClassFileParser::copy_localvariable_table(..)
Use resource allocated hashtable for local variable table checking

Reviewed-by: kamg, sspitsyn
2015-01-29 14:37:14 -05:00
Vladimir Ivanov
55d14bca62 8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
2015-01-29 10:29:49 -08:00
Vladimir Ivanov
676ea83240 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Reviewed-by: jrose
2015-01-29 10:29:43 -08:00
Vladimir Ivanov
bfc5193fe7 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact
Reviewed-by: jrose, plevart, forax
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
06305c456b 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
efd80ec6af 8068915: uncommon trap w/ Reason_speculate_class_check causes performance regression due to continuous deoptimizations
Reviewed-by: kvn, roland, jrose
2015-01-29 10:26:02 -08:00
Vladimir Ivanov
7227e9ba53 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:25:59 -08:00
Zoltan Majo
49282c3927 8071654: disassembler handles embedded OOPs not uniformly
Remove (currently dead) code that prints oops within disassembled instructions.

Reviewed-by: kvn, thartmann, roland
2015-01-29 19:16:47 +01:00
Phil Race
8717474863 8071710: [solaris] libfontmanager should be linked against headless awt library
Reviewed-by: ihse, erikj
2015-01-29 09:34:05 -08:00
Rob McKenna
57d42b897c 8067680: (sctp) Possible race initializing native IDs
Reviewed-by: chegar, rriggs
2015-01-29 14:59:42 +00:00
Serguei Spitsyn
8be0bb5458 8008678: JSR 292: constant pool reconstitution must support pseudo strings
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.

Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Shobhit Gupta
8dd67e7459 8068292: [TEST_BUG] Test javax/swing/JLayer/6824395/bug6824395.java fails with -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Reviewed-by: alexsch, azvegint
2015-01-29 14:03:23 +03:00
Frank Yuan
4590abcd51 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
Reviewed-by: lancea, joehw
2015-01-28 22:49:58 -08:00
Kim Barrett
1a1ddd0d4b 8068942: Improve validation of -XX:G1ConfidencePercent value
Validate during argument processing and simplify usage by assuming validated.

Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05:00
Claes Redestad
155c09ca6b 8069273: Decrease Hot Card Cache Lock contention
Reviewed-by: tschatzl, mgerdin
2015-01-29 15:05:25 +01:00
Yumin Qi
3f9b8313e3 Merge 2015-01-29 03:54:45 +00:00
Yumin Qi
49d48d3c4a Merge 2015-01-29 03:54:44 +00:00
Yumin Qi
14006687ea Merge 2015-01-29 01:13:14 +00:00
Yumin Qi
d843d8fd70 Merge 2015-01-29 01:13:14 +00:00
David Katleman
a35131edd7 Added tag jdk9-b48 for changeset 5f1e4deb8d30 2015-01-28 16:45:51 -08:00
David Katleman
b2b80fa1f7 Added tag jdk9-b48 for changeset 6e2e298c50f1 2015-01-28 16:45:50 -08:00
David Katleman
bdd8a4a4b9 Added tag jdk9-b48 for changeset 6d99e9b8dbe5 2015-01-28 16:45:45 -08:00
David Katleman
fa86b94fe6 Added tag jdk9-b48 for changeset a5c172165b3b 2015-01-28 16:45:40 -08:00
David Katleman
971b575c25 Added tag jdk9-b48 for changeset 5da8936a1a2c 2015-01-28 16:45:37 -08:00
David Katleman
a29d6a494d Added tag jdk9-b48 for changeset adf10d73e78b 2015-01-28 16:45:35 -08:00
David Katleman
93198a3c0c Added tag jdk9-b48 for changeset bb8de1967725 2015-01-28 16:45:33 -08:00
David Katleman
99089c5210 Added tag jdk9-b48 for changeset f4f2bb7513e4 2015-01-28 16:45:32 -08:00
Frank Yuan
f1948ccbb5 8052401: JAXP function gap tests conversion
Reviewed-by: lancea, joehw
2015-01-28 15:07:12 -08:00
Attila Szegedi
d09ec5b3e1 8067139: Finally blocks inlined incorrectly
Reviewed-by: hannesw, lagergren
2015-01-28 17:58:08 +01:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
David Dehaven
8a1e007ca8 Merge 2015-01-28 08:14:18 -08:00
David Dehaven
c0190983ad Merge 2015-01-28 08:14:14 -08:00
Erik Joelsson
7cd26c0c6e 8071781: Bootcycle build fails on macosx
Reviewed-by: ihse
2015-01-28 15:45:00 +01:00
Erik Joelsson
d60c8e9ea6 8071651: infinite build loops in 9-dev windows platform on Jan 26
Reviewed-by: alanb, ihse
2015-01-28 14:04:05 +01:00
Dmitry Samersoff
f5b35f790c 8042397: tmtools/jmap/heap_config/jmap_heap_config_OldSize fails
Rewrite the test to jtreg

Reviewed-by: ykantser, jbachorik
2015-01-28 04:56:00 -08:00
Katja Kantserova
f6d01b3697 8071545: Tests are still excluded while the appropriate bug has been fixed
Reviewed-by: sspitsyn, sla
2015-01-28 09:27:49 +01:00
Katja Kantserova
04d8bf6c33 8071582: com/sun/jdi/GetLocalVariables4Test.sh should be quarantined
Reviewed-by: sspitsyn, sla
2015-01-28 09:23:41 +01:00
Tobias Hartmann
ad9c86bc97 8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34
Aligning code heap sizes to large page size if supported.

Reviewed-by: kvn, anoll
2015-01-28 07:55:27 +01:00
Joe Wang
54b2d15c94 8054196: XPath: support any type
Reviewed-by: alanb, lancea, dfuchs
2015-01-27 22:01:46 -08:00
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Yumin Qi
3bbda04f98 Merge 2015-01-27 20:02:35 -08:00
Mandy Chung
5035f5b1d4 8068937: jdeps shows "not found" if target class has no reference other than its own package
Reviewed-by: alanb
2015-01-27 19:50:41 -08:00
Sonali Goel
a67e9f2d36 8068463: Group 10c: golden files for tests in tools/javac dir
Reviewed-by: jjg, mcimadamore
2015-01-27 15:11:57 -08:00
Andrew Haley
610bd6ba34 8071688: AARCH64: SIGSEGV in MethodData::next_data(ProfileData*)
Apply the fix for 8039975 to the AArch64 sources.

Reviewed-by: kvn, roland
2015-01-27 20:49:11 +01:00
Dean Long
fb0b5b0159 Merge 2015-01-27 13:58:55 -05:00
Joseph Provino
3bd08574dc 8064947: Clean up BarrierSet ctor/dtor
Make abstract base call contructors protected and require a "kind" argument.

Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Alejandro Murillo
9c766e26d8 Merge 2015-01-27 10:11:23 -08:00
Alejandro Murillo
1f33087085 Merge 2015-01-27 10:11:22 -08:00
Alejandro Murillo
bccf30e6e7 Merge 2015-01-27 10:11:22 -08:00
David Dehaven
ce3df66ec2 Merge 2015-01-27 09:32:45 -08:00
David Dehaven
b80c23b28f Merge 2015-01-27 09:32:37 -08:00
Christian Tornqvist
fa47cc3e21 8071530: Update OS detection code to reflect Windows 10 version change
Reviewed-by: sla, mgronlun
2015-01-27 05:51:00 -08:00
Weijun Wang
873b88dcc9 8022582: Relax response flags checking in sun.security.krb5.KrbKdcRep.check
Reviewed-by: mullan
2015-01-27 18:16:27 +08:00
Masayoshi Okutsu
f6262c1abc 8065178: test/java/util/ResourceBundle/Bug6287579.java needs update for per language package support
Reviewed-by: naoto, peytoia
2015-01-27 12:59:45 +09:00
Brian Burkhalter
3e68a8af37 8069269: (spec) Defect in the System.nanoTime spec
Change the description of how to compare two nanoTime values.

Reviewed-by: martin
2015-01-26 17:16:57 -08:00
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -08:00
Alejandro Murillo
71a6555ee3 Merge 2015-01-26 17:00:39 -08:00
Alejandro Murillo
a7ed773b2d Merge 2015-01-26 17:00:38 -08:00
Serguei Spitsyn
4326ee324a 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined

Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08:00
Serguei Spitsyn
3de0140a88 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Enable the test: java/lang/instrument/IsModifiableClassAgent.java

Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -08:00
Ed Nevill
9682ac5e3a 8071563: AARCH64 staging fail to build
Fixed build problem after merge 8064457 changes.

Reviewed-by: kvn, goetz
2015-01-26 09:50:48 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Paul Sandoz
318a438643 8032513: The Spliterator characteristics CONCURRENT and IMMUTABLE are mutually exclusive
Reviewed-by: chegar, lancea, dfuchs
2015-01-26 17:06:00 +00:00
Pavel Chistyakov
fb6e6379b0 8069125: compiler/codecache/stress tests timeout in nightlies
Added timeout between one of test threads iterations, adjusted hole test execution time

Reviewed-by: kvn
2015-01-26 19:01:50 +03:00
Pavel Chistyakov
28c5919585 8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage
Disable background compilation

Reviewed-by: kvn
2015-01-26 18:59:09 +03:00
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Erik Joelsson
50ce50d7bb 8071550: SetupJavaComilation EXCLUDE/INCLUDE/EXCLUDE_FILE do not work on META-INF files
Reviewed-by: ihse
2015-01-26 16:25:26 +01:00
Weijun Wang
6a34176e9c 8071562: TimestampCheck.java change removes a whitespace between command and args
Reviewed-by: alanb
2015-01-26 21:55:05 +08:00
Chris Hegarty
9e40bd4ad1 8071424: JCK test api/java_net/Socket/descriptions.html#Bind crashes on Windows
Reviewed-by: alanb
2015-01-26 13:46:08 +00:00
Sergey Bylokhov
deeb4faa80 8069015: Re-examine Solaris/Linux java.desktop dependency on java.logging
Reviewed-by: azvegint, ant
2015-01-26 16:32:47 +03:00
Katja Kantserova
1d41a44b78 8071324: com/sun/jdi/ConnectedVMs.java should be quarantined
Reviewed-by: sla
2015-01-26 13:50:53 +01:00
Artem Smotrakov
1eeff6da6e 8049171: Additional tests for jarsigner's warnings
Reviewed-by: weijun
2015-01-26 18:13:42 +08:00
Zoltan Majo
1da8218179 8071312: compiler/arguments/CheckCompileThresholdScaling.java fails
Change the way VM handles CompileThresholdScaling==0, update test

Reviewed-by: kvn, drchase, fzhinkin
2015-01-26 10:43:42 +01:00
Alexander Zvegintsev
cfe8daa596 8071483: Possible case-folding collision for color/Color subdirectories of jdk/test/java/awt/
Reviewed-by: rriggs, serb
2015-01-26 12:37:20 +03:00
Aleksei Efimov
bed1fc268d 8046817: JDK 8 schemagen tool does not generate xsd files for enum types
Reviewed-by: joehw, mkos
2015-01-26 12:36:37 +03:00
Aleksei Efimov
30de4935c7 8046817: JDK 8 schemagen tool does not generate xsd files for enum types
Reviewed-by: joehw, mkos
2015-01-26 12:36:32 +03:00
Erik Joelsson
5a030d7b75 8069261: Create make dependencies on make variable values
Reviewed-by: ihse
2015-01-26 10:29:11 +01:00
Erik Joelsson
995835697d 8069261: Create make dependencies on make variable values
Reviewed-by: ihse
2015-01-26 10:28:53 +01:00
Aleksei Efimov
b2ed5c17b7 8062923: XSL: Run-time internal error in 'substring()'
8062924: XSL: wrong answer from substring() function

Reviewed-by: joehw
2015-01-26 12:25:27 +03:00
Erik Joelsson
4f8c2c5896 8055190: Cleanup include and exclude of core-libs native libraries after source code restructure
Reviewed-by: alanb
2015-01-26 10:24:25 +01:00
Aleksei Efimov
73a00f6b2f 8062923: XSL: Run-time internal error in 'substring()'
8062924: XSL: wrong answer from substring() function

Reviewed-by: joehw
2015-01-26 12:17:59 +03:00
Mattias Tobiasson
04474d85c1 8044419: TEST_BUG: com/sun/jdi/JdbReadTwiceTest.sh fails when run under root
Reviewed-by: dsamersoff, sla
2015-01-26 08:52:46 +01:00
Weijun Wang
ddba00b834 8055045: StringIndexOutOfBoundsException while reading krb5.conf
Reviewed-by: mullan
2015-01-26 09:29:29 +08:00
Phil Race
fda56d3c54 8064833: [macosx] Native font lookup uses family+style, not full name/postscript name
Reviewed-by: bae, serb
2015-01-25 15:53:46 -08:00
Lana Steuck
f37ca1ae24 Merge 2015-01-24 23:24:33 -08:00
Lana Steuck
9138e3128e Merge 2015-01-24 23:24:13 -08:00
Lana Steuck
6bb8df0081 Merge 2015-01-24 23:23:25 -08:00
Lana Steuck
e4a553ffe4 Merge 2015-01-24 23:23:06 -08:00
Lana Steuck
d68b4cc815 Merge 2015-01-24 23:22:26 -08:00
Lana Steuck
b0f3afc66f Merge 2015-01-24 23:22:16 -08:00
Dean Long
b7eaaba943 8031064: build_vm_def.sh not working correctly for new build cross compile
Move nm and awk code into vm.make

Reviewed-by: dsamersoff, dholmes
2015-01-23 22:39:24 -05:00
David Katleman
063091c9a6 Added tag jdk9-b47 for changeset 73d6633dcfd7 2015-01-23 18:50:52 -08:00
David Katleman
a7ecc9231b Added tag jdk9-b47 for changeset 422ba63d8dda 2015-01-23 18:50:51 -08:00
David Katleman
548150fa8a Added tag jdk9-b47 for changeset 0b4c78ff36f3 2015-01-23 18:50:48 -08:00
David Katleman
834ad6ab06 Added tag jdk9-b47 for changeset c9c4b9563018 2015-01-23 18:50:47 -08:00
David Katleman
839ec3c2b6 Added tag jdk9-b47 for changeset dd8e62bad498 2015-01-23 18:50:46 -08:00
David Katleman
ed2cf04195 Added tag jdk9-b47 for changeset da1a0970667a 2015-01-23 18:50:44 -08:00
David Katleman
9150f5e5cc Added tag jdk9-b47 for changeset c54bf921b2ce 2015-01-23 18:50:44 -08:00
David Katleman
5f9dfc294a Added tag jdk9-b47 for changeset 19cacc520105 2015-01-23 18:50:43 -08:00
Bradford Wetmore
2a29bb3be6 8069038: javax/net/ssl/TLS/TLSClientPropertyTest.java needs to be updated for JDK-8061210
Reviewed-by: xuelei, mullan
2015-01-23 10:31:15 -08:00
Amy Lu
1059b1665d 8069262: Doclint regression in java.nio.channels.Channels
Reviewed-by: darcy
2015-01-23 16:16:39 +00:00
Sean Coffey
0d7e8b7cf1 8065994: HTTP Tunnel connection to NTLM proxy reauthenticates instead of using keep-alive
Reviewed-by: chegar
2015-01-23 15:03:47 +00:00
Jan Lahoda
edc2052f33 8069254: Warning issued despite @SafeVarargs annotation on constructor
The Symbol created for diamond inference does not have annotations attached - need to look for @SafeVarargs on the underlying constructor's Symbol.

Reviewed-by: mcimadamore
2015-01-23 15:14:53 +01:00
Alexander Kulyakthin
167de7ae02 8067945: SVC jdk/test/* should be cleaned from JRE layout dependency
Reviewed-by: sla
2015-01-23 14:20:52 +01:00
Konstantin Shefov
e70362baba 6933879: URISyntaxException when non-alphanumeric characters are present in scope_id
Reviewed-by: chegar
2015-01-23 15:42:06 +03:00
Ivan Gerasimov
af3db6d31a 8067748: (process) Child is terminated when parent's console is closed [win]
Reviewed-by: alanb
2015-01-23 13:57:02 +03:00
Sergey Bylokhov
d34b9b430c 7185221: [macosx] Regtest should not throw exception if a suitable display mode found
Reviewed-by: azvegint, ant
2015-01-23 13:47:46 +03:00
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Alejandro Murillo
bbd13b5561 Merge 2015-01-22 22:42:31 -08:00
Alejandro Murillo
e64118276a Merge 2015-01-22 22:42:30 -08:00
Jamil Nimeh
3d738985d7 8044860: Vectors and fixed length fields should be verified for allowed sizes
Reviewed-by: xuelei
2015-01-22 20:19:42 -08:00
Weijun Wang
d5c853c088 8071313: krb5.conf not read if SCDynamicStore krb5 config is empty
Reviewed-by: mullan
2015-01-23 09:22:14 +08:00
Dean Long
d0ba166069 Merge 2015-01-22 18:23:57 -05:00
Dean Long
eb08f7cb70 Merge 2015-01-22 18:23:54 -05:00
Mandy Chung
aca4e46572 8069414: Rename oracle.accessbridge to jdk.accessbridge
Reviewed-by: alanb, ptbrunet, erikj
2015-01-22 13:49:53 -08:00
Mandy Chung
b90c35c4cc 8069414: Rename oracle.accessbridge to jdk.accessbridge
Reviewed-by: alanb, ptbrunet, erikj
2015-01-22 13:40:29 -08:00
Igor Veresov
82cedcaad3 Merge 2015-01-22 21:02:24 +00:00
Xueming Shen
27f201deb8 8037394: ZipFileSystem leaks file descriptor when file is not a valid zip file
To close the leaking channel as suggested

Reviewed-by: alanb
2015-01-22 12:24:35 -08:00
Igor Veresov
903cbcb4df 8071302: assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo], def)) failed: after block local
Add merge nodes to node to block mapping

Reviewed-by: kvn, vlivanov
2015-01-22 11:25:23 -08:00
Xueming Shen
c692f0d9eb 8069211: (zipfs) ZipFileSystem creates corrupted zip if entry output stream gets closed more than once
To synchronize the write and close methods of the entry output stream

Reviewed-by: alanb
2015-01-22 08:51:45 -08:00
Mikhail Cherkasov
00949632cd 8065709: Deadlock in awt/logging apparently introduced by 8019623
Reviewed-by: ant, serb
2015-01-22 17:42:17 +04:00
Vinnie Ryan
d80497254d 8069155: The value of 'KeyStore Type' isn't 'jks'
Reviewed-by: xuelei
2015-01-22 12:33:05 +00:00
Jesper Wilhelmsson
2d461b2a76 Merge 2015-01-22 12:26:26 +01:00
Jesper Wilhelmsson
ed183aea22 Merge 2015-01-22 12:26:25 +01:00
Nils Eliasson
a43e328b4a 8069035: compiler/oracle/CheckCompileCommandOption.java nightly failure
Fixed whitespace handling and added test cases

Reviewed-by: kvn, anoll, zmajo
2015-01-22 11:23:13 +01:00
Nils Eliasson
01ec695002 8069389: CompilerOracle prefix wildcarding is broken for long strings
Replace strcpy with memmove

Reviewed-by: kvn
2015-01-22 11:05:14 +01:00
Srikanth Adayapalam
25c0dd9958 8071310: Tests missing for checkin for JDK-8046977
Reviewed-by: jlahoda
2015-01-22 09:50:03 +01:00
Tobias Hartmann
21e2e5ffc0 8069580: String intrinsic related cleanups
Small cleanup of string intrinsic related code.

Reviewed-by: kvn, roland
2015-01-22 09:07:41 +01:00
Andrew Haley
b6546c2b92 8069593: Changes to JavaThread::_thread_state must use acquire and release
Reviewed-by: kvn, dlong
2015-01-21 14:38:48 -08:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
David Dehaven
de2c792b35 Merge 2015-01-21 12:00:07 -08:00
David Dehaven
c185d7e8d4 Merge 2015-01-21 12:00:04 -08:00
Kim Barrett
826e1b9739 8069230: Remove unused G1PostBarrierStub::byte_map_base and friends
Reviewed-by: brutisso, tschatzl
2015-01-21 19:36:18 +01:00
Lance Andersen
16cb5bbca2 8068732: Adding Initial RowSet tests
Reviewed-by: joehw
2015-01-21 13:19:08 -05:00
Joel Borggrén-Franck
4b78cb3eb7 8070507: LambdaLambdaSerialized can fail in -agentvm mode
Reviewed-by: mcimadamore
2015-01-21 19:02:20 +01:00
Sergey Bylokhov
c604e674ee 7056797: The test failed automatically,because throw a ArrayIndexOutOfBoundsException
Reviewed-by: azvegint, alexsch
2015-01-21 18:04:49 +03:00
Sergey Bylokhov
dedd4de23f 6459798: JDesktopPane,JFileChooser violate encapsulation by returning internal Dimensions
Reviewed-by: azvegint, alexsch
2015-01-21 17:54:35 +03:00
Katja Kantserova
8e93b53e3e 8069296: java/lang/management/MemoryMXBean/LowMemoryTest.java should be quarantined
Reviewed-by: sla
2015-01-21 15:06:31 +01:00
Zoltan Majo
e559c17954 8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level

Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Vladimir Kozlov
d81378c7ff Merge 2015-01-20 15:22:24 -08:00
Vladimir Kozlov
c18ded414f Merge 2015-01-20 15:22:10 -08:00
Michail Chernov
c15946fb1a 8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.

Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Srikanth Adayapalam
22e2343e57 8046977: ClassCastException: typing information needed for method reference bridging not preserved
Reviewed-by: mcimadamore
2015-01-20 21:49:55 +01:00
Andrew Haley
117205a41f 8068053: AARCH64: C1 and C2 compilers
Add src/cpu/aarch64/vm/* C1 and C2 files

Reviewed-by: kvn, roland
2015-01-20 12:47:43 -08:00
Andrew Haley
9c458decf5 8068054: AARCH64: Assembler interpreter, shared runtime
Add src/cpu/aarch64/vm/* interpreter, shared runtime files.

Reviewed-by: kvn, roland, coleenp, twisti
2015-01-20 11:34:17 -08:00
David Dehaven
a011738cac Merge 2015-01-20 11:23:03 -08:00
Alejandro Murillo
946b0de6db Merge 2015-01-20 10:22:44 -08:00
Alejandro Murillo
5aea4e6239 Merge 2015-01-20 10:22:43 -08:00
Anton Nashatyrev
84db836cfc 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
Reviewed-by: ant, kizune
2015-01-20 19:26:14 +03:00
Sergey Bylokhov
6d309ec560 6515713: example in JFormattedTextField API docs instantiates abstract class
Reviewed-by: azvegint, alexsch
2015-01-20 17:01:18 +03:00
Lev Priima
a84794e3d6 8068795: HttpServer missing tailing space for some response codes
Reviewed-by: chegar
2015-01-20 13:56:01 +00:00
Felix Yang
c06b7a8915 8061448: Cleanup sun/misc/JarIndex tests to remove the check for the jre directory
Reviewed-by: chegar
2015-01-20 13:49:28 +00:00
Erik Joelsson
e1bfe8762e 8067479: verify-modules fails in bootcycle build
Reviewed-by: dholmes, sla
2015-01-20 13:56:57 +01:00
Erik Joelsson
a9158e0f40 8067479: verify-modules fails in bootcycle build
Reviewed-by: ihse, dholmes
2015-01-20 13:56:35 +01:00
Attila Szegedi
bf990aa813 8068603: ScriptObjectMirror should reject null/empty string/non-string parameters in Bindings methods
Reviewed-by: hannesw, sundar
2015-01-20 12:34:21 +01:00
Jan Lahoda
8944d18416 8069094: SuppressWarnings(\"deprecation\") not respected on default clause on annotation declarations
Properly deferring warnings that are reported during entering of annotation's default value.

Reviewed-by: mcimadamore
2015-01-20 12:00:25 +01:00
Srikanth Adayapalam
671f90ddc7 8052070: javac crashes when there are duplicated type parameters
Avoid eager completion of ClassSymbol while type parameters are being processed.

Reviewed-by: jlahoda, mcimadamore
2015-01-20 09:51:17 +01:00
Zoltan Majo
3d814126c2 8069162: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java
Added '@ignore 8069160' to the test.

Reviewed-by: anoll, kvn
2015-01-20 09:45:11 +01:00
Filipp Zhinkin
1249ca93f9 8069126: compiler/rtm/locking/TestRTMTotalCountIncrRate.java nightly failure
Reviewed-by: kvn
2015-01-20 11:26:20 +03:00
Igor Veresov
aca3a19f56 8068881: SIGBUS in C2 compiled method weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory$SimulatedWsdlDefinitions.<init>
Use MachMerge to hook together defs of the same multidef value in a block

Reviewed-by: kvn, vlivanov
2015-01-19 12:29:50 -08:00
Maurizio Cimadamore
ca4dba303f 8069229: new .java file with no copyright notice
Add missing copyright header

Reviewed-by: jlahoda
2015-01-19 18:29:45 +00:00
Ivan Gerasimov
a7cd12f10a 8067951: System.loadLibrary cannot find library when path contains quoted entry
Reviewed-by: sherman, rriggs, alanb
2015-01-19 19:12:11 +03:00
Attila Szegedi
a8f4ccaa9d 8067880: Dead typed push methods in ArrayData
Reviewed-by: hannesw, jlaskey
2015-01-19 16:07:16 +01:00
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Vladimir Ivanov
30035ee76f Merge 2015-01-19 14:14:05 +00:00
Tobias Hartmann
e40b9593ca Merge 2015-01-19 11:35:45 +00:00
Stefan Johansson
3a11c1d75c 8069011: gc/TestSmallHeap.java failing in nightly
Using @requires to avoid running with AggressiveOpts turned on.

Reviewed-by: jwilhelm, brutisso
2015-01-19 10:08:07 +01:00
Stefan Johansson
d508c520f0 8040935: -XX:+AggressiveOpts broken: GC triggered before VM initialization completed on several tests
Reviewed-by: brutisso, kbarrett
2015-01-19 10:06:14 +01:00
Ivan Gerasimov
878f630fe0 8069048: (process) Suspend finishing threads when process exits [win]
Reviewed-by: dholmes, dcubed
2015-01-19 11:35:15 +03:00
Zoltan Majo
eb5be4c2fe 8066312: Add new Node* Node::find_out(int opc) method
Added methods find_user_with() and has_user_with() for searching for a particular out type.

Reviewed-by: kvn, jrose
2015-01-19 09:32:40 +01:00
Erik Joelsson
bba288a91a 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
Reviewed-by: ihse, wetmore
2015-01-19 09:05:50 +01:00
Yumin Qi
6e46cdd7a6 Merge 2015-01-18 23:14:47 -08:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Yumin Qi
08c8e0bd31 Merge 2015-01-18 11:49:22 -08:00
Sergey Bylokhov
d4887f8b66 8066132: BufferedImage::getPropertyNames() always returns null
Reviewed-by: prr, flar
2015-01-17 20:53:35 +03:00
Robert Field
6c9d4861a9 8068488: Facilitate extension of the javac parser -- missing modifier
Reviewed-by: jjg
2015-01-16 20:03:30 -08:00
Joe Darcy
9800aaa84a 8060077: Class.toGenericString specification doesn't mention array types
Reviewed-by: psandoz, jfranck
2015-01-16 14:04:27 -08:00
Xueming Shen
f97da65885 8042262: Javadoc typo in java.util.Formatter
To fix the simple typo in java doc

Reviewed-by: rriggs, lancea
2015-01-16 13:46:39 -08:00
Kevin Walls
3d112a8dc3 8035938: Memory leak in JvmtiEnv::GetConstantPool
Reviewed-by: sspitsyn, dcubed
2015-01-16 21:28:02 +00:00
Lana Steuck
1cca9b046a Merge 2015-01-16 12:35:05 -08:00
Lana Steuck
6d6cd624ec Merge 2015-01-16 12:34:58 -08:00
Lana Steuck
a6f6f19835 Merge 2015-01-16 12:34:28 -08:00
Lana Steuck
1884df90bb Merge 2015-01-16 12:34:10 -08:00
Lana Steuck
147fa267a8 Merge 2015-01-16 12:33:47 -08:00
Lana Steuck
425872ded1 Merge 2015-01-16 12:33:36 -08:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Daniel D. Daugherty
4d1943a706 Merge 2015-02-06 10:44:57 -08:00
Sergey Bylokhov
328a306534 8056298: Separate java.awt.datatransfer from the desktop module
Reviewed-by: erikj, alanb, mchung, alexsch
2015-01-16 18:46:16 +03:00
Sergey Bylokhov
c93718e271 8056298: Separate java.awt.datatransfer from the desktop module
Reviewed-by: erikj, alanb, mchung, alexsch
2015-01-16 18:45:26 +03:00
Alexander Scherbatiy
49d1356783 8068040: [macosx] Combo box consuming ENTER key
Reviewed-by: serb, azvegint
2015-01-16 19:11:10 +04:00
Magnus Ihse Bursie
5e638e9c56 8069064: Various improvements and fixes in build system
Reviewed-by: erikj
2015-01-16 16:02:09 +01:00
Jan Lahoda
56c4de876e 8068517: Compiler may generate wrong InnerClasses attribute for static enum reference
Making sure enum's abstractness is resolved before writing InnerClasses entry about it.

Reviewed-by: mcimadamore
2015-01-16 14:47:25 +01:00
Erik Helin
759740976b 8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Axel Siebenborn
0520df8a92 8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Pavel Chistyakov
580e7ed3ed 8068234: java/lang/instrument/NativeMethodPrefixAgent.java is still in exclude list
Reviewed-by: kvn, iignatyev
2015-01-16 15:09:01 +03:00
Pavel Chistyakov
0b17d19f48 8068231: Several tests are still excluded
Reviewed-by: kvn, iignatyev
2015-01-16 15:08:20 +03:00
Dmitrij Pochepko
427f25366e 8068385: [TESTBUG] hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java sometimes fails(unstable behaviour)
Fixing unstable behaviour of 2 tests

Reviewed-by: iignatyev
2015-01-16 20:59:23 +04:00
Erik Joelsson
09d9213488 8069164: Fix langtools make build so that diagnostic framework can be used
Fix race condition between gensrc targets and output location of parseproperties task

Reviewed-by: erikj, jlahoda
2015-01-16 12:02:41 +00:00
Claes Redestad
31f50fcff9 8068736: Avoid synchronization on Executable/Field.declaredAnnotations
Reviewed-by: jfranck, psandoz
2015-01-16 12:41:36 +01:00
Alexander Zvegintsev
3622c75cbd 8061636: Fix for JDK-7079254 changes behavior of MouseListener, MouseMotionListener
Reviewed-by: alexsch, serb
2015-01-16 13:53:44 +03:00
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Dean Long
2bd7efd60e Merge 2015-01-16 05:02:11 -05:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Erik Joelsson
da5d03e784 8069041: Bootcycle builds do not work with sjavac
Reviewed-by: ihse
2015-01-16 10:15:54 +01:00
Jungwoo Ha
788b0d89f8 8061259: ParNew promotion failed is serialized on a lock
Reviewed-by: kbarrett, brutisso
2015-01-16 09:40:13 +01:00
Andrew Haley
781a793ed9 6584008: jvmtiStringPrimitiveCallback should not be invoked when string value is null
Reviewed-by: sla, sspitsyn
2015-01-16 09:15:22 +01:00
Alejandro Murillo
fd925c52da Merge 2015-01-15 19:23:49 -08:00
Alejandro Murillo
1062cfee7b Merge 2015-01-15 19:23:48 -08:00
Tristan Yan
120cde915b 8051563: Update JAXP functional tests
Reviewed-by: lancea, joehw
2015-01-15 19:10:56 -08:00
Joe Darcy
c0500545f7 8069127: Suppress deprecation warnings in jdk.deploy.osx module
Reviewed-by: wetmore, juh
2015-01-15 16:45:02 -08:00
Joe Darcy
163f2e001e 8067099: Add deprecation lint warning to build of jdk repository
Reviewed-by: erikj
2015-01-15 14:51:05 -08:00
Christian Tornqvist
4f3c9fccb7 8062961: [TESTBUG] Spurious timeout for runtime/ErrorHandling/ProblematicFrameTest
Reviewed-by: coleenp, gtriantafill
2015-01-15 14:10:49 -08:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
David Katleman
3a01ee0832 Added tag jdk9-b46 for changeset 167aecd0161e 2015-01-15 13:09:53 -08:00
David Katleman
1e645dd9dd Added tag jdk9-b46 for changeset 867b8b80696e 2015-01-15 13:09:52 -08:00
David Katleman
3e2e519ce8 Added tag jdk9-b46 for changeset 1548d75015bd 2015-01-15 13:09:48 -08:00
David Katleman
6472b680e1 Added tag jdk9-b46 for changeset 76ad1de0fd63 2015-01-15 13:09:43 -08:00
David Katleman
7c78550130 Added tag jdk9-b46 for changeset b037890ea772 2015-01-15 13:09:42 -08:00
David Katleman
17e982a08f Added tag jdk9-b46 for changeset a41296327b3d 2015-01-15 13:09:39 -08:00
David Katleman
af90d9fe8a Added tag jdk9-b46 for changeset 87aeabf7ffa2 2015-01-15 13:09:37 -08:00
David Katleman
9d14d4b1e7 Added tag jdk9-b46 for changeset 2602be4290e7 2015-01-15 13:09:36 -08:00
Dean Long
0b2476589a 8068927: AARCH64: better handling of aarch64- triples
Convert aarch64- to arm-, let upstream code do the work, then convert back to aarch64-

Reviewed-by: ihse
2015-01-15 15:12:38 -05:00
Andrew Haley
50c0c29004 8068055: AARCH64: os_cpu
Add src/os_cpu/linux_aarch64/vm/* files

Reviewed-by: kvn, roland, dholmes
2015-01-15 11:17:47 -08:00
Artem Smotrakov
f46b3d442f 8059009: LDAPCertStore fails to retrieve CRL after LDAP server closes idle connection
Reviewed-by: vinnie
2015-01-15 17:57:52 +00:00
Chris Hegarty
00b2f7005d 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
Reviewed-by: alanb, chegar
2015-01-15 17:05:06 +00:00
Maurizio Cimadamore
484ca4753c 8069069: Build failure because of dependency on generated file
Make build spuriously fails to build property classes

Reviewed-by: jlahoda
2015-01-15 16:24:25 +00:00
Erik Joelsson
1310f9142f 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:52:10 +01:00
Erik Joelsson
6f19ee9717 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:36:24 +01:00
Michail Chernov
cd582fa380 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.

Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04:00
Goetz Lindenmaier
71d4cfb1ad 8068026: [TESTBUG] Check for -client in gc/g1/TestHumongousCodeCacheRoots.java
Skip test if -client is not supported.

Reviewed-by: jwilhelm, simonis
2015-01-15 16:05:20 +01:00
Magnus Ihse Bursie
721b7a43be 8069057: Make sure configure is run by bash
Reviewed-by: erikj
2015-01-15 15:43:28 +01:00
Magnus Ihse Bursie
963ea242c9 8069063: More merge errors following JDK-8049367
Reviewed-by: erikj
2015-01-15 15:40:56 +01:00
Magnus Ihse Bursie
a278a118ee 8066769: Fix merge errors following JDK-8049367
Reviewed-by: erikj
2015-01-15 15:09:37 +01:00
Maurizio Cimadamore
82db21e08d 8068995: Cleanup method reference lookup code
Simplify method reference code lookup and generate better/more uniform diagnostics

Reviewed-by: vromero
2015-01-15 13:58:11 +00:00
Jesper Wilhelmsson
9a011ee40a Merge 2015-01-15 14:36:15 +01:00
Paul Sandoz
582c3c193b Merge 2015-01-15 12:43:14 +00:00
Dmitry Samersoff
1e02ce5071 Merge 2015-01-15 12:02:55 +00:00
Erik Joelsson
9ca8fd34f2 8068902: Solaris build fails with new 10u10 devkit
Reviewed-by: tbell
2015-01-15 12:09:04 +01:00
Chris Hegarty
7dccb4a74e 8061297: sun/reflect/CallerSensitive/CallerSensitiveFinder.java should use the JRT FileSystem
Reviewed-by: alanb, mchung, psandoz, xiaofeya
2015-01-15 10:56:24 +00:00
Zoltan Majo
9d6b3c1d71 8067374: Use %f instead of %g for LogCompilation output
Changed format string from %g to %f.

Reviewed-by: kvn
2015-01-15 11:30:13 +01:00
Paul Sandoz
bfe8fc7433 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Stefan Johansson
6606238d9b 8067368: TestConcMarkCycleWB.java crashed at G1CollectedHeap::heap()+0xb
Added the test to needs_g1gc group in TEST.groups to avoid running when G1 is not available.

Reviewed-by: jwilhelm, dholmes
2015-01-15 11:10:03 +01:00
Athijegannathan Sundararajan
e7f1a050d3 8068985: Wrong 'this' bound to eval call within a function when caller's 'this' is a Java object
Reviewed-by: jlaskey, attila
2015-01-15 10:18:31 +05:30
Vladimir Kozlov
834ff91cc5 8068864: C2 failed: modified node is not on IGVN._worklist
Use igvn.replace_input_of() instead of set_req().

Reviewed-by: iveresov, vlivanov
2015-01-14 17:27:00 -08:00
Joe Darcy
1144804378 8068948: Update java.base module to use new try-with-resources statement
Reviewed-by: alanb, igerasim
2015-01-14 16:44:59 -08:00
Vladimir Kozlov
bdccde66c1 8069021: Exclude compiler/codecache/stress tests from JPRT runs
Reviewed-by: iveresov
2015-01-14 16:00:51 -08:00
Andrey Nazarov
fa39b2bbf2 8067437: New tests for mJRE feature removal
Reviewed-by: darcy, ksrini
2015-01-14 12:09:38 -08:00
Lev Priima
7882032236 8067471: Use private static final char[0] for empty Strings
Reviewed-by: igerasim, redestad, shade
2015-01-14 21:35:52 +03:00
Attila Szegedi
4935529d4d 8069002: NPE on invoking null (8068889 regression)
Reviewed-by: jlaskey, sundar
2015-01-14 18:25:01 +01:00
Dmitry Samersoff
4550ca8d71 Merge 2015-01-14 17:22:28 +00:00
Attila Szegedi
7090b1cdf5 8068994: Forgot to add a test model to JDK-8068573
Reviewed-by: lagergren, sundar
2015-01-14 16:29:39 +01:00
Erik Joelsson
a7a169d75f Merge 2015-01-14 15:25:13 +00:00
Vladimir Ivanov
8cfbe74d7c Merge 2015-01-14 15:13:39 +00:00
Dmitry Samersoff
885e6ddf67 7076820: assert(addr != 0) failed: address sanity check in PerfMemory::detach with -XX:-UsePerfData
Explicitly checks for UsePerfData and if it's false make Perf:detach a NOP.

Reviewed-by: dholmes, jbachorik
2015-01-14 07:10:53 -08:00
Erik Joelsson
530e7bd26f 8065576: Enable pipefail in the shell used by make to better detect build errors
Reviewed-by: ihse, tbell, martin
2015-01-14 16:03:59 +01:00
Erik Joelsson
92b1732031 8065576: Enable pipefail in the shell used by make to better detect build errors
Reviewed-by: ihse, tbell, martin
2015-01-14 15:57:59 +01:00
Attila Szegedi
242419de96 8068573: POJO setter using [] syntax throws an exception
Reviewed-by: lagergren, jlaskey
2015-01-14 15:54:18 +01:00
Mario Torre
1b65f85514 8067364: Printing to Postscript doesn't support dieresis
Fix regression caused by fix for 8023990

Co-authored-by: Philip Race <philip.race@oracle.com>
Reviewed-by: bae, prr
2015-01-14 14:52:39 +01:00
Harold Seigel
4e980350ca 8055146: Split Verifier incorrectly throws VerifyError for getstatic of an array field
Allow fieldClass for getstatic and putstatic to be an array

Reviewed-by: dholmes, acorn
2015-01-14 08:14:23 -05:00
Kim Barrett
77f22c1241 8068396: Rename assert() to vmassert()
Macro renaming, with temporary old name synonyms for compatibilty

Reviewed-by: ehelin, dholmes, coleenp
2015-01-13 14:30:53 -05:00
Jan Lahoda
1b90760ef4 8066843: Messager.printMessage cannot print multiple errors for same source position
Using a DiagnosticFlag to mark diagnostics that should be always printed even if multiple of them have the same source position.

Reviewed-by: darcy, jjg, mcimadamore
2015-01-13 19:13:42 +01:00
Alejandro Murillo
51fa4bbe69 Merge 2015-01-13 08:58:06 -08:00
Alejandro Murillo
07ff14a6d6 Merge 2015-01-13 08:58:06 -08:00
Attila Szegedi
b8092a1662 8068889: Calling a @FunctionalInterface from JS leaks internal objects
Reviewed-by: jlaskey, sundar
2015-01-13 16:38:29 +01:00
Matthias Baesken
21cd501d27 8069590: AIX port of "8050807: Better performing performance data handling"
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: simonis, goetz
2015-01-13 16:09:52 +01:00
Sergey Bylokhov
f825a8256e 6475361: Attempting to remove help menu from java.awt.MenuBar throws NullPointerException
Reviewed-by: azvegint, ant
2015-01-13 17:10:28 +03:00
Sergey Bylokhov
0dfb30c6f5 6459800: Some Swing classes violate encapsulation by returning internal Insets
Reviewed-by: azvegint, alexsch
2015-01-13 16:09:21 +03:00
Sergey Bylokhov
17cbc2efea 6573305: Animated icon is not visible by click on menu
Reviewed-by: azvegint, alexsch
2015-01-13 16:06:28 +03:00
Sergey Bylokhov
5fdc9c37ce 6338077: link back to self in javadoc JTextArea.replaceRange()
Reviewed-by: azvegint, alexsch
2015-01-13 16:04:22 +03:00
Johannes Scheerer
508b9a0a1f 8068739: G1CollectoryPolicy uses uninitialized field '_sigma' in the constructor
Change initialization order in constructor. Remove suppression for suppression of "'this': used in base member initializer list" warning.

Reviewed-by: mgerdin, tschatzl, simonis
2015-01-13 11:04:53 +01:00
Alexander Zvegintsev
bc24a0ce18 8068305: [TEST_BUG] Test java/awt/Mixing/HWDisappear.java fails with GTKL&F
Reviewed-by: alexsch, serb
2015-01-13 12:44:55 +03:00
Srikanth Adayapalam
2b3c75aa36 8027888: javac wrongly allows annotations in array-typed class literals
Compiler incorrectly accepts type annotations on array-typed class literals.

Reviewed-by: jlahoda, jfranck
2015-01-13 10:36:41 +01:00
Srikanth Adayapalam
5cb253a2e9 8068254: Method reference uses wrong qualifying type
Generated code fails with IllegalAccessError due to compiler's mishandling of packageprivate classes in method reference expressions.

Reviewed-by: rfield, mcimadamore
2015-01-13 10:32:19 +01:00
Srikanth Adayapalam
33a3e1add3 8037546: javac -parameters does not emit parameter names for lambda expressions
MethodParameters attribute is missing for synthetic methods encoding lambda expressions.

Reviewed-by: rfield, mcimadamore
2015-01-13 10:25:24 +01:00
Srikanth Adayapalam
1be81e358c 8062358: ClassCastException in TransTypes.visitApply
Incorrect handling of subtype relations involving lower bounded wildcard causes ClassCastException

Reviewed-by: vromero, dlsmith
2015-01-13 10:17:25 +01:00
Goetz Lindenmaier
8e2df5f543 8067941: [TESTBUG] Fix tests for OS with 64K page size
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7 8027829: CompileCommand does not accept all JLS-conformant class/method names
Fix parsing and updated comments

Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Phil Race
4998541111 Merge 2015-01-12 12:52:39 -08:00
Lana Steuck
84b4d93f6f Merge 2015-01-12 12:24:50 -08:00
Lana Steuck
2f8699112f Merge 2015-01-12 12:24:30 -08:00
Lana Steuck
b237c3a926 Merge 2015-01-12 12:24:14 -08:00
Lana Steuck
953a91d2d6 Merge 2015-01-12 12:24:03 -08:00
Lana Steuck
d02d97a197 Merge 2015-01-12 12:23:34 -08:00
Lana Steuck
6ba43b879b Merge 2015-01-12 12:23:24 -08:00
Joe Darcy
f13e619399 8055059: JDK9b22 public API exposes package private classes
Reviewed-by: serb, prr, alexsch
2015-01-12 11:46:43 -08:00
Calvin Cheung
9000f8c3c7 8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.

Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Joe Darcy
b5b236c2de 8006469: Cleanup reflective access of java.lang.annotation.Repeatable
Reviewed-by: jfranck
2015-01-12 09:19:06 -08:00
Pavel Chistyakov
5bd69d7ad4 8059551: JEP-JDK-8043304: Test task: stress tests
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Filipp Zhinkin
b850617243 8049355: compiler/rtm/locking/TestRTMLockingThreshold test may fail if transaction was aborted by interrupt
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:08 +03:00
Filipp Zhinkin
251b4df764 8059342: Add test to cover JDK-8030976
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:45 +03:00
Filipp Zhinkin
fc66edfd51 8068269: RTM tests that assert on non-zero lock statistics are too strict in RTMTotalCountIncrRate > 1 cases
Reviewed-by: kvn, iignatyev
2015-01-14 09:53:36 +03:00
Roland Westrelin
3e42c387f6 Merge 2015-01-12 15:50:30 +00:00
Stefan Johansson
7a8a19d1d9 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
Making sure committed memory is cleared when re-committed, even if using large pages.

Reviewed-by: kbarrett, tschatzl
2015-01-12 15:24:29 +01:00
Attila Szegedi
fb821c2f75 8068784: Halve the function object creation code size
Reviewed-by: hannesw, sundar
2015-01-12 14:32:32 +01:00
Sergey Bylokhov
98c8f60ec2 8068374: setAlignmentX, setAlignmentY, getAlignmentX, getAlignmentY javadoc of JComponent
Reviewed-by: azvegint, alexsch
2015-01-12 16:26:58 +03:00
Jesper Wilhelmsson
24a5a68bed Merge 2015-01-12 12:51:53 +01:00
Attila Szegedi
faf445e144 8068580: make JavaAdapterFactory.isAutoConvertibleFromFunction more robust
Reviewed-by: lagergren, sundar
2015-01-12 11:29:42 +01:00
Jaroslav Bachorik
6a4272d45c 8062450: Timeout in LowMemoryTest.java
Reviewed-by: dholmes
2015-01-12 11:01:23 +01:00
Zoltan Majo
b5909f6d03 8065894: CodeHeap::next_free should be renamed
Rename next_free() to next_used()

Reviewed-by: thartmann, iveresov
2015-01-12 09:55:20 +01:00
Martin Doerr
53821ffdfa 8068724: ppc64: update assembler: SPR access, CR logic, HTM
Fix bug in encoding of special purpose registers. Provide more convenient version of condition register logic instructions. Enhance support for hardware transactional memory.

Reviewed-by: kvn, goetz
2015-01-12 11:14:49 +01:00
Mattias Tobiasson
4e84bf1e93 8068584: Compiler attach tests should be quarantined
Quarantine tests

Reviewed-by: ctornqvi
2015-01-12 09:27:52 +01:00
Goetz Lindenmaier
2ffd52f306 8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
Reviewed-by: coleenp, sla
2015-01-12 09:16:06 +01:00
Christian Tornqvist
2c2593b757 8069207: [TESTBUG] Exception thrown for java.lang.NoSuchMethodError: sun.misc.Unsafe.monitorExit
Reviewed-by: gtriantafill, dholmes
2015-01-23 11:44:21 -08:00
Lois Foltan
5f8b5ceaee 8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.

Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Mikael Auno
971c121f3d 8068718: com/sun/jdi/CatchPatternTest.sh should be quarantined
Reviewed-by: jbachorik
2015-01-12 08:24:15 +01:00
Yumin Qi
a8ee05a956 Merge 2015-01-10 12:38:18 -08:00
Yumin Qi
d4fd7377f4 Merge 2015-01-10 12:35:44 -08:00
Jonathan Gibbons
01520ed2aa 8068759: ConstFoldTest fails on Windows
Reviewed-by: ksrini
2015-01-09 18:03:01 -08:00
Brian Burkhalter
4417397e26 4026465: Provide more byte array constructors for BigInteger
Add two's complement and sign-magnitude constructors for byte arrays with offset and length.

Reviewed-by: darcy, alanb, scolebourne
2015-01-09 17:27:28 -08:00
Dean Long
c041b882e3 8068746: Exclude hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java from nightly runs
Add @ignore to PoolsIndependenceTest.java

Reviewed-by: kvn
2015-01-09 17:43:02 -05:00
Jason Uh
dfb7eea15e 8046724: XML Signature ECKeyValue elements cannot be marshalled or unmarshalled
Reviewed-by: mullan
2015-01-09 11:58:34 -08:00
Dean Long
7002708d14 Merge 2015-01-09 13:28:02 -05:00
Christian Tornqvist
90c58f1cc9 8068733: [TESTBUG] runtime/Unsafe/Reallocate.java sometimes fails when running with -Xcomp
Reviewed-by: coleenp, gtriantafill
2015-01-09 08:34:32 -08:00
Kim Barrett
2a73208887 8067306: Improve STATIC_ASSERT
New improved implementation

Reviewed-by: ehelin, stefank
2015-01-09 11:33:48 -05:00
Magnus Ihse Bursie
0d39dab659 8068735: Configure fails on Windows if Visual Studio $LIB/$INCLUDE is lower case
Reviewed-by: erikj
2015-01-09 16:59:36 +01:00
Erik Joelsson
6d1426d546 8067060: build can still fail with spaces following -L on link lines
Reviewed-by: smarks, ihse
2015-01-09 16:54:17 +01:00
Srikanth Adayapalam
4eb573aa81 8067914: Redundant type cast nodes in AST (follow up from JDK-8043741)
Workaround for redundant (but harmless) synthetic cast generated in TransTypes

Reviewed-by: mcimadamore
2015-01-09 15:51:20 +00:00
Srikanth Adayapalam
7e499fd15b 8067429: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Bitset for alive variables contains info about variables out of range

Reviewed-by: mcimadamore
2015-01-09 15:50:22 +00:00
Srikanth Adayapalam
5de84c2836 8043741: VerifyError due to missing checkcast
Proto-type is not set correctly for NULLCHK synthetic trees

Reviewed-by: mcimadamore
2015-01-09 15:49:42 +00:00
Srikanth Adayapalam
0eb55d78b6 8066871: java.lang.VerifyError: Bad local variable type - local final String
BaseType() erroneously called on MethodResultInfo causes lack of constant type info

Reviewed-by: jlahoda, mcimadamore
2015-01-09 15:48:09 +00:00
Erik Joelsson
a96727e01d 8068726: Tab completion of targets fails when current dir is the output dir
Reviewed-by: ihse
2015-01-09 16:45:44 +01:00
Ingemar Aberg
11d6127f18 8067759: Create initial test bundle framework
Reviewed-by: ihse, erikj
2015-01-09 16:45:39 +01:00
Goetz Lindenmaier
1b1ac860df 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08:00
Albert Noll
b49c74e7fc Merge 2015-01-09 09:06:24 +00:00
Shanliang Jiang
696242cabe 8068591: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java should be quarantined
Reviewed-by: jbachorik
2015-01-09 09:55:00 +01:00
Albert Noll
dad0da797d 8068661: Exclude compiler/whitebox/ForceNMethodSweepTest.java from nightly runs
The test is unstable and is therefore removed from nightly testing

Reviewed-by: kvn, drchase
2015-01-09 09:52:00 +01:00
Zoltan Majo
8467a04feb 8068505: interpreter profiling incorrect on PPC64
Reviewed-by: simonis, goetz
2015-01-09 09:26:58 +01:00
Bengt Rutisson
24d3bb517b 8068653: TestSmalllHeap.java fails when the page size is 64k
Reviewed-by: tschatzl
2015-01-09 08:38:23 +01:00
Sonali Goel
274f997aee 8058373: Group 10a: golden files for tests in tools/javac dir
Reviewed-by: jjg, darcy
2015-01-08 22:01:20 -08:00
Alejandro Murillo
6d246a337a Merge 2015-01-08 17:11:49 -08:00
Alejandro Murillo
c74ecba112 Merge 2015-01-08 17:11:49 -08:00
Alejandro Murillo
beaa5640b1 Merge 2015-01-08 17:11:48 -08:00
Dean Long
4454981c00 Merge 2015-01-08 17:45:15 -05:00
Dean Long
f5750b67fd Merge 2015-01-08 17:45:10 -05:00
Dean Long
ffe65a50bf Merge 2015-01-08 17:45:08 -05:00
David Katleman
605541c13c Added tag jdk9-b45 for changeset 2261a52528ba 2015-01-08 12:08:33 -08:00
David Katleman
db04fe4518 Added tag jdk9-b45 for changeset 439ddf7e360f 2015-01-08 12:08:32 -08:00
David Katleman
b30e52891c Added tag jdk9-b45 for changeset 7cf8753380ea 2015-01-08 12:08:28 -08:00
David Katleman
97fea39420 Added tag jdk9-b45 for changeset 6eeedc4257ca 2015-01-08 12:08:26 -08:00
David Katleman
105bd9546f Added tag jdk9-b45 for changeset c0fc59caca88 2015-01-08 12:08:25 -08:00
David Katleman
e6f1e3d210 Added tag jdk9-b45 for changeset b1b945e3c9b1 2015-01-08 12:08:22 -08:00
David Katleman
d68db278e5 Added tag jdk9-b45 for changeset b66fb707bb53 2015-01-08 12:08:21 -08:00
David Katleman
fe28ef55f4 Added tag jdk9-b45 for changeset b3a4ba399911 2015-01-08 12:08:20 -08:00
Christian Tornqvist
c5853aabdd 8060219: [TESTBUG] runtime/7194254/Test7194254.java fails to find jstack with modular image build
Reviewed-by: gtriantafill, lfoltan, hseigel
2015-01-08 11:42:05 -08:00
Christian Tornqvist
6173a83d5d 8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08:00
Joe Darcy
d332437cae 6481080: (ann) @Deprecated annotation has no effect on packages
Reviewed-by: lancea, alanb, psandoz, abuckley
2015-01-08 10:06:45 -08:00
Mark Sheppard
d2bbef8dc7 8068597: Add error code to to exception condition message resulting from GetAdaptersAddresses function calls
Added error code to exception message thrown after a GetAdaptersAddresses call.

Reviewed-by: chegar
2015-01-08 20:00:14 +00:00
Jesper Wilhelmsson
7c43a226b4 Merge 2015-01-08 15:44:46 +01:00
Maurizio Cimadamore
56a33e4541 8058542: Devise scheme for better diagnostic creation
Add support for generating (at build-time) an enum-like class containing all javac diagnostics, which allows for safe diagnostic creation.

Reviewed-by: jlahoda, jjg, vromero, erikj, jfranck
2015-01-08 14:43:05 +00:00
Claes Redestad
8d30377d50 8068037: Remove dead code in G1CollectedHeap
Reviewed-by: stefank, tschatzl
2015-01-08 14:13:03 +01:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +00:00
Roland Westrelin
d2891a37e7 8027626: assert(Opcode() != Op_If || outcnt() == 2) failed: bad if #1
IGVN encounters IfNode with single projection when optimizing dying subgraph

Reviewed-by: kvn
2015-01-08 11:00:38 +01:00
Katja Kantserova
c6e4e649bb 8065226: sun/jvmstat/monitor/MonitoredVm/CR6672135.java should be quarantined
Reviewed-by: sla
2015-01-08 10:44:54 +01:00
Joe Darcy
5cb7065612 8068639: Make certain annotation classfile warnings opt-in
Reviewed-by: jjg
2015-01-07 17:06:47 -08:00
Brian Burkhalter
29fc16ebbe 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
Correct erroneous appending of zeroes and clean up code logic.

Reviewed-by: darcy, psandoz
2015-01-07 14:15:00 -08:00
Jamil Nimeh
c491b1ac4e 8058912: Broken link (access denied error) to http://www.rsasecurity.com in RC5ParameterSpec
Reviewed-by: xuelei, mullan
2015-01-07 09:32:41 -08:00
Bengt Rutisson
9fd9fffd10 Merge 2015-01-07 16:24:58 +00:00
Roland Westrelin
3b3dd985de 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2015-01-07 16:40:02 +01:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Bengt Rutisson
f96d05132d 8067868: Add GCOld as a JTreg test
Reviewed-by: kbarrett, dfazunen, ehelin
2015-01-07 15:02:33 +01:00
Bengt Rutisson
b8f42f53da 8067868: Add GCOld as a JTreg test
Reviewed-by: kbarrett, dfazunen, ehelin
2015-01-07 15:02:00 +01:00
Shanliang Jiang
ad629c161a 8068418: NotificationBufferDeadlockTest.java throw exception: java.lang.Exception: TEST FAILED: Deadlock detected
Reviewed-by: dholmes
2015-01-07 14:49:02 +01:00
Bengt Rutisson
5203f2c751 8067676: Add applicable closed gc jtreg tests to run in JPRT
Reviewed-by: ehelin
2015-01-07 10:19:00 +01:00
Bengt Rutisson
16f26a80d6 8067676: Add applicable closed gc jtreg tests to run in JPRT
Reviewed-by: ehelin
2015-01-07 10:17:45 +01:00
Athijegannathan Sundararajan
dc2d8b7e11 8068524: NashornScriptEngineFactory.getParameter() throws IAE for an unknown key, doesn't conform to the general spec
Reviewed-by: hannesw, attila
2015-01-07 14:02:30 +05:30
Goetz Lindenmaier
dd5f249290 8068503: ppc64: Encode/Decode nodes for disjoint cOops mode
Reviewed-by: simonis
2015-01-07 08:37:49 +01:00
Jiangli Zhou
ab5fb22cdb Merge 2015-01-14 16:35:58 -05:00
Jiangli Zhou
f3c99841f9 8067982: Some jcmd /gc/heap_dump tests failed: hprof output contains warning or error
Include shared symbols in SymbolTable::symbols_do(SymbolClosure).

Reviewed-by: minqi, farvidsson, coleenp
2015-01-14 16:35:00 -05:00
Zaiyao Liu
48d9e1f35e 8048607: Test key generation of DES and DESEDE
Reviewed-by: xuelei
2015-01-07 03:59:06 +00:00
George Triantafillou
f7241915b4 8068540: [TESTBUG] Exclude failing nightly tests
Reviewed-by: ctornqvi, coleenp
2015-01-06 16:44:53 -08:00
Severin Gehwolf
e13c212339 8067331: Zero: Atomic::xchg and Atomic::xchg_ptr need full memory barrier
Reviewed-by: dholmes, coleenp
2015-01-07 16:43:04 +01:00
Coleen Phillimore
27a1ed85b6 8067836: The Universe::flush_foo methods belong in CodeCache
Move this code to CodeCache.

Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
Jonathan Gibbons
e6ea1f0ff8 8059977: StandardJavaFileManager should support java.nio.file.Path
Reviewed-by: jlahoda
2015-01-06 14:51:10 -08:00
Maurizio Cimadamore
75b2a03bf9 8067883: Javac misses some opportunities for diagnostic simplification
Javac always report full inference diagnostic, even when message does not mention inference variables.

Reviewed-by: jlahoda
2015-01-06 15:46:41 +00:00
Alan Bateman
e9f8462593 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:58:24 +00:00
Alan Bateman
b43392d038 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:55:57 +00:00
Alan Bateman
4c103acfe9 8067867: Subsume module java.xml.soap into module java.xml.ws
Reviewed-by: mkos, mchung
2015-01-06 13:28:40 +00:00
Alan Bateman
35d7b6ffb8 8067867: Subsume module java.xml.soap into module java.xml.ws
Reviewed-by: mkos, mchung
2015-01-06 13:26:58 +00:00
Alan Bateman
03197242f1 8067867: Subsume module java.xml.soap into module java.xml.ws
Reviewed-by: mkos, mchung
2015-01-06 13:20:25 +00:00
Alan Bateman
8be0e1b5e3 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:19:04 +00:00
Athijegannathan Sundararajan
498b808fdd 8068462: javax.script.ScriptEngineFactory.getParameter spec is not completely consistent with the rest of the API
Reviewed-by: alanb, jlaskey
2015-01-06 18:22:09 +05:30
Claes Redestad
3a90ffa2ab 8068498: Remove constructor dependency on line.separator from PrintWriter and BufferedWriter
Reviewed-by: alanb, sherman
2015-01-06 06:49:52 +01:00
Srinivasan Raghavan
f080b654f5 8058793: Test sun/awt/datatransfer/DataFlavorComparatorTest.java fails with compilation error
Reviewed-by: alexsch, azvegint
2015-01-14 13:43:12 +03:00
Jason Uh
3793acecce 8059916: Change default criticality of policy mappings and policy constraints certificate extensions
Reviewed-by: mullan
2015-01-13 14:33:54 -08:00
Chris Hegarty
06e81aae83 8068599: Add mutability, serializability, and thread-safety, caveat to all Collectors that do not accept a Collection supplier
Reviewed-by: psandoz
2015-01-13 17:14:51 +00:00
Alejandro Murillo
800c634a8a Merge 2015-01-13 08:58:07 -08:00
Vladimir Ivanov
3b573293b8 8067344: Adjust java/lang/invoke/LFCaching/LFGarbageCollectedTest.java for recent changes in java.lang.invoke
Reviewed-by: psandoz
2015-01-13 07:57:51 -08:00
Shanliang Jiang
cf89eaf43d 8068774: CounterMonitorDeadlockTest.java timed out
Reviewed-by: jbachorik, dfuchs
2015-01-13 14:35:39 +01:00
Artem Smotrakov
e268dee361 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Coleen Phillimore
2b871d6987 6583051: crash when adding non-static methods to java.lang.Object class
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.

Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Vicente Romero
f6ed87ed5a 8064857: javac generates LVT entry with length 0 for local variable
Reviewed-by: mcimadamore, jjg
2015-01-05 17:35:48 -08:00
Mark Sheppard
65fa012667 8067151: [TESTBUG] com/sun/corba/5036554/TestCorbaBug.sh
Changed TESTJAVA to COMPILEJAVA for javac and idlj paths.

Reviewed-by: chegar
2015-01-05 23:53:05 +00:00
Phil Race
19292c73dd Merge 2015-01-05 13:30:23 -08:00
Goetz Lindenmaier
1c18aef92c 8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
Introduce compressed oops mode disjoint base and improve compressed heap handling.

Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Athijegannathan Sundararajan
3ad1d2a580 8068279: (typo in the spec) javax.script.ScriptEngineFactory.getLanguageName
Reviewed-by: jlaskey, alanb
2015-01-05 21:52:03 +05:30
Jesper Wilhelmsson
8575f889ee Merge 2015-01-05 15:00:30 +01:00
Athijegannathan Sundararajan
8ae9081136 8068431: @since and @jdk.Exported are missing in jdk.nashorn.api.scripting classes and package-info.java files
Reviewed-by: attila, lagergren
2015-01-05 16:02:56 +05:30
Chris Hegarty
916c818ec2 8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com>
Reviewed-by: alanb, prappo
2015-01-04 19:32:46 +00:00
Lana Steuck
239e6cacfc Merge 2015-01-01 16:14:01 -08:00
Lana Steuck
e84a970833 Merge 2015-01-01 16:11:49 -08:00
Lana Steuck
e160dc7858 Merge 2015-01-01 16:09:41 -08:00
Claes Redestad
60ed4f34b2 8028357: Unnecessary allocation in AliasFileParser
Reviewed-by: jbachorik
2014-12-31 15:03:16 +01:00
Valerie Peng
ac09164efa 8039921: SHA1WithDSA with key > 1024 bits not working
Removed the key size limits for all SHAXXXWithDSA signatures

Reviewed-by: weijun
2014-12-30 22:03:23 +00:00
Lana Steuck
a20b846cab Merge 2014-12-30 13:19:59 -08:00
Lana Steuck
ec6ff5dd1c Merge 2014-12-30 13:19:41 -08:00
Lana Steuck
3164dce0e0 Merge 2014-12-30 13:19:30 -08:00
Sergey Bylokhov
751fec124e 8056214: Stop including libjawt in libawt_xawt
Reviewed-by: ant, art, tbell
2014-12-30 22:13:53 +03:00
Brent Christian
fae6faa547 8068347: Add java/lang/ClassLoader/deadlock/GetResource.java to ProblemList.txt
Reviewed-by: chegar
2014-12-30 11:03:20 -08:00
Harold Seigel
5b8ee4c102 8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp
Use correct CHECK macro in call to load_class()

Reviewed-by: coleenp, lfoltan, gziemski
2014-12-30 12:59:20 -05:00
David Katleman
66cb1d6211 Added tag jdk9-b44 for changeset 1bb8bc01c120 2014-12-30 09:44:23 -08:00
David Katleman
e3fda43a86 Added tag jdk9-b44 for changeset 518c958a4dfa 2014-12-30 09:44:22 -08:00
David Katleman
19bd53c653 Added tag jdk9-b44 for changeset a912b7c7622f 2014-12-30 09:44:19 -08:00
David Katleman
fb51294681 Added tag jdk9-b44 for changeset 70e9e52aba53 2014-12-30 09:44:18 -08:00
David Katleman
0960e03a4d Added tag jdk9-b44 for changeset 4059d1f7c903 2014-12-30 09:44:17 -08:00
David Katleman
6dad4b1f6b Added tag jdk9-b44 for changeset 18f968ee632e 2014-12-30 09:44:15 -08:00
David Katleman
1b649e3374 Added tag jdk9-b44 for changeset 44060bbba6ce 2014-12-30 09:44:15 -08:00
David Katleman
0db94b39f6 Added tag jdk9-b44 for changeset 1206b8e2946d 2014-12-30 09:44:11 -08:00
Alexander Stepanov
c44a9b6cc4 8054358: move awt automated tests from AWT_Modality to OpenJDK repository - part 7
Reviewed-by: pchelko
2014-12-30 17:26:06 +04:00
Filipp Zhinkin
0cb9e3ec88 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:05:01 +03:00
Amanda Jiang
f0eb47ad67 8049021: Add smartcardio tests with APDU buffer
Add APDU buffer regression tests for smartcardio

Reviewed-by: valeriep
2014-12-30 01:02:25 +00:00
Felix Yang
519a6f9477 8066085: Need a sanity test for rmic -iiop
Reviewed-by: smarks
2014-12-29 15:24:54 -08:00
Ivan Gerasimov
bd3205c63e 8068338: Better message about incompatible zlib in Deflater.init
Reviewed-by: alanb, sherman
2014-12-30 00:11:00 +03:00
Jaroslav Bachorik
f096def67a 8068233: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java is still in exclude list
Reviewed-by: chegar, sspitsyn
2014-12-29 19:07:09 +01:00
Brian Burkhalter
cfcc0c431a 8064463: BigDecimal should populate NumberFormatException message
Populate all NumberFormatExceptions with appropriate messages.

Reviewed-by: alanb
2014-12-29 09:10:15 -08:00
Kumar Srinivasan
84949710d6 8066834: tools/pack200/CommandLineTests.java does not conform ProblemList.txt style
Reviewed-by: alanb
2014-12-29 07:42:28 -08:00
Kumar Srinivasan
0542ae2f13 8067889: 4 pack200 tests fail on mac since jdk became modular
Reviewed-by: alanb, chegar
2014-12-29 07:38:54 -08:00
Harold Seigel
16043e410a Merge 2014-12-27 13:27:07 -05:00
Harold Seigel
0efeffc5e2 Merge 2014-12-27 13:26:41 -05:00
Alexander Kulyakthin
53664dc976 8068242: Quarantine the test IsModifiableClassAgent.java
Quarantine the test

Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Lana Steuck
95dbb38fbe Merge 2014-12-25 19:46:17 -08:00
Lana Steuck
0e46853dd6 Merge 2014-12-25 19:45:11 -08:00
Lana Steuck
7da3e924e0 Merge 2014-12-25 19:44:49 -08:00
Sergey Bylokhov
70feca17ea 8068275: Some tests failed after JDK-8063104
Reviewed-by: azvegint, yan
2014-12-25 22:48:13 +03:00
Sergey Bylokhov
6a1f047a77 8067657: Dead/outdated links in Javadoc of package java.beans
Reviewed-by: azvegint, prr
2014-12-25 14:54:32 +03:00
Sergey Bylokhov
d5a220d673 7180976: Pending String deadlocks UIDefaults
Reviewed-by: azvegint, alexsch
2014-12-25 14:43:49 +03:00
Yumin Qi
c08e6d66cb Merge 2014-12-24 20:23:31 +00:00
Sonali Goel
11b1d2cdad 8054689: Split large SJavac.java test source into multiple files
Reviewed-by: jjg, jfranck
2014-12-24 11:17:51 -08:00
Igor Ignatyev
4480b4d8b4 Merge 2014-12-24 19:31:28 +03:00
Yumin Qi
13548bcc63 Merge 2014-12-23 19:04:23 -08:00
Stuart Marks
457488c158 8067316: TEST_BUG: update RMI test library with better test.timeout.factor handling
Reviewed-by: lancea
2014-12-23 16:58:06 -08:00
Vladimir Kozlov
0936c21af6 Merge 2014-12-23 16:42:48 -08:00
Lana Steuck
253948253b Merge 2014-12-23 13:58:34 -08:00
Lana Steuck
7f05a39aac Merge 2014-12-23 13:58:01 -08:00
Lana Steuck
c3df76a96c Merge 2014-12-23 13:57:53 -08:00
Lana Steuck
469570c4be Merge 2014-12-23 13:57:28 -08:00
Lana Steuck
f64e617cac Merge 2014-12-23 13:57:26 -08:00
Lana Steuck
7a405e93eb Merge 2014-12-23 13:56:51 -08:00
Phil Race
6ada61f007 Merge 2014-12-23 13:34:20 -08:00
Brian Burkhalter
89ee032790 8067964: Native2ascii doesn't close one of the streams it opens
Change sun.tools.native2ascii.Main.convert() to use try-with-resources; also clean up code formatting.

Reviewed-by: chegar
2014-12-23 12:40:06 -08:00
Alejandro Murillo
45a55f064e Merge 2014-12-23 11:06:13 -08:00
Brian Burkhalter
0062f27c96 8030090: (fs) Add default methods to Path for derived methods
Use method bodies from sun.nio.fs.AbstractPath as default method implementations in Path.

Reviewed-by: alanb
2014-12-23 10:09:52 -08:00
Vinnie Ryan
befd7d1c25 8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
2014-12-23 16:30:57 +00:00
Amanda Jiang
9589fd31c1 8065420: Eliminate internal API dependency from java/net/ResponseCache/ResponseCacheTest.java
Reviewed-by: chegar
2014-12-23 15:10:15 +00:00
Jesper Wilhelmsson
a2b3cf3583 Merge 2014-12-23 14:03:15 +01:00
Valerie Peng
fa447efe14 8049312: AES/CICO test failed with on several modes
Fixed error in calculating data sizes when using feedback modes

Reviewed-by: xuelei
2014-12-23 02:58:15 +00:00
Valerie Peng
2f10f1d200 8043349: Consider adding aliases for Ucrypto algorithm-only Cipher transformations
Add alias RSA and AES for RSA/ECB/PKCS1Padding and AES/ECB/PKCS5Padding.

Reviewed-by: wetmore
2014-12-23 02:36:48 +00:00
Vladimir Kozlov
832167be7f 8067985: merging hs-comp to hs blocked by some tests not updated in 8054892
Reviewed-by: iveresov
2014-12-22 14:35:40 -08:00
Vladimir Kozlov
1bda5768f3 8067972: Bring changes made to WhiteBox.java in 8047290 to that file new location in the top repo
Reviewed-by: jcoomes
2014-12-22 11:19:30 -08:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Vladimir Kozlov
d0fe2e1ed5 Merge 2014-12-22 10:39:37 -08:00
Jesper Wilhelmsson
79439ff560 8067947: Regression test for JDK-6522873
Added a regression test that will fail if we allow extra characters after flag names

Reviewed-by: ctornqvi, tschatzl
2014-12-22 17:33:29 +01:00
Thomas Schatzl
52a4823950 8068018: Clean up friends of G1CollectedHeap
Remove unnecessary friend class declaration in the G1CollectedHeap class.

Reviewed-by: jwilhelm, jmasa
2014-12-23 15:48:32 +01:00
Phil Race
22f59ce99e Merge 2014-12-20 10:11:14 -08:00
Yumin Qi
5e2fcdcda0 Merge 2014-12-19 22:58:32 -08:00
Yumin Qi
ef9d3aa2a7 Merge 2014-12-19 22:52:02 -08:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Vladimir Ivanov
5fd1e54fc1 8067338: compiler/debug/TraceIterativeGVN.java segfaults
Reviewed-by: kvn
2014-12-19 16:42:40 -08:00
Joel Borggrén-Franck
9196ed684d 8061472: String.format in DeferredAttr.DeferredTypeMap constructor leads to excessive object creation
Reviewed-by: mcimadamore, vromero
2014-12-19 21:07:53 +01:00
Volker Simonis
f36d8eb8f3 8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639
Reviewed-by: goetz
2014-12-19 18:33:55 +01:00
Katja Kantserova
f1e461b61e 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2014-12-19 13:13:11 +01:00
Lana Steuck
6253fc4127 Added tag jdk9-b43 for changeset b74f34ddea43 2014-12-18 19:57:57 -08:00
Lana Steuck
8edd68a854 Added tag jdk9-b43 for changeset 592c5d3be509 2014-12-18 19:57:56 -08:00
Lana Steuck
d90d57cd11 Added tag jdk9-b43 for changeset 52310706ed47 2014-12-18 19:57:52 -08:00
Lana Steuck
d62d10cb78 Added tag jdk9-b43 for changeset 1eddc8b954d5 2014-12-18 19:57:51 -08:00
Lana Steuck
16817fe94b Added tag jdk9-b43 for changeset f5f19fe0e83b 2014-12-18 19:57:51 -08:00
Lana Steuck
cce553e64c Added tag jdk9-b43 for changeset c12e49897c5a 2014-12-18 19:57:49 -08:00
Lana Steuck
9605b3ca96 Added tag jdk9-b43 for changeset f323111baaa9 2014-12-18 19:57:48 -08:00
Lana Steuck
35fec5bd09 Added tag jdk9-b43 for changeset 2d5bf96c8f17 2014-12-18 19:57:47 -08:00
Lance Andersen
ddcbf61389 8067904: Additional DriverManager clean-up from 8060068
Reviewed-by: mchung
2014-12-18 18:51:28 -05:00
Mandy Chung
ec11dd0153 8067898: Disable verify-modules until JDK-8067479 is resolved
Reviewed-by: ksrini
2014-12-18 13:56:46 -08:00
Coleen Phillimore
feb09bc118 8067713: Move clean_weak_method_links for redefinition out of class unloading
Do this work during class redefinition, only verify clean during class unloading in debug mode.

Reviewed-by: sspitsyn, roland, kbarrett
2014-12-18 16:15:21 -05:00
Kim Barrett
57198d2b63 8067499: G1SATBCardTableModRefBS should not inherit from CardTableModRefBSForCTRS
G1SATBCardTableModRefBS inherits from CardTableModRefBS

Reviewed-by: mgerdin, brutisso, tschatzl
2014-12-18 13:26:37 -05:00
Jesper Wilhelmsson
12797a11c0 Merge 2014-12-22 17:40:46 +00:00
Thomas Schatzl
d530b1da99 8068036: assert(is_available(index)) failed in G1 cset
Some verification code iterated over the heap using the region mapping array. This is not allowed. Changed to use the regular iteration method with closure.

Reviewed-by: jwilhelm, brutisso
2014-12-22 16:49:24 +01:00
Thomas Schatzl
1be86b3412 8060025: Object copy time regressions after JDK-8031323 and JDK-8057536
Evaluate and improve object copy time by micro-optimizations and splitting out slow and fast paths aggressively.

Co-authored-by: Tony Printezis <tprintezis@twitter.com>
Reviewed-by: kbarrett, mgerdin, jmasa
2014-12-19 09:21:06 +01:00
Pavel Rappo
69df2fa9e5 8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Volker Simonis
97f5022f02 8067865: Changes 8066780/8066782 broke the non-PCH build
Reviewed-by: kvn
2014-12-18 16:53:13 +01:00
Goetz Lindenmaier
e176c66ae5 8067823: CheckCompileThresholdScaling.java throws RuntimeException
Reviewed-by: kvn, iignatyev
2014-12-19 16:42:16 +01:00
Jesper Wilhelmsson
1584f4cfc2 Merge 2014-12-18 16:15:49 +01:00
Jesper Wilhelmsson
dfc952b138 Merge 2014-12-18 16:15:49 +01:00
Maurizio Cimadamore
c269c9451b 8066974: Compiler doesn't infer method's generic type information in lambda body
Add loghic to avoid post-inference triggers on temporarty AST types

Reviewed-by: jlahoda, vromero
2014-12-18 13:21:44 +00:00
Attila Szegedi
88c5d41ddc 8067774: Use a stack of types when calculating local variable types
Reviewed-by: lagergren, sundar
2014-12-18 12:10:10 +01:00
Athijegannathan Sundararajan
ae38f75625 8067854: bound java static method throws NPE when 'null' is used for this argument
Reviewed-by: attila, hannesw
2014-12-18 16:33:33 +05:30
Jiangli Zhou
de70286a0a Merge 2014-12-18 04:56:27 +00:00
Jiangli Zhou
b0ad035af4 8059510: Compact symbol table layout inside shared archive
Use separate compact table for shared symbols.

Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Kim Barrett
093d2698fc 8066827: Remove ReferenceProcessor::clean_up_discovered_references()
Abandon rather than clean up discovered references.

Reviewed-by: jmasa, ysr
2014-12-17 22:32:44 -05:00
Bengt Rutisson
c40b1dd803 Merge 2014-12-18 13:30:00 +00:00
Bengt Rutisson
d418f56e60 8067873: gc/TestSmallHeap.java does not compile
Reviewed-by: mgerdin, jwilhelm
2014-12-18 13:37:02 +01:00
Thomas Schatzl
c079059456 Merge 2014-12-18 11:23:18 +00:00
Thomas Schatzl
f2e110fe77 8067469: G1 ignores AlwaysPreTouch
Factor out pretouch code of the various virtual space management classes and use them everywhere including in G1.

Reviewed-by: stefank, ehelin, dholmes
2014-12-18 09:37:02 +01:00
Mandy Chung
f8731d01ac 8067829: Remove setting -bootclasspath $(JDK_OUTPUTDIR)/classes from Javadoc.gmk
Reviewed-by: erikj
2014-12-17 16:36:21 -08:00
Felix Yang
d215225740 8061442: Update jdk/tools tests to remove check for the "jre" directory
Reviewed-by: alanb, ksrini
2014-12-17 13:41:49 -08:00
Robert Field
f4ab205b3f 8067384: Facilitate extension of the javac parser
Reviewed-by: jjg
2014-12-17 12:48:04 -08:00
Mandy Chung
d57a134a2b 8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
Reviewed-by: alanb, hseigel
2014-12-17 12:29:27 -08:00
Mandy Chung
cf23b1ea4b 8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
Reviewed-by: alanb, hseigel
2014-12-17 12:29:20 -08:00
Maynard Johnson
675f6c191d 8049716: PPC64: Implement SA on Linux/PPC64
Reviewed-by: simonis, dsamersoff
2014-12-17 18:20:10 +01:00
Derek White
12273757f7 8061611: Remove deprecated command line flags
Reviewed-by: jwilhelm, brutisso
2014-12-17 18:09:24 +01:00
Maurizio Cimadamore
41070244c9 8067792: Javac crashes in finder mode with nested implicit lambdas
Revert tree changes occurred in Attr before running the analyzer

Reviewed-by: jlahoda
2014-12-17 16:47:56 +00:00
Alexander Scherbatiy
e047f11b3b 4796987: XP Only JButton.setBorderPainted() does not work with XP L&F
Reviewed-by: serb
2014-12-17 17:56:11 +03:00
Pavel Rappo
024e2c06d7 8066642: Fix deprecation warnings in jdk.naming module
Reviewed-by: alanb, chegar
2014-12-17 13:03:29 +00:00
Alexander Scherbatiy
1409c46772 6219960: null reference in ToolTipManager
Reviewed-by: serb, azvegint
2014-12-17 14:58:58 +03:00
Jan Lahoda
627ce960f5 8067422: Lambda method names are unnecessarily unstable
Lambda method numbers are now assigned per class for non-serializable lambdas.

Reviewed-by: mcimadamore, rfield
2014-12-17 12:49:57 +01:00
Athijegannathan Sundararajan
d6ea52ffc7 8067777: NetBeans nashorn debug target is broken. Nashorn source directory config. is wrong
Reviewed-by: lagergren, attila
2014-12-17 17:15:14 +05:30
Igor Ignatyev
58f0841a56 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by: kvn
2014-12-17 12:21:28 +03:00
Bengt Rutisson
eec8524e84 8067438: Add test to verify minimal heap size
Reviewed-by: dfazunen, ehelin
2014-12-17 09:47:14 +01:00
Valerie Peng
66ed69c8ba Merge 2014-12-17 00:19:28 +00:00
Kumar Srinivasan
f8fe49013d 8067421: java -help contains information about "-version:",'-jre-restrict-search', '-no-jre-restrict-search', but they are removed
8067411: tools/launcher/MultipleJRE.sh requires adjustments to work with module boundaries
8067290: Missing bug id in test/tools/launcher/*

Reviewed-by: darcy
2014-12-16 16:02:56 -08:00
Max Ockner
51bda75a8f 8064319: Need to enable -XX:+TraceExceptions in release builds
"-XX:+TraceExceptions" is now supported in product builds.

Reviewed-by: sla, ccheung, coleenp
2014-12-16 19:00:24 -05:00
Valerie Peng
dbe2f1349f Merge 2014-12-16 22:33:43 +00:00
Stuart Marks
9e2cda5c02 8035117: TEST_BUG: java/rmi/server/RemoteObject/notExtending/NotExtending.java can fail with timeout
Reviewed-by: lancea
2014-12-16 13:45:20 -08:00
Alejandro Murillo
346b210c83 Merge 2014-12-16 13:10:34 -08:00
Aleksei Efimov
2a50c5f3c4 8051641: Africa/Casablanca transitions is incorrectly calculated starting from 2027
Reviewed-by: sherman
2014-12-16 23:59:57 +03:00
Naoto Sato
9cb99ee080 8062588: Support java.util.spi.*, java.text.spi.*, java.awt.im.spi loaded from classpath
Reviewed-by: alanb
2014-12-16 12:48:31 -08:00
Joe Darcy
e9e0b591dc 8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module
Reviewed-by: valeriep
2014-12-16 11:49:37 -08:00
Sergey Bylokhov
020e01bb92 8065373: [macosx] jdk8, jdk7u60 Regression in Graphics2D drawing of derived Fonts
Reviewed-by: bae, prr
2014-12-16 19:46:22 +00:00
Roland Westrelin
5494b45a7a 8067647: [TESTBUG] compiler/rangechecks/TestRangeCheckSmearing.java uses wrong path to Whitebox API
Whitebox test library was moved

Reviewed-by: kvn
2014-12-16 20:09:29 +01:00
Joe Darcy
41844a4b8c 8067091: Fix Windows-specific deprecation warnings in the jdk.crypto.mscapi module
Reviewed-by: vinnie
2014-12-16 11:05:12 -08:00
Phil Race
95079baa3f Merge 2014-12-16 10:09:22 -08:00
Joe Darcy
0204a1cd9c 8067086: Suppress mac-specific deprecation warnings in the java.desktop module
Reviewed-by: prr
2014-12-16 10:09:01 -08:00
Phil Race
84ddb56140 Merge 2014-12-16 09:58:02 -08:00
Joe Darcy
31ae349097 8067092: Suppress windows-specific deprecation warnings in the java.desktop module
Reviewed-by: prr, alanb
2014-12-16 09:57:33 -08:00
Phil Race
fd64998f9d Merge 2014-12-16 09:51:17 -08:00
Sergey Bylokhov
05705c949e 7077826: Unset and empty DISPLAY variable is handled differently by JDK
Reviewed-by: azvegint, ant
2014-12-16 20:23:46 +03:00
Daniel Fuchs
e580eec37c 8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible
This test use the jrt:/ file system to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.

Reviewed-by: coffeys, dholmes, plevart
2014-12-16 17:32:56 +01:00
Sergey Bylokhov
d2295af274 6470361: Swing's Threading Policy example does not compile
Reviewed-by: azvegint, alexsch
2014-12-16 19:26:06 +03:00
Phil Race
020063e1f4 Merge 2014-12-16 08:14:50 -08:00
Hannes Wallnöfer
36816b6c0a 8066226: Fuzzing bug: parameter counts differ in TypeConverterFactory
Reviewed-by: attila, sundar
2014-12-16 17:02:54 +01:00
Maurizio Cimadamore
eb3798a14a 8067663: Add bugId to tests that have been modified as part of JDK-8064365
Add missing bug id to modified tests

Reviewed-by: jlahoda
2014-12-16 13:44:22 +00:00
Roland Westrelin
2e82794bfa 6700100: optimize inline_native_clone() for small objects with exact klass
Optimize small instance clones as loads/stores

Reviewed-by: kvn, iveresov
2014-12-16 13:49:36 +01:00
Roland Westrelin
186ca57447 8055530: assert(_exits.control()->is_top() || !_gvn.type(ret_phi)->empty()) failed: return value must be well defined
Concurrent class loading causes return phi to become top

Reviewed-by: kvn
2014-12-22 11:21:20 +01:00
Filipp Zhinkin
add1e857d7 8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
Reviewed-by: kvn, iignatyev
2014-12-30 11:09:42 +03:00
Filipp Zhinkin
398f9958d6 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:07:49 +03:00
Dmitrij Pochepko
ea23edb88a 8059625: JEP-JDK-8043304: Test task: DTrace- tests for segmented codecache feature
Reviewed-by: sspitsyn, twisti, fzhinkin, iignatyev
2014-12-25 15:57:38 +03:00
Pavel Chistyakov
583d750b3d 8066497: Update c.o.j.t.ByteCodeLoader to be able really reload given class
Reviewed-by: drchase, fzhinkin, iignatyev
2014-12-26 14:47:35 +03:00
Filipp Zhinkin
f70b5b2e9c 8059623: JEP-JDK-8043304: Test task: command line options tests
Reviewed-by: twisti, thartmann, goetz, iignatyev
2014-12-26 14:33:23 +03:00
Filipp Zhinkin
80613b8656 8068183: Add isTieredSupported method to c.o.j.t.Platforms
Reviewed-by: kvn, iignatyev
2014-12-24 19:32:13 +03:00
Evgeniya Stepanova
2e085fa4b3 8066864: remove ctw-test from testlibrary/
Reviewed-by: kvn, iignatyev
2014-12-23 12:40:13 +03:00
Tatiana Pivovarova
c9213782f3 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-16 17:26:42 +03:00
Pavel Chistyakov
5ed29142e5 8066896: Update c.o.j.t.InfiniteLoop to skip zero timeout
Reviewed-by: kvn, iignatyev
2014-12-23 16:36:44 +03:00
Tatiana Pivovarova
df2b7b1934 8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build
Reviewed-by: kvn, fzhinkin, iignatyev
2014-12-19 14:12:22 +03:00
Pavel Rappo
a21f0f99a9 8066867: Add InputStream transferTo to transfer content to an OutputStream
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Patrick Reinhart <patrick@reini.net>
Reviewed-by: chegar
2014-12-16 12:43:36 +00:00
Evgeniya Stepanova
29f7c15af9 8054892: Improve compiler's CLI tests error reporting
Reviewed-by: roland, twisti
2014-12-16 14:52:57 +03:00
Igor Ignatyev
e71ea0c5a9 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by: kvn
2014-12-16 17:56:24 +03:00
Erik Helin
ccc800dedb 8067452: Rename hotspot_all in hotspot/test/TEST.groups
Reviewed-by: dholmes, ctornqvi, iignatyev
2014-12-16 12:52:04 +01:00
Athijegannathan Sundararajan
f73717b021 8067636: ant javadoc target is broken
Reviewed-by: hannesw, lagergren
2014-12-16 14:06:32 +05:30
Staffan Friberg
9827fe02ea 8067289: Fix deprecation warnings in java.base module - CRC32C
To remove the deprecation warning in CRC32C class

Reviewed-by: darcy
2014-12-16 04:58:34 +00:00
Stuart Marks
7d8f013196 8067631: hgforest.sh mishandles arguments with spaces
Reviewed-by: chegar
2014-12-15 17:49:56 -08:00
Erik Helin
8ecec7ff2c 8067442: Tests using -Xshare:dump does not work with 'make test'
Reviewed-by: erikj, dholmes
2014-12-16 12:53:25 +01:00
Andreas Lundblad
f158033fda 8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
Trims whitespace of arguments in OptionOnly, OptionPair and OptionTrip.

Reviewed-by: erikj
2014-12-16 11:28:34 +01:00
Joe Darcy
6e57ed8a2c 8066621: Suppress deprecation warnings in java.desktop module
Reviewed-by: prr, alanb, ptbrunet
2014-12-15 17:20:17 -08:00
Jesper Wilhelmsson
3e9edcd457 Merge 2014-12-16 02:14:03 +01:00
Dmitrij Pochepko
57ac8bbd17 8065279: Remove testlibrary_tests from compact profile in jtreg
Reviewed-by: kvn
2014-12-16 02:14:11 +03:00
Tatiana Pivovarova
561c9140d8 8067211: rewrite Utils::fileAsString
Reviewed-by: kvn
2014-12-16 02:13:13 +03:00
Roger Riggs
ce6c1fa0fa 8067486: Add diagnostics for Exception: Read from closed pipe hang
Reviewed-by: lancea
2014-12-15 17:36:20 -05:00
Tristan Yan
a78b9855a8 8065673: XML Test Colo: Add test build system for JAXP tests
Reviewed-by: alanb, joehw
2014-12-15 13:09:39 -08:00
Brian Burkhalter
871abc48e4 8025619: (fc) FileInputStream.getChannel on closed stream returns FileChannel that doesn't know that stream is closed
If the stream is closed ensure getChannel() returns a closed channel. Also, FileKey.create() should throw an IOException directly instead of wrapping it in an Error.

Reviewed-by: alanb
2014-12-15 12:09:49 -08:00
Tristan Yan
629b26bb72 8065673: XML Test Colo: Add test build system for JAXP tests
Reviewed-by: alanb, joehw
2014-12-15 11:32:05 -08:00
Mandy Chung
7167a27a1f 8067360: verify-modules target was dropped in jdk9 b41
Reviewed-by: alanb, erikj
2014-12-15 10:29:54 -08:00
Mandy Chung
12c05a89f5 8067360: verify-modules target was dropped in jdk9 b41
Reviewed-by: alanb, erikj
2014-12-15 10:29:41 -08:00
Shanliang Jiang
c85244cab9 8067241: DeadlockTest.java failed with negative timeout value
Reviewed-by: dfuchs, sspitsyn
2014-12-15 19:21:59 +01:00
Albert Noll
e67d581ae9 Merge 2014-12-15 08:53:07 -08:00
Alexander Scherbatiy
d517ee7ec8 8067441: Some tests fails with error: cannot find symbol getSystemMnemonicKeyCodes()
Reviewed-by: serb, azvegint
2014-12-15 19:21:00 +03:00
Filipp Zhinkin
df6c67eeeb 8066143: [TESTBUG] New tests in gc/survivorAlignment/ fails
Reviewed-by: jmasa
2014-12-15 18:11:51 +04:00
Alexander Zvegintsev
fb226280bb 7155963: Deadlock in SystemFlavorMap.getFlavorsForNative and SunToolkit.awtLock
Reviewed-by: ant, serb
2014-12-15 16:00:53 +03:00
Hannes Wallnöfer
49252804f2 8062030: Nashorn bug retrieving array property after key string concatenation
Reviewed-by: sundar, lagergren, attila
2014-12-15 12:32:34 +01:00
Hannes Wallnöfer
b7637531a9 8066215: Fuzzing bug: length valueOf bug
Reviewed-by: attila, lagergren
2014-12-15 12:08:36 +01:00
Athijegannathan Sundararajan
05bf0c5a45 8067420: BrowserJSObjectLinker should give priority to beans linker for property get/set
Reviewed-by: lagergren, attila, hannesw
2014-12-15 16:30:45 +05:30
Severin Gehwolf
396b5aa20f 8067231: Zero builds fails after JDK-6898462
Interpreter::remove_activation_entry() is not defined for the C++ interpreter

Reviewed-by: roland, coleenp
2014-12-15 09:36:46 +01:00
Yasumasa Suenaga
bd3ea105b9 8059586: hs_err report should treat redirected core pattern
Reviewed-by: dholmes, sla, stuefe
2014-12-14 20:18:17 -05:00
Yumin Qi
8382195614 Merge 2014-12-14 23:03:00 +00:00
Yumin Qi
c4978df7aa Merge 2014-12-14 23:03:00 +00:00
Coleen Phillimore
2a7612efba Merge 2014-12-14 21:20:26 +00:00
Coleen Phillimore
f486fa7c1e 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:04:03 -05:00
Coleen Phillimore
ecc9f19dc9 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:02:46 -05:00
Amy Lu
3b60f51758 8067112: Update java/util/Collections/EmptyIterator.java to eliminate dependency on sun.tools.java
Reviewed-by: chegar, prappo
2014-12-13 20:22:21 +00:00
Dmitrij Pochepko
5325eb9993 8067295: Need to port Utils chagnes from JDK-8066440 into jdk workspace
Reviewed-by: fzhinkin, iignatyev
2014-12-13 22:14:34 +03:00
Yumin Qi
32d6037fb4 Merge 2014-12-12 20:51:03 -08:00
Yumin Qi
e4961abb71 Merge 2014-12-12 20:49:14 -08:00
Pavel Chistyakov
ca033e9cde 8066473: Port timeout utils from jdk test library into hotspot
Reviewed-by: kvn, iignatyev
2014-12-13 01:24:10 +03:00
Pavel Punegov
c39c3b01be 8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests
Reviewed-by: iveresov, thartmann
2014-12-13 01:24:07 +03:00
Dmitrij Pochepko
e42d9168db 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:13:05 +03:00
Dmitrij Pochepko
3b00992919 8066440: Various changes in testlibrary for JDK-8059613
Reviewed-by: thartmann, twisti
2014-12-13 00:54:22 +03:00
Dmitrij Pochepko
f2e6ba9b09 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:10:55 +03:00
Filipp Zhinkin
fb36c6cbbe 8066862: TestMutuallyExclusivePlatformPredicates fails on all platforms
Reviewed-by: iignatyev, kvn
2014-12-12 21:37:37 +03:00
Igor Ignatyev
e3b0d6d069 Merge 2014-12-12 21:32:43 +03:00
Dmitrij Pochepko
a8c7ba2129 8067307: Need custom classloaders(parent-last and filtering one) for JDK-8066625 in testlibrary
Reviewed-by: fzhinkin, iignatyev
2014-12-12 21:16:42 +03:00
Coleen Phillimore
24201272d6 Merge 2014-12-12 18:13:22 +00:00
Coleen Phillimore
4250926e07 8066803: compiler/intrinsics/mathexact/SubExactINonConstantTest.java crashed in os::is_first_C_frame(frame*)
Stop native stack walk when we get to compiled or stub frame.

Reviewed-by: hseigel, lfoltan, ctornqvi
2014-12-12 13:19:33 -05:00
Maurizio Cimadamore
3076062240 8064365: Better support for finder capabilities in target-typing context
Add new framework to allow for easy creation of finder-like capabilities.

Reviewed-by: jjg, jlahoda
2014-12-12 18:07:24 +00:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Albert Noll
8a7be51fc5 Merge 2014-12-12 08:40:18 -08:00
Alejandro Murillo
edffdf101f Merge 2014-12-12 07:50:34 -08:00
Severin Gehwolf
f4e7330e54 8067330: ZERO_ARCHDEF incorrectly defined for PPC/PPC64 architectures
Reviewed-by: simonis, tbell, erikj
2014-12-12 15:38:57 +01:00
Erik Joelsson
b479361747 8067254: No debug symbols in JPRT Windows builds
Reviewed-by: tbell
2014-12-12 15:35:21 +01:00
Erik Joelsson
a420a8b984 8067254: No debug symbols in JPRT Windows builds
Reviewed-by: tbell
2014-12-12 15:33:10 +01:00
Ivan Gerasimov
ff0ca0af12 8066863: bigapps/runThese/nowarnings fails: Java HotSpot(TM) 64-Bit Server VM warning: WaitForMultipleObjects
Limit the number of thread handles to MAXIMUM_WAIT_OBJECTS

Reviewed-by: dholmes, dcubed
2014-12-12 17:24:17 +03:00
Shanliang Jiang
bf6938cb8c 8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs
Reviewed-by: dfuchs
2014-12-12 14:31:26 +01:00
Tobias Hartmann
4d7b50bd51 8067337: Remove Whitebox API from hotspot repository
Remove Whitebox API from hotspot repository after it was moved to top level repository.

Reviewed-by: iignatyev
2014-12-12 13:13:01 +01:00
Tobias Hartmann
a7e0bdf47c Merge 2014-12-12 09:58:37 +00:00
Tobias Hartmann
bf022cf7dc 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Tobias Hartmann
38a4e8874b 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:36:44 +01:00
Tobias Hartmann
7a70e63c71 Merge 2014-12-12 08:15:30 +00:00
Tobias Hartmann
09aa6561da 8066763: fatal error "assert(false) failed: unexpected yanked node" in postaloc.cpp:139
Check for dead input nodes after replacing compare node with implicit null check.

Reviewed-by: kvn
2014-12-12 09:07:54 +01:00
Alejandro Murillo
e6d32333f4 Merge 2014-12-11 23:06:14 -08:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -08:00
Coleen Phillimore
b9c0d0abd9 Merge 2014-12-12 02:51:07 +00:00
Stuart Marks
7cbda8ab50 8066633: Fix deprecation warnings in java.rmi module
Reviewed-by: darcy, lancea
2014-12-11 18:40:05 -08:00
Max Ockner
1d76295d70 8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods.

Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Jonathan Gibbons
0900c1f2e0 8066808: langtools/test/Makefile should not use OS-specific jtreg binary
Reviewed-by: mcimadamore
2014-12-11 18:23:17 -08:00
Jonathan Gibbons
827f52c966 8066807: langtools/test/Makefile should use -agentvm not -samevm
Reviewed-by: mcimadamore
2014-12-11 18:20:00 -08:00
Valerie Peng
86291780cb 8062170: java.security.ProviderException: Error parsing configuration with space
Updated to parse library path as a line which can contain quoted strings.

Reviewed-by: vinnie
2014-12-12 00:23:32 +00:00
Albert Noll
a9e4d723c1 Merge 2014-12-11 16:22:47 -08:00
Amanda Jiang
7ffa3cd669 8048819: Implement reliability test for DH algorithm
Added DH test for up-to-4 parties key exchange

Reviewed-by: valeriep
2014-12-12 00:19:17 +00:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Vladimir Kozlov
19325052f9 Merge 2014-12-11 15:05:41 -08:00
Vladimir Kozlov
7c46efc738 Merge 2014-12-11 15:05:06 -08:00
Dmitrij Pochepko
4a438d1f98 8067291: Need additional vm checks in jdk/test/lib/testlibrary/jdk/testlibrary/Platform, checking which vm is run
Reviewed-by: fzhinkin, iignatyev
2014-12-12 00:40:56 +03:00
Tatiana Pivovarova
94c6fd7bc6 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-24 17:54:00 +03:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00
Frank Yuan
b82fd80a36 8051536: Convert JAXP function tests: javax.xml.parsers to jtreg(testng) tests
Reviewed-by: lancea, joehw
2014-12-11 13:08:14 -08:00
Lana Steuck
dd6e6feb3d Merge 2014-12-11 12:28:03 -08:00
Lana Steuck
2104d1b262 Merge 2014-12-11 12:27:55 -08:00
Lana Steuck
7471e6a63c Merge 2014-12-11 12:27:27 -08:00
Lana Steuck
326c95a872 Merge 2014-12-11 12:26:56 -08:00
Lana Steuck
3db9cfa542 Merge 2014-12-11 12:26:42 -08:00
Lana Steuck
b9791de71a Merge 2014-12-11 12:26:28 -08:00
David Katleman
0be1ef4bd8 Added tag jdk9-b42 for changeset 5e4ae56d68ac 2014-12-11 11:44:07 -08:00
David Katleman
e2239dc2bb Added tag jdk9-b42 for changeset a48998a1fc72 2014-12-11 11:44:07 -08:00
David Katleman
40f0855cb3 Added tag jdk9-b42 for changeset f65d79186283 2014-12-11 11:44:03 -08:00
David Katleman
b2f770c75c Added tag jdk9-b42 for changeset 1a0a8d89a6d7 2014-12-11 11:44:03 -08:00
David Katleman
5dfce59226 Added tag jdk9-b42 for changeset 0a96e0cdbae5 2014-12-11 11:44:02 -08:00
David Katleman
01553da997 Added tag jdk9-b42 for changeset b4926bbdbad8 2014-12-11 11:44:00 -08:00
David Katleman
c12ade4fa2 Added tag jdk9-b42 for changeset b1cf5f128493 2014-12-11 11:44:00 -08:00
David Katleman
da7812489b Added tag jdk9-b42 for changeset 87571251fb93 2014-12-11 11:43:58 -08:00
Jesper Wilhelmsson
da4a88d5f9 Merge 2014-12-11 20:39:25 +01:00
Kim Barrett
284e23e67e 8066822: Remove PSMarkSweep::set_reference_processor
Reviewed-by: brutisso, tschatzl
2014-12-11 19:44:32 +01:00
Hannes Wallnöfer
a7a2c82780 8067219: NPE in ScriptObject.clone() when running with object fields
Reviewed-by: attila, lagergren
2014-12-11 19:15:47 +01:00
Dmitry Samersoff
2e3ffa9c5d 8028773: warnings from b116 for hotspot.agent.src.share.native: JNI exception pending
Added couple of missed exception checks

Reviewed-by: sla, sspitsyn
2014-12-11 09:15:10 -08:00
Dmitry Samersoff
a36baa5d15 8067030: JDWP crash in transport_startTransport on OOM
Check for result of jvmtiAllocate

Reviewed-by: jbachorik, sspitsyn
2014-12-11 06:49:12 -08:00
Hannes Wallnöfer
c2cd1906de 8066669: dust.js performance regression caused by primitive field conversion
Reviewed-by: attila, sundar
2014-12-11 15:39:58 +01:00
Konstantin Shefov
cb8bd7875b 8066798: [TEST] Make java/lang/invoke/LFCaching tests use lib/testlibrary/jdk/testlibrary/TimeLimitedRunner.java to define their number of iterations
Reviewed-by: iignatyev, vlivanov
2014-12-11 15:10:35 +03:00
Hannes Wallnöfer
7d75c8da1a 8066932: __noSuchMethod__ binds to this-object without proper guard
Reviewed-by: attila, lagergren
2014-12-11 12:01:17 +01:00
Jaroslav Bachorik
59c9d50129 8062303: Remove com.sun.tracing API
Reviewed-by: sla, alanb, mchung, dholmes
2014-12-11 10:47:36 +01:00
Stefan Johansson
2aea48249d 8062672: JVM crashes during GC on various asserts which checks that HeapWord ptr is an oop
Crashes were caused by not disabling UseMemSetInBOT as should be done on sparc. Added support for picking up blkinit as a platform feature if available on Linux sparc. This is needed to avoid enabling UseMemSetInBOT when running on this platform.

Reviewed-by: jwilhelm, brutisso
2014-12-11 09:56:57 +01:00
Jesper Wilhelmsson
ac1c0ee5d2 Merge 2015-02-23 18:40:04 +01:00
Stefan Karlsson
cd997db44d 8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
Reviewed-by: brutisso, mgerdin
2015-02-20 13:54:42 +01:00
Goetz Lindenmaier
5cc358251f 8071822: [TEST_BUG] Adapt collectorPolicy internal tests to support 64K pages
This fixes jtreg test ExecuteInternalVMTests.java for OSes with bigger default page sizes.

Reviewed-by: jmasa
2015-02-20 22:22:39 +01:00
Stefan Karlsson
40d3ed0921 Merge 2015-02-20 17:08:48 +00:00
Stefan Karlsson
4cd34ffd21 Merge 2015-02-20 15:47:22 +00:00
Thomas Schatzl
cb05b8a496 8058446: G1 Hot card cache should use ArrayAllocator to allocate the cache array
Allocate large hot card caches using OS functions instead of the C heap to avoid native memory exhaustion.

Reviewed-by: mgerdin, jwilhelm
2015-02-20 16:07:12 +01:00
Stefan Karlsson
ccb2f23f08 8073554: Remove unnecessary includes of markSweep[.inline].hpp
Reviewed-by: tschatzl, coleenp
2015-02-20 15:23:01 +01:00
Mikael Gerdin
12c46a210f 8073532: jmap -heap fails after generation array removal
Fix field accessor code in the SA

Reviewed-by: jwilhelm, brutisso
2015-02-20 12:43:46 +01:00
Stefan Karlsson
d40f08d0a3 8073389: Remove the include of resourceArea.hpp from classFileParser.hpp
Reviewed-by: coleenp, dholmes
2015-02-18 10:28:27 +01:00
Otavio Santana
89cec23580 8055723: Replace concat String to append in StringBuilder parameters (dev)
Reviewed-by: redestad, ulfzibis, weijun, prappo, igerasim, alanb
2014-12-11 15:23:02 +08:00
Otavio Santana
6e791e3f31 8067207: Replace concat String to append in StringBuilder parameters (client)
Reviewed-by: serb
2014-12-11 15:19:12 +08:00
Jesper Wilhelmsson
f101b30199 6522873: Java not print "Unrecognized option" when it is invalid option
Introduced a new version of match_option() that don't allow a tail after the flag name and used it for flags without extra arguments

Reviewed-by: dholmes, dcubed
2014-12-11 02:43:50 +01:00
Tristan Yan
bbcd1a03a9 8067183: TEST_BUG:File locked when processing the cleanup on test jaxp/test/javax/xml/jaxp/functional/javax/xml/transform/ptests/TransformerFactoryTest.java
Reviewed-by: joehw
2014-12-10 16:38:01 -08:00
Xueming Shen
cd51ca39ff Merge 2014-12-10 14:15:31 -08:00
Xueming Shen
b41070012b 8046219: (str spec) String(byte[], int, int, Charset) should be clearer when IndexOutOfBoundsException is thrown
To update the java doc to clarify the existing behavior

Reviewed-by: lancea
2014-12-10 14:11:05 -08:00
Andrei Eremeev
282c943241 8065360: Implement a test that checks possibilty of class members to be imported
Reviewed-by: jlahoda, anazarov
2014-12-10 21:45:39 +02:00
Volker Simonis
7d42a4167f 8067015: Implement os::pd_map_memory() on AIX
Reviewed-by: dholmes
2014-12-10 19:12:27 +01:00
Staffan Friberg
912fb05672 8066442: Add PS and ParOld support for promotion event
Reviewed-by: tschatzl, ehelin
2014-12-10 10:10:43 -08:00
Bengt Rutisson
7bde8bebfb 8067115: Add jtreg gc tests to Hotspot JPRT jobs
Reviewed-by: tschatzl, jwilhelm, ehelin
2014-12-11 07:32:24 +01:00
Volker Simonis
e29325b0d5 8066589: Make importing sa-jdi.jar optional on its existance
Also fix the location where libjli_static.a is loaded from on AIX

Reviewed-by: erikj, dsamersoff
2014-12-10 18:31:24 +01:00
Attila Szegedi
13c5c04470 8066221: anonymous function statement name clashes with another symbol
Reviewed-by: lagergren, sundar
2014-12-10 18:28:41 +01:00
Roland Westrelin
0dbf9d7161 8067144: SIGSEGV with +TraceDeoptimization in Deoptimization::print_objects
-XX:+TraceDeoptimization tries to print realloc'ed objects even when there are none

Reviewed-by: kvn
2014-12-10 16:45:55 +01:00
Alan Bateman
ccab6bc563 8066915: (fs) Files.newByteChannel opens directories for cases where subsequent reads may fail
Reviewed-by: chegar
2014-12-10 15:01:26 +00:00
Athijegannathan Sundararajan
34673eaf92 8067136: BrowserJSObjectLinker does not handle call on JSObjects
Reviewed-by: attila, hannesw, lagergren
2014-12-10 19:42:01 +05:30
Denis Fokin
eaff0bd40d 8057788: [macosx] "Pinch to zoom" does not work since jdk7
Reviewed-by: serb, alexsch
2014-12-10 17:10:57 +03:00
Michail Chernov
56db4f28c9 8064909: FragmentMetaspace.java got OutOfMemoryError
Increased heap size to prevent "java.lang.OutOfMemoryError: Java heap space" exception

Reviewed-by: jmasa, dfazunen, jwilhelm
2014-12-10 13:58:30 +00:00
Alexander Scherbatiy
32d197a928 8065627: Animated GIFs fail to display on a HiDPI display
Reviewed-by: serb, azvegint
2014-12-10 15:59:21 +04:00
Attila Szegedi
3330ff38e9 8066236: RuntimeNode forces copy creation on visitation
Reviewed-by: hannesw, lagergren
2014-12-10 12:30:48 +01:00
Attila Szegedi
22573e0db4 8066224: fixes for folding a constant-test ternary operator
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:25 +01:00
Attila Szegedi
47e744920e 8066225: NPE in MethodEmitter with duplicate integer switch cases
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:04 +01:00
Bengt Rutisson
bdb2636f9e 8066782: Move common code from CMSGeneration and TenuredGeneration to CardGeneration
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:32:22 +01:00
Bengt Rutisson
b26180dfe9 8066781: Minor cleanups to TenuredGeneration
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:31:43 +01:00
Bengt Rutisson
ef7d6c3b9d 8066780: Split CardGeneration out to its own file
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:30:46 +01:00
Alejandro Murillo
b2698ae406 Merge 2014-12-09 14:02:53 -08:00
Alejandro Murillo
971ef6ff25 Merge 2014-12-09 14:02:44 -08:00
Igor Veresov
f4a9c05895 Merge 2014-12-09 21:33:51 +00:00
Igor Veresov
5af5b25f98 8066900: Array Out Of Bounds Exception causes variable corruption
Fix FP registers save/restore during exception handling

Reviewed-by: kvn, vlivanov
2014-12-09 12:25:38 -08:00
Roland Westrelin
caa8dcea64 8066103: C2's range check smearing allows out of bound array accesses
Range check smearing uncorrectly adjust first range check in a list of range checks to cover all of them

Reviewed-by: jrose, kvn, iveresov
2014-12-09 18:49:13 +01:00
Maurizio Cimadamore
da41cfd9f1 8067006: Tweak IntelliJ langtools project to show jtreg report directory
Jtreg test output directory should be allowed to flow into IntelliJ's output

Reviewed-by: jlahoda
2014-12-09 17:40:02 +00:00
Vladimir Ivanov
e0eba41e1c 8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Maurizio Cimadamore
a800908e25 8067001: DetectMutableStaticFields fails after modular images push
Ignore JRTIndex.sharedInstance

Reviewed-by: jlahoda
2014-12-09 16:09:07 +00:00
Igor Ignatyev
d1220c8dee Merge 2014-12-09 14:49:27 +00:00
Tatiana Pivovarova
79ed4de1e1 8065134: Need WhiteBox::allocateCodeBlob(long, int) method to be implemented
Reviewed-by: kvn, dholmes, iignatyev
2014-12-09 17:31:40 +03:00
Thomas Schatzl
5d868d4e0f 8066102: Clean up HeapRegionRemSet files
Remove dead code, tighten public interfaces and improve documentation in the HeapRegionRemSet implementation.

Reviewed-by: mgerdin, kbarrett
2014-12-09 12:47:19 +01:00
Goetz Lindenmaier
46714a7809 8066964: ppc64: argument and return type profiling, fix problem with popframe
Reviewed-by: roland, kvn
2014-12-09 11:57:46 +01:00
Andrei Eremeev
400505a1f2 8066961: NegativeCyclicDependencyTest.java fails on Windows
Normalizing line endings to '\n'.

Reviewed-by: jlahoda
2014-12-09 11:45:38 +01:00
Weijun Wang
26099e744a 8044500: Add kinit options and krb5.conf flags that allow users to obtain renewable tickets and specify ticket lifetimes
Reviewed-by: valeriep
2014-12-09 18:28:26 +08:00
Alexey Ivanov
e209029c14 8066756: Test test/sun/awt/dnd/8024061/bug8024061.java fails
Reviewed-by: alexsch, azvegint
2014-12-09 13:11:20 +03:00
Jaroslav Bachorik
594e368671 8059949: com/sun/tools/attach/StartManagementAgent.java interrupted! (timed out?)
Reviewed-by: sla
2014-12-09 08:58:19 +01:00
Erik Joelsson
77e5c6eadf 8066761: Investigate -sourcepath usage when compiling java
Removed all uses of -sourcepath

Reviewed-by: jfranck, alanb, ihse
2014-12-09 08:57:41 +01:00
Erik Joelsson
56255388c6 8066761: Investigate -sourcepath usage when compiling java
Removed all uses of -sourcepath

Reviewed-by: jfranck, alanb, ihse
2014-12-09 08:56:44 +01:00
Erik Joelsson
196d5af55e 8066828: configure fails if it's set --with-boot-jdk to use JDK 9 modular image
Reviewed-by: ihse
2014-12-09 08:49:22 +01:00
Erik Joelsson
294a85dbe7 8066752: Remove space after -L on linker lines
Reviewed-by: ihse
2014-12-09 08:43:06 +01:00
Andrei Eremeev
ea81e1bc1f 8064794: Implement negative tests for cyclic dependencies in import statements
Reviewed-by: jlahoda, anazarov
2014-12-09 01:06:11 +02:00
Stuart Marks
b633764a63 8066835: TEST_BUG: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails
Reviewed-by: lancea
2014-12-08 14:32:31 -08:00
Jan Lahoda
cf476e9302 8066902: JavacParserTest fails on Windows
Normalizing line endings to '\n'.

Reviewed-by: jjg, ksrini
2014-12-08 21:26:04 +01:00
Kumar Srinivasan
277a0d2dc8 8066841: Need to exclude javacpl in tools/launcher/VersionCheck.java
Reviewed-by: alanb
2014-12-08 11:54:17 -08:00
Mikael Gerdin
cc786b287d 8067655: Clean up G1 remembered set oop iteration
Pass on the static type G1ParPushHeapRSClosure to allow oop_iterate devirtualization

Reviewed-by: jmasa, kbarrett
2014-12-08 18:57:33 +01:00
Jesper Wilhelmsson
b14eca8aac Merge 2014-12-08 18:52:03 +01:00
Joe Darcy
220aa4b838 8066643: (zipfs) Suppress deprecation warnings in jdk.zipfs module
8066634: Suppress deprecation warnings in java.management module
8066636: Suppress deprecation warnings in the jdk.jvmstat and jdk.jdi modules

Reviewed-by: alanb, lancea, sherman, sla, dfuchs
2014-12-08 09:13:08 -08:00
Jan Lahoda
59b3453845 8061549: Disallow _ as a one-character identifier
Underscore is no longer a one-charater identifier with -source 9

Reviewed-by: mcimadamore, jjg
2014-12-08 18:02:07 +01:00
Maurizio Cimadamore
fb05a03095 8066889: IntelliJ langtools launcher ought to be Windows friendly
Fixup file and path separators in project setup stage.

Reviewed-by: jlahoda
2014-12-08 16:30:43 +00:00
Kumar Srinivasan
8732d09ae7 8066745: tools/pack200/Pack200Props.java failed with java.lang.OutOfMemoryError: Java heap space
Reviewed-by: alanb
2014-12-08 07:51:59 -08:00
Tatiana Pivovarova
a7ebb442cf 8066250: compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
Reviewed-by: kvn, thartmann
2014-12-08 18:21:02 +03:00
Stefan Karlsson
81f94a04b9 Merge 2014-12-08 15:17:39 +00:00
Attila Szegedi
d3b4347330 8066227: CodeGenerator load unitialized slot
Reviewed-by: hannesw, lagergren
2014-12-08 15:14:11 +01:00
Attila Szegedi
1284542fb3 8066230: Undefined object type assertion when computing TypeBounds
Reviewed-by: hannesw, lagergren
2014-12-08 15:13:16 +01:00
Jan Lahoda
113babff27 8065753: javac crashing on a html-like file
Avoiding special-case in error recovery for bad token on position 0.

Reviewed-by: jjg
2014-12-08 11:50:19 +01:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Yumin Qi
bb30bd7e0a Merge 2014-12-08 00:15:55 -08:00
Zaiyao Liu
34372ab223 8049432: New tests for TLS property jdk.tls.client.protocols
Reviewed-by: xuelei
2014-12-08 07:15:49 +00:00
Phil Race
fe279aa4d8 Merge 2014-12-07 09:03:07 -08:00
Kirk Shoop
9eafb6c406 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-07 07:10:29 +00:00
Mikael Vidstedt
aab03b0768 Merge 2014-12-06 04:30:00 +00:00
Joe Darcy
c278cc80e9 8066638: Suppress deprecation warnings in jdk.crypto module
8066641: Suppress deprecation warnings in jdk.naming module

Reviewed-by: wetmore, xuelei, valeriep, lancea
2014-12-05 17:36:18 -08:00
Alejandro Murillo
4936eee025 Merge 2014-12-05 16:36:08 -08:00
Alejandro Murillo
db929c3598 Merge 2014-12-05 16:36:07 -08:00
Alejandro Murillo
69c8c493e3 Merge 2014-12-05 16:36:07 -08:00
Chris Plummer
ac8fc3ff27 8066507: JPRT is not capable of running jtreg tests located jdk/test
Fixed by copying same fix already in place in hotspot/test/Makefile.

Reviewed-by: dholmes, tbell
2014-12-05 15:44:01 -08:00
Chris Plummer
8bb3ef2ca0 8066508: JTReg tests timeout on slow devices when run using JPRT
Fixed by increasing timeoutFactor from 1 to 4 as is done already in jdk/test/Makefile.

Reviewed-by: dholmes, dcubed
2014-12-05 15:41:51 -08:00
Coleen Phillimore
d1414caa19 Merge 2014-12-05 23:21:29 +00:00
Calvin Cheung
701b666284 8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
Define minimum required sizes for the ro, rw, and md regions and make sure the specified sizes are not less than the minimum sizes

Reviewed-by: jiangli, dholmes, mseledtsov
2014-12-05 12:24:10 -08:00
Stefan Karlsson
e9b92ce024 8065634: Crash in InstanceKlass::clean_method_data when _method is NULL
Reviewed-by: coleenp, hseigel, poonam
2014-12-05 21:16:45 +01:00
Coleen Phillimore
4b628f1aee 8066171: Out of order with Metaspace allocation lock
Lock resolved_references instead.

Reviewed-by: twisti, sspitsyn
2014-12-05 15:15:13 -05:00
Rob McKenna
9fa1d1239b 8065238: javax.naming.NamingException after upgrade to JDK 8
Reviewed-by: vinnie
2014-12-05 20:13:05 +00:00
Volker Simonis
2570fc5418 8066766: The commands in the modular images are executable by the owner only
Also simplify the 'set executable' step of jspawnhelper in ImageBuilder.java

Reviewed-by: chegar, alanb
2014-12-05 19:46:15 +01:00
Roland Westrelin
5974dd3005 8066775: opto/node.hpp:355, assert(i < _max) failed: oob: i=1, _max=1
Bad assumption on graph shape in CastIINode::Value if that part of the graph is becoming dead.

Reviewed-by: kvn
2014-12-05 18:03:15 +01:00
Pavel Rappo
421fc583be 8066678: java.nio.channels.Channels cleanup
Reviewed-by: alanb, chegar
2014-12-05 15:35:15 +00:00
Paul Sandoz
20c4b7ce9d 8066777: OptimisticTypesPersistence.java should use Files.readAllBytes instead of getting size and then read
Reviewed-by: attila, lagergren
2014-12-05 20:17:51 +05:30
Athijegannathan Sundararajan
b2c1e8a2e7 8066753: OptimisticTypePersistence.java should work properly with "jrt" URL
Reviewed-by: lagergren, attila
2014-12-05 19:01:26 +05:30
Yuri Nesterenko
c08a28b218 8063104: Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 2
Reviewed-by: serb, alexsch
2014-12-05 14:55:08 +03:00
Daniel Fuchs
7e7e10eb42 8065991: LogManager unecessarily calls JavaAWTAccess from within a critical section
The call to JavaAWTAccess is moved outside of the critical section

Reviewed-by: mchung
2014-12-05 12:20:51 +01:00
Sergey Bylokhov
7d0d103b3d 8059998: Broken link in java.awt.event Interface KeyListener
Reviewed-by: ant, alexsch
2014-12-05 12:41:29 +03:00
Athijegannathan Sundararajan
f42d5e85e3 8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME
Reviewed-by: lagergren, hannesw
2014-12-05 14:35:00 +05:30
Jonathan Gibbons
78fd11386c 8066737: langtools/test/tools/javac/processing/6348193/T6348193.java fails
Reviewed-by: darcy
2014-12-04 19:09:29 -08:00
Stuart Marks
765c10de6e 8035001: TEST_BUG: the retry logic in RMID.start() should check that the subprocess hasn't terminated
Reviewed-by: lancea
2014-12-04 18:54:37 -08:00
Lana Steuck
35a74c5264 Merge 2014-12-04 15:23:04 -08:00
Lana Steuck
47757481e4 Merge 2014-12-04 15:22:53 -08:00
Lana Steuck
7f77ef2719 Merge 2014-12-04 15:22:42 -08:00
Lana Steuck
415158c90f Merge 2014-12-04 15:22:30 -08:00
Lana Steuck
5a54c4303b Merge 2014-12-04 15:22:03 -08:00
Lana Steuck
dde575d755 Merge 2014-12-04 15:21:31 -08:00
Lana Steuck
bfd73fea6e Merge 2014-12-04 15:21:09 -08:00
Ioi Lam
ea256a978f 8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
In FileMapInfo::fail_continue do not set UseSharedSpaces = false

Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Joe Darcy
61cf03f4f1 8066632: Suppress deprecation warnings in java.rmi module
Reviewed-by: rriggs
2014-12-04 15:04:11 -08:00
Alan Bateman
de3548c4b9 8066731: javac does not work on exploded image
Reviewed-by: jjg, mchung
2014-12-04 14:57:40 -08:00
Igor Ignatyev
36ab0d5c9a 8066713: ignore compiler/types/correctness
Add @ignore to compiler/types/correctness tests

Reviewed-by: kvn
2014-12-04 14:14:09 -08:00
Joe Darcy
4edac8c9d2 8066617: Suppress deprecation warnings in java.base module
Reviewed-by: lancea
2014-12-04 12:59:43 -08:00
David Katleman
bd075b7eb8 Added tag jdk9-b41 for changeset 08ef93eaca80 2014-12-04 12:58:22 -08:00
David Katleman
712feea533 Added tag jdk9-b41 for changeset d1a63c99cdd5 2014-12-04 12:58:21 -08:00
David Katleman
c64dd540f9 Added tag jdk9-b41 for changeset 729f9700483a 2014-12-04 12:58:17 -08:00
David Katleman
6b93b9c07f Added tag jdk9-b41 for changeset 2e8afdf5c6fb 2014-12-04 12:58:16 -08:00
David Katleman
e904b317d5 Added tag jdk9-b41 for changeset 0db747c09110 2014-12-04 12:58:16 -08:00
David Katleman
7ef6f7a868 Added tag jdk9-b41 for changeset 47f369e3c69c 2014-12-04 12:58:13 -08:00
David Katleman
3fa0b9cdc0 Added tag jdk9-b41 for changeset 55efe677dc75 2014-12-04 12:58:12 -08:00
David Katleman
a7f3e3cfde Added tag jdk9-b41 for changeset adc258b13e2c 2014-12-04 12:58:11 -08:00
Chris Plummer
a47e1013c2 6762191: Setting stack size to 16K causes segmentation fault
Fixed by forcing the stack size to always be at least 32k.

Reviewed-by: dholmes, alanb, ksrini, sspitsyn
2014-12-04 11:26:46 -08:00
David Chase
32897d3cd3 Merge 2014-12-04 17:53:36 +00:00
David Chase
0b7c6dc57c Merge 2014-12-04 11:35:09 -05:00
Athijegannathan Sundararajan
369861355d 8066696: test/script/nosecurity/JDK-8055034.js -Xbootclasspath option is wrong
Reviewed-by: attila, lagergren
2014-12-04 21:52:58 +05:30
Kevin Walls
a0b9a703fc Merge 2014-12-04 16:16:01 +00:00
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Athijegannathan Sundararajan
949112fab2 8066683: nashorn test failures after modular image changes
Reviewed-by: attila, jlaskey
2014-12-04 20:40:48 +05:30
Mikael Gerdin
44dd635112 Merge 2014-12-04 15:09:18 +01:00
Kevin Walls
5c410f0bb5 8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
Reviewed-by: sla, dsamersoff
2014-12-04 12:43:45 +00:00
Roland Westrelin
349669a9de Merge 2014-12-04 11:22:05 +00:00
Bengt Rutisson
902d2139f6 Merge 2014-12-04 09:43:12 +00:00
Jesper Wilhelmsson
9b430f2262 Merge 2014-12-04 10:40:19 +01:00
Jaroslav Bachorik
98da47c05b 8034263: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails intermittently
Reviewed-by: sla
2014-12-04 10:34:55 +01:00
Goetz Lindenmaier
7a3496218a 8066662: Fix include after 8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
Reviewed-by: mgerdin, brutisso
2014-12-04 10:10:52 +01:00
Tobias Hartmann
f9806ff009 8066448: SmallCodeCacheStartup.java exits with exit code 1
Check for VirtualMachineError in case VM initialization fails.

Reviewed-by: kvn
2014-12-04 09:52:15 +01:00
Zaiyao Liu
bf31fc249e 8048619: Implement tests for converting PKCS12 keystores
Reviewed-by: weijun
2014-12-04 16:50:31 +08:00
Yumin Qi
9767fa7cb2 Merge 2014-12-03 20:32:33 -08:00
Lance Andersen
7e500d5324 8060068: Possible Deadlock scenario with DriverManager.loadInitialDrivers
Reviewed-by: mchung, smarks, ulfzibis
2014-12-03 16:50:55 -05:00
Kevin Walls
4169c68769 8039995: Test serviceability/sa/jmap-hashcode/Test8028623.java fails on some Linux/Mac machines
Reviewed-by: dsamersoff, allwin, sla
2014-12-03 20:40:00 +00:00
Phil Race
96da55b65e Merge 2014-12-03 11:52:40 -08:00
Chris Hegarty
dacb5a70f8 8066588: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails to compile
Reviewed-by: alanb, smarks
2014-12-03 19:49:59 +00:00
Chris Hegarty
189df3ac57 Merge 2014-12-03 19:28:40 +00:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
8d19b510dd Merge 2014-12-03 19:28:30 +00:00
Chris Hegarty
2dbed37b5e Merge 2014-12-03 17:55:36 +00:00
Chris Hegarty
6d893da086 Merge 2014-12-03 17:50:15 +00:00
Chris Hegarty
7e65ec970c Merge 2014-12-03 17:48:58 +00:00
Staffan Friberg
4b3a02ee0b 8066441: Add PLAB trace event
Reviewed-by: tschatzl, ehelin, egahlin
2014-12-03 09:27:24 -08:00
Thomas Stuefe
7a2bd82482 8065788: os::reserve_memory() on Windows should not assert that allocation size is aligned to OS allocation granularity
Reviewed-by: mgronlun, simonis
2014-12-03 17:12:25 +01:00
Jaroslav Bachorik
8fd2fa2d03 8064441: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, egahlin, sspitsyn
2014-12-03 16:44:35 +01:00
Attila Szegedi
29eb5ce73d 8066232: problem with conditional catch compilation
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:39 +01:00
Attila Szegedi
deabb040d5 8066222: too strong assertion on function expression names
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:15 +01:00
Sergey Bylokhov
cc7bb29579 8024626: CTW CRASH: SIGSEGV in ctw/jre/lib/rt_jar/preloading_1 and ctw/jre/lib/rt_jar/sun_awt_X11_ListHelper
Reviewed-by: azvegint, alexsch
2014-12-03 18:04:50 +03:00
Amy Lu
65904e6ad1 8066131: Update java/nio/charset/Charset/NIOCharsetAvailabilityTest.java to eliminate dependency on sun.misc.Launcher
Reviewed-by: alanb
2014-12-03 14:34:42 +00:00
Chris Hegarty
174f2cfc80 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:26:07 +00:00
Chris Hegarty
8bc2b3ff3a 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jlahoda, ksrini
2014-12-03 14:25:46 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Chris Hegarty
3c5c554fad 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:17 +00:00
Chris Hegarty
393a39afe3 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Chris Hegarty
92828b7e7c 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:20:24 +00:00
Chris Hegarty
b26d39ffd7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:20:21 +00:00
Hannes Wallnöfer
8d3af43a7c 8065769: OOM on Window/Solaris in test compile-octane-splitter.js
Reviewed-by: sundar, jlaskey
2014-12-03 14:49:36 +01:00
Jan Lahoda
d739446063 7101822: Compiling depends on order of imports
7177813: Static import to local nested class fails

MemberEnter overhaul - TypeEnter is split out of MemberEnter; the TypeEnter consists of several Phases which ensure actions are done in the correct order.

Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, jfranck, aeremeev
2014-12-03 13:46:12 +01:00
Sergey Bylokhov
52d7a1021d 6345095: regression test EmptyClipRenderingTest fails
Reviewed-by: azvegint, alexsch
2014-12-03 15:43:25 +03:00
Alexander Scherbatiy
f3be2c51ca 8066142: Edit the value in the text field and then press the tab key, the number don't increase
Reviewed-by: serb, azvegint
2014-12-03 14:25:49 +03:00
Paul Sandoz
cec929efaf 8066397: Remove network-related seed initialization code in ThreadLocal/SplittableRandom
Reviewed-by: alanb, dl, chegar, rriggs, shade
2014-12-03 12:00:26 +01:00
Katja Kantserova
a5ed93db7c 8044591: [TESTBUG] com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationp[Content]Test.java fail when -XX:+ExplicitGCInvokesConcurrent
Reviewed-by: sla, fparain
2014-12-03 11:56:02 +01:00
Hannes Wallnöfer
e3a64209bc 8066214: Fuzzing bug: Object.prototype.toLocaleString(0)
Reviewed-by: attila, lagergren
2014-12-03 11:43:57 +01:00
Shanliang Jiang
31af33c0e2 8065764: javax/management/monitor/CounterMonitorTest.java hangs
Reviewed-by: jbachorik, dfuchs
2014-12-03 11:38:56 +01:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Alejandro Murillo
bfba82a15a Merge 2014-12-02 14:36:22 -08:00
Vladimir Kozlov
65fe921d3d 8066199: C2 escape analysis prevents VM from exiting quickly
Check for safepoint and block during EA Connection graph construction.

Reviewed-by: roland, vlivanov, shade
2014-12-02 12:24:31 -08:00
Jaroslav Bachorik
c6b7e46d0d 8067447: Factor out the shared implementation of the VM flags manipulation code
Reviewed-by: sla, dholmes
2014-12-02 19:47:45 +01:00
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Jaroslav Bachorik
48639428ce 8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes
2015-01-12 14:05:16 +01:00
Goetz Lindenmaier
3a8d0b8ce0 8072434: 8064457: introduces performance regressions in 9-b47
Reviewed-by: coleenp, kvn
2015-02-04 16:26:38 +01:00
Staffan Larsen
483815ed11 8072455: Use jtreg's requiredVersion tag in hotspot/test/TEST.ROOT
Reviewed-by: dholmes, ctornqvi
2015-02-05 12:54:34 +01:00
Thomas Stuefe
de0f1ccb86 8072575: Add missing test for 8065895
Reviewed-by: dholmes, gziemski
2015-02-04 21:33:22 -05:00
Thomas Stuefe
3bd56fc1a6 8065895: Synchronous signals during error reporting may terminate or hang VM process
Reviewed-by: dholmes, gziemski
2015-02-04 18:47:42 -05:00
Mikael Auno
5b89870233 8072472: serviceability/dcmd/framework/* should be quarantined
Reviewed-by: jbachorik
2015-02-04 16:09:49 +01:00
Yuri Gaevsky
07b4a3626e 6364329: jstat displays "invalid argument count" with usage
Reviewed-by: jbachorik
2014-12-02 16:21:33 +01:00
Jan Lahoda
56d2ce25a9 8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:12:40 +01:00
Jan Lahoda
43f018317f 8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:11:05 +01:00
Miroslav Kos
77c37e1eb7 8065870: Update JAX-WS RI integration to latest version (2.2.11-b141124.1933)
Reviewed-by: smarks
2014-12-02 15:03:49 +01:00
Alexander Zvegintsev
b11667b680 8064699: [parfait] JNI primitive type mismatch in jdk/src/java/desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
Reviewed-by: alexsch, serb
2014-12-02 12:48:49 +03:00
Alexander Zvegintsev
4d25e9dfce 8064698: [parfait] JNI exception pending in jdk/src/java/desktop/unix/native: libawt_xawt/awt/, common/awt
Reviewed-by: alexsch, serb
2014-12-02 12:47:12 +03:00
Alexander Zvegintsev
9b17d8dec8 8064700: [parfait] Function Call Mismatch in jdk/src/java/desktop/unix/native/libawt_xawt/xawt/XToolkit.c
Reviewed-by: alexsch, serb
2014-12-02 12:45:40 +03:00
Igor Ignatyev
fd0dba3fc7 8066290: Port JDK-8066191 into hotspot
Reviewed-by: kvn
2014-12-02 12:37:01 +03:00
Igor Ignatyev
3a9c14c70a 8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
Reviewed-by: kvn, anoll
2014-12-02 12:36:03 +03:00
Erik Helin
cbe8efabfe 8059066: CardTableModRefBS might commit the same page twice
Reviewed-by: tschatzl, kbarrett, jmasa
2014-12-02 09:53:30 +01:00
Stuart Marks
2f9a2c3c32 8035000: clean up ActivationLibrary.DestroyThread
Reviewed-by: lancea
2014-12-01 17:59:39 -08:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Igor Ignatyev
768b1d81a0 Merge 2014-12-01 22:41:16 +03:00
Tatiana Pivovarova
0fccf46ae4 8066141: compiler/whitebox/GetNMethodTest.java: java.lang.RuntimeException: blob_type[MethodProfiled] for 2 level isn't MethodNonProfiled
Reviewed-by: iveresov, iignatyev
2014-12-01 22:38:29 +03:00
Igor Ignatyev
81cc6a5760 Merge 2014-12-01 22:22:02 +03:00
Igor Ignatyev
7abe24d3ea 8039953: [TESTBUG] Timeout java/lang/invoke/MethodHandles/CatchExceptionTest.java
Reviewed-by: vlivanov, psandoz
2014-12-01 21:58:46 +03:00
Igor Ignatyev
3e1d5786af 8066191: Introduce time limited test executor
Reviewed-by: vlivanov, psandoz
2014-12-01 21:56:54 +03:00
David Chase
2080004ef0 8064524: Compiler code generation improvements
Reviewed-by: jrose, acorn, vlivanov
2014-12-01 13:06:20 -05:00
Mark Sheppard
392436eade 8066130: com.sun.net.httpserver stop() throws NullPointerException if it is not started
Added null check on dispatcherThread variable in stop method

Reviewed-by: chegar
2014-12-01 17:20:06 +00:00
Lance Andersen
5f72abe97e 8066261: Typo in Connection.isValid
Reviewed-by: dfuchs
2014-12-01 11:34:44 -05:00
Vladimir Kempik
4e46878062 8058935: CPU detection gives 0 cores per cpu, 2 threads per core in Amazon EC2 environment
Reviewed-by: kvn, dsamersoff
2014-12-01 18:22:45 +04:00
Max Ockner
91dbd4f088 8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers.

Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Alan Bateman
14ee089287 8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component
Reviewed-by: dfuchs
2014-12-01 13:44:57 +00:00
Bengt Rutisson
5c41d82d78 8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
Reviewed-by: mgerdin, kbarrett
2014-12-01 14:37:25 +01:00
Bengt Rutisson
ca3e287e96 8065992: Change CMSCollector::_young_gen to be a ParNewGeneration*
Reviewed-by: mgerdin, kbarrett
2014-12-02 09:51:16 +01:00
Andreas Gabrielsson
beb05bda0d 8066238: AssertionError in parser when syntax errors appeared in non finished Blocks
Reviewed-by: hannesw, sundar, lagergren
2014-12-01 13:17:24 +01:00
Jesper Wilhelmsson
4fafece403 Merge 2014-12-01 12:11:11 +01:00
Jesper Wilhelmsson
75111dec0d Merge 2014-12-01 12:08:17 +01:00
Jesper Wilhelmsson
e3198c371a Merge 2014-12-01 12:08:16 +01:00
Roland Westrelin
686e5a0a6f 8064703: crash running specjvm98's javac following 8060252
Uncommon trap between arraycopy and initialization may leave array initialized

Reviewed-by: kvn, vlivanov, goetz
2014-12-01 11:59:56 +01:00
Katja Kantserova
e325ce88cb 8066106: sun/tools/jps/TestJpsClass.java failed to remove stale attach pid file
Reviewed-by: jbachorik
2014-12-01 09:49:44 +01:00
Sergey Bylokhov
ab24ad80ee 8029536: JFileChooser filter uses .toString() instead of getDescription() for filter text on GTK laf
Reviewed-by: azvegint, alexsch
2014-11-30 15:43:08 +03:00
Lance Andersen
db7c757726 8066188: BaseRowSet default value for escape processing is not correct
Reviewed-by: alanb
2014-11-29 11:14:20 -05:00
Igor Ignatyev
349a740fef Merge 2014-11-28 18:37:20 +00:00
Igor Ignatyev
0ca96a4047 Merge 2014-11-28 16:59:12 +00:00
Filipp Zhinkin
23b769e30e 8058846: c.o.j.t.Platform::isX86 and isX64 may simultaneously return true
Reviewed-by: iveresov, iignatyev
2014-11-28 19:49:16 +03:00
Tatiana Pivovarova
4e55928faf 8064953: Asserts.assert* should print values
Reviewed-by: sla, dholmes, iignatyev
2014-11-28 19:42:10 +03:00
Erik Gahlin
f12ce83a25 6618335: ThreadReference.stop(null) throws NPE instead of InvalidTypeException
Reviewed-by: sla
2014-11-28 16:56:45 +01:00
Jaroslav Bachorik
6c1cf6ba45 8065783: DCMD parser fails to recognize one character argument when it's positioned last
Reviewed-by: sla, egahlin, fparain
2014-11-28 16:33:57 +01:00
Alexander Scherbatiy
084ef90bcf 8031696: [macosx] TwentyThousandTest test failed with OOM
Reviewed-by: serb, pchelko
2014-11-28 19:17:00 +04:00
Alan Bateman
f0b198804a 8062955: (fs spec) Files.setLastModifiedTime should specify SecurityException more clearly
8062949: (fs) Files.setLastModifiedTime(path, null) does not throw NPE

Reviewed-by: chegar
2014-11-28 14:58:10 +00:00
Athijegannathan Sundararajan
d291f2c3f7 8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
Reviewed-by: erikj, jlaskey, lagergren
2014-11-28 18:31:05 +05:30
Maurizio Cimadamore
02df6a4564 8065986: Compiler fails to NullPointerException when calling super with Object<>()
Missing POLY kind selector on recursive constructor calls with poly arguments

Reviewed-by: vromero
2014-11-28 11:45:56 +00:00
Sergey Bylokhov
4ca54eb696 8059944: [OGL] Metrics for a method choice copying of texture should be improved
Reviewed-by: bae, prr
2014-11-28 14:03:56 +03:00
Sergey Bylokhov
647479bd9d 8061832: J2DBench can be improved
Reviewed-by: prr, bae
2014-11-28 13:55:09 +03:00
Sergey Bylokhov
246a6da52e 8059942: Default implementation of DrawImage.renderImageXform() should be improved for d3d/ogl
Reviewed-by: flar, prr
2014-11-28 10:42:03 +00:00
Marcus Lagergren
9c7f48c842 8066119: Invalid resource tag used for looking up error message in NativeDataView
Reviewed-by: hannesw, sundar
2014-11-28 11:02:54 +01:00
Thomas Schatzl
77f5cb9219 Merge 2014-11-28 08:53:48 +00:00
Leonid Mesnik
c8a147b8c7 8065579: WB method to start G1 concurrent mark cycle should be introduced
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
2014-11-28 09:33:48 +01:00
Bengt Rutisson
d8635f58cd 8066133: Fix missing reivew changes for JDK-8065972
Reviewed-by: mgerdin, stefank
2014-11-28 08:20:52 +01:00
Bengt Rutisson
a927c89a77 8065972: Remove support for ParNew+SerialOld and DefNew+CMS
Reviewed-by: mgerdin, stefank
2014-11-27 21:04:44 +01:00
Bengt Rutisson
0ecc753586 8065972: Remove support for ParNew+SerialOld and DefNew+CMS
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
David Chase
e7cf10b9eb Merge 2014-11-27 11:33:04 -05:00
Roland Westrelin
6d20d3298a 8066045: opto/node.hpp:355, assert(i < _max) failed: oob: i=1, _max=1
Code in PhaseIterGVN::add_users_to_worklist() from 8054478 makes incorrect assumption about graph shape

Reviewed-by: iveresov
2014-11-27 16:54:49 +01:00
Hannes Wallnöfer
7b35db48f7 8057980: let & const: remaining issues with lexical scoping
Reviewed-by: lagergren, attila
2014-11-27 16:42:53 +01:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Alejandro Murillo
5a6cab60e1 Merge 2014-11-27 07:16:53 -08:00
Magnus Ihse Bursie
c4ced97793 8065914: Various improvements and cleanup of build system
Reviewed-by: erikj
2014-11-27 15:41:56 +01:00
Vladimir Ivanov
a0485e336d 8065985: Inlining failure of Number.doubleValue() in JSType.toNumeric() causes 15% peak perf regresion on Box2D
Reviewed-by: lagergren, hannesw
2014-11-27 17:14:01 +04:00
Attila Szegedi
e79371a0bc 8051778: support bind on all Nashorn callables
Reviewed-by: hannesw, lagergren
2014-11-27 13:04:46 +01:00
Alexander Scherbatiy
6c2369366c 8065098: JColorChooser no longer supports drag and drop between two JVM instances
Reviewed-by: serb, pchelko
2014-11-27 14:27:46 +03:00
Stefan Johansson
02adde2aac 8065227: Report allocation context stats at end of cleanup
Moved allocation context update from remark to the cleanup phase.

Reviewed-by: mgerdin, jmasa
2014-11-27 11:09:55 +01:00
Evgeniya Stepanova
e635ae96cb 8065865: gc/TestSoftReferencesBehaviorOnOOME.java: Error. Can't find source file: TestSoftReference.java
Reviewed-by: sla
2014-11-27 14:52:01 +04:00
Sangheon Kim
1ffc316e18 8055239: assert(_thread == Thread::current()->osthread()) failed: The PromotionFailedInfo should be thread local
Changed to trace and reset before second use of PromotionFailedInfo.

Reviewed-by: jmasa, brutisso, kbarrett
2014-11-26 21:38:25 -08:00
David Chase
bd885cddf0 Merge 2014-11-26 20:38:10 -05:00
Yumin Qi
114dfd5a23 Merge 2014-11-26 23:49:02 +00:00
Yumin Qi
2ae66a0f29 8038468: java/lang/instrument/ParallelTransformerLoader.sh fails with ClassCircularityError
Add check null for loader in transform to avoid when loading a class in callback handler for boot loader, CFLH set early enough to catch classes needed during class loading, i.e. sun.misc.URLClassPath$JarLoader$2 seen in the failure.

Reviewed-by: acorn, sspitsyn
2014-11-26 15:33:43 -08:00
Jesper Wilhelmsson
d4c7f00306 Merge 2014-11-26 20:36:36 +00:00
Yumin Qi
d1c1ac6cd9 Merge 2014-11-26 19:46:33 +00:00
Daniel Fuchs
6026dc63ea 8065748: Add a test to verify that non ascii characters in Encodings.properties do not cause issues
Reviewed-by: joehw
2014-11-26 20:10:48 +01:00
Amy Lu
13f3dfa073 8060026: Update jdk/test/tools/launcher tests to eliminate dependency on sun.tools.jar.Main
Reviewed-by: alanb, ksrini, psandoz
2014-11-26 11:12:19 -08:00
Yumin Qi
bfefbe8ba4 Merge 2014-11-26 18:47:23 +00:00
Yumin Qi
d620b54c63 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Jon Masamitsu
47d94bfc2f Merge 2014-11-26 17:43:48 +00:00
Jesper Wilhelmsson
11267d8d06 Merge 2014-11-26 17:24:57 +00:00
Jesper Wilhelmsson
3c3e60d5be Merge 2014-11-26 18:01:10 +01:00
Jesper Wilhelmsson
dcff994c52 Merge 2014-11-26 17:41:08 +01:00
Erik Helin
09ae36fd33 8065656: Use DWARF debug symbols for Solaris
Reviewed-by: dcubed, huntch, pbk
2014-11-26 17:32:39 +01:00
Magnus Ihse Bursie
64bb4a891c 8065913: Various improvements in SetupNativeCompilation
Reviewed-by: erikj
2014-11-26 15:15:27 +01:00
Filipp Zhinkin
5e21021117 8037968: Add tests on alignment of objects copied to survivor space
Reviewed-by: jmasa, dfazunen
2014-11-26 14:17:06 +04:00
Mikael Gerdin
b5ef32af36 8065358: Refactor G1s usage of save_marks and reduce related races
Stop using save_marks in G1 related code and make setting the replacement field less racy.

Reviewed-by: brutisso, tschatzl
2014-11-26 10:53:31 +01:00
Mikael Gerdin
d65f3c41b7 8065218: Move CMS-specific fields from Space to CompactibleFreeListSpace
Reviewed-by: brutisso, tschatzl, sangheki
2014-11-26 10:51:52 +01:00
Weijun Wang
eafad5770a 8061253: Spec cleanup for some security-related classes
Reviewed-by: mullan
2014-11-26 15:28:46 +08:00
Tobias Hartmann
137d39454d 8007993: hotspot.log w/ enabled LogCompilation can be an invalid XML
Open compilation log files in write-mode and close before deletion attempt.

Reviewed-by: vlivanov
2014-11-26 08:06:58 +01:00
David Holmes
26dc1466b7 8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
2014-11-25 21:00:21 -05:00
Phil Race
9f11366ec6 Merge 2014-11-25 12:14:42 -08:00
Phil Race
9d88d91ecc Merge 2014-11-25 10:41:40 -08:00
Chris Hegarty
a6da554cfb 8065072: sun/net/www/http/HttpClient/StreamingRetry.java failed intermittently
Reviewed-by: dfuchs
2014-11-25 18:43:44 +00:00
Roland Westrelin
15dcd41e87 6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
OOM during reallocation of scalar replaced objects in deoptimization causes crashes

Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Niclas Adlertz
53f42d325b Merge 2014-12-05 15:16:01 +01:00
Roland Westrelin
1976f161a5 Merge 2014-12-04 14:11:11 +00:00
Roland Westrelin
07537703cc 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Goetz Lindenmaier
bdefb9e250 8065915: Fix includes after 8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: vlivanov, dholmes
2014-11-25 15:59:42 +01:00
Jesper Wilhelmsson
1da0a96993 8065305: Make it possible to extend the G1CollectorPolicy
Added a G1CollectorPolicyExt where it is possible to extend the class.

Reviewed-by: sjohanss, tschatzl
2014-11-25 13:41:08 +01:00
Ivan Gerasimov
5ffd65a731 8064694: Kitchensink: WaitForMultipleObjects failed in hotspot\src\os\windows\vm\os_windows.cpp: 3844
Increase the timeout in debug builds; raise the priority of exiting threads

Reviewed-by: dcubed, dholmes
2014-11-25 14:16:32 +03:00
Konstantin Shefov
758644082b 8059070: [TESTBUG] java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed - timeout
Reviewed-by: psandoz, vlivanov
2014-11-25 14:16:55 +04:00
Robert Field
634c33938c 8058112: Invalid BootstrapMethod for constructor/method reference
Bridge method references with functional interface method parameters of intersection type

Reviewed-by: vromero, dlsmith
2014-11-24 14:52:46 -08:00
Jesper Wilhelmsson
963718e94d Merge 2014-11-24 20:00:44 +01:00
Alan Bateman
3469175a63 8065720: (ch) AbstractInterruptibleChannel.end sets interrupted to null
Reviewed-by: psandoz, chegar
2014-11-24 18:11:25 +00:00
Vladimir Ivanov
95ef6e0cb2 8059880: Get rid of LambdaForm interpretation
Reviewed-by: psandoz, kvn, shade
2014-11-24 07:19:36 -08:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Daniel Fuchs
96da5b9ce3 8060132: Handlers configured on abstract nodes in logging.properties are not always properly closed
Loggers which have been configured with a handler in the configuration file will be retained by the LogManager until reset() is called. A new configuration property is added to explicitely turn the fix off.

Reviewed-by: mchung
2014-11-24 17:02:37 +01:00
Jan Lahoda
26298f1124 8032211: Don't issue deprecation warnings on import statements
6598104: javac should not warn about imports of deprecated classes

Suppressing the deprecation warnings when importing a deprecated element (deprecations in import qualifier will be produced).

Reviewed-by: darcy, jjg, mcimadamore
2014-11-24 16:02:35 +01:00
Erik Helin
2f10adad63 8065648: Remove the flag -fsanitize=undefined for GCC 4.9 and later
Reviewed-by: erikj
2014-11-24 14:44:10 +01:00
Magnus Ihse Bursie
88f336ba40 8065913: Various improvements in SetupNativeCompilation
Reviewed-by: erikj
2014-11-26 15:14:14 +01:00
Magnus Ihse Bursie
e9f4e57a6b 8065911: Introduce EvalDebugWrapper for all Setup* macros
Reviewed-by: erikj
2014-11-26 14:59:10 +01:00
Erik Joelsson
65d007d445 8065138: Encodings.isRecognizedEnconding sometimes fails to recognize 'UTF8'
Reviewed-by: dfuchs
2014-11-24 11:53:47 +01:00
Erik Joelsson
c7b43102bc 8065412: generated source to compile .properties file incorreectly includes the module name in the package name
Reviewed-by: tbell, mchung, ihse
2014-11-24 11:40:49 +01:00
Staffan Larsen
63cf080672 Merge 2014-11-24 09:57:03 +01:00
Staffan Larsen
df59e4f501 Merge 2014-11-24 09:57:02 +01:00
Staffan Larsen
c44953a395 Merge 2014-11-24 09:57:02 +01:00
Mark Sheppard
e3e615d6bd 8065222: sun/net/www/protocol/http/B6369510.java doesn't execute as expected
Changed address.getHostName() to InetAddress.getLocalHost().getHostName() in URL construction in test's doClient method

Reviewed-by: chegar
2014-11-22 14:56:16 +00:00
Martin Buchholz
5ffaffb47e 8065159: AttributedString has quadratic resize algorithm
Grow backing arrays geometrically instead of arithmetically

Reviewed-by: naoto, okutsu
2014-11-21 16:30:02 -08:00
Vladimir Kozlov
37a6f605d0 Merge 2014-11-21 14:58:29 -08:00
Vladimir Kozlov
21a9917a88 Merge 2014-11-21 14:55:59 -08:00
Eric McCorkle
590188542e 8065132: Parameter annotations not updated when synthetic parameters are prepended
Cause javac to add synthetic parameters to Runtime[In]VisibleParameterAnnotations attributes

Reviewed-by: jjg, jfranck
2014-11-21 16:36:39 -05:00
Stuart Marks
da2c303927 8056313: TEST_BUG: java/util/Timer/NameConstructors.java fails intermittently
Reviewed-by: lancea, rriggs
2014-11-21 13:32:17 -08:00
Andrew Haley
f4aafadd05 8064357: AARCH64: Top-level JDK changes
Reviewed-by: ihse, twisti
2014-11-21 11:24:55 -08:00
Jonathan Gibbons
bdf693fcc5 8061876: replace java.io.File with java.nio.file.Path (again)
Reviewed-by: ksrini, jlahoda
2014-11-21 10:38:43 -08:00
Olivier Lagneau
c6db8bd7c7 8062037: java/lang/instrument/RetransformBigClass.sh should be quarantined
Add RedefineBigClass.sh and RetransformBigClss.sh in ProblemList.txt

Reviewed-by: dcubed, sspitsyn
2014-11-21 19:31:37 +01:00
Sean Mullan
a7bf39d7bd Merge 2014-11-21 15:26:24 -05:00
Sean Mullan
ca85e583e9 8046949: Generify the javax.xml.crypto API
Reviewed-by: xuelei
2014-11-21 15:23:36 -05:00
Alejandro Murillo
67933d7f11 Merge 2014-11-21 09:54:23 -08:00
Staffan Friberg
c90bc5b316 6321472: Add CRC-32C API
To add CRC-32C api and implementation

Reviewed-by: sherman
2014-11-21 09:28:53 -08:00
Hannes Wallnöfer
b5ae347f9c 8057691: Nashorn: let & const declarations are not shared between scripts
Reviewed-by: lagergren, attila
2014-11-21 17:44:57 +01:00
Alejandro Murillo
ee49c27e76 Merge 2014-11-21 08:00:31 -08:00
Alejandro Murillo
2e75649af2 Merge 2014-11-21 08:00:31 -08:00
Alejandro Murillo
37e6b26da4 Merge 2014-11-21 08:00:30 -08:00
Magnus Ihse Bursie
78df8f34ba 8065215: Print warning summary at end of configure
Reviewed-by: erikj, tbell
2014-11-21 16:11:28 +01:00
Magnus Ihse Bursie
a6355c5d7d 8058631: Rename posix to unix in build system to match file name changes
Reviewed-by: simonis, erikj, tbell
2014-11-21 16:05:46 +01:00
Magnus Ihse Bursie
2c4ba7c947 8058631: Rename posix to unix in build system to match file name changes
Reviewed-by: simonis, erikj, tbell
2014-11-21 16:05:11 +01:00
Tatiana Pivovarova
585ca822b8 8064696: compiler/startup/SmallCodeCacheStartup.java doesn't check exit code
Reviewed-by: kvn, anoll, iignatyev
2014-11-21 17:28:29 +03:00
Igor Ignatyev
bf5546e48d 8059550: JEP-JDK-8043304: Test task: segment overflow w/ empty others
Reviewed-by: kvn, thartmann, iignatyev
2014-11-21 17:27:11 +03:00
Yuri Nesterenko
005c56c6e3 8063107: Change open swing regression tests to avoid sun.awt.SunToolkit.realSync, part 2
8064573: [TEST_BUG] javax/swing/text/AbstractDocument/6968363/Test6968363.java is asocial pressing VK_LEFT and not releasing
8064575: [TEST_BUG] javax/swing/JEditorPane/6917744/bug6917744.java 100 times press keys and never releases
8064809: [TEST_BUG] javax/swing/JComboBox/4199622/bug4199622.java contains a lot of keyPress and not a single keyRelease

Reviewed-by: alexsch, pchelko
2014-11-21 16:11:03 +03:00
Joel Borggrén-Franck
8bf55955df 8062359: javac Attr crashes with NPE in TypeAnnotationsValidator visitNewClass
Reviewed-by: jlahoda, vromero
2014-11-21 12:36:21 +01:00
Jonathan Gibbons
56e39629eb 8065054: Some tests have junk before the legal header
Reviewed-by: darcy
2014-11-20 14:23:31 -08:00
Vicente Romero
60113dc1ba 8063052: Inference chokes on wildcard derived from method reference
Reviewed-by: mcimadamore
2014-11-20 14:05:39 -08:00
Lana Steuck
fc8789b7ed Merge 2014-11-20 11:17:17 -08:00
Jonathan Gibbons
6bfd41fed8 8058445: Javac throws exception when displaying info
Reviewed-by: vromero, jfranck
2014-11-20 11:00:29 -08:00
Lana Steuck
4eb3839dcc Merge 2014-11-20 10:58:48 -08:00
Lana Steuck
7845653e68 Merge 2014-11-20 10:58:31 -08:00
Lana Steuck
35268dc495 Merge 2014-11-20 10:58:25 -08:00
Lana Steuck
752f6b08a0 Merge 2014-11-20 10:57:38 -08:00
Lana Steuck
aa420bdfe3 Merge 2014-11-20 10:57:11 -08:00
Vicente Romero
418c9789d6 8059921: Missing compile error in Java 8 mode for Interface.super.field access
Reviewed-by: mcimadamore, jlahoda
2014-11-20 09:43:13 -08:00
Alexander Harlap
aba13c04f2 8059492: Wrong spelling in assert: "Not initialied properly?"
Fixed typo in metaspace assert message

Reviewed-by: mgerdin
2014-11-20 10:03:22 -05:00
Tobias Hartmann
5ef6d4e99d 8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
Ignore non-instance Klasses in the subclass hierarchy.

Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Ioi Lam
68c088e66f 8065346: WB_AddToBootstrapClassLoaderSearch calls JvmtiEnv::create_a_jvmti when not in _thread_in_vm state
Removed ThreadToNativeFromVM and use java_lang_String::as_utf8_string instead

Reviewed-by: dholmes, minqi
2014-11-19 19:31:13 -08:00
Coleen Phillimore
4151db8bfd 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Andrey Zakharov
5b5a52cd58 8059661: Test SoftReference and OOM behavior
Reviewed-by: tschatzl
2014-11-19 19:22:49 +04:00
Markus Grönlund
ac5d9dad16 8065361: Fixup headers and definitions for INCLUDE_TRACE
Reviewed-by: sla, stefank
2014-11-19 16:08:01 +01:00
Evgeniya Stepanova
71a33bf064 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
Reviewed-by: brutisso, dholmes
2014-11-19 17:51:06 +03:00
Evgeniya Stepanova
b83ddbef42 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: brutisso
2014-11-19 17:43:19 +03:00
Jan Lahoda
a2b0a2413e 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
Allowing final variables as operands to try-with-resources; also reviewed by Sergei Pikalev.

Reviewed-by: darcy, mcimadamore, vromero
2014-11-19 13:46:04 +01:00
Petr Pchelko
4fda3e56f4 8058193: [macosx] Potential incomplete fix for JDK-8031485
Reviewed-by: alexsch, serb
2014-11-19 16:42:19 +04:00
Alexander Stepanov
0e4eb0dc8f 8054143: move awt automated tests from AWT_Modality to OpenJDK repository - part 6
Reviewed-by: pchelko
2014-11-19 14:12:59 +04:00
Stuart Marks
75ffcef61d 8062807: Exporting RMI objects fails when run under restrictive SecurityManager
Reviewed-by: dfuchs, skoivu, igerasim, msheppar
2014-11-18 17:02:50 -08:00
David Katleman
9c481b142e Added tag jdk9-b40 for changeset 4bb9d8815020 2014-11-18 15:25:19 -08:00
David Katleman
f141ae6666 Added tag jdk9-b40 for changeset 5152f73fa93b 2014-11-18 15:25:18 -08:00
David Katleman
d124cca530 Added tag jdk9-b40 for changeset b31dbb20135a 2014-11-18 15:25:16 -08:00
David Katleman
ed11049d5e Added tag jdk9-b40 for changeset d480c3085030 2014-11-18 15:25:16 -08:00
David Katleman
b9ea81b9ed Added tag jdk9-b40 for changeset de21c9802939 2014-11-18 15:25:15 -08:00
David Katleman
785151164a Added tag jdk9-b40 for changeset e549997f615f 2014-11-18 15:25:14 -08:00
David Katleman
7f650a64d5 Added tag jdk9-b40 for changeset 11359380f4f9 2014-11-18 15:25:14 -08:00
David Katleman
20b2f3a542 Added tag jdk9-b40 for changeset e49b8c74a1c0 2014-11-18 15:25:13 -08:00
Frank Yuan
a669f5bd58 8043084: XML JAXP unittest co-location
Reviewed-by: joehw, dfuchs
2014-11-18 12:01:27 -08:00
Zoltan Majo
68b0d32b05 8062854: move compiler jtreg test to corresponding subfolders and use those in TEST.groups
Move all test from <bug_id> directories to <functional_dir_name>/<bug_id>; update TEST.groups to execute more tests

Reviewed-by: drchase, kvn
2014-11-18 19:44:45 +01:00
Erik Joelsson
20802dbd08 8065183: Add --with-copyright-year option to configure
Reviewed-by: ihse, tbell
2014-11-18 16:07:57 +01:00
Alexander Stepanov
221b429a77 8054359: move awt automated tests from AWT_Modality to OpenJDK repository - part 8
Some new tests to check FileDialog modality behavior

Reviewed-by: alexsch, pchelko
2014-11-18 17:10:34 +04:00
Alexander Stepanov
ff18bab0ed 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
Some modality tests for Print dialog were added

Reviewed-by: pchelko
2014-11-18 16:32:04 +04:00
Ioi Lam
ef64d5393d 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Poonam Bajaj
ae592ef688 Merge 2014-11-18 20:51:55 +00:00
Poonam Bajaj
1de1806455 8065220: Include alternate sa.make file for MacOSX
Include alternate sa.make in make/bsd/makefiles/sa.make

Reviewed-by: mgronlun, egahlin, sla
2014-11-18 10:19:04 -08:00
Severin Gehwolf
8a5d63f3a2 8064815: Zero+PPC64: Stack overflow when running Maven
Reviewed-by: kvn, simonis
2014-11-18 19:17:16 +01:00
Michael Fang
9d6d069c22 8055798: Japanese translation for a warning from javac looks incorrect
Reviewed-by: peytoia
2014-11-17 23:11:05 -08:00
Maurizio Cimadamore
5bb86103a9 8064803: Javac erroneously uses instantiated signatures when merging abstract most-specific methods
Wrong method type used in AmbiguousError.mergeAbstracts

Reviewed-by: jlahoda
2014-11-17 23:41:56 +00:00
Vladimir Ivanov
10999c6095 Merge 2014-11-17 23:11:40 +00:00
Vladimir Ivanov
f3d9096e4d 8062258: compiler/debug/TraceIterativeGVN.java segfaults in trace_PhaseIterGVN
Reviewed-by: kvn
2014-11-17 14:02:45 -08:00
Gerald Thornbrugh
3f915eeafd 8050807: Better performing performance data handling
Reviewed-by: dcubed, pnauman, ctornqvi, dholmes, mschoene
2014-11-17 15:51:46 -05:00
Phil Race
9a4645749f Merge 2014-11-17 12:32:27 -08:00
Marcus Lagergren
ad0645eb58 8049407: Endianness problem with TypedArrays
Reviewed-by: hannesw, sundar
2014-11-17 14:36:15 +01:00
Aleksey Shipilev
e1f99ed979 8065096: java.net.Authenticator.theAuthenticator should be properly synchronized
Reviewed-by: chegar, lancea
2014-11-17 15:30:22 +03:00
Sergey Gabdurakhmanov
f30ba73e16 8048050: Agent NullPointerException when rmi.port in use
Reviewed-by: jbachorik, dfuchs
2014-11-17 13:11:37 +01:00
Katja Kantserova
fb6b965e86 6542634: TEST BUG: MISC_REGRESSION tests need to have minimum timeouts examined
Reviewed-by: sla, jbachorik, egahlin
2014-11-18 16:20:16 +01:00
Sergey Lugovoy
42c6853ed1 8062638: RuntimeException when run command from js with -scripting on Cygwin
Reviewed-by: hannesw, lagergren
2014-11-17 14:57:28 +03:00
Aleksei Efimov
ee4d018bad 8064560: (tz) Support tzdata2014j
Reviewed-by: okutsu
2014-11-17 14:50:05 +03:00
Aleksei Efimov
fdb39122a1 8064914: tzdb.dat compilation failure when using tzdata2014j
Reviewed-by: sherman, coffeys
2014-11-17 14:11:08 +03:00
Igor Ignatyev
f81bd8ff29 8059732: improve hotspot_*test targets
Reviewed-by: kvn, dholmes
2014-11-17 12:57:49 +03:00
Staffan Larsen
d97ecb109a Merge 2014-11-17 09:36:40 +01:00
Staffan Larsen
f755ca6acc Merge 2014-11-17 09:36:40 +01:00
Claes Redestad
f50ee8896a 8058887: (fmt) Improve java/util/Formatter test coverage of group separators and width
Reviewed-by: sherman
2014-11-16 15:03:46 +01:00
Brent Christian
f4aff42708 8064288: sun.management.Flag should loadLibrary()
Call System.loadLibrary("management") from Flag static initializer

Reviewed-by: mchung
2014-11-14 13:46:19 -08:00
Lana Steuck
d5edf27b6a Merge 2014-11-20 10:58:03 -08:00
Roger Riggs
d5aaa2d8ff 8065372: Object.wait(ms, ns) timeout returns early
Reviewed-by: martin, dholmes
2014-11-19 21:28:26 -05:00
Roger Riggs
53906a2cb4 8064932: java/lang/ProcessBuilder/Basic.java: waitFor didn't take long enough
Reviewed-by: dholmes, martin
2014-11-19 21:22:22 -05:00
Claes Redestad
477b157f38 8065070: (fmt) Avoid creating substrings when building FormatSpecifier
Reviewed-by: martin, shade
2014-11-17 23:56:53 +01:00
Anton Nashatyrev
5b4a9bc976 8059739: Dragged and Dropped data is corrupted for two data types
Reviewed-by: serb, pchelko
2014-11-14 17:53:46 +03:00
Andrey Zakharov
da1287a38f 8064716: TestHumongousShrinkHeap.java can not be run with -XX:+ExplicitGCInvokesConcurrent
8062957: Heap is not shrunk when deallocating under memory pressure

Added explicit -XX:-ExplicitGCInvokesConcurrent to invocations

Reviewed-by: brutisso, tschatzl
2014-11-14 17:36:56 +04:00
Petr Pchelko
24c525eb11 8023723: Can not paste and copy the text from the text area into the editor
Reviewed-by: serb, alexsch
2014-11-14 16:19:40 +04:00
Jan Lahoda
e158f32141 8062747: Compiler error when anonymous class uses method with parametrized exception
When inferring lambda's thrown types, avoid tracking variables that are not under the lambda to avoid crashes.

Reviewed-by: vromero
2014-11-14 11:58:28 +01:00
Mikael Auno
cb0c3ed7ae 8064799: [TESTBUG] JT-Reg Serviceability tests to be run as part of JPRT submit job
Reviewed-by: sla, alanb, dholmes, sspitsyn
2014-11-14 10:29:01 +01:00
Mikael Auno
9cc6c5c2c5 8064799: [TESTBUG] JT-Reg Serviceability tests to be run as part of JPRT submit job
Reviewed-by: sla, alanb, dholmes, sspitsyn
2014-11-14 10:22:43 +01:00
Alejandro Murillo
e70f855944 Merge 2014-11-13 16:11:01 -08:00
Alejandro Murillo
e2cd480dee Merge 2014-11-13 16:11:00 -08:00
Alejandro Murillo
56e884cf1c Merge 2014-11-13 16:11:00 -08:00
Andrew Haley
bb0b55b7bb 8064594: AARCH64: JDK changes
Reviewed-by: dholmes, twisti, kvn
2014-11-13 15:45:45 -08:00
Lana Steuck
55bf181583 Merge 2014-11-13 10:22:24 -08:00
Lana Steuck
fe30b6862a Merge 2014-11-13 09:39:52 -08:00
Lana Steuck
21760dbcba Merge 2014-11-13 09:39:22 -08:00
Lana Steuck
46d6511c65 Merge 2014-11-13 09:39:08 -08:00
Lana Steuck
b227f09f28 Merge 2014-11-13 09:39:04 -08:00
Lana Steuck
7a9938e29c Merge 2014-11-13 09:38:49 -08:00
Lana Steuck
30066363bb Merge 2014-11-13 09:38:35 -08:00
Lana Steuck
3c7c8578e3 Merge 2014-11-13 09:37:32 -08:00
Roger Riggs
4401923a82 8043477: java/lang/ProcessBuilder/Basic.java failed with: java.lang.AssertionError: Some tests failed
Reviewed-by: martin
2014-11-13 12:29:54 -05:00
David Chase
f454e5e02c Merge 2014-11-13 11:35:15 -05:00
Marcus Lagergren
ebdc046949 8062937: Need to block constant assumption for index setters and defineOwnProperty, not just delete
Reviewed-by: hannesw, jlaskey
2014-11-13 16:59:03 +01:00
Gunter Haug
8e5771854a 8064471: Port 8013895: G1: G1SummarizeRSetStats output on Linux needs improvement to AIX
Reviewed-by: dholmes, simonis
2014-11-13 16:58:56 +01:00
Thomas Stuefe
c96487313b 8064779: Add additional comments for "8062370: Various minor code improvements"
Provide additional comments to jio_snprintf and jio_vsnprintf

Reviewed-by: simonis, coleenp, mgronlun
2014-11-17 11:26:43 -05:00
Staffan Larsen
c217bdda86 Merge 2014-11-17 09:36:40 +01:00
Coleen Phillimore
6ea8243276 Merge 2014-11-15 02:51:48 +00:00
Coleen Phillimore
95e4545589 Merge 2014-11-15 01:38:35 +00:00
Coleen Phillimore
2989453543 Merge 2014-11-15 01:29:25 +00:00
Coleen Phillimore
2488d9b005 Merge 2014-11-14 15:08:28 -05:00
Max Ockner
54d2060d42 8060449: Obsolete command line flags accept arbitrary appendix
Proper error messages for newly obsolete command line flags.

Reviewed-by: lfoltan, dcubed, coleenp
2014-11-14 13:09:53 -05:00
Eric McCorkle
3e575a7078 8064571: java/lang/instrument/IsModifiableClassAgent.java: assert(length > 0) failed: should only be called if table is present
Remove tautological assert

Reviewed-by: coleenp, lfoltan, sspitsyn, jiangli
2014-11-14 12:45:55 -05:00
Daniel D. Daugherty
b259ede692 8033602: wrong stabs data in libjvm.debuginfo on JDK 8 - SPARC
8034005: cannot debug in synchronizer.o or objectMonitor.o on Solaris X86

Solaris needs objcopy version of 2.21.1 or newer is needed to create valid .debuginfo files.

Reviewed-by: dsamersoff, sspitsyn, dholmes, ihse
2014-11-13 10:39:35 -08:00
Aleksey Shipilev
8f3190b805 8064749: -XX:-UseCompilerSafepoints breaks safepoint rendezvous
Reviewed-by: dcubed, coleenp, kvn, dholmes
2014-11-13 19:12:28 +03:00
Hannes Wallnöfer
20bfcfa75a 8064789: Nashorn should just warn on code store instantiation error
Reviewed-by: attila, lagergren
2014-11-13 15:29:22 +01:00
Andreas Lundblad
e404341a88 8059591: Give TaskListener methods empty default implementations
Added empty default implementations for TaskListener methods.

Reviewed-by: jfranck, ohrstrom
2014-11-13 14:49:02 +01:00
Nils Eliasson
bc52e8443e 8061256: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java timed out
Must not be at safepoint when taking CompileQueue_lock

Reviewed-by: kvn, anoll
2014-11-13 14:42:54 +01:00
Jesper Wilhelmsson
c72d5c48e2 Merge 2014-11-13 12:29:09 +01:00
Jesper Wilhelmsson
4ed33fbb19 Merge 2014-11-13 12:28:49 +01:00
Alexander Scherbatiy
d8d026811c 8064468: ownedWindowList access requires synchronization in Window.setAlwaysOnTop() method
Reviewed-by: serb, pchelko
2014-11-13 12:00:39 +03:00
Roland Westrelin
4bc2edad15 8054478: C2: Incorrectly compiled char[] array access crashes JVM
Dead backbranch in main loop results in erroneous array access

Reviewed-by: kvn, iveresov
2014-11-13 09:19:46 +01:00
Vladimir Ivanov
5a00d5f6b5 8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: kvn, roland
2014-11-24 07:29:03 -08:00
Tobias Hartmann
9adb455ba8 8065339: Failed compilation does not always trigger a JFR event 'CompilerFailure'
CompilerFailure JFR event should be triggered in ciEnv.

Reviewed-by: kvn
2014-11-24 08:48:15 +01:00
David Chase
ff95f67cce Merge 2014-11-22 03:10:33 +00:00
David Chase
54b5c3864e Merge 2014-11-21 21:08:48 -05:00
Vladimir Kozlov
f36e847523 8065618: C2 RA incorrectly removes kill projections
Don't remove KILL projections if their "defining" nodes have SCMemProj projection (memory side effects).

Reviewed-by: iveresov
2014-11-21 17:17:41 -08:00
Staffan Larsen
47ac075518 Merge 2014-11-13 08:02:38 +01:00
Staffan Larsen
8adbb0b63a Merge 2014-11-13 07:58:28 +01:00
David Katleman
54cc0b0fff Added tag jdk9-b39 for changeset d34febeff13b 2014-11-12 20:32:28 -08:00
David Katleman
30d62171d4 Added tag jdk9-b39 for changeset b2343bf3a5d8 2014-11-12 20:32:27 -08:00
David Katleman
b4c3f1aad3 Added tag jdk9-b39 for changeset eafa8898e1a0 2014-11-12 20:32:25 -08:00
David Katleman
5c42081e69 Added tag jdk9-b39 for changeset d4795cb91c4d 2014-11-12 20:32:25 -08:00
David Katleman
ec7efa894a Added tag jdk9-b39 for changeset b2746ec1c520 2014-11-12 20:32:24 -08:00
David Katleman
f0f4ba635c Added tag jdk9-b39 for changeset 9f3693786717 2014-11-12 20:32:23 -08:00
David Katleman
e6c564c97f Added tag jdk9-b39 for changeset 4d506c3aaee1 2014-11-12 20:32:23 -08:00
David Katleman
ba04eee49b Added tag jdk9-b39 for changeset 940ac2683a10 2014-11-12 20:32:22 -08:00
Coleen Phillimore
a44e4f2067 Merge 2014-11-13 03:48:47 +00:00
Calvin Cheung
7942d78cb9 Merge 2014-11-13 02:09:11 +00:00
Coleen Phillimore
2993751669 Merge 2014-11-12 20:18:13 -05:00
Coleen Phillimore
1b8924bdb6 Merge 2014-11-13 00:40:07 +00:00
Calvin Cheung
1f7d2d4c0d 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
No need to use the /export linker option on windows 64-bit platform

Reviewed-by: ctornqvi, minqi
2014-11-12 16:22:12 -08:00
David Holmes
959631d58d 8062307: 'Reference handler' thread triggers assert w/ TraceThreadEvents
Removed unused and non-working TraceThreadEvents option

Reviewed-by: coleenp, jiangli
2014-11-12 19:05:59 -05:00
Aleksey Shipilev
f8712e7800 8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Aleksey Shipilev
4a8e05977e 8059677: Thread.getName() instantiates Strings
Reviewed-by: chegar, dholmes, sla, rriggs
2014-11-13 01:55:21 +03:00
Jiangli Zhou
ae5c5e80cd Merge 2014-11-12 18:31:05 +00:00
Jiangli Zhou
afd3405c2f 8054008: Using -XX:-LazyBootClassLoader crashes with ACCESS_VIOLATION on Win 64bit
Only enable the assert for current_stack_pointer after stub routines become available.

Reviewed-by: dholmes, roland, lfoltan
2014-11-12 13:12:35 -05:00
Jan Lahoda
b136af5563 8064362: WriteableScope.dupUnshared misbehaves on shared Scopes
When calling dupUnshared on a shared scope, make sure the result does not contain Symbols that don't belong to the scope that is being dupUnshared.

Reviewed-by: mcimadamore
2014-11-12 19:05:17 +01:00
David Dehaven
1ce0119e15 Merge 2014-11-12 09:36:25 -08:00
David Dehaven
ba945b418e Merge 2014-11-12 09:20:12 -08:00
Marcus Lagergren
ca13b9a903 8063036: Various pretty printing issues with --log=recompile
Reviewed-by: hannesw, jlaskey
2014-11-12 17:19:04 +01:00
Attila Szegedi
2761db3bb6 8064707: Remove NativeArray link logic fields
Reviewed-by: hannesw, lagergren
2014-11-12 15:13:08 +01:00
Attila Szegedi
e0d1d687f2 8063037: ApplySpecialization.hasApplies shouuld not descend into nested functions
Reviewed-by: hannesw, lagergren
2014-11-12 14:54:40 +01:00
Marcus Lagergren
1fd2db0b1a 8064705: Build breaking warning in LengthNotWritableFilter
Reviewed-by: hannesw, attila
2014-11-12 14:40:05 +01:00
Andrei Eremeev
9130b22f3f 8042931: Implement classfile tests for EnclosingMethod attribute
Reviewed-by: jjg, shurailine, anazarov
2014-11-12 15:16:35 +02:00
Marcus Lagergren
434b1899be 8035312: Various array and ScriptObject length issues for non writable length fields
Reviewed-by: hannesw, attila
2014-11-12 14:12:01 +01:00
Maurizio Cimadamore
ed9c1bb743 8064464: regression with type inference of conditional expression
Bad classification of conditional leads to spurious error

Reviewed-by: jlahoda
2014-11-12 12:41:32 +00:00
Serguei Spitsyn
cc2452b769 6988950: JDWP exit error JVMTI_ERROR_WRONG_PHASE(112)
Synchronize the jdwp VirtualMachine command functions with the VM_DEATH event

Reviewed-by: dcubed, dsamersoff, dholmes
2014-11-11 21:46:02 -08:00
Weijun Wang
9aae24502b 8063087: policytool reports error message with prefix of "java.lang.Exception"
Reviewed-by: xuelei
2014-11-12 10:47:08 +08:00
Tristan Yan
f2c3ec466b 8047962: XML test colocation: AuctionPortal test
Reviewed-by: joehw
2014-11-11 14:27:13 -08:00
David Kocher
15d4deb44a 8046777: apple.security.KeychainStore has a problem searching for identities
Reviewed-by: mullan
2014-11-11 20:11:34 +00:00
Jiangli Zhou
c4806e0186 Merge 2014-11-11 14:52:50 -05:00
Jiangli Zhou
0bad624124 Merge 2014-11-11 19:42:52 +00:00
Alejandro Murillo
8b0ba26865 Merge 2014-11-11 11:29:20 -08:00
Coleen Phillimore
629b0a66ee Merge 2014-11-11 18:00:06 +00:00
Jiangli Zhou
7251d384ac Merge 2014-11-11 16:54:24 +00:00
Attila Szegedi
c0e0171008 8062799: Binary logical expressions can have numeric types
Reviewed-by: lagergren, sundar
2014-11-11 17:27:44 +01:00
Attila Szegedi
ed690e7835 8064467: type info persistence failed to calculate directory name
Reviewed-by: hannesw, lagergren
2014-11-11 16:17:37 +01:00
Coleen Phillimore
d6de951947 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-11 09:59:50 -05:00
Vladimir Ivanov
3e0d07ed5c 8060147: SIGSEGV in Metadata::mark_on_stack() while marking metadata in ciEnv
Reviewed-by: kvn, roland, coleenp, mgerdin
2014-11-11 04:46:13 -08:00
Dmitry Samersoff
fb8f27e2af 8059131: sawindbg.dll is not compiled with /SAFESEH
Make variable SAFESEH_FLAG replaced with /SAFESEH link option.

Reviewed-by: mgronlun, sla
2014-11-11 04:34:56 -08:00
Aleksey Shipilev
21527b2ff2 8015272: Make @Contended within the same group to use the same oop map
Reviewed-by: coleenp, dholmes
2014-11-11 15:07:09 +03:00
Tobias Hartmann
00aa20db4a 8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Mark Sheppard
e98e33a745 8037909: JNI warnings in jdk/src/windows/native/java/nio/MappedByteBuffer.c
Added CHECK_NULL after JNI GetFieldID native call

Reviewed-by: alanb, chegar
2014-11-11 01:12:56 +00:00
Mark Sheppard
2c4c0652b1 8049522: Move @implNote in org.omg.CORBA.ORB to init method
Updated the implNote in the omg.org.CORBA.ORB class

Reviewed-by: alanb
2014-11-11 01:02:47 +00:00
Jiangli Zhou
9b1628d0b5 Merge 2014-11-10 19:52:28 -05:00
Eric McCorkle
cba5bd2638 8058322: Zero name_index item of MethodParameters attribute cause MalformedParameterException
Allow hotspot to report null for 0 parameter_name index in MethodParameters attribute

Reviewed-by: coleenp, dholmes
2014-11-10 19:37:32 -05:00
Jiangli Zhou
4f4c4bbd5c 8064375: Change certain errors to warnings in CDS output
Change CDS non-fatal preloading errors to warnings.

Reviewed-by: minqi, mseledtsov, coleenp
2014-11-10 19:28:51 -05:00
David Buck
a02a2a54b6 8064516: BCEL still corrupts generic methods if bytecode offsets are modified
Added comprehensive support for LocalVariableTypeTable to MethodGen.

Reviewed-by: joehw
2014-11-10 16:09:38 -08:00
Eric McCorkle
bbd7b058d1 8058313: Mismatch of method descriptor and MethodParameters.parameters_count should cause MalformedParameterException
Allow hotspot to store and report zero-length MethodParameters attribute data

Reviewed-by: coleenp, jiangli
2014-11-10 16:45:46 -05:00
Eric McCorkle
935c33a50c 8062556: Add jdk tests for JDK-8058322 and JDK-8058313
Add tests for two hotspot reflection fixes.

Reviewed-by: dholmes
2014-11-10 15:06:13 -05:00
Andreas Lundblad
732c7c5e28 8062737: Sjavac creates unnecessarily many SjavacClient/PooledSjavac/SjavacImpl instances
Moved sjavac initialization out of loop body.

Reviewed-by: jfranck, ohrstrom
2014-11-10 20:29:58 +01:00
Calvin Cheung
5ccaf44879 8060721: Test runtime/SharedArchiveFile/LimitSharedSizes.java fails in jdk 9 fcs new platforms/compiler
Replaced strcat() with jio_snprintf()

Reviewed-by: dholmes, iklam, dlong, minqi
2014-11-10 10:13:10 -08:00
Neil Toda
918fac5a52 8058407: Remove Multiple JRE support in the Java launcher
Reviewed-by: alanb, darcy, ksrini
2014-11-10 08:43:27 -08:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Igor Ignatyev
bdac822811 8059624: Test task: WhiteBox API for testing segmented codecache feature
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Roger Riggs
6553ede9c3 8064372: CompileJavaModules overwrites settings from custom
Reviewed-by: mchung, erikj
2014-11-10 09:58:12 -05:00
Yuri Nesterenko
41d2bc7e75 8063106: Change open swing regression tests to avoid sun.awt.SunToolkit.realSync, part 1
Reviewed-by: pchelko, serb
2014-11-10 16:37:40 +03:00
Yuri Nesterenko
043868fac7 8063102: Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 1
Reviewed-by: pchelko, serb
2014-11-10 16:23:30 +03:00
Lance Andersen
900872016c 8064356: Add BaseRowSet, SQLInputImpl, and SQLOutputImpl tests
Reviewed-by: joehw, rriggs
2014-11-09 17:59:06 -05:00
Sergey Bylokhov
e8c7cc1187 7169583: JInternalFrame title not antialiased in Nimbus LaF
Reviewed-by: azvegint, alexsch
2014-11-09 22:17:45 +03:00
Igor Ignatyev
913c598d6c 8063157: add targets for optimized builds
Reviewed-by: kvn, dholmes
2014-11-08 16:01:10 +03:00
Tatiana Pivovarova
80830d4932 8062742: compiler/EliminateAutoBox/UnsignedLoads.java fails with client vm
Reviewed-by: kvn, rbackman, anoll, vlivanov, iignatyev
2014-11-08 16:00:28 +03:00
Tatiana Pivovarova
dda16f6ccd 8062011: JT_HS/compiler/7068051 uses jre/lib/javaws.jar
Reviewed-by: kvn, iignatyev
2014-11-08 16:00:27 +03:00
Joe Wang
23a78f8c2f 8059327: XML parser returns corrupt attribute value
Reviewed-by: lancea
2014-11-07 13:18:58 -08:00
Yumin Qi
1768fe1eb9 8062247: [TESTBUG] Allow WhiteBox test to access JVM offsets
Reviewed-by: coleenp, iklam, mseledtsov
2014-11-07 12:48:09 -08:00
David Chase
fbe3993153 Merge 2014-11-07 13:58:52 -05:00
Alejandro Murillo
56d7a059c0 Merge 2014-11-07 06:35:24 -08:00
Alejandro Murillo
0aa14570e8 Merge 2014-11-07 06:35:23 -08:00
Staffan Larsen
33477d9cac Merge 2014-11-07 13:50:55 +01:00
Pooja Chopra
19e7d7eb35 8058805: [TEST_BUG]Test java/awt/TrayIcon/SecurityCheck/NoPermissionTest/NoPermissionTest.java fails
Reviewed-by: yan, alexsch
2014-11-07 14:20:56 +04:00
David Buck
e9d151f105 8062608: BCEL corrupts debug data of methods that use generics
Fixed MethodGen constructor to not overwrite LocalVariableTable.

Reviewed-by: joehw
2014-11-06 23:14:02 -08:00
Lana Steuck
6b9913f667 Merge 2014-11-06 15:13:39 -08:00
Lana Steuck
6c0c5c108e Merge 2014-11-06 15:13:32 -08:00
Lana Steuck
f0dc68f1aa Merge 2014-11-06 15:13:08 -08:00
Lana Steuck
4670b4c234 Merge 2014-11-06 15:12:17 -08:00
Lana Steuck
1adb187cba Merge 2014-11-06 15:12:04 -08:00
Phil Race
f465a5f228 8062163: java/awt/geom/AffineTransform/TestInvertMethods.java test fails
Reviewed-by: jgodinez
2014-11-06 15:10:00 -08:00
Martin Buchholz
8ecf707b8d 8062773: Clarifications for Class specification
Reviewed-by: darcy, psandoz
2014-11-06 13:29:36 -08:00
Martin Buchholz
7c51cce1ad 8064846: Lazy-init thread safety problems in core reflection
Make several fields in core reflection volatile

Reviewed-by: jfranck, shade, plevart
2014-11-14 11:23:07 -08:00
Martin Buchholz
84e99bc48e 8062771: Core reflection should use final fields whenever possible
Reviewed-by: psandoz, darcy
2014-11-06 13:18:44 -08:00
Joe Wang
6c7132bcc9 8059327: XML parser returns corrupt attribute value
Reviewed-by: lancea
2014-11-07 13:23:36 -08:00
Anthony Scarpino
1924ac8a18 8063700: -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
Reviewed-by: mullan, valeriep
2014-11-07 13:07:09 -08:00
Pavel Rappo
b6a37a3667 8059311: com/sun/jndi/ldap/LdapTimeoutTest.java fails with exit_code == 0
Reviewed-by: vinnie
2014-11-07 15:12:04 +00:00
Daniel D. Daugherty
d7ec650456 8062851: cleanup ObjectMonitor offset adjustments
JEP-143/JDK-8046133 - cleanup computation of ObjectMonitor field pointers

Reviewed-by: dholmes, redestad, coleenp
2014-11-06 13:05:14 -08:00
Staffan Larsen
bcb6a1586a Merge 2014-11-06 19:59:32 +00:00
David Katleman
30c5d4c4e8 Added tag jdk9-b38 for changeset babdaa819add 2014-11-06 10:11:40 -08:00
David Katleman
4c77e33f9b Added tag jdk9-b38 for changeset 7f3150885118 2014-11-06 10:11:40 -08:00
David Katleman
d607de66cd Added tag jdk9-b38 for changeset e47d7d1e7897 2014-11-06 10:11:37 -08:00
David Katleman
bd67f69e10 Added tag jdk9-b38 for changeset 1b163230e8c0 2014-11-06 10:11:37 -08:00
David Katleman
670e0342e2 Added tag jdk9-b38 for changeset f86bf2fa3e02 2014-11-06 10:11:37 -08:00
David Katleman
6e22db57d6 Added tag jdk9-b38 for changeset 97d38ac57757 2014-11-06 10:11:35 -08:00
David Katleman
baf9de8bf6 Added tag jdk9-b38 for changeset 8cc25b0f95a0 2014-11-06 10:11:35 -08:00
David Katleman
8720757f20 Added tag jdk9-b38 for changeset 5c664a8f66d0 2014-11-06 10:11:35 -08:00
Attila Szegedi
c2b5d15a9d 8062308: Incorrect constant linkage with multiple Globals in a Context
Reviewed-by: lagergren, sundar
2014-11-06 17:06:56 +01:00
Maurizio Cimadamore
87d664f4f0 8062977: Inference: NullPointerException during bound incorporation
Bogus Types.asSuper call on array type symbol

Reviewed-by: vromero
2014-11-06 14:33:22 +00:00
Maurizio Cimadamore
ded3a562b9 6987475: Order of declarations affects whether abstract method considered overridden
Types.implementation erroneously returns first matching method in hierarchy.

Reviewed-by: vromero
2014-11-06 14:31:56 +00:00
Claes Redestad
1584416bbc 8062180: MethodHandleImpl.makeArrays throws and swallows java.lang.NoSuchFieldError in normal flow
Reviewed-by: vlivanov, shade
2014-11-06 15:25:56 +01:00
Coleen Phillimore
8a90e389bd Merge 2014-11-06 13:57:26 +00:00
Hannes Wallnöfer
ed9bce193a 8047365: Very long function names break codegen
Reviewed-by: attila, lagergren
2014-11-06 13:17:47 +01:00
Hannes Wallnöfer
0c4006a654 8062624: java.lang.String methods not available on concatenated strings
Reviewed-by: lagergren, attila
2014-11-06 13:15:52 +01:00
Alex Schenkman
a4a5a90486 8062136: com/sun/jdi/Redefine-g.sh should be quarantined
8062137: sun/jvmstat/monitor/MonitoredVm/CR6672135.java should be quarantined

Update ProblemList.txt to exclude two tests

Reviewed-by: jbachorik
2014-11-06 03:53:31 -08:00
David Buck
5b4d655ce3 Merge 2014-11-06 08:18:10 +00:00
David Buck
af50fa526b 8058715: stability issues when being launched as an embedded JVM via JNI
Use mmap call without MAP_FIXED so we avoid corrupting already allocated memory

Reviewed-by: coleenp, dsimms
2014-11-05 23:37:17 -08:00
Albert Noll
4af87513d4 8062735: CodeCacheSweeperThread missing from SA
Make SA aware of the code cache sweeper thread

Reviewed-by: kvn, coleenp, sspitsyn
2014-11-06 07:27:25 +01:00
Jonathan Gibbons
c4f3406133 8063074: test/tools/javac/plugin/showType/Test.java fails on Windows
Reviewed-by: ksrini
2014-11-05 19:48:42 -08:00
Jonathan Gibbons
a75d2dbd39 8062676: Tests which leak lots of file managers should be fixed (group 2)
Reviewed-by: darcy
2014-11-05 19:12:45 -08:00
Jonathan Gibbons
b96daffd2e 8063039: incorrect message reference or broken message file
Reviewed-by: ksrini
2014-11-05 19:09:09 -08:00
Jiangli Zhou
75778598e2 Merge 2014-11-06 01:31:31 +00:00
Jeremy Manson
54e9fee4d2 8062116: JVMTI GetClassMethods is Slow
Allocate enough space for all jmethodids; make adding a jmethodid O(1)

Reviewed-by: coleenp, rasbold, sspitsyn
2014-11-05 16:47:37 -08:00
Coleen Phillimore
78aaa377f4 Merge 2014-11-06 00:01:33 +00:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Chris Plummer
7a414a2c7d 8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp
Fixed by removing all code related to LowMemoryProtection, which removed offending code.

Reviewed-by: dholmes, minqi
2014-11-05 13:00:59 -08:00
George Triantafillou
b4138cce10 8061969: [TESTBUG] MallocSiteHashOverflow.java should be enabled for 32-bit platforms
Reviewed-by: ctornqvi, coleenp
2014-11-05 08:22:17 -08:00
Christian Tornqvist
76971f377b 8058251: assert(_count > 0) failed: Negative counter when running runtime/NMT/MallocTrackingVerify.java
Fixed an issue when overflowing the MallocSite hash table bucket

Reviewed-by: coleenp, gtriantafill
2014-11-05 13:20:09 -08:00
Christian Tornqvist
d934df8a84 8061733: [TESTBUG] Exclude tests that have issues with Jigsaw M2 changes
[TESTBUG] Exclude tests that have issues with Jigsaw M2 changes

Reviewed-by: lfoltan, gtriantafill
2014-11-05 13:18:51 -08:00
Hannes Wallnöfer
043a07e654 8062386: Different versions of nashorn use same code cache directory
Reviewed-by: lagergren, attila
2014-11-05 17:07:26 +01:00
Sergey Bylokhov
2476a824bd 7195187: [TEST_BUG] [macosx] javax/swing/SwingUtilities/7088744/bug7088744.java failed
Reviewed-by: azvegint, alexsch
2014-11-05 18:33:28 +03:00
Martin Doerr
d4fc9133ab 8062950: Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant
Reviewed-by: dholmes, kvn
2014-11-05 16:28:11 +01:00
Zoltan Majo
49b224a4f7 8057622: java/util/stream/test/org/openjdk/tests/java/util/stream/InfiniteStreamWithLimitOpTest: SEGV inside compiled code (sparc)
In Parse::array_store_check(), add control edge FROM IfTrue branch of runtime type check of the destination array TO loading _element_klass from destination array.

Reviewed-by: kvn, roland, anoll
2014-11-06 09:40:58 +01:00
Eric McCorkle
0acac5a3d5 8035259: javac, incorrect shadowing of classes vs type parameters
Cause javac to look at type variables first when resolving names in an extends/implements list

Reviewed-by: mcimadamore, jlahoda
2014-11-05 08:37:04 -05:00
Marcus Lagergren
fe0da815c5 8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional
Reviewed-by: attila, hannesw
2014-11-05 12:34:06 +01:00
Pavel Rappo
85ea78c191 8062759: Update test/javax/naming/spi/providers/InitialContextTest.java to use classpath
Reviewed-by: mchung
2014-11-05 11:11:27 +00:00
Shanliang Jiang
97bc990497 8046192: Eliminate SNMP dependencies to the internal APIs from open jdk modules
Reviewed-by: dfuchs, mchung, alanb
2014-11-05 10:59:46 +01:00
Magnus Ihse Bursie
6b1eac7c4e 8062816: Fix configure freetype detection on Mac OS X Yosemite
Reviewed-by: tbell
2014-11-05 10:26:06 +01:00
Magnus Ihse Bursie
9b6713919a 8062661: Do not perform X11 checks in configure when X11 is not needed
Reviewed-by: tbell
2014-11-05 10:21:59 +01:00
Magnus Ihse Bursie
f2253115a2 8062806: Remove unused build/make files
Reviewed-by: tbell
2014-11-05 09:51:33 +01:00
Jaroslav Bachorik
543d65a194 8062896: TEST_BUG: java/lang/Thread/ThreadStateTest.java can't compile with change for 8058506
Reviewed-by: dholmes, sla
2014-11-05 09:49:20 +01:00
Shanliang Jiang
44df30d7f5 8046192: Eliminate SNMP dependencies to the internal APIs from open jdk modules
Reviewed-by: dfuchs, mchung, alanb
2014-11-05 11:00:22 +01:00
Weijun Wang
ed9e73bb66 8057810: New defaults for DSA keys in jarsigner and keytool
Reviewed-by: vinnie
2014-11-05 17:15:09 +08:00
Alexander Scherbatiy
5b517ee996 8062561: Test bug8055304 fails if file system default directory has read access
Reviewed-by: serb
2014-11-05 12:46:39 +04:00
Pavel Chistyakov
cd0bc39ec5 8036616: [TESTBUG] Embedded: sun/jvmstat/monitor/MonitoredVm/CR6672135.java should be launched with -XX:+UsePerfData
Reviewed-by: dholmes, jbachorik
2014-11-04 18:37:24 -05:00
Sonali Goel
4ca3a232d1 8062314: Update tools/javac/plugin/showtype/Test.java to use ToolBox.java
Reviewed-by: jjg
2014-11-04 13:21:25 -08:00
Joe Wang
47f9eb6c50 6770436: Entity callback order differs between Java1.5 and Java1.6
Reviewed-by: lancea
2014-11-04 09:14:01 -08:00
Joe Wang
25e91b769f 6770436: Entity callback order differs between Java1.5 and Java1.6
Reviewed-by: lancea
2014-11-04 09:10:11 -08:00
Igor Veresov
8db9a55e68 8062591: SPARC PICL causes significantly longer startup times
Optimize traversals of the PICL tree

Reviewed-by: kvn
2014-11-04 07:09:34 -10:00
Michael McMahon
00cb0b870a Merge 2014-11-04 15:10:38 +00:00
Michael McMahon
df1eec112e 8062744: jdk.net.Sockets.setOption/getOption does not support IP_TOS
Reviewed-by: alanb, chegar
2014-11-04 15:09:01 +00:00
Markus Grönlund
bedb577ea9 8056049: getProcessCpuLoad() stops working in one process when a different process exits
Reviewed-by: ctornqvi
2014-11-04 14:46:25 +01:00
Andreas Lundblad
4a3d559ffb 8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile
Added throws IOException to main method.

Reviewed-by: jjg
2014-11-04 09:04:13 +01:00
Christian Tornqvist
f048251de8 8059803: Update use of GetVersionEx to get correct Windows version in hs_err files
Update use of GetVersionEx to get correct Windows version in hs_err files

Reviewed-by: dcubed, gtriantafill
2014-11-03 11:34:13 -08:00
Phil Race
6a06509d40 Merge 2014-11-03 10:11:10 -08:00
Alan Bateman
5598ed0cf0 8062632: (fs spec) Package description could be clearer on the cases where NPE is thrown
8062553: (fs spec) Files.write and newBufferedWriter methods missing @throws IAE

Reviewed-by: dfuchs
2014-11-03 15:33:11 +00:00
Jesper Wilhelmsson
40cf3f17ed Merge 2014-11-03 15:53:03 +01:00
Marcus Lagergren
d82a461e44 8062490: Out of memory problems, as untouched array datas didn't go directly to SparseArrayDatas, but dragged very large int arrays around
Reviewed-by: attila, sundar
2014-11-03 14:59:34 +01:00
Marcus Lagergren
75d37c8e9c 8061959: ArrayBuffer lacked static isViewMethod
Reviewed-by: attila, sundar
2014-11-03 13:58:52 +01:00
Marcus Lagergren
f27f5dd651 8062381: Wrong index was used for linking charCodeAt specializations
Reviewed-by: attila, hannesw
2014-11-03 12:34:39 +01:00
Marcus Lagergren
88fcdf5d05 8060204: Fix warnings in Joni and tests
Reviewed-by: hannesw, sundar, attila
2014-11-03 11:47:41 +01:00
Jaroslav Bachorik
cd4e0a44d5 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:54 +01:00
Jaroslav Bachorik
f52a43892a 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:43 +01:00
Andreas Lundblad
78ab98e8fa 8042088: Sjavac spawns external processes in a unnecessarily complex and platform dependent way
Refactoring of the sjavac background fork code.

Reviewed-by: jfranck, ohrstrom
2014-11-03 10:20:34 +01:00
Attila Szegedi
5d2bb4cd2d 8059443: NPE when unboxing return values
Reviewed-by: lagergren, sundar
2014-11-03 09:49:52 +01:00
Xue-Lei Andrew Fan
83143ef7f8 8061210: Issues in TLS
Reviewed-by: jnimeh, mullan, wetmore, ahgross, asmotrak
2014-11-03 08:30:18 +00:00
Attila Szegedi
10ebc44ee0 8062050: A method is considered caller sensitive, but it doesn't have the CallerSensitive annotation
Reviewed-by: hannesw, lagergren
2014-11-03 07:29:46 +01:00
Attila Szegedi
c0a2e40859 8061957: Some arithmetic operations have unnecessary widening
Reviewed-by: hannesw, lagergren
2014-11-03 07:28:08 +01:00
Sergey Bylokhov
bd4a93871b 8062164: Incorrect color conversion, when bicubic interpolation is used
Reviewed-by: flar, prr
2014-11-01 14:40:09 +03:00
Dan Smith
44213132ab 8062449: Update langtools/test/Makefile to use JCK 9
Updated to JCK 9 and improved use of variables to control the invocation

Reviewed-by: jjg, erikj
2014-10-31 17:23:21 -06:00
Daniel D. Daugherty
c6b9495b55 Merge 2014-10-31 18:18:58 +00:00
Lance Andersen
ff54f6ff54 8062558: Add javax/sql/rowset/spi tests
Reviewed-by: joehw
2014-10-31 13:21:51 -04:00
Daniel D. Daugherty
2730e1ad50 Merge 2014-10-31 10:15:29 -07:00
Hendrik Schreiber
7a54433a74 8057830: Crash in Java2D Queue Flusher, OGLSD_SetScratchSurface
Reviewed-by: serb, denis
2014-10-31 19:45:54 +03:00
David Buck
f27723c08b 8060169: Update the Crash Reporting URL in the Java crash log
Update the URL for HotSpot bug reports.

Reviewed-by: dcubed, rdurbin
2014-10-31 09:37:17 -07:00
Hannes Wallnöfer
44b0af6eb9 8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey
2014-10-31 16:50:31 +01:00
Roger Riggs
49f87c1034 8062475: Enable hook for custom doc generation
Reviewed-by: erikj
2014-10-31 11:23:03 -04:00
Kumar Srinivasan
60b8135982 8061305: Javadoc crashes when method name ends with "Property"
Reviewed-by: jjg
2014-10-31 07:02:56 -07:00
Dmitriy Ermashov
562ef36160 8062606: Fix a typo in java.awt.Robot class
Reviewed-by: yan, serb
2014-10-31 12:38:46 +03:00
Hannes Wallnöfer
cd2c4bfd1d 8062132: Nashorn incorrectly binds this for constructor created by another function
Reviewed-by: jlaskey, sundar
2014-10-31 10:06:52 +01:00
Bengt Rutisson
33df9eecaa 8061308: Remove iCMS
Reviewed-by: mgerdin, jmasa
2014-10-31 09:29:32 +01:00
Jesper Wilhelmsson
752ab53592 Merge 2014-10-31 08:00:09 +00:00
Alejandro Murillo
73fa4d8c8a Merge 2014-10-30 22:52:13 -07:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Jonathan Gibbons
10d96d7aec 8062593: remove debug print statements
Reviewed-by: vromero
2014-10-30 17:31:22 -07:00
Jonathan Gibbons
ee2e529d22 8062579: JavacTask, DocumentationTask impls should close file manager when possible
Reviewed-by: ksrini
2014-10-30 16:08:43 -07:00
Sonali Goel
35b29e7662 8062336: Revert tools/javap/T6729471.java to original test code
Reviewed-by: jjg
2014-10-30 15:21:42 -07:00
Lana Steuck
6c8da71920 Merge 2014-10-30 13:57:02 -07:00
Lana Steuck
dbb124c8a0 Merge 2014-10-30 13:56:49 -07:00
Lana Steuck
840418be85 Merge 2014-10-30 13:56:29 -07:00
Lana Steuck
bc97a50589 Merge 2014-10-30 13:56:09 -07:00
Lana Steuck
c7ec9afee6 Merge 2014-10-30 13:55:51 -07:00
Lana Steuck
58a61884ab Merge 2014-10-30 13:55:41 -07:00
Phil Race
842ce4b94e 8028539: Endless loop in native code of sun.java2d.loops.ScaledBlit
Reviewed-by: flar, jgodinez
2014-10-30 13:36:44 -07:00
Igor Veresov
5870a5b77b Merge 2014-10-30 09:50:16 -10:00
Hannes Wallnöfer
5d33a33e2f 8062401: User accessors require boxing and do not support optimistic types
Reviewed-by: jlaskey, lagergren
2014-10-30 19:55:56 +01:00
Brian Burkhalter
32ca949153 8062501: Modifications of server socket channel accept() methods for instrumentation purposes
Wrap accept0() native methods in Java accept().

Reviewed-by: chegar, alanb
2014-10-30 11:31:17 -07:00
Phil Race
623e2a7cce 8062497: Open up some AffineTransform tests
Reviewed-by: jgodinez
2014-10-30 11:08:27 -07:00
Erik Joelsson
755b2be9af 8062521: 9-dev glinux/elinux "configure: error: Could not find all X11 headers" since 2014-10-28
Reviewed-by: dholmes
2014-10-30 17:49:45 +01:00
David Katleman
baf8cabd66 Added tag jdk9-b37 for changeset 957656314d82 2014-10-30 08:35:05 -07:00
David Katleman
e9d3130f3d Added tag jdk9-b37 for changeset f3f667e5870c 2014-10-30 08:35:04 -07:00
David Katleman
a4fc3795b6 Added tag jdk9-b37 for changeset 88fe05f2d973 2014-10-30 08:35:01 -07:00
David Katleman
7fafb195a6 Added tag jdk9-b37 for changeset a34b97a133ea 2014-10-30 08:35:00 -07:00
David Katleman
b412f2a2f0 Added tag jdk9-b37 for changeset c4918033790e 2014-10-30 08:34:59 -07:00
David Katleman
6adc3da841 Added tag jdk9-b37 for changeset 566704615ade 2014-10-30 08:34:54 -07:00
David Katleman
1f6e40fd8f Added tag jdk9-b37 for changeset 410d1a5e1a5c 2014-10-30 08:34:51 -07:00
David Katleman
f2f6553039 Added tag jdk9-b37 for changeset afcbbfccf839 2014-10-30 08:34:49 -07:00
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Roger Riggs
b13527e322 8056238: (process) ProcessBuilder.redirectError spec has a broken link
Reviewed-by: lancea
2014-12-12 15:07:00 -05:00
Martin Buchholz
45770d3152 8065804: JEP 171: Clarifications/corrections for fence intrinsics
Reviewed-by: dholmes, shade, dl, psandoz
2014-12-10 09:23:00 -08:00
Martin Buchholz
0a3973c5a6 8065172: More core reflection final and volatile annotations
More fiddling with "final" and "volatile" field modifiers

Reviewed-by: jfranck, plevart, psandoz
2014-11-21 16:30:02 -08:00
Martin Buchholz
ccb65f43ee 7156085: ArrayIndexOutOfBoundsException throws in UTF8Reader of SAXParser
Improve support for supplementary characters

Reviewed-by: joehw
2014-10-30 07:30:33 -07:00
Martin Buchholz
63ddccfab0 7156085: ArrayIndexOutOfBoundsException throws in UTF8Reader of SAXParser
Improve support for supplementary characters

Reviewed-by: joehw
2014-10-30 07:24:51 -07:00
Roger Riggs
d2c9b82513 8062513: doclint warnings in HijrahChronology
Use proper markup for < >

Reviewed-by: darcy, alanb
2014-10-30 09:13:27 -04:00
Dmitriy Ermashov
bbf16fb931 8056911: Remove internal API usage from ExtendedRobot class
Reviewed-by: serb
2014-10-30 15:44:37 +03:00
Alexander Scherbatiy
565125c84c 8057893: JComboBox actionListener never receives "comboBoxEdited" from getActionCommand
Reviewed-by: serb
2014-10-31 00:40:14 +04:00
Tobias Hartmann
fe1762fbd6 8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.

Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Jonathan Gibbons
342df9829a 8062514: Update ToolTester tests to close file manager
Reviewed-by: darcy
2014-10-29 19:07:34 -07:00
Jonathan Gibbons
4ce27b2f9e 8062504: javadoc Start does not close file managers that it opens
Reviewed-by: ksrini
2014-10-29 18:01:22 -07:00
Jonathan Gibbons
8bd23f1681 8062348: langtools tests should close file manager (group 1)
Reviewed-by: darcy
2014-10-29 17:25:23 -07:00
Jesper Wilhelmsson
1486e4bf7d Merge 2014-10-30 01:01:37 +01:00
Igor Ignatyev
4727c5442c Merge 2014-10-30 00:23:26 +03:00
Mikhail Cherkasov
363ac808d5 8062021: NPE in sun/lwawt/macosx/CPlatformWindow::toFront after JDK-8060146
Reviewed-by: ant, serb
2014-10-30 00:16:43 +04:00
Vladimir Ivanov
224c42ee4d 8059877: GWT branch frequencies pollution due to LF sharing
Reviewed-by: psandoz, jrose
2014-10-29 09:31:37 -07:00
Aleksei Efimov
426cd00f3b 8059206: (tz) Support tzdata2014i
Reviewed-by: okutsu
2014-10-29 19:59:53 +03:00
Sergei Kovalev
8b8a9d5f94 8060707: jdwp accept invalid address ':'
Reviewed-by: jbachorik, dsamersoff, iignatyev, miauno
2014-10-29 17:53:36 +03:00
Albert Noll
8aa05f7690 8062284: Sweeper thread should not be visible when calling Thread.getAllStackTraces()
Make thread not visible when calling Thread.getAllStackTraces()

Reviewed-by: kvn, shade
2014-10-29 15:42:48 +01:00
Volker Simonis
97fc6cb4fa 8062312: OpenJDK build fails when bundling freetype libraries
Reviewed-by: prr, erikj
2014-10-29 14:51:51 +01:00
Richard Warburton
a065473cfc 4774077: Use covariant return types in the NIO buffer hierarchy
Reviewed-by: psandoz, alanb, mr, darcy
2014-10-29 14:10:34 +01:00
Florian Bruckner
9299e8a8a6 8062264: KeychainStore requires non-null password to be supplied when retrieving a private key
Reviewed-by: mullan
2014-10-29 11:53:37 +00:00
Richard Warburton
b587478f7c 8062376: Suppress cast warnings when using NIO buffers
Reviewed-by: psandoz, jfranck
2014-10-29 12:09:17 +01:00
Goetz Lindenmaier
0aa09022fa 8062370: Various minor code improvements
A lot of fixes useful to improve the code quality.

Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Roger Riggs
8d64173ec8 8048124: Read hijra-config-umalqura.properties as a resource
Removed use of calendar.properties to configure calendars, move UmmAlQura calendar to resource

Reviewed-by: alanb
2014-10-28 17:14:43 -04:00
Coleen Phillimore
63080521d7 8058093: Test nsk/stress/jck60/jck60014: assert in src/share/vm/oops/constantPool.cpp: should not be resolved otherwise
8044209: nsk/split_verifier/security/coglio06 fails with exit code 97 - missing 'prohibited package name'

Fix resolution error saving.

Reviewed-by: lfoltan, sspitsyn, hseigel, ctornqvi
2014-10-28 17:02:08 -04:00
Phil Race
d52bcdadf7 Merge 2014-10-28 13:31:06 -07:00
Alexander Scherbatiy
49109b9d2b 8061592: wrong javadoc parameters for firePropertyChange()
Reviewed-by: azvegint
2014-10-29 01:48:54 +04:00
Nils Eliasson
897d6c5c9b 8061250: serviceability/dcmd/compiler/CompilerQueueTest.java failed
Fixed logging to avoid parsing mistake and added test case.

Reviewed-by: kvn, twisti
2014-10-28 20:16:08 +01:00
Phil Race
eca9e72c00 Merge 2014-10-28 11:38:00 -07:00
Tobias Hartmann
1c866d8433 8062250: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java fails after CodeCacheMinimumFreeSpace removal
Adapted calculation of minimum code cache size after CodeCacheMinimumFreeSpace was removed by JDK-8046809.

Reviewed-by: kvn, anoll
2014-10-28 16:44:39 +01:00
Vladimir Kempik
24c29c4db4 8059216: Make PrintGCApplicationStoppedTime print information about stopping threads
Reviewed-by: dholmes, brutisso
2014-10-28 18:41:34 +04:00
Coleen Phillimore
4c036f5730 8037842: Failing to allocate MethodCounters and MDO causes a serious performance drop
Stop allocating compiler profiling metadata when metaspace is full.

Reviewed-by: kvn, anoll
2014-10-30 18:38:42 -04:00
Ivan Gerasimov
b051027d6f 8023173: FileDescriptor should respect append flag
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00
Athijegannathan Sundararajan
c92cca11f6 8062216: [nashorn] regresion test failure with TimeZone
Reviewed-by: hannesw, lagergren
2014-10-28 17:22:17 +05:30
Alex Schenkman
b301b207b3 8062135: serviceability/threads/TestFalseDeadLock.java should be quarantined
Reviewed-by: sla
2014-10-28 12:28:58 +01:00
Ivan Gerasimov
14e05b4858 8059533: (process) Make exiting process wait for exiting threads [win]
Reviewed-by: dholmes, dcubed
2014-10-29 09:53:56 -07:00
Daniel D. Daugherty
0d3acc8838 8061552: Contended Locking speedup PlatformEvent unpark bucket
JEP-143/JDK-8046133 - optimization #2 - speedup PlatformEvent unpark bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: acorn, dice, dholmes
2014-10-29 09:19:59 -07:00
Mattias Tobiasson
7abf72a2dc 8061960: java/lang/instrument/DaemonThread/TestDaemonThread.java regularly fails due to exceeded timeout
Move timeout parameter to correct place on command line

Reviewed-by: jbachorik
2014-10-28 11:45:31 +01:00
Lance Andersen
178193aa93 8062288: Minor re-org of java/sql testing tests
Reviewed-by: joehw, rriggs
2014-10-28 19:55:20 -04:00
Roger Riggs
e7c880f89b Merge 2014-10-28 17:17:05 -04:00
Roger Riggs
cc54a8a71d Merge 2014-10-28 11:29:59 -04:00
Erik Joelsson
719facf80b 8062159: Fix Xrender check to work with sysroot
Reviewed-by: tbell, prr
2014-10-28 09:47:32 +01:00
Tobias Hartmann
1e7b7a410e 8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"
Added a method checkNotCompiled(boolean isOsr) to either check if the method is OSR compiled or to check if it is non-OSR compiled.

Reviewed-by: kvn
2014-10-28 09:17:36 +01:00
Igor Veresov
1af7144df1 Merge 2014-10-27 20:03:57 -10:00
Martin Buchholz
5e152d5fcb 8062185: Unpaired braces in javadoc
Reviewed-by: psandoz
2014-10-27 16:24:43 -07:00
Stuart Marks
41a7cfd22f 8062233: add java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java to problem list
Reviewed-by: darcy
2014-10-27 18:30:21 -07:00
Daniel D. Daugherty
ee1de3ce2f Merge 2014-10-27 15:09:23 -07:00
Kim Barrett
f9d8e2ae9d 8062206: Remove unusable G1RSLogCheckCardTable command line argument
Remove dependent assertion and remove develop option

Reviewed-by: jwilhelm, mgerdin, tschatzl
2014-10-27 17:24:10 -04:00
Marcus Larsson
6e148efe69 8064348: Add TraceEvent::is_enabled() for embedded/minimal builds
Reviewed-by: ehelin, sla
2014-11-10 12:13:46 +01:00
John Coomes
894e9e8f87 8060467: CMS: small OldPLABSize and -XX:-ResizePLAB cause assert(ResizePLAB || n_blks == OldPLABSize) failed: Error
Reviewed-by: tschatzl, jmasa, kbarrett
2014-11-07 15:34:33 -08:00
Mikael Gerdin
bb556024a7 8061964: Insufficient compiler barriers for GCC in OrderAccess functions
Fix OrderAccess functions to emit memory clobbering inline assembly to attempt to stop copiler reordering.

Reviewed-by: dcubed, dholmes, bdelsart
2014-11-03 11:08:03 +01:00
Jesper Wilhelmsson
7339456266 8062836: BACKOUT - Parallelize clearing the next mark bitmap
Backing out due to non-trivial issues found in nightly testing

Reviewed-by: mgerdin, mlarsson
2014-11-05 15:50:14 +01:00
Erik Helin
0e54928686 8061467: Bad page size passed to setup_large_pages() on Solaris
Reviewed-by: tschatzl, mgerdin
2014-11-05 16:39:10 +01:00
Bengt Rutisson
c1bc4be92b 8061449: G1: FreeRegionList_test() fails with G1 after the JDK-8058534 fix to HeapRegion::orig_end()
Reviewed-by: mgerdin, tschatzl, stefank
2014-11-05 10:12:51 +01:00
Jesper Wilhelmsson
b59b80b068 Merge 2014-11-03 15:53:48 +01:00
Marcus Larsson
4a9f067587 8049341: Parallelize clearing the next mark bitmap
Reviewed-by: mgerdin, tschatzl
2014-11-03 12:49:21 +01:00
Marcus Larsson
fe45f7091b 8054491: Remove wrong assert and refactor code in G1CollectorPolicy::record_concurrent_mark_end
Reviewed-by: tschatzl, brutisso
2014-11-03 11:29:00 +01:00
Bengt Rutisson
4601eb634a 8061308: Remove iCMS
Reviewed-by: mgerdin, jmasa
2014-10-31 09:10:51 +01:00
Marcus Larsson
5fd7516136 8043243: convert SCAN_AND_FORWARD, SCAN_AND_ADJUST_POINTERS, SCAN_AND_COMPACT macros to methods
Reviewed-by: mgerdin, kbarrett
2014-10-30 12:45:22 +01:00
Stefan Johansson
6306dce831 8061234: ResourceContext.requestAccurateUpdate() is unreliable
Changing copy_allocation_context_stats to return if there are more stats available after the copy.

Reviewed-by: rriggs, jcoomes
2014-10-30 10:51:06 +01:00
Mandy Chung
a76f56165c 8043277: Update jdk regression tests to extend the default security policy instead of override
Reviewed-by: alanb, mullan, chegar, sla
2014-10-27 13:45:39 -07:00
Lance Andersen
1457a8cc93 8062198: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable
Reviewed-by: joehw
2014-10-27 16:57:59 -04:00
Roger Riggs
868afbd8bd 8048124: Read hijra-config-umalqura.properties as a resource
8061533: HijrahChronology should use Integer.parseInt

Removed use of calendar.properties to configure calendars, move UmmAlQura calendar to resource; minor cleanup using parseInt

Reviewed-by: alanb, chegar
2014-10-27 15:59:12 -04:00
Jesper Wilhelmsson
76db8ade45 Merge 2014-10-27 19:15:23 +00:00
Jesper Wilhelmsson
ca6fb51841 Merge 2014-10-27 20:00:04 +01:00
Jesper Wilhelmsson
5cb1dff557 Merge 2014-10-27 20:00:04 +01:00
Sonali Goel
0bfa3c5036 8059423: Replace references for rt.jar by temp.jar
Reviewed-by: jjg
2014-10-27 10:43:09 -07:00
Jon Masamitsu
f01e2584c7 Merge 2014-10-27 16:39:29 +00:00
Andrey Zakharov
b9c70becab 8059614: [TESTBUG] Test for UseNUMA enable UseNUMAInterleaving
Tests that UseNUMAInterleaving enabled for all collectors by ergonomics, on all platforms when UseNUMA feature is enabled.

Reviewed-by: jmasa, dfazunen
2014-10-27 07:52:49 -07:00
Alejandro Murillo
ea60f1eddd Merge 2014-10-27 07:49:54 -07:00
Andreas Lundblad
d3be5ae723 8060715: There is a small race condition in IdleResetSjavac
Synchronizes on method level instead of variable access level.

Reviewed-by: jfranck
2014-10-27 14:55:47 +01:00
Athijegannathan Sundararajan
b7956c76bc 8062024: Issue with date.setFullYear when time other than midnight
Reviewed-by: jlaskey, lagergren
2014-10-27 17:54:00 +05:30
Valerie Peng
55312612fb 8061574: 9-dev solaris-amd64 and solaris-sparcv9 build fail on 2014-10-20
Add a custom header file for native ucrypto functions

Reviewed-by: mchung
2014-10-24 22:54:16 +00:00
Jan Lahoda
70e627d95d 8061323: JavadocTokenizer repeatedly compiles pattern to check for deprecation
Keeping the "@deprecated" Pattern in a static field.

Reviewed-by: mcimadamore
2014-10-24 20:07:08 +02:00
Jaroslav Bachorik
424ccf1771 8062070: com/sun/jdi/DoubleAgentTest.java.DoubleAgentTest fails intermittently after 8056143
Reviewed-by: dholmes
2014-10-24 18:33:42 +02:00
Vladimir Ivanov
0c95b0fb5f 8060483: NPE with explicitCastArguments unboxing null
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Kumar Srinivasan
06ca522eff 8061830: [asm] refresh internal ASM version v5.0.3
Reviewed-by: psandoz, sundar
2014-10-24 06:18:00 -07:00
Harold Seigel
f5c3ac04e4 8061962: classFileParser.cpp.orig got erroneously added to the hotspot source repository
Remove the file

Reviewed-by: coleenp, ccheung
2014-10-24 08:56:47 -04:00
Attila Szegedi
3dadb9d8e3 8061955: asm.js idioms result in unnecessarily code emission
Reviewed-by: hannesw, jlaskey
2014-10-24 13:25:23 +02:00
Dave Pointon
2e4998b00f 8061924: demos target fails if users CDPATH is incorrectly set
Reviewed-by: erikj
2014-10-24 11:45:36 +02:00
Boris Molodenkov
f55d90353f 8057135: [TESTBUG] Need a test to cover JDK-8050167
Reviewed-by: ctornqvi, coleenp
2014-10-24 12:32:53 +04:00
Joel Borggrén-Franck
991885e85d 8060448: ArrayIndexOutOfBoundsException with annotation processing printout of empty line
Reviewed-by: jlahoda
2014-10-24 10:08:51 +02:00
Maurizio Cimadamore
1de8cf1b7f 8064367: Fix IntelliJ langtools support to use new dev build
Update ant hooks in langtools IntelliJ project

Reviewed-by: jlahoda
2014-11-08 22:00:31 +00:00
Jonathan Gibbons
de2b97f133 8063145: ToolBox should support extracting classes from a JavaFileManager/Location
Reviewed-by: ksrini
2014-11-07 14:51:35 -08:00
Jan Lahoda
3f3f44af47 8058489: More adjustments of langtools/make/build.xml to modularized layout
Re-structuring the langtools/make/build.xml to reflect the modular layout, cleanup of the build script

Reviewed-by: jjg, mcimadamore, ksrini
2014-11-07 18:22:36 +01:00
Eric McCorkle
ab1b9a9cf1 8029012: parameter_index for type annotation not updated after outer.this added
Fix javac's handling of type annotations when synthetic parameters are added

Reviewed-by: jjg, mcimadamore
2014-11-07 07:54:35 -05:00
Eric McCorkle
aca235b121 8062245: Test executes incorrect class
Fix issue with test executing incorrect class, and trivial test failure linked to different subclasses of CharSequance.

Reviewed-by: jjg
2014-11-06 17:39:57 -05:00
Sergey Bylokhov
71ae76123c 7154054: [macosx] Can't distinguish the focus move to next cell
Reviewed-by: azvegint, alexsch
2014-10-24 11:41:08 +04:00
Joel Borggrén-Franck
0149333fb8 8054448: (ann) Cannot reference field of inner class in an anonymous class
Reviewed-by: jlahoda, mcimadamore
2014-10-24 08:34:51 +02:00
Maurizio Cimadamore
535317c6f8 8061778: Wrong LineNumberTable for default constructors
Synthetic empty blocks generated by Lower are erroneously picked up by Gen

Reviewed-by: jjg
2014-10-24 10:54:04 +01:00
Chris Plummer
5306f2430a 6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.

Reviewed-by: dholmes, ctornqvi, lfoltan
2014-10-23 14:43:08 -07:00
Lana Steuck
2b17ef8a7a Merge 2014-10-23 13:45:30 -07:00
Lana Steuck
4b4e46f1fb Merge 2014-10-23 13:45:22 -07:00
Lana Steuck
88ecaa471d Merge 2014-10-23 13:44:59 -07:00
Lana Steuck
59b49d1f0e Merge 2014-10-23 13:44:28 -07:00
Lana Steuck
e163976e11 Merge 2014-10-23 13:43:56 -07:00
Kim Barrett
8f8d87ece5 8061748: Remove check_ct_logs_at_safepoint()
Remove unused function and related closure class

Reviewed-by: jwilhelm, mgerdin
2014-10-23 16:19:32 -04:00
David Katleman
8d400b3ced Added tag jdk9-b36 for changeset bed94e5e4a68 2014-10-23 11:19:29 -07:00
David Katleman
a2809ad3eb Added tag jdk9-b36 for changeset d1480cb49283 2014-10-23 11:19:28 -07:00
David Katleman
0d39a08e17 Added tag jdk9-b36 for changeset f470dec57bab 2014-10-23 11:19:25 -07:00
David Katleman
93ec887d47 Added tag jdk9-b36 for changeset 2a65d9f1c324 2014-10-23 11:19:17 -07:00
David Katleman
c809c6a329 Added tag jdk9-b36 for changeset 28c10766cfac 2014-10-23 11:19:12 -07:00
David Katleman
94c271fa96 Added tag jdk9-b36 for changeset 1f97f4f1b7d9 2014-10-23 11:19:10 -07:00
David Katleman
771acd9407 Added tag jdk9-b36 for changeset c05fb0c4c181 2014-10-23 11:19:04 -07:00
Vicente Romero
96941c8951 8057800: Method reference with generic type creates NPE when compiling
Reviewed-by: mcimadamore, dlsmith
2014-10-23 10:42:44 -07:00
Vicente Romero
503cf15f62 8059710: javac, the same approach used in fix for JDK-8058708 should be applied to Code.closeAliveRanges
Reviewed-by: jjg
2014-10-23 10:40:02 -07:00
Calvin Cheung
1aa3da1067 8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement

Reviewed-by: jiangli, dholmes
2014-10-23 10:08:02 -07:00
Sergey Bylokhov
302bc3438c 8059941: [D3D] The fix for JDK-8029253 should be ported to d3d pipeline
Reviewed-by: bae, prr
2014-10-23 19:59:27 +04:00
Jesper Wilhelmsson
84aecba04d Merge 2014-10-23 17:36:30 +02:00
Jesper Wilhelmsson
5c52a46b60 Merge 2014-10-23 17:36:30 +02:00
Hannes Wallnöfer
02308fac34 8059813: Type Info Cache flag must must be documented
Reviewed-by: attila, jlaskey
2014-10-23 17:25:39 +02:00
Dmitry Samersoff
a04c2ed2f5 8029465: warnings from b118 for jdk.src.share.native.sun.management: JNI exception pending
Added missed exception check

Reviewed-by: dholmes, sspitsyn, fparain
2014-10-23 04:57:00 -07:00
Marcus Lagergren
5f5c28bf63 8061391: concat as a builtin optimistic form, had to remove NoTypedArrayData and replace it, as we throw away a lot of optimistic link opportunities with NoTypedArrayData not being Continuous
Reviewed-by: attila, hannesw
2014-10-23 15:19:00 +04:00
Erik Helin
3a3e45ab40 8061630: G1 iterates over JNIHandles two times
Reviewed-by: mgerdin, brutisso
2014-10-23 11:43:29 +02:00
Jaroslav Bachorik
53a4f4cd62 8058506: ThreadMXBeanStateTest throws exception
Reviewed-by: egahlin, dholmes
2014-10-23 11:42:20 +02:00
Weijun Wang
2d97b4eecf 8061826: Part of JDK-8060474 should be reverted
Reviewed-by: mullan, ahgross
2014-10-23 07:07:16 +08:00
Karen Kinnear
397e42b775 Merge 2014-10-22 22:37:06 +00:00
Karen Kinnear
0e1283a811 8043275: Fix interface initialization for default methods
Initialize interfaces that declare concrete instance methods.

Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Brent Christian
42def03716 8049373: All compact profiles builds fail following JDK-8044473
Update compact profile contents

Reviewed-by: mchung
2014-10-22 14:42:14 -07:00
Miroslav Kos
55f5a6fc4b 8054367: More references for endpoints
Reviewed-by: mullan, skoivu
2014-10-22 20:14:25 +02:00
Daniel Fuchs
59ca72f0eb 8059767: FileHandler should allow 'long' limits and handle overflow of MeteredStream.written
FileHandler now uses 'long' for limit and MeteredStream.written. It also reads a long for limit from the configuration, and has a new constructor allowing to pass a 'long' for limit.

Reviewed-by: alanb, igerasim, mchung
2014-10-22 17:23:14 +02:00
Jesper Wilhelmsson
27e9dd8a8d 8061805: BACKOUT - Remove the generations array
Backing out the change due to non-trivial test problems in nightly testing.

Reviewed-by: jwilhelm, mgerdin
2014-10-22 16:40:43 +02:00
Andreas Eriksson
ea48bceb5e 8057043: Type annotations not retained during class redefine / retransform
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02:00
Pavel Rappo
023d824a43 8042888: Remove extcheck tool
Reviewed-by: alanb, chegar
2014-10-22 10:41:07 +01:00
Rohit Agrawal
d177331172 8058197: AWT fails on generic non-reparenting window managers
Reviewed-by: azvegint, serb
2014-10-22 13:39:33 +04:00
Frederic Parain
209ffcd9a5 8061618: Removed unused networking functions from os class
Reviewed-by: lfoltan, hseigel, dholmes
2014-10-22 02:31:25 -07:00
Sergey Bylokhov
066947c324 8061456: [OGL] Incorrect clip is used during sw->surface blit in xor mode
Reviewed-by: bae, prr
2014-10-22 12:33:28 +04:00
Jonathan Gibbons
5074c6ed36 8061723: 8060056 breaks tests on Windows
Reviewed-by: darcy
2014-10-21 17:50:13 -07:00
Joe Wang
a3b952a84d 8061686: Size limits in BufferAllocator should have been final
Reviewed-by: lancea, chegar
2014-10-21 13:17:32 -07:00
Jonathan Gibbons
0e0e189bf6 8060056: replace java.io.File with java.nio.file.Path
Reviewed-by: ksrini, jlahoda
2014-10-21 13:08:20 -07:00
Weijun Wang
3b44ba662d 8060474: Resolve more parsing ambiguity
Reviewed-by: mullan, ahgross
2014-10-21 22:37:17 +08:00
Erik Osterlund
a324ff0f31 8058255: Native jbyte Atomic::cmpxchg for supported x86 platforms
Use the native cmpxchgb instruction on x86.

Reviewed-by: dholmes, kbarrett, phh
2014-10-21 15:07:25 +02:00
Bengt Rutisson
a5d4521aa1 Merge 2014-11-18 12:33:47 +00:00
Erik Helin
491a4a8ea6 Merge 2014-11-18 11:10:02 +00:00
Bengt Rutisson
2da855a259 8064865: Remove the debug funciontality RotateCMSCollectionTypes for CMS
Reviewed-by: jmasa, kbarrett, ysr
2014-11-18 10:39:16 +01:00
Erik Helin
f3997d8eed 8064721: The card tables only ever need two covering regions
Reviewed-by: jmasa, tschatzl, kbarrett
2014-11-18 10:36:42 +01:00
Bengt Rutisson
4b60638d85 8064702: Remove the CMS foreground collector
Reviewed-by: kbarrett, ysr
2014-11-18 10:23:26 +01:00
Jesper Wilhelmsson
2616e09389 Merge 2014-11-17 21:32:32 +01:00
Stefan Karlsson
eebf2b9126 8064581: Move INCLUDE_ALL_GCS include section to the end of the include list
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-12 12:41:59 +01:00
Stefan Karlsson
d326162380 8064580: Move INCLUDE_CDS include section to the end of the include list
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-11 17:05:33 +01:00
Staffan Friberg
04bdb774e1 8064473: Improved handling of age during object copy in G1
Reviewed-by: brutisso, tschatzl
2014-11-14 15:03:39 +01:00
Mikael Gerdin
4feb7b4dab 8058209: Race in G1 card scanning could allow scanning of memory covered by PLABs
Read _top before _gc_time_stamp in saved_mark_word() with LoadLoad order to ensure we get a consistent view

Reviewed-by: brutisso, dcubed, dholmes, stefank
2014-11-14 14:23:25 +01:00
Stefan Karlsson
95704b233c 8064811: Use THREAD instead of CHECK_NULL in return statements
Reviewed-by: coleenp, simonis, dholmes
2014-11-14 09:47:09 +01:00
Goetz Lindenmaier
3b31df26c8 8064786: Fix debug build after 8062808: Turn on the -Wreturn-type warning
Reviewed-by: stefank, tschatzl
2014-11-13 11:14:01 +01:00
Kim Barrett
294a63af5f 8062036: ConcurrentMarkThread::slt may be invoked before ConcurrentMarkThread::makeSurrogateLockerThread causing intermittent crashes
Suppress gc_alot during VM init, improve error for SLT uninitialized.

Reviewed-by: jmasa, brutisso, tschatzl
2014-11-11 13:39:00 -05:00
Stefan Karlsson
692dbfd02d 8062808: Turn on the -Wreturn-type warning
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
2014-11-12 13:55:59 +01:00
Eric McCorkle
8244cae54a 8054457: Refactor Symbol kinds from small ints to an enum
Replace bitmap logic in symbol.kind and pkind with an enum-based API

Reviewed-by: mcimadamore, jjg
2014-10-21 09:01:51 -04:00
Attila Szegedi
e170fafd7c 8058610: must not let long operations overflow
Reviewed-by: hannesw, jlaskey, lagergren
2014-10-21 14:27:49 +02:00
Marcus Larsson
46e9fb5176 6979279: remove special-case code for ParallelGCThreads==0
Reviewed-by: jwilhelm, brutisso, kbarrett
2014-10-21 11:57:22 +02:00
Roland Westrelin
79738069b0 8060252: JDK-7173584 compiler changes regress SPECjvm2008 on SPARC
Arraycopy code misses opportunities to optimize copies to just allocated array.

Reviewed-by: kvn
2014-10-20 22:53:37 +02:00
Vladimir Kozlov
8cd1a874e8 8059780: SPECjvm2008-MPEG performance regressions on x64 platforms
Back-out 8052081 changes made in lcm.cpp.

Reviewed-by: iveresov, roland
2014-11-03 12:02:40 -08:00
Sergei Kovalev
8152a3ea35 8044186: Introduce a reproducible random generator
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Igor Ignatyev
e429e497ce 8043125: compiler/types/correctness/CorrectnessTest.java: assert(layout->tag() == DataLayout::speculative_trap_data_tag) failed: wrong type
Reviewed-by: kvn
2014-11-02 18:43:00 +03:00
Igor Ignatyev
e5a126fe00 8036913: make DeoptimizeALot dependent on number of threads
Reviewed-by: kvn, shade
2014-11-02 18:42:30 +03:00
Vladimir Kozlov
74def215cd 8054492: Casting can result in redundant null checks in generated code
Add C2 intrinsic for Class.cast() method and force inline it too.

Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Igor Veresov
daf2fd0593 Merge 2014-10-31 12:01:27 -10:00
Tobias Hartmann
7d202a428b Merge 2014-10-31 11:31:30 +00:00
Tobias Hartmann
62d33442b8 8062169: Multiple OSR compilations issued for same bci
Fixed 'SimpleThresholdPolicy::event' to always perform OSR if an OSR nmethod is available.

Reviewed-by: kvn, iveresov
2014-10-31 12:16:20 +01:00
Phil Race
171ef0e7a3 Merge 2014-10-20 12:04:12 -07:00
Harold Seigel
616b927160 8058982: Better verification of an exceptional invokespecial
Throw VerifyError for illegal accesses

Reviewed-by: acorn, ahgross, coleenp
2014-10-20 14:43:11 -04:00
Phil Race
395720bf70 8061392: PrinterJob NPE when drawing translucent image with null user clip
Reviewed-by: bae, jgodinez
2014-10-20 11:22:58 -07:00
Sean Mullan
4725c25095 8058547: Memory leak in ProtectionDomain cache
Reviewed-by: weijun
2014-10-20 12:54:36 -04:00
Florian Weimer
569ddab868 8061464: A typo in CipherTestUtils test
Reviewed-by: xuelei
2014-10-20 13:31:44 +00:00
Hannes Wallnöfer
de498625b3 8060724: ant test262parallel in Nashorn spends a significant amount of time after almost all the tests are run
Reviewed-by: lagergren, attila, sundar
2014-10-20 14:09:17 +02:00
Attila Szegedi
7bb8d39499 8059844: Implement optimistic splitter
Reviewed-by: hannesw, lagergren
2014-10-20 12:06:36 +02:00
Alexander Scherbatiy
96909cf5f1 8059995: Broken link in Package javax.swing.border
Reviewed-by: serb, azvegint
2014-10-20 12:48:45 +04:00
Alexey Ivanov
13fbfe1e6c 8059590: ArrayIndexOutOfBoundsException occurs when Container with overridden getComponents() is deserialized
Reviewed-by: serb, ant
2014-10-20 12:36:16 +04:00
Stefan Johansson
bd227a9bac 8058568: GC cleanup phase can cause G1 skipping a System.gc()
Marking G1 FullGC as a _full collection and passing down the correct before count.

Reviewed-by: brutisso, mgerdin
2014-10-20 10:18:17 +02:00
Athijegannathan Sundararajan
aeed202b0b 8061257: nashorn ant build script should have a sanity target
Reviewed-by: lagergren, hannesw, attila
2014-10-20 13:27:22 +05:30
Daniel D. Daugherty
aed4b0760c Merge 2014-10-18 11:37:11 -07:00
Phil Race
98988ffc54 8061267: PrinterJob: Specified Page Ranges not displayed in Windows Native Print Dialog
Reviewed-by: bae, jgodinez
2014-10-17 15:55:02 -07:00
Alejandro Murillo
c3b487d84f Merge 2014-10-17 07:58:54 -07:00
Daniel D. Daugherty
31986657eb Merge 2014-10-17 06:58:57 -07:00
Attila Szegedi
36ddb21187 8059843: Make AST serializable
Reviewed-by: hannesw, lagergren
2014-10-17 14:24:26 +02:00
Jaroslav Bachorik
c27e2c99f4 8061312: Even more debug output needed
Reviewed-by: sla, olagneau
2014-10-17 12:20:34 +02:00
Kirk Shoop
d03eadea27 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01:00
Michael McMahon
80b26e5882 8042622: Check for CRL results in IllegalArgumentException "white space not allowed"
Reviewed-by: chegar
2014-10-17 10:59:32 +01:00
Jaroslav Bachorik
c603f42b91 8056143: interrupted java/lang/management/MemoryMXBean/LowMemoryTest.java leaves running process
Reviewed-by: sla, dholmes
2014-10-17 10:53:30 +02:00
Shanliang Jiang
d64da6c76e 8060692: Delete com/sun/jmx/snmp and sun/management/snmp from OpenJDK
Reviewed-by: alanb, dfuchs, erikj, mchung
2014-10-22 09:13:52 +02:00
Alejandro Murillo
f0c02512ea Merge 2014-10-21 13:56:58 -07:00
Lance Andersen
fc36466f8f 8059411: RowSetWarning does not chain warnings
Reviewed-by: darcy, smarks, mchung
2014-10-21 13:41:22 -04:00
Valerie Peng
dc60e274ff 8046002: Move Ucrypto to the open jdk repo
Move Ucrypto related sources, tests to openJDK

Reviewed-by: mullan
2014-10-20 21:18:48 +00:00
Alejandro Murillo
d89ff24e1a Merge 2014-10-17 07:58:57 -07:00
Amy Lu
f9e2e24757 8060432: tools/pack200/TestNormal.java fails on Windows with java.io.FileNotFoundException after JDK-8058854
Reviewed-by: ksrini
2014-10-16 19:27:46 -07:00
Tristan Yan
12b7532ad0 8051561: Convert JAXP functional tests to jtreg(TestNG): javax.xml.xpath.*
Co-authored-by: Yiming Wang <yiming.wang@oracle.com>
Reviewed-by: joehw
2014-10-16 16:03:16 -07:00
Tristan Yan
1cd48f2b65 8051540: Convert JAXP functional tests to jtreg(TestNG): SAX and Transform
Reviewed-by: joehw
2014-10-16 15:51:12 -07:00
Lana Steuck
fc6e1fedd3 Merge 2014-10-16 14:55:17 -07:00
Jonathan Gibbons
cf1a634000 8040131: Implement classfile test for LineNumberTable attribute
Reviewed-by: jjg, shurailine
2014-10-16 14:31:37 -07:00
Lana Steuck
6a5adc81a0 Merge 2014-10-16 14:16:03 -07:00
Lana Steuck
aa3fc584d5 Merge 2014-10-16 14:15:58 -07:00
Lana Steuck
2b931469de Merge 2014-10-16 14:15:37 -07:00
Lana Steuck
6e571834a4 Merge 2014-10-16 14:15:23 -07:00
Lana Steuck
46fb368afe Merge 2014-10-16 14:14:57 -07:00
Lana Steuck
677a67092f Merge 2014-10-16 14:14:39 -07:00
David Katleman
33180b072e Added tag jdk9-b35 for changeset b5cd0f03efc4 2014-10-16 12:02:10 -07:00
David Katleman
a1a5ed97f2 Added tag jdk9-b35 for changeset 906669fe9f2d 2014-10-16 12:02:08 -07:00
David Katleman
3e05299684 Added tag jdk9-b35 for changeset 4bee12591374 2014-10-16 12:02:05 -07:00
David Katleman
36ef31d90b Added tag jdk9-b35 for changeset 766607612d81 2014-10-16 12:02:03 -07:00
David Katleman
25df080c89 Added tag jdk9-b35 for changeset ec7f6f7c8797 2014-10-16 12:02:03 -07:00
David Katleman
f0c24e1a0f Added tag jdk9-b35 for changeset 58090065f895 2014-10-16 12:01:59 -07:00
David Katleman
aa619e81f8 Added tag jdk9-b35 for changeset ba12299a76d2 2014-10-16 12:01:56 -07:00
David Katleman
5f7c6d15eb Added tag jdk9-b35 for changeset 6ca2395495b0 2014-10-16 12:01:55 -07:00
Jiangli Zhou
cc264643ac 8060256: The loop in Arguments::parse() can be enhanced
Add continue statement for matching cases.

Reviewed-by: dholmes, bdelsart
2014-10-16 14:11:53 -04:00
Daniel D. Daugherty
f7f1cca26e Merge 2014-10-16 17:36:47 +00:00
Jesper Wilhelmsson
1570e4c406 Merge 2014-10-16 15:59:39 +00:00
Attila Szegedi
6da7daa4c2 8061113: Boolean used as optimistic call return type
Reviewed-by: hannesw, sundar
2014-10-16 11:34:31 +02:00
Erik Joelsson
318f1da1b6 8055191: Split GensrcProperties.gmk into separate modules
Reviewed-by: tbell
2014-10-16 10:37:03 +02:00
Stuart Marks
3215beb313 8055309: RMI needs better transportation considerations
Reviewed-by: alanb, igerasim, skoivu, msheppar
2014-10-15 15:41:50 -07:00
Jamil Nimeh
823f5f273e 8032573: CertificateFactory.getInstance("X.509").generateCertificates(InputStream) does not throw CertificateException for invalid input
Reviewed-by: weijun
2014-10-15 11:43:27 -07:00
Pavel Rappo
4bf024dde1 8044627: Update JNDI to work with modules
Reviewed-by: alanb, chegar
2014-10-16 12:34:07 +01:00
Amanda Jiang
3f4fc41640 8047031: Add SocketPermission tests for legacy socket types
Reviewed-by: chegar
2014-10-16 10:50:17 +01:00
Erik Joelsson
972cb662d8 8055191: Split GensrcProperties.gmk into separate modules
Reviewed-by: tbell
2014-10-16 10:37:57 +02:00
Athijegannathan Sundararajan
6427d424c8 8060688: Nashorn: Generated script class name fails --verify-code for names with special chars
Reviewed-by: jlaskey, hannesw
2014-10-15 19:50:03 +05:30
Attila Szegedi
f571816c79 8060241: Immediately invoked function expressions cause lot of deoptimization
Reviewed-by: hannesw, lagergren
2014-10-15 16:00:21 +02:00
Attila Szegedi
5d93e4cb25 8060242: Compile-time expression evaluator was not seeing into ArrayBufferViews
Reviewed-by: hannesw, lagergren, sundar
2014-10-15 15:57:46 +02:00
George Triantafillou
b79e1193cd 8058606: [TESTBUG] Detailed Native Memory Tracking (NMT) data is not verified as output at VM exit
Reviewed-by: coleenp, hseigel
2014-10-15 05:55:44 -07:00
Zoltan Majo
ed26c7e640 8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
This patch adds a new flag (CompileThresholdScaling) to control when methods are first compiled

Reviewed-by: anoll, iveresov, kvn
2014-10-15 14:00:41 +02:00
Zoltan Majo
bde7fd61b4 8060215: per-method PrintIdealGraphLevel
Use CompileCommand=option to set PrintIdealGraphLevel on a per-method level. Introduce the PrintIdealGraph develop to control/check if printing the graph is enabled for any method

Reviewed-by: kvn, dlong, thartmann
2014-10-15 10:51:43 +02:00
Mandy Chung
ffbd381c8c 8059083: Remove jdk.compact3 from modules.xml
Reviewed-by: alanb
2014-10-14 20:26:09 -07:00
Jiangli Zhou
ad65e81ce7 8044269: Analysis of archive files
Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
2014-10-14 18:47:46 -07:00
David Dehaven
bfcb15c211 Merge 2014-10-14 14:29:21 -07:00
Jesper Wilhelmsson
1055ae0436 Merge 2014-10-14 20:35:45 +00:00
Jiangli Zhou
01f7696c6d Merge 2014-10-14 19:39:28 +00:00
Sangheon Kim
8d288ccc54 8027428: Different conditions for printing taskqueue statistics for parallel gc, parNew and G1
Changed flag names for printing taskqueue and termination statistics for parallel gc, parNew and G1.

Reviewed-by: jwilhelm, brutisso, tschatzl
2014-10-14 20:58:43 +02:00
Marcus Larsson
d10dd28393 8060116: After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails
Also reviewed by: sangheon.kim@oracle.com

Reviewed-by: brutisso
2014-10-14 19:55:54 +02:00
David Dehaven
883d16c219 Merge 2014-10-14 10:47:45 -07:00
Olivier Lagneau
7f66469951 8039915: Wrong NumberFormat.format() HALF_UP rounding when last digit exactly at rounding position greater than 5
Fixes erroneous rounding in DigitList for corner cases uncovered previously. Adds dedicated unit tests to TieRoundingTest

Reviewed-by: bpb, darcy
2014-10-14 11:39:07 -07:00
Jiangli Zhou
5b06cbcdad Merge 2014-10-14 13:43:47 -04:00
Aleksey Shipilev
c25af2a638 8060485: (str) contentEquals checks the String contents twice on mismatch
Reviewed-by: martin, chegar, alanb
2014-10-14 19:35:03 +02:00
Henry Jen
aa48d0f22b Merge 2014-10-14 23:22:00 -07:00
Mandy Chung
9db8ce689b 8059083: Remove jdk.compact3 from modules.xml
Reviewed-by: alanb
2014-10-14 20:26:15 -07:00
Daniel D. Daugherty
f1ab0fae73 8049737: Contended Locking reorder and cache line bucket
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Phil Race
7d50d71fe5 8058969: Test closed/sun/java2d/cmm/StubCMMShellTest.sh fails
Reviewed-by: bae, serb
2014-10-14 09:34:45 -07:00
Jiangli Zhou
d7fe532761 8047934: Adding new API for unlocking diagnostic argument
New API for unlocking diagnostic argument.

Reviewed-by: dholmes, ccheung, egahlin, iklam, bdelsart
2014-10-14 12:09:33 -04:00
Sergey Bylokhov
18c6eadd5f 7148531: [macosx] In test, the window does not have time to resize before make a screenshot
Reviewed-by: alexsch, azvegint
2014-10-14 18:58:06 +04:00
Andreas Gabrielsson
bd3defa4bb 8060471: DynamicLinker.getLinkedCallSiteLocation() is called even when logger is disabled, and it creates a stacktrace. This contributes unnecessarily to compile time
Reviewed-by: lagergren, attila
2014-10-14 16:11:07 +02:00
Andreas Gabrielsson
fab85d4210 8012518: Reengineer Parser.java to make it play well with the copy-on-write IR
Remove the kludges introduced to make the parser work with the copy on write IR. Now everything is done bottom up, finshing node children completely before node parents. The repeated non-functional pattern 'node = node.setSomething(something);' is gone. Resulting code is much more readable, and extensible for future work. The parser is now also consistent with the rest of the stateless copy-on-write world in code generation.

Reviewed-by: lagergren, attila, hannesw, shade
2014-10-14 15:28:24 +02:00
Alejandro Murillo
ab74151264 Merge 2014-10-14 06:04:11 -07:00
Attila Szegedi
a891de3114 8060238: Reports for optimistic test run overwrite those for pessimistic run
Reviewed-by: hannesw, lagergren, sundar
2014-10-14 13:04:56 +02:00
Maurizio Cimadamore
2756ed20d7 8058511: StackOverflowError at com.sun.tools.javac.code.Types.lub
Lub crashes when handling typevar with array bound

Reviewed-by: vromero, dlsmith
2014-10-14 12:01:05 +01:00
Maurizio Cimadamore
8f96799dd5 8058199: Code generation problem with javac skipping a checkcast instruction
TransTypes sometimes ignores inferred signatures when emitting synthetic casts

Reviewed-by: vromero
2014-10-14 12:00:39 +01:00
Paul Govereau
8cc03657e9 8060249: Backout fix for JDK-8058243
Reviewed-by: vromero
2014-10-13 17:09:12 -04:00
Thomas Stuefe
51866388d1 7102541: RFE: os::set_native_thread_name() cleanups
Implement os::set_native_thread_name() on windows, linux

Reviewed-by: sla, ctornqvi, simonis
2014-10-13 22:11:39 +02:00
Attila Szegedi
c032844121 8059842: Creating symbols for declared functions shouldn't be a special case
Reviewed-by: hannesw, lagergren
2014-10-13 20:10:14 +02:00
Athijegannathan Sundararajan
2d6eed916f 8050977: Java8 Javascript Nashorn exception: no current Global instance for nashorn
Reviewed-by: attila, lagergren, hannesw
2014-10-13 23:38:49 +05:30
Paul Govereau
ef05cafd6b 8060234: Fix push for JDK-8058243
Reviewed-by: jjg, vromero
2014-10-13 12:12:06 -04:00
Phil Race
25c3ce26aa 8059848: Test java/awt/GraphicsDevice/CloneConfigsTest.java causes JVM crash in OEL 7.0
Reviewed-by: bae, serb
2014-10-13 09:09:41 -07:00
Jan Lahoda
1eb03e49bf 8054956: Javac reports wrong error offset for unknown identifier of annotation element/value pair
When reporting an error about unresolvable annotation attribute, use the position of the explicit left-hand-side of the assignment if available, otherwise use the position of the right-hand-side.

Reviewed-by: jfranck
2014-10-13 17:22:47 +02:00
Paul Govereau
f3201874bc 8058243: Reduce size of bytecode for large switch statements
Reviewed-by: jjg, vromero
2014-10-13 11:21:51 -04:00
Hannes Wallnöfer
4fcc6c8f4f 8060011: Concatenating an array and converting it to Java gives wrong result
Reviewed-by: lagergren, attila
2014-10-13 17:16:32 +02:00
Jesper Wilhelmsson
1934c66969 Merge 2014-10-13 16:05:46 +02:00
Alexander Zvegintsev
0b304cd9ea 8059297: Test api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame [JInternalFrameTest0007] fails with MotifLookAndFeel
Reviewed-by: alexsch, serb
2014-10-13 14:36:44 +04:00
Tobias Hartmann
38e46e728d 8046268: compiler/whitebox/ tests fail : must be osr_compiled
Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.

Reviewed-by: kvn, dlong, iignatyev
2014-10-13 12:30:37 +02:00
Coleen Phillimore
c5dbe0cf46 Merge 2014-10-10 21:47:04 +00:00
Sonali Goel
a7b8ca6209 8058410: Group 10b: golden files for tests in tools/javac dir
Reviewed-by: jjg
2014-10-10 14:41:50 -07:00
Coleen Phillimore
3a86f9cd27 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Daniel D. Daugherty
f5bcc77f94 Merge 2014-10-10 18:00:14 +00:00
Mikhail Cherkasov
9fc5a5101f 8038919: Requesting focus to a modeless dialog doesn't work on Safari
Reviewed-by: ant, serb
2014-10-10 20:14:42 +04:00
Abhijit Saha
357f837d89 Merge 2014-10-10 09:09:06 -07:00
Phil Race
24155c8965 8055705: Rename UnixPrintServiceLookup and Win32PrintServiceLookup as a platform neutral class name
Reviewed-by: jgodinez, bae
2014-10-10 09:03:28 -07:00
Daniel D. Daugherty
ba69f3e290 Merge 2014-10-10 08:29:38 -07:00
Daniel D. Daugherty
c70dbd3959 Merge 2014-10-10 08:28:12 -07:00
Albert Noll
aed6e5a976 Merge 2014-10-10 13:26:23 +00:00
Albert Noll
026dd65916 Merge 2014-10-10 13:05:49 +00:00
Albert Noll
e210688db9 8059847: complement JDK-8055286 and JDK-8056964 changes
Extend scan_flag_and_value() to process flag of type double. Add regression test compiler/oracle/CheckCompileCommandOption.java.

Reviewed-by: kvn, anoll
2014-10-10 14:48:30 +02:00
Jaroslav Bachorik
99c9dc1b32 8060120: Improve diagnostic output of StartManagementAgent test
Reviewed-by: dfuchs
2014-10-10 14:35:53 +02:00
Masayoshi Okutsu
b7065f7ee1 8060006: No Russian time zones mapping for Windows
Reviewed-by: peytoia, aefimov
2014-10-14 15:20:41 +09:00
Weijun Wang
cd3c6765c2 8044215: Unable to initiate SpNego using a S4U2Proxy GSSCredential (Krb5ProxyCredential)
Reviewed-by: mullan
2014-10-14 10:08:32 +08:00
Weijun Wang
5468e30603 8029659: Keytool, print key algorithm of certificate or key entry
Reviewed-by: xuelei
2014-10-14 10:07:44 +08:00
Joe Wang
495821f1b2 8036951: Xerces Update: XMLSchemaValidator.java and XMLSchemaLoader.java
Reviewed-by: lancea
2014-10-13 14:11:20 -07:00
Amy Lu
a708737ce9 8058856: tools/jar/LeadingGarbage.java, introduced in JDK-8058520, fails on Windows
Reviewed-by: alanb, martin, sherman
2014-10-13 18:16:29 +01:00
Amy Lu
ffe5e6e34c 8058854: Remove dependency on dt.jar from test/tools/jar/normalize/TestNormal.java
Reviewed-by: alanb, ksrini
2014-10-13 17:43:17 +01:00
Alan Bateman
7467e9bd34 8060166: javax/management/MBeanInfo/NotificationInfoTest.java fails with modular image
Reviewed-by: dfuchs
2014-10-13 17:35:19 +01:00
Felix Yang
b52b3773e9 8048052: Permission tests for setFactory
Add RuntimePermission tests for setFactory

Reviewed-by: weijun, mullan
2014-10-13 17:55:14 +08:00
Chris Hegarty
1a2e64b98b 8060052: FutureTask; fix underflow when timeout = Long.MIN_VALUE
Reviewed-by: martin
2014-10-11 14:45:27 +01:00
Amy Lu
9b4793ec4c 8058855: Update java.util.zip tests to work with modular image
Reviewed-by: dholmes, sherman, alanb
2014-10-11 13:24:23 +01:00
Konstantin Shefov
30f7d127ad 8058733: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
Reviewed-by: darcy, vlivanov
2014-10-10 21:28:35 +04:00
Athijegannathan Sundararajan
f2913f0270 8060101: AssertionError: __noSuchProperty__ placeholder called from NativeJavaImporter
Reviewed-by: attila, jlaskey
2014-10-10 17:59:22 +05:30
Sergey Bylokhov
d30a6e88b8 8059943: [macosx] Aqua LaF should use BI.TYPE_INT_ARGB_PRE for a better performance
Reviewed-by: alexsch, azvegint
2014-10-10 16:07:18 +04:00
Sangheon Kim
3f18eda414 8058801: G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
If G1TraceReclaimDeadHumongousObjectsAtYoungGC is enabled, always print humongous object liveness output.

Reviewed-by: tschatzl
2014-10-10 12:15:51 +02:00
Daniel Fuchs
d678e2c0dc 8042147: test sun/util/logging/SourceClassName.java failed: Unexpected source: java.util.Currency info
The test should allow for the possibility that something else than the test code itself might log during the test.

Reviewed-by: lancea
2014-10-10 12:05:32 +02:00
Alejandro Murillo
9dc15d58dc Merge 2014-10-10 02:24:41 -07:00
Alejandro Murillo
f8d533e6b6 Merge 2014-10-10 02:24:35 -07:00
Dmitry Markov
3497cea76c 8058120: Rendering / caret errors with HTMLDocument
Reviewed-by: alexp, alexsch
2014-10-10 11:36:26 +04:00
Alexey Ivanov
22976b941e 7170310: ScrollBar doesn't become active when tabs are created more than frame size
Reviewed-by: alexp, alexsch
2014-10-10 11:26:51 +04:00
Jonathan Gibbons
4f08e490bb 8060043: Rename Locations.Path to Locations.SearchPath
Reviewed-by: ksrini
2014-10-09 19:14:30 -07:00
Serguei Spitsyn
99096d6e68 8059904: libjvm_db.c warnings in solaris/sparc build with SS
Fix warnings by correcting the cast of pointers returned from calloc()

Reviewed-by: dholmes
2014-10-09 16:56:27 -07:00
Vivi An
9a11bfa822 8033699: Incorrect radio button behavior
Reviewed-by: azvegint, alexsch
2014-10-09 14:51:12 -07:00
Staffan Friberg
8b424b422f 8057737: Avoid G1 write barriers on newly allocated objects
Reviewed-by: mgerdin, kvn, iveresov
2014-10-09 13:06:15 -07:00
Igor Veresov
655b33e5a2 Merge 2014-10-09 12:36:23 -07:00
Igor Veresov
7d595c0799 Merge 2014-10-09 12:36:20 -07:00
Alexander Potochkin
08fb482e41 8054543: Setting a border on a JLayer causes an Exceptions
Reviewed-by: serb, alexsch
2014-10-09 20:51:39 +04:00
Mikael Gerdin
8daca859f8 8055479: TLAB stability
Reviewed-by: brutisso, stefank, ahgross
2014-10-09 15:42:23 +02:00
Aleksey Shipilev
fe03f41db8 8059924: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java: assert(Universe::verify_in_progress() || !SafepointSynchronize::is_at_safepoint()) failed: invariant
Revive the hashcode installation in Verifier

Reviewed-by: kamg, lfoltan
2014-10-09 16:41:28 +04:00
Frederic Parain
fee63b862f 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:48:12 -07:00
Frederic Parain
94af790733 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:45:58 -07:00
Jesper Wilhelmsson
067456b11d Merge 2014-10-09 13:42:29 +02:00
Thomas Schatzl
60f3ade82b 8059758: Footprint regressions with JDK-8038423
Changes in JDK-8038423 always initialize (zero out) virtual memory used for auxiliary data structures. This causes a footprint regression for G1 in startup benchmarks. This is because they do not touch that memory at all, so the operating system does not actually commit these pages. The fix is to, if the initialization value of the data structures matches the default value of just committed memory (=0), do not do anything.

Reviewed-by: jwilhelm, brutisso
2014-10-09 11:40:11 +02:00
Sergey Bylokhov
9d855e2856 8029253: [macosx] Performance problems with Retina display on Mac OS X
Reviewed-by: bae, prr
2014-10-08 17:34:27 +04:00
Weijun Wang
64881fb307 8059485: Resolve parsing ambiguity
Reviewed-by: mullan, vinnie
2014-10-08 19:13:57 +08:00
Tobias Hartmann
3ed02be10e 8059735: make_not_entrant_or_zombie sees zombies
Make sure nmethod is not set to zombie state twice by sweeper and safepoint code.

Reviewed-by: kvn, anoll, mgerdin
2014-10-08 09:23:18 +02:00
Alexander Scherbatiy
067e0eee97 8058305: BadLocationException is not thrown by javax.swing.text.View.getNextVisualPositionFrom() for invalid positions
Reviewed-by: serb, azvegint
2014-10-07 18:03:58 +04:00
Markus Grönlund
8848e6168c 8055662: Update mapfile for libjfr
Reviewed-by: egahlin, sla
2014-10-07 15:16:17 +02:00
Marcus Larsson
6d1c35615a 8058298: Separate heap region iterator claim values from the data structures iterated over
Reviewed-by: tschatzl, brutisso
2014-10-07 14:54:53 +02:00
Albert Noll
82171aa7ab 8059331: Print additional information for the assert in Compile::start()
Add additional output that shows the failure reason

Reviewed-by: kvn
2014-10-06 06:51:37 -07:00
Roland Westrelin
f575843d51 8058746: escape analysis special case code for array copy broken by 7173584
Escape analysis doesn't handler arraycopy nodes properly

Reviewed-by: kvn, iveresov, vlivanov
2014-10-06 14:53:30 +02:00
Stefan Johansson
18eb46eb95 8059466: Force young GC to initiate marking cycle when stat update is requested
Enable yc to be forced for stat update.

Reviewed-by: mgerdin, jcoomes
2014-10-06 10:11:13 +02:00
Tobias Hartmann
4c1c76ae4f 8059559: SIGSEGV at CodeHeap::allocate(unsigned int, bool)
Create the non-profiled code heap if TieredStopAtLevel=0 is set because we compile method handle intrinsics.

Reviewed-by: kvn
2014-10-06 07:58:50 +02:00
Phil Race
ac20afc6be 8059219: javax.print.PrintServiceLookup allows to register null service
Reviewed-by: bae, jgodinez
2014-10-05 10:23:13 -07:00
Chris Plummer
db57351f43 8046607: Code cleanup: PerfMemory::backing_store_filename() should be removed
Removed PerfMemory::backing_store_filename() API since it is not used anywhere.

Reviewed-by: sla, hseigel
2014-10-03 13:56:18 -07:00
Gerard Ziemski
259a454043 Merge 2014-10-03 15:41:56 -05:00
Igor Veresov
c39454ae56 8059621: JVM crashes with "unexpected index type" assert in LIRGenerator::do_UnsafeGetRaw
Get types from LIR instructions instead of HIR

Reviewed-by: kvn
2014-10-03 13:34:46 -07:00
Vladimir Ivanov
0ffc994611 Merge 2014-10-03 19:42:47 +00:00
Vladimir Ivanov
af1868b9ea 8058892: FILL_ARRAYS and ARRAYS are eagely initialized in MethodHandleImpl
Reviewed-by: kvn, shade
2014-10-03 11:45:36 -07:00
Igor Veresov
8327c8c62e Merge 2014-10-03 11:14:58 -07:00
Coleen Phillimore
a791dae7b4 Merge 2014-10-03 03:31:30 +00:00
Coleen Phillimore
90200446c1 8047736: Remove JVM_GetClassLoader as no longer used
Remove this function from hotspot.  It's already removed from the JDK.

Reviewed-by: mchung, fparain, ctornqvi
2014-10-02 16:31:44 -04:00
Jamil Nimeh
48ac606390 8057555: Less cryptic cipher suite management
Reviewed-by: xuelei, igerasim, mullan, asmotrak
2014-10-02 11:20:48 -07:00
Aleksey Shipilev
0ba4969549 8059595: Verifier::verify is wasting time before is_eligible_for_verification check
Do the check earlier.

Reviewed-by: hseigel, kamg
2014-10-02 17:13:31 +04:00
Goetz Lindenmaier
3263a62bb4 8059592: Recent bugfixes in ppc64 port
Reviewed-by: kvn
2014-10-02 09:32:53 +02:00
Vladimir Kozlov
d124a839ce 8059299: assert(adr_type != NULL) failed: expecting TypeKlassPtr
Use top() for dead paths when initializing Phi node of exceptions klasses in Parse::catch_inline_exceptions().

Reviewed-by: jrose, vlivanov
2014-10-02 11:36:44 -07:00
Sergey Bylokhov
7a259eeb29 8058115: Some of MidiDeviceProviders do not follow the specification
Reviewed-by: prr, azvegint
2014-09-30 17:39:04 +04:00
Anton Nashatyrev
4ba0786cc0 8056914: Right Click Menu for Paste not showing after upgrading to java 7
Reviewed-by: serb, bae
2014-09-30 14:51:33 +04:00
Kim Barrett
72a9a49cfb 8047125: (ref) More phantom object references
Reviewed-by: mchung, dfuchs, ahgross, jmasa, brutisso, mgerdin
2014-09-26 17:48:10 -04:00
Alexander Zvegintsev
ebc6607b65 8051857: OperationTimedOut exception inside from XToolkit.syncNativeQueue call
Reviewed-by: alexsch, serb
2014-09-26 18:43:44 +04:00
Phil Race
6a281f9f56 Merge 2014-09-25 15:31:13 -07:00
Liam Miller-Cushon
08336b39dd 8059453: javac crashes with -Xjcov and union types
Reviewed-by: jlahoda, vromero
2014-09-25 14:38:29 -07:00
Anton Nashatyrev
f4d35341de 8058473: "Comparison method violates its general contract" when using Clipboard
Reviewed-by: serb, bae
2014-09-25 15:57:37 +04:00
Jonathan Lu
1095cd42da 8058930: GraphicsEnvironment.getHeadlessProperty() does not work for AIX platform
Reviewed-by: serb
2014-09-25 14:33:03 +08:00
Anton Tarasov
c8fc432f84 8058870: Mac: JFXPanel deadlocks in jnlp mode
Reviewed-by: serb, alexsch
2014-09-24 15:36:11 +04:00
Sergey Bylokhov
c65f81d726 6329748: Invalid/old variable name - newModel in setModel method in JTable class
Reviewed-by: prr, alexsch
2014-09-24 15:23:19 +04:00
Yasumasa Suenaga
4325c3fbec 8017773: OpenJDK7 returns incorrect TrueType font metrics
Reviewed-by: prr, bae
2014-09-23 15:48:16 -07:00
Sergey Bylokhov
1f7d2ae35c 8041734: JFrame in full screen mode leaves empty workspace after close
Reviewed-by: azvegint, alexsch
2014-09-23 07:13:34 +04:00
Alexander Zvegintsev
fa2dc11080 8058739: The test case failed as "ERROR in native method: ReleasePrimitiveArrayCritical: failed bounds check"
Reviewed-by: prr, serb
2014-09-23 20:17:56 +04:00
Sergey Bylokhov
af478a97f4 8058858: JRE 8u20 crashes while using Japanese IM on Windows
Reviewed-by: azvegint, alexsch
2014-09-23 16:05:05 +04:00
Anton Tarasov
d0992c8071 8049346: [TESTBUG] fix the @run line of the test: jdk/test/java/awt/Focus/SortingFTP/JDK8048887.java
Reviewed-by: serb, alexsch
2014-09-23 15:52:40 +04:00
Mark Sheppard
c1aaf5dc04 8056264: Multicast support improvements
Avoid passing a null ifname string to GetStringUTFChars native fn calls within a NetworkInterface method call flows

Reviewed-by: chegar, alanb
2014-09-12 16:11:40 +01:00
Phil Race
71e08b387a 8056276: Fontmanager feature improvements
Reviewed-by: srl, bae, mschoene
2014-09-11 10:12:33 -07:00
Phil Race
6c5144c6bd 8055489: Better substitution formats
Reviewed-by: srl, bae, mschoene
2014-09-11 10:10:16 -07:00
Alexander Scherbatiy
92b2ba6392 8055304: More boxing for DirectoryComboBoxModel
Reviewed-by: serb, prr, skoivu
2014-09-11 13:04:18 +04:00
Michael McMahon
4ed0514033 8048035: Ensure proper proxy protocols
Reviewed-by: alanb, chegar
2014-09-10 10:33:43 +01:00
Brent Christian
e99423e062 8044473: Allow for extended set of platform MXBeans
Add ExtendedPlatformComponent

Reviewed-by: dfuchs
2014-09-05 09:45:13 -07:00
Brent Christian
0a2a50258e 8044473: Allow for extended set of platform MXBeans
Add ExtendedPlatformComponent

Reviewed-by: dfuchs
2014-09-04 14:41:07 -07:00
Lana Steuck
bd3df7c5a8 Merge 2014-10-23 13:43:38 -07:00
David Katleman
5ecfba1b64 Added tag jdk9-b36 for changeset c8713652410a 2014-10-23 11:19:02 -07:00
Pavel Rappo
bcb19ac108 8042888: Remove extcheck tool
Reviewed-by: alanb, chegar
2014-10-22 10:34:45 +01:00
Shanliang Jiang
8be6fa0ec3 8060692: Delete com/sun/jmx/snmp and sun/management/snmp from OpenJDK
Reviewed-by: alanb, dfuchs, erikj, mchung
2014-10-22 09:12:36 +02:00
Erik Joelsson
cf426daa20 8061610: "make test" broken for hotspot test targets
Reviewed-by: dholmes
2014-10-21 14:22:22 +02:00
Erik Joelsson
4961a5f887 8060766: build of jdk9-b33 seems broken due to how security zip files are interfaced
Reviewed-by: tbell
2014-10-21 14:00:26 +02:00
Valerie Peng
6c00ebb043 8046002: Move Ucrypto to the open jdk repo
Move Ucrypto related sources, tests to openJDK

Reviewed-by: alanb, mchung
2014-10-20 21:12:34 +00:00
Severin Gehwolf
515ee87432 8061301: Fix typo when translating characters in $USER
Reviewed-by: erikj
2014-10-17 10:13:20 +02:00
Mandy Chung
6888358c94 8055314: Update refactoring for new loader
Reviewed-by: mullan, ahgross, igerasim
2014-08-29 20:16:35 -07:00
Jamil Nimeh
014b2d0c84 8046656: Update protocol support
Reviewed-by: xuelei, wetmore, igerasim, mullan, asmotrak
2014-08-26 17:09:05 -07:00
Peter Levart
4029366de9 8047769: SecureRandom should be more frugal with file descriptors
Introduce FileInputStreamPool to cache open FileInputStreams

Reviewed-by: wetmore, alanb, chegar
2015-01-21 12:49:53 +01:00
Paul Sandoz
80fd7677b8 8062901: Iterators is spelled incorrectly in the Javadoc for Spliterator
Reviewed-by: chegar, lancea, alanb
2015-01-21 09:46:24 +00:00
Doug Lea
595be219a4 8068432: Inconsistent exception handling in CompletableFuture.thenCompose
Reviewed-by: psandoz, chegar, martin
2015-01-21 09:46:21 +00:00
Jesper Wilhelmsson
e238141b5c 8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Stefan Karlsson
0241e477f1 8073388: Get rid of the depenecy from handles.hpp to oop.inline.hpp
Reviewed-by: mgerdin, coleenp
2015-02-18 09:22:37 +01:00
Jesper Wilhelmsson
71edbb2d96 8055702: Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: mgerdin, kbarrett
2014-08-22 10:10:08 +02:00
Jesper Wilhelmsson
d44b2b7565 Merge 2014-10-20 15:23:33 +02:00
Stefan Karlsson
d410f19961 8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
Reviewed-by: mgerdin, coleenp, bdelsart
2014-10-02 10:55:36 +02:00
Michael McMahon
01ea2212b1 8053963: (dc) Use DatagramChannel.receive() instead of read() in connect
Reviewed-by: alanb, chegar
2014-08-21 17:51:29 +01:00
Bengt Rutisson
b986429c73 8049253: Better GC validation
Also reviewed by: boris.molodenkov@oracle.com

Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: dcubed, minqi, mschoene
2014-08-19 11:17:36 +02:00
Jiangli Zhou
21f7f36b9e 8044269: Analysis of archive files
Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
2014-08-14 21:46:27 -04:00
Igor Veresov
0cb7282446 8047130: Fewer escapes from escape analysis
Treat max_stack attribute as an int in bytecode escape analyzer

Reviewed-by: kvn, twisti, ahgross
2014-08-08 13:23:30 -07:00
Xueming Shen
5ef6775117 8048025: Ensure cache consistency
To support zip entry with null character(s) embedded

Reviewed-by: alanb, weijun
2014-08-07 12:57:23 -07:00
Vladimir Kozlov
6c237d9d0f 8049542: C2: assert(size_in_words <= (julong)max_jint) failed: no overflow
Added juint cast to avoid gcc problem we have on one of our platforms.

Reviewed-by: dholmes, roland
2014-08-05 14:44:18 -07:00
Morris Meyer
b3f78699f7 8054530: C2: assert(res == old_res) failed: Inconsistency between old and new
Fixed signedness problem with assertion.

Reviewed-by: kvn
2014-08-13 13:00:53 -07:00
Igor Veresov
c86e8f5a2c 8059200: Promoted JDK9 b31 for Solaris-amd64 fails (Error: dl failure on line 744, no picl library) on Solaris 11.1
Manually load libpicl.so (used on SPARC only)

Reviewed-by: kvn
2014-10-25 21:02:29 -10:00
Dmitrij Pochepko
f1db529ce7 8043674: Update compiler/intrinsic/bmi tests to run it on all platforms
Reviewed-by: kvn, iignatyev, fzhinkin
2014-10-25 19:06:23 +04:00
Vladimir Kozlov
c620214d18 8041984: CompilerThread seems to occupy all CPU in a very rare situation
Add new timeout checks to EA.

Reviewed-by: iveresov, drchase
2014-10-24 10:28:19 -07:00
Sergei Kovalev
db334facfc 8028481: [TESTBUG] compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java should be in needs_nashorn test group
Reviewed-by: vlivanov, kvn
2014-10-24 09:17:32 -07:00
Vladimir Ivanov
916697af2c 8036748: assert(_base == Int) failed: Not an Int w/ -XX:+TraceIterativeGVN
Reviewed-by: kvn, roland
2014-10-24 09:14:41 -07:00
Vladimir Ivanov
83181efbeb 8058847: C2: EliminateAutoBox regression after 8042786
Reviewed-by: kvn, roland
2014-10-24 09:13:12 -07:00
Albert Noll
6520320d1a 8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
Use separate sweeper thread; enables more aggressive sweeping.

Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Tobias Hartmann
2597d484c6 8061486: [TESTBUG] compiler/whitebox/ tests fail : must be osr_compiled (reappeared in nightlies)
Call warmup code from OSR triggering method to make sure no non-OSR compilation is triggered in the loop.

Reviewed-by: kvn
2014-10-24 08:35:29 +02:00
Tobias Hartmann
7d0337349b 8060479: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java test fails with product build
Added check for product build and compute minimum code cache size accordingly.

Reviewed-by: kvn, iignatyev
2014-10-24 08:27:39 +02:00
Tobias Hartmann
009e923e04 8061443: Whitebox get*VMFlag() methods fail with develop flags in product builds
Changed 'get*VMFlag' to return all flags. Added methods 'isLockedVMFlag' and 'isConstantVMFlag' and adapted tests.

Reviewed-by: kvn, dholmes, sla
2014-10-24 08:22:33 +02:00
Igor Veresov
7b42cc8306 8047383: SIGBUS in C2 compiled method weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory$SimulatedWsdlDefinitions.<init>
Do not rematerialize constant table loads in PhaseAggressiveCoalesce::insert_copies()

Reviewed-by: kvn
2014-10-23 09:41:59 -10:00
Vladimir Kozlov
da37592acb 8061563: Typo in test/compiler/exceptions/CatchInlineExceptions.java
Fix typo

Reviewed-by: iveresov
2014-10-21 12:37:48 -07:00
Vladimir Kozlov
44d1787a26 8059139: It should be possible to explicitly disable usage of TZCNT instr w/ -XX:-UseBMI1Instructions
Reviewed-by: iveresov
2014-10-17 15:35:25 -07:00
Igor Veresov
4b046500b7 Merge 2014-10-17 10:09:43 -10:00
Tobias Hartmann
2a7c75d62f Merge 2014-10-17 08:27:46 +00:00
Tobias Hartmann
415f2cd075 8060454: [TESTBUG] Whitebox tests fail with -XX:CompileThreshold=100
Move the call to 'waitAndDeoptimize' from the warmup methods to the osr triggering methods to make sure that no non-osr compilation is in the queue after warmup.

Reviewed-by: kvn
2014-10-17 10:04:45 +02:00
Tobias Hartmann
bdd3c3df3a 8060196: 'CodeHeap is full' warning suggests to increase wrong code heap size
Fixed 'CodeHeap is full' warning to output the right CodeHeapSize flag.

Reviewed-by: kvn, anoll
2014-10-17 08:56:07 +02:00
Tobias Hartmann
a87b3d13df 8059846: InstanceKlass should use MutexLockerEx to acquire OsrList_lock
Replace explicit locking of OsrList_lock by a MutexLockerEx instantiation.

Reviewed-by: kvn, anoll, drchase, dholmes, dlong, coleenp
2014-10-16 12:57:04 +02:00
Kim Barrett
b585c203ac 8048949: Requeue queue implementation
Devirtualize flush and move calls.

Reviewed-by: brutisso, tschatzl, mschoene
2014-07-31 11:10:02 +02:00
Phil Race
3cc3d82ad9 8052162: REGRESSION: sun/java2d/cmm/ColorConvertOp tests fail since 7u71 b01
Reviewed-by: bae, serb
2014-07-30 11:08:41 -07:00
Martin Buchholz
5d3c63cac6 8043780: Use open(O_CLOEXEC) instead of fcntl(FD_CLOEXEC)
Use open(O_CLOEXEC) where available; fall back to FD_CLOEXEC when necessary

Reviewed-by: rasbold, dholmes
2014-07-01 13:29:24 -07:00
Naoto Sato
47d69e2546 8044274: Proper property processing
Reviewed-by: okutsu
2014-06-24 14:00:01 -07:00
Phil Race
cc10c54160 8035162: Service printing service
Reviewed-by: bae, jgodinez, mschoene
2014-06-24 10:03:46 -07:00
Zhengyu Gu
a71432a188 8038903: More native monitor monitoring
Moved ntive monitor monitoring flags to experimental

Reviewed-by: acorn, hseigel, mschoene
2014-06-16 10:23:46 -04:00
Sean Mullan
3847915051 8038913: Bolster XML support
Reviewed-by: xuelei, skoivu
2014-06-11 16:25:59 -04:00
Daniel Fuchs
52d7b541a6 8042797: Avoid strawberries in LogRecord
Reviewed-by: mchung, skoivu, igerasim
2014-06-05 18:46:37 +02:00
Harold Seigel
9f06aa633c 8041717: Issue with class file parser
Add better checking for bad values.

Reviewed-by: coleenp, lfoltan, mschoene
2014-05-30 13:23:27 -04:00
Harold Seigel
f203dcbfbf 8036533: Method for correct defaults
8036156: Limit default method hierarchy

Fix protected access checks

Reviewed-by: coleenp, lfoltan, acorn, ahgross
2014-07-22 16:16:51 +04:00
Coleen Phillimore
7bd17413f2 8015256: Better class accessibility
Improve protection domain check in forName()

Reviewed-by: mchung, acorn, jdn
2014-10-14 13:10:50 -07:00
Alexander Zvegintsev
7d730f7819 8042609: Limit splashiness of splash images
Reviewed-by: mschoene, serb
2014-05-30 16:09:49 +04:00
Xue-Lei Andrew Fan
9c20c6fd5f 8043200: Decrease the preference mode of RC4 in the enabled cipher suite list
Reviewed-by: wetmore, ahgross, asmotrak
2014-05-29 04:24:10 +00:00
Michael McMahon
be3dc19dae 8039509: Wrap sockets more thoroughly
Reviewed-by: chegar, alanb
2014-05-28 14:51:24 +01:00
Sean Mullan
91bc3af392 8038908: Make Signature more robust
Reviewed-by: valeriep, skoivu, asmotrak
2014-05-27 08:56:59 -04:00
Petr Pchelko
f97c6a8a96 8041545: Better validation of generated rasters
Reviewed-by: prr, serb, bae, skoivu
2014-05-23 10:56:42 +04:00
Phil Race
91823dc0c8 8041540: Better use of pages in font processing
Reviewed-by: srl, bae, mschoene
2014-05-22 12:28:27 -07:00
Anthony Scarpino
0d4528c45f 8042480: CipherInputStream.close() throws AEADBadTagException in some cases
Reviewed-by: xuelei
2014-05-18 23:06:51 +00:00
Mark Sheppard
05ed094d99 8015692: java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop
Join the dispatcher thread in the ServerImpl.stop method to ensure Dispatcher is finished prior to exiting stop().

Reviewed-by: chegar
2014-11-15 18:26:29 +00:00
Martin Buchholz
5e65c0f984 8063147: Class.getFields spec should state that fields are inherited from superinterfaces
Reviewed-by: psandoz, chegar
2014-11-06 13:29:36 -08:00
Martin Buchholz
72f7a2a671 8062194: java.util.jar.Attributes should use insertion-ordered iteration
S/HashMap/LinkedHashMap/g

Reviewed-by: alanb, sherman
2014-10-27 16:24:43 -07:00
Chris Hegarty
187bacb237 8050983: Misplaced parentheses in sun.net.www.http.HttpClient break HTTP PUT streaming
Reviewed-by: michaelm
2014-11-14 18:15:52 +00:00
Vinnie Ryan
ea786e7bc7 8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m
Reviewed-by: alanb
2014-11-14 11:41:42 +00:00
Anton Tarasov
04edcf722c 8004148: NPE in sun.awt.SunToolkit.getWindowDeactivationTime
Reviewed-by: serb
2014-11-14 12:32:43 +03:00
Daniel Fuchs
14363dbaab 8041564: Improved management of logger resources
Reviewed-by: skoivu, mchung, igerasim
2014-05-14 15:40:39 +02:00
Sean Mullan
70ef26d4d0 8038364: Use certificate exceptions correctly
Reviewed-by: vinnie, skoivu
2014-05-12 10:18:51 -04:00
Coleen Phillimore
3e5a530aff 8015256: Better class accessibility
Improve protection domain check in forName()

Reviewed-by: mchung, acorn, jdn
2014-07-22 16:24:48 +04:00
Joe Wang
dbbe5b9419 8039533: Higher resolution resolvers
Reviewed-by: lancea, dfuchs, skoivu
2014-05-09 11:35:21 -07:00
Joe Wang
23a1b5481b 8036951: Xerces Update: XMLSchemaValidator.java and XMLSchemaLoader.java
Reviewed-by: lancea
2014-10-13 14:09:03 -07:00
Alexander Zuev
6037f786bb 8041529: Better parameterization of parameter lists
Reviewed-by: twisti, ahgross
2014-05-08 21:09:57 +04:00
Lois Foltan
edc10143cb 8036805: Correct linker method lookup
Correct handling of array of primitive type qualifiers during field and method resolution.

Reviewed-by: acorn, hseigel, ahgross
2014-05-07 19:38:22 +04:00
Vladimir Ivanov
5ce941b143 8037326: VerifyAccess.isMemberAccessible() has incorrect access check
Reviewed-by: jrose, twisti, ahgross
2014-04-23 09:06:22 -10:00
Joe Darcy
62383e4a21 8035781: Improve equality for annotations
Reviewed-by: jfranck, abuckley, ahgross, dmeetry
2014-04-22 14:07:45 -07:00
Xue-Lei Andrew Fan
9cba51fbc5 8037066: Secure transport layer
Reviewed-by: weijun, ahgross, asmotrak, mbankal
2014-04-22 00:43:56 +00:00
Naoto Sato
1d8cb90952 8036936: Use local locales
Made sure cache key is cleare on GC invocation

Reviewed-by: okutsu
2014-04-21 11:08:30 -07:00
Anthony Scarpino
e55eebc5ed 8037846: Ensure streaming of input cipher streams
Reviewed-by: xuelei, valeriep
2014-04-14 21:02:31 +00:00
Andreas Eriksson
f65caabf9c 7176220: 'Full GC' events miss date stamp information occasionally
Move date stamp logic into GCTraceTime

Reviewed-by: brutisso, tschatzl
2013-05-17 17:24:20 +02:00
Evgeniya Stepanova
0afc5ae6fc 8065749: [TESTBUG]: gc/arguments/TestG1HeapRegionSize.java fails at nightly
Reviewed-by: brutisso
2014-11-25 18:16:18 +04:00
Marcus Larsson
89dca54c74 8062943: REDO - Parallelize clearing the next mark bitmap
Reviewed-by: kbarrett, tschatzl
2014-11-25 11:59:55 +01:00
Jesper Wilhelmsson
561b51f5ce Merge 2014-11-24 23:28:48 +01:00
7358 changed files with 369899 additions and 156844 deletions

19
.hgtags
View File

@@ -277,3 +277,22 @@ b2287cac7813c70ed7f679d9a46fe774bd4005f8 jdk9-b30
1b1ec4291abc0ba6da7bf79b754f08dd759a4a0c jdk9-b32
f0c5e4b732da823bdaa4184133675f384e7cd68d jdk9-b33
9618201c5df28a460631577fad1f61e96f775c34 jdk9-b34
a137992d750c72f6f944f341aa19b0d0d96afe0c jdk9-b35
41df50e7303daf73c0d661ef601c4fe250915de5 jdk9-b36
b409bc51bc23cfd51f2bd04ea919ec83535af9d0 jdk9-b37
948cceef81ba4cb34bc233e7cc5952951ff04e88 jdk9-b38
4e7c4d692e934cb9023af8201e7c2b510e9c4ee1 jdk9-b39
82f4cb44b2d7af2352f48568a64b7b6a5ae960cd jdk9-b40
9fffb959eb4197ff806e4ac12244761815b4deee jdk9-b41
3107be2ba9c6e208a0b86bc7100a141abbc5b5fb jdk9-b42
6494b13f88a867026ee316b444d9a4fa589dd6bd jdk9-b43
abbfccd659b91a7bb815d5e36fed635dcdd40f31 jdk9-b44
bfc24ae2b900187585079bb11e66e459d1e525fe jdk9-b45
722378bc599e38d9a1dd484de30f10dfd7b21438 jdk9-b46
8327024a99559982b848e9c2191da9c0bf8838fd jdk9-b47
b2f9702efbe95527ea3a991474fda23987ff1c5c jdk9-b48
5b8db585a33c3cc48e70e688ceee57dd9271dc5d jdk9-b49
1550b2f6b63d1411fa84dc7bbc6f04809aedb43f jdk9-b50
6efe265424e3f1ea596408a1f71baf2de316c772 jdk9-b51
d6224d6021459ac8b3832e822f5acc849fa944af jdk9-b52
874d76e4699dfcd61ae1826c9fe0ddc1610ad598 jdk9-b53

View File

@@ -277,3 +277,22 @@ ea2f7981236f3812436958748ab3d26e80a35130 jdk9-b28
7e3512dae8e020d44399c0f1c579ff1fe3090ed6 jdk9-b32
e4ba01b726e263953ae129be37c94de6ed145b1d jdk9-b33
087b23f35631e68e950496a36fce8ccca612966a jdk9-b34
c173ba994245380fb11ef077d1e59823386840eb jdk9-b35
201d4e235d597a25a2d3ee1404394789ba386119 jdk9-b36
723a67b0c442391447b1d8aad8b249d06d1032e8 jdk9-b37
d42c0a90afc3c66ca87543076ec9aafd4b4680de jdk9-b38
512dbbeb1730edcebfec873fc3f1455660b32000 jdk9-b39
cf136458ee747e151a27aa9ea0c1492ea55ef3e7 jdk9-b40
67395f7ca2db3b52e3a62a84888487de5cb9210a jdk9-b41
f7c11da0b0481d49cc7a65a453336c108191e821 jdk9-b42
02ee8c65622e8bd97496d584e22fc7dcf0edc4ae jdk9-b43
8994f5d87b3bb5e8d317d4e8ccb326da1a73684a jdk9-b44
3dd628fde2086218d548841022ee8436b6b88185 jdk9-b45
12f1e276447bcc81516e85367d53e4f08897049d jdk9-b46
b6cca3e6175a69f39e5799b7349ddb0176630291 jdk9-b47
0064e246d83f6f9fc245c19b6d05041ecaf4b6d4 jdk9-b48
d91ed1951b948210590ce1394bea5515357246ba jdk9-b49
d1f37d39ff2421f956a6ddf316cf763807bc3363 jdk9-b50
6207b4b8731ca75c51b031c47daa813ab92ef558 jdk9-b51
1822e59f17121b09e7899cf338cfb6e37fe5fceb jdk9-b52
d6ed47125a76cd1cf8a100568507bfb5e9669d9f jdk9-b53

119
Makefile
View File

@@ -33,7 +33,7 @@ default:
# The shell code below will be executed on /usr/ccs/bin/make on Solaris, but not in GNU make.
# /usr/ccs/bin/make lacks basically every other flow control mechanism.
TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
.TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
# Assume we have GNU make, but check version.
ifeq ($(strip $(foreach v, 3.81% 3.82% 4.%, $(filter $v, $(MAKE_VERSION)))), )
@@ -46,7 +46,31 @@ ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),)
else
makefile_path:=$(lastword $(MAKEFILE_LIST))
endif
root_dir:=$(dir $(makefile_path))
root_dir:=$(patsubst %/,%,$(dir $(makefile_path)))
ifeq ($(MAIN_TARGETS), )
COMMAND_LINE_VARIABLES:=$(subst =command,,$(filter %=command,$(foreach var,$(.VARIABLES),$(var)=$(firstword $(origin $(var))))))
MAKE_CONTROL_VARIABLES:=LOG CONF SPEC JOBS TEST IGNORE_OLD_CONFIG
UNKNOWN_COMMAND_LINE_VARIABLES:=$(strip $(filter-out $(MAKE_CONTROL_VARIABLES), $(COMMAND_LINE_VARIABLES)))
ifneq ($(UNKNOWN_COMMAND_LINE_VARIABLES), )
$(info Note: Command line contains non-control variables: $(UNKNOWN_COMMAND_LINE_VARIABLES).)
$(info Make sure it is not mistyped, and that you intend to override this variable.)
$(info 'make help' will list known control variables)
endif
endif
ifneq ($(findstring qp,$(MAKEFLAGS)),)
# When called with -qp, assume an external part (e.g. bash completion) is trying
# to understand our targets.
# Duplication of global targets, needed before ParseConfAndSpec in case we have
# no configurations.
help:
# If both CONF and SPEC are unset, look for all available configurations by
# setting CONF to the empty string.
ifeq ($(SPEC), )
CONF?=
endif
endif
# ... and then we can include our helper functions
include $(root_dir)/make/MakeHelpers.gmk
@@ -89,6 +113,7 @@ else
# The wrapper target was called so we now have a single configuration. Load the spec file
# and call the real Main.gmk.
include $(SPEC)
include $(SRC_ROOT)/make/common/MakeBase.gmk
### Clean up from previous run
# Remove any build.log from a previous run, if they exist
@@ -134,56 +159,64 @@ endif
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
# If you add more global targets, please update the variable global_targets in MakeHelpers.
# Helper macro to allow $(info) to properly print strings beginning with spaces.
_:=
help:
$(info )
$(info OpenJDK Makefile help)
$(info =====================)
$(info )
$(info Common make targets)
$(info . make [default] # Compile all modules in langtools, hotspot, jaxp, jaxws,)
$(info . # corba and jdk and create a runnable "exploded" image)
$(info . make all # Compile everything, all repos, docs and images)
$(info . make images # Create complete j2sdk and j2re images)
$(info . make docs # Create all docs)
$(info . make docs-javadoc # Create just javadocs, depends on less than full docs)
$(info . make profiles # Create complete j2re compact profile images)
$(info . make bootcycle-images # Build images twice, second time with newly built JDK)
$(info . make install # Install the generated images locally)
$(info . make reconfigure # Rerun configure with the same arguments as last time)
$(info . make clean # Remove all files generated by make, but not those)
$(info . # generated by configure)
$(info . make dist-clean # Remove all files, including configuration)
$(info . make help # Give some help on using make)
$(info . make test # Run tests, default is all tests (see TEST below))
$(info $(_) make [default] # Compile all modules in langtools, hotspot, jdk, jaxws,)
$(info $(_) # jaxp and corba, and create a runnable "exploded" image)
$(info $(_) make all # Compile everything, all repos, docs and images)
$(info $(_) make images # Create complete j2sdk and j2re images)
$(info $(_) make <phase> # Build the specified phase and everything it depends on)
$(info $(_) # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info $(_) make *-only # Applies to most targets and disables compling the)
$(info $(_) # dependencies for the target. This is faster but may)
$(info $(_) # result in incorrect build results!)
$(info $(_) make docs # Create all docs)
$(info $(_) make docs-javadoc # Create just javadocs, depends on less than full docs)
$(info $(_) make profiles # Create complete j2re compact profile images)
$(info $(_) make bootcycle-images # Build images twice, second time with newly built JDK)
$(info $(_) make install # Install the generated images locally)
$(info $(_) make reconfigure # Rerun configure with the same arguments as last time)
$(info $(_) make help # Give some help on using make)
$(info $(_) make test # Run tests, default is all tests (see TEST below))
$(info )
$(info Targets for cleaning)
$(info $(_) make clean # Remove all files generated by make, but not those)
$(info $(_) # generated by configure)
$(info $(_) make dist-clean # Remove all files, including configuration)
$(info $(_) make clean-<outputdir> # Remove the subdir in the output dir with the name)
$(info $(_) make clean-<phase> # Remove all build results related to a certain build)
$(info $(_) # phase (gensrc, java, libs, launchers))
$(info $(_) make clean-<module> # Remove all build results related to a certain module)
$(info $(_) make clean-<module>-<phase> # Remove all build results related to a certain)
$(info $(_) # module and phase)
$(info )
$(info Targets for specific modules)
$(info . make <module> # Build <module> and everything it depends on. )
$(info . make <module>-only # Build <module> only, without dependencies. This)
$(info . # is faster but can result in incorrect build results!)
$(info . make <module>-java # Compile java classes for <module> and everything it)
$(info . # depends on)
$(info . make <module>-libs # Build native libraries for <module> and everything it)
$(info . # depends on)
$(info . make <module>-launchers# Build native executables for <module> and everything it)
$(info . # depends on)
$(info . make <module>-gensrc # Execute the gensrc step for <module> and everything it)
$(info . # depends on)
$(info $(_) make <module> # Build <module> and everything it depends on.)
$(info $(_) make <module>-<phase> # Compile the specified phase for the specified module)
$(info $(_) # and everything it depends on)
$(info $(_) # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info )
$(info Useful make variables)
$(info . make CONF= # Build all configurations (note, assignment is empty))
$(info . make CONF=<substring> # Build the configuration(s) with a name matching)
$(info . # <substring>)
$(info )
$(info . make LOG=<loglevel> # Change the log level from warn to <loglevel>)
$(info . # Available log levels are:)
$(info . # 'warn' (default), 'info', 'debug' and 'trace')
$(info . # To see executed command lines, use LOG=debug)
$(info )
$(info . make JOBS=<n> # Run <n> parallel make jobs)
$(info . # Note that -jN does not work as expected!)
$(info )
$(info . make test TEST=<test> # Only run the given test or tests, e.g.)
$(info . # make test TEST="jdk_lang jdk_net")
$(info Make control variables)
$(info $(_) CONF= # Build all configurations (note, assignment is empty))
$(info $(_) CONF=<substring> # Build the configuration(s) with a name matching)
$(info $(_) # <substring>)
$(info $(_) SPEC=<spec file> # Build the configuration given by the spec file)
$(info $(_) LOG=<loglevel> # Change the log level from warn to <loglevel>)
$(info $(_) # Available log levels are:)
$(info $(_) # 'warn' (default), 'info', 'debug' and 'trace')
$(info $(_) # To see executed command lines, use LOG=debug)
$(info $(_) JOBS=<n> # Run <n> parallel make jobs)
$(info $(_) # Note that -jN does not work as expected!)
$(info $(_) IGNORE_OLD_CONFIG=true # Skip tests if spec file is up to date)
$(info $(_) make test TEST=<test> # Only run the given test or tests, e.g.)
$(info $(_) # make test TEST="jdk_lang jdk_net")
$(info )
.PHONY: help

View File

@@ -1463,14 +1463,13 @@
<h4>Building with ccache</h4>
<p>A simple way to radically speed up compilation of native code
(typically hotspot and native libraries in JDK) is to install
ccache. This will cache and reuse prior compilation results, if the
source code is unchanged. However, ccache versions prior to 3.1.4
does not work correctly with the precompiled headers used in
OpenJDK. So if your platform supports ccache at 3.1.4 or later, we
highly recommend installing it. This is currently only supported on
linux.</p>
<p>The OpenJDK build supports building with ccache
when using gcc or clang. Using ccache can
radically speed up compilation of native code if
you often rebuild the same sources. Your milage
may vary however so we recommend evaluating it for
yourself. To enable it, make sure it's on the path
and configure with <code>--enable-ccache</code>.</p>
<h4>Building on local disk</h4>

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -69,7 +69,7 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
# This will make sure the given variable points to a full and proper
# path. This means:
# 1) There will be no spaces in the path. On posix platforms,
# 1) There will be no spaces in the path. On unix platforms,
# spaces in the path will result in an error. On Windows,
# the path will be rewritten using short-style to be space-free.
# 2) The path will be absolute, and it will be in unix-style (on
@@ -77,32 +77,36 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
# $1: The name of the variable to fix
AC_DEFUN([BASIC_FIXUP_PATH],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
else
# We're on a posix platform. Hooray! :)
path="[$]$1"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.])
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
# Only process if variable expands to non-empty
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
else
# We're on a unix platform. Hooray! :)
path="[$]$1"
has_space=`$ECHO "$path" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$path", is invalid.])
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
$1="`cd "$path"; $THEPWDCMD -L`"
$1="`cd "$path"; $THEPWDCMD -L`"
fi
fi
])
# This will make sure the given variable points to a executable
# with a full and proper path. This means:
# 1) There will be no spaces in the path. On posix platforms,
# 1) There will be no spaces in the path. On unix platforms,
# spaces in the path will result in an error. On Windows,
# the path will be rewritten using short-style to be space-free.
# 2) The path will be absolute, and it will be in unix-style (on
@@ -113,57 +117,61 @@ AC_DEFUN([BASIC_FIXUP_PATH],
# $1: The name of the variable to fix
AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
[
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
else
# We're on a posix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
# Only process if variable expands to non-empty
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
else
# This is an absolute path, we can use it without further modifications.
new_path="$path"
fi
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
if test "x$new_path" = x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([This might be caused by spaces in the path, which is not allowed.])
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
else
# This is an absolute path, we can use it without further modifications.
new_path="$path"
fi
if test "x$new_path" = x; then
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([This might be caused by spaces in the path, which is not allowed.])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
fi
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
else
new_complete="$new_path"
fi
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
else
new_complete="$new_path"
fi
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
fi
fi
])
@@ -242,6 +250,9 @@ AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
AC_SUBST(CONFIGURE_COMMAND_LINE)
# Save the path variable before it gets changed
ORIGINAL_PATH="$PATH"
AC_SUBST(ORIGINAL_PATH)
DATE_WHEN_CONFIGURED=`LANG=C date`
AC_SUBST(DATE_WHEN_CONFIGURED)
AC_MSG_NOTICE([Configuration created at $DATE_WHEN_CONFIGURED.])
@@ -268,7 +279,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
fi
])
# Setup a tool for the given variable. If correctly specified by the user,
# Setup a tool for the given variable. If correctly specified by the user,
# use that value, otherwise search for the tool using the supplied code snippet.
# $1: variable to set
# $2: code snippet to call to look for the tool
@@ -546,7 +557,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
XCODEBUILD=
AC_SUBST(XCODEBUILD)
fi
AC_MSG_CHECKING([for sdk name])
AC_ARG_WITH([sdk-name], [AS_HELP_STRING([--with-sdk-name],
[use the platform SDK of the given name. @<:@macosx@:>@])],
@@ -684,8 +695,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_SUBST(CONF_NAME, $CONF_NAME)
AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
# Most of the probed defines are put into config.h
AC_CONFIG_HEADERS([$OUTPUT_ROOT/config.h:$AUTOCONF_DIR/config.h.in])
# The spec.gmk file contains all variables for the make system.
AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in])
# The hotspot-spec.gmk file contains legacy variables for the hotspot make system.
@@ -694,8 +703,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_CONFIG_FILES([$OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in])
# The compare.sh is used to compare the build output to other builds.
AC_CONFIG_FILES([$OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in])
# Spec.sh is currently used by compare-objects.sh
AC_CONFIG_FILES([$OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in])
# The generated Makefile knows where the spec.gmk is and where the source is.
# You can run make from the OUTPUT_ROOT, or from the top-level Makefile
# which will look for generated configurations
@@ -900,10 +907,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
fi
AC_SUBST(IS_GNU_TIME)
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
BASIC_REQUIRE_PROGS(COMM, comm)
fi
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
BASIC_REQUIRE_PROGS(DSYMUTIL, dsymutil)
BASIC_REQUIRE_PROGS(XATTR, xattr)
@@ -991,3 +994,26 @@ AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
IS_RECONFIGURE=no
fi
])
# Check for support for specific options in bash
AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
[
# Test if bash supports pipefail.
AC_MSG_CHECKING([if bash supports pipefail])
if ${BASH} -c 'set -o pipefail'; then
BASH_ARGS="$BASH_ARGS -o pipefail"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING([if bash supports errexit (-e)])
if ${BASH} -e -c 'true'; then
BASH_ARGS="$BASH_ARGS -e"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(BASH_ARGS)
])

View File

@@ -24,31 +24,31 @@
#
########################################################################
# This file handles detection of the Boot JDK. The Boot JDK detection
# process has been developed as a response to solve a complex real-world
# problem. Initially, it was simple, but it has grown as platform after
# This file handles detection of the Boot JDK. The Boot JDK detection
# process has been developed as a response to solve a complex real-world
# problem. Initially, it was simple, but it has grown as platform after
# platform, idiosyncracy after idiosyncracy has been supported.
#
# The basic idea is this:
# 1) You need an acceptable *) JDK to use as a Boot JDK
# 2) There are several ways to locate a JDK, that are mostly platform
# 2) There are several ways to locate a JDK, that are mostly platform
# dependent **)
# 3) You can have multiple JDKs installed
# 4) If possible, configure should try to dig out an acceptable JDK
# 4) If possible, configure should try to dig out an acceptable JDK
# automatically, without having to resort to command-line options
#
# *) acceptable means e.g. JDK7 for building JDK8, a complete JDK (with
# javac) and not a JRE, etc.
# *) acceptable means e.g. JDK7 for building JDK8, a complete JDK (with
# javac) and not a JRE, etc.
#
# **) On Windows we typically use a well-known path.
# **) On Windows we typically use a well-known path.
# On MacOSX we typically use the tool java_home.
# On Linux we typically find javac in the $PATH, and then follow a
# chain of symlinks that often ends up in a real JDK.
# On Linux we typically find javac in the $PATH, and then follow a
# chain of symlinks that often ends up in a real JDK.
#
# This leads to the code where we check in different ways to locate a
# JDK, and if one is found, check if it is acceptable. If not, we print
# our reasons for rejecting it (useful when debugging non-working
# configure situations) and continue checking the next one.
# This leads to the code where we check in different ways to locate a
# JDK, and if one is found, check if it is acceptable. If not, we print
# our reasons for rejecting it (useful when debugging non-working
# configure situations) and continue checking the next one.
########################################################################
# Execute the check given as argument, and verify the result
@@ -73,31 +73,25 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
AC_MSG_NOTICE([(This might be an JRE instead of an JDK)])
BOOT_JDK_FOUND=no
else
# Do we have an rt.jar? (On MacOSX it is called classes.jar)
if test ! -f "$BOOT_JDK/jre/lib/rt.jar" && test ! -f "$BOOT_JDK/../Classes/classes.jar"; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK did not contain an rt.jar; ignoring])
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | head -n 1`
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_CORRECT_VERSION=`echo $BOOT_JDK_VERSION | grep '\"1\.[89]\.'`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK is incorrect JDK version ($BOOT_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Boot JDK must be version 8 or 9)])
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | head -n 1`
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_CORRECT_VERSION=`echo $BOOT_JDK_VERSION | grep '\"1\.[89]\.'`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK is incorrect JDK version ($BOOT_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Boot JDK must be version 8 or 9)])
BOOT_JDK_FOUND=no
else
# We're done! :-)
BOOT_JDK_FOUND=yes
BASIC_FIXUP_PATH(BOOT_JDK)
AC_MSG_CHECKING([for Boot JDK])
AC_MSG_RESULT([$BOOT_JDK])
AC_MSG_CHECKING([Boot JDK version])
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $TR '\n\r' ' '`
AC_MSG_RESULT([$BOOT_JDK_VERSION])
fi # end check jdk version
fi # end check rt.jar
# We're done! :-)
BOOT_JDK_FOUND=yes
BASIC_FIXUP_PATH(BOOT_JDK)
AC_MSG_CHECKING([for Boot JDK])
AC_MSG_RESULT([$BOOT_JDK])
AC_MSG_CHECKING([Boot JDK version])
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $TR '\n\r' ' '`
AC_MSG_RESULT([$BOOT_JDK_VERSION])
fi # end check jdk version
fi # end check javac
fi # end check java
fi # end check boot jdk found
@@ -244,7 +238,7 @@ AC_DEFUN([BOOTJDK_CHECK_WELL_KNOWN_LOCATIONS],
AC_DEFUN([BOOTJDK_CHECK_TOOL_IN_BOOTJDK],
[
# Use user overridden value if available, otherwise locate tool in the Boot JDK.
BASIC_SETUP_TOOL($1,
BASIC_SETUP_TOOL($1,
[
AC_MSG_CHECKING([for $2 in Boot JDK])
$1=$BOOT_JDK/bin/$2
@@ -305,20 +299,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_MSG_ERROR([Cannot continue])
fi
# Setup proper paths for what we found
BOOT_RTJAR="$BOOT_JDK/jre/lib/rt.jar"
if test ! -f "$BOOT_RTJAR"; then
# On MacOSX it is called classes.jar
BOOT_RTJAR="$BOOT_JDK/../Classes/classes.jar"
if test -f "$BOOT_RTJAR"; then
# Remove the ..
BOOT_RTJAR="`cd ${BOOT_RTJAR%/*} && pwd`/${BOOT_RTJAR##*/}"
fi
fi
BOOT_TOOLSJAR="$BOOT_JDK/lib/tools.jar"
BOOT_JDK="$BOOT_JDK"
AC_SUBST(BOOT_RTJAR)
AC_SUBST(BOOT_TOOLSJAR)
AC_SUBST(BOOT_JDK)
# Setup tools from the Boot JDK.

View File

@@ -42,13 +42,16 @@ endif
# Override specific values to do a boot cycle build
# The bootcycle build has a different output directory
BUILD_OUTPUT:=@BUILD_OUTPUT@/bootcycle-build
# Use a different Boot JDK
OLD_BOOT_JDK:=$(BOOT_JDK)
BOOT_JDK:=@BUILD_OUTPUT@/images/j2sdk-image
BOOT_RTJAR:=$(BOOT_JDK)/jre/lib/rt.jar
BOOT_JDK := $(JDK_IMAGE_DIR)
# The bootcycle build has a different output directory
OLD_BUILD_OUTPUT:=@BUILD_OUTPUT@
BUILD_OUTPUT:=$(OLD_BUILD_OUTPUT)/bootcycle-build
# The HOTSPOT_DIST dir is not defined relative to BUILD_OUTPUT in spec.gmk. Must not
# use space in this patsubst to avoid leading space in HOTSPOT_DIST.
HOTSPOT_DIST:=$(patsubst $(OLD_BUILD_OUTPUT)%,$(BUILD_OUTPUT)%,$(HOTSPOT_DIST))
SJAVAC_SERVER_DIR:=$(patsubst $(OLD_BUILD_OUTPUT)%, $(BUILD_OUTPUT)%, $(SJAVAC_SERVER_DIR))
JAVA_CMD:=$(BOOT_JDK)/bin/java
JAVAC_CMD:=$(BOOT_JDK)/bin/javac
@@ -57,4 +60,3 @@ JAR_CMD:=$(BOOT_JDK)/bin/jar
NATIVE2ASCII_CMD:=$(BOOT_JDK)/bin/native2ascii
JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)

File diff suppressed because it is too large Load Diff

View File

@@ -77,7 +77,7 @@ if test $? = 0; then
fi
# Test and fix little endian PowerPC64.
# TODO: should be handled by autoconf-config.guess.
# TODO: should be handled by autoconf-config.guess.
if [ "x$OUT" = x ]; then
if [ `uname -m` = ppc64le ]; then
if [ `uname -s` = Linux ]; then

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#!/bin/sh
echo >&2 "No suitable 'install' command found.'"
echo >&2 "If automake is installed, running 'automake -fa'"
echo >&2 "(and ignoring the errors) might produce one."
exit 1
#!/bin/sh
echo >&2 "No suitable 'install' command found.'"
echo >&2 "If automake is installed, running 'automake -fa'"
echo >&2 "(and ignoring the errors) might produce one."
exit 1

View File

@@ -164,19 +164,26 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
[enable using ccache to speed up recompilations @<:@disabled@:>@])])
CCACHE=
CCACHE_STATUS=
AC_MSG_CHECKING([is ccache enabled])
ENABLE_CCACHE=$enable_ccache
if test "x$enable_ccache" = xyes; then
AC_MSG_RESULT([yes])
OLD_PATH="$PATH"
if test "x$TOOLCHAIN_PATH" != x; then
PATH=$TOOLCHAIN_PATH:$PATH
if test "x$TOOLCHAIN_TYPE" = "xgcc" -o "x$TOOLCHAIN_TYPE" = "xclang"; then
AC_MSG_RESULT([yes])
OLD_PATH="$PATH"
if test "x$TOOLCHAIN_PATH" != x; then
PATH=$TOOLCHAIN_PATH:$PATH
fi
BASIC_REQUIRE_PROGS(CCACHE, ccache)
PATH="$OLD_PATH"
CCACHE_VERSION=[`$CCACHE --version | head -n1 | $SED 's/[A-Za-z ]*//'`]
CCACHE_STATUS="Active ($CCACHE_VERSION)"
else
AC_MSG_RESULT([no])
AC_MSG_WARN([ccache is not supported with toolchain type $TOOLCHAIN_TYPE])
fi
BASIC_REQUIRE_PROGS(CCACHE, ccache)
CCACHE_STATUS="enabled"
PATH="$OLD_PATH"
elif test "x$enable_ccache" = xno; then
AC_MSG_RESULT([no, explicitly disabled])
CCACHE_STATUS="Disabled"
elif test "x$enable_ccache" = x; then
AC_MSG_RESULT([no])
else
@@ -206,35 +213,31 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
[
if test "x$CCACHE" != x; then
# Only use ccache if it is 3.1.4 or later, which supports
# precompiled headers.
AC_MSG_CHECKING([if ccache supports precompiled headers])
HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.@<:@456789@:>@) 2> /dev/null`
if test "x$HAS_GOOD_CCACHE" = x; then
AC_MSG_RESULT([no, disabling ccache])
CCACHE=
CCACHE_STATUS="disabled"
else
AC_MSG_RESULT([yes])
if test "x$USE_PRECOMPILED_HEADER" = "x1"; then
HAS_BAD_CCACHE=[`$ECHO $CCACHE_VERSION | \
$GREP -e '^1.*' -e '^2.*' -e '^3\.0.*' -e '^3\.1\.[0123]$'`]
if test "x$HAS_BAD_CCACHE" != "x"; then
AC_MSG_ERROR([Precompiled headers requires ccache 3.1.4 or later, found $CCACHE_VERSION])
fi
AC_MSG_CHECKING([if C-compiler supports ccache precompiled headers])
CCACHE_PRECOMP_FLAG="-fpch-preprocess"
PUSHED_FLAGS="$CXXFLAGS"
CXXFLAGS="-fpch-preprocess $CXXFLAGS"
CXXFLAGS="$CCACHE_PRECOMP_FLAG $CXXFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [CC_KNOWS_CCACHE_TRICK=yes], [CC_KNOWS_CCACHE_TRICK=no])
CXXFLAGS="$PUSHED_FLAGS"
if test "x$CC_KNOWS_CCACHE_TRICK" = xyes; then
AC_MSG_RESULT([yes])
CFLAGS_CCACHE="$CCACHE_PRECOMP_FLAG"
AC_SUBST(CFLAGS_CCACHE)
CCACHE_SLOPPINESS=pch_defines,time_macros
else
AC_MSG_RESULT([no, disabling ccaching of precompiled headers])
CCACHE=
CCACHE_STATUS="disabled"
AC_MSG_RESULT([no])
AC_MSG_ERROR([Cannot use ccache with precompiled headers without compiler support for $CCACHE_PRECOMP_FLAG])
fi
fi
fi
if test "x$CCACHE" != x; then
CCACHE_SLOPPINESS=time_macros
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS $CCACHE"
CCACHE_FLAGS=-fpch-preprocess
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR \
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$TOPDIR $CCACHE"
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1

View File

@@ -46,7 +46,9 @@ FILE="@FILE@"
FIND="@FIND@"
GREP="@GREP@"
JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
JIMAGE="@FIXPATH@ @BUILD_OUTPUT@/jdk/bin/jimage"
LDD="@LDD@"
LN="@LN@"
MKDIR="@MKDIR@"
NAWK="@NAWK@"
NM="@GNM@"

View File

@@ -1,49 +0,0 @@
/*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#define PACKAGE_NAME "openjdk"
#define PACKAGE_TARNAME "openjdk"
#define PACKAGE_VERSION "version-0.1"
#define PACKAGE_STRING "openjdk version-0.1"
#define PACKAGE_BUGREPORT "build-infra-dev@openjdk.java.net"
#define PACKAGE_URL ""
#define STDC_HEADERS
#define HAVE_SYS_TYPES_H
#define HAVE_SYS_STAT_H
#define HAVE_STDLIB_H
#define HAVE_STRING_H
#define HAVE_MEMORY_H
#define HAVE_STRINGS_H
#define HAVE_INTTYPES_H
#define HAVE_STDINT_H
#define HAVE_UNISTD_H
#define SIZEOF_INT_P 8
#define HAVE_CUPS_CUPS_H
#define HAVE_CUPS_PPD_H
#define HAVE_LIBJPEG
#define HAVE_LIBGIF
#define HAVE_LIBZ
#define HAVE_LIBM
#define HAVE_ALTZONE

View File

@@ -36,6 +36,14 @@ else
shift
fi
if test "x$BASH" = x; then
echo "Error: This script must be run using bash." 1>&2
exit 1
fi
# Force autoconf to use bash. This also means we must disable autoconf re-exec.
export CONFIG_SHELL=$BASH
export _as_can_reexec=no
conf_script_dir="$TOPDIR/common/autoconf"
if [ "$CUSTOM_CONFIG_DIR" = "" ]; then

View File

@@ -113,6 +113,7 @@ HELP_SETUP_DEPENDENCY_HELP
# Setup tools that requires more complex handling, or that is not needed by the configure script.
BASIC_SETUP_COMPLEX_TOOLS
BASIC_CHECK_BASH_OPTIONS
# Check if pkg-config is available.
PKG_PROG_PKG_CONFIG
@@ -275,3 +276,4 @@ $CHMOD +x $OUTPUT_ROOT/compare.sh
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS
CUSTOM_SUMMARY_AND_WARNINGS_HOOK
HELP_REPEAT_WARNINGS

View File

@@ -94,9 +94,9 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
# On Windows, we need to set RC flags.
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
RC_FLAGS="-nologo -l 0x409 -r"
RC_FLAGS="-nologo -l0x409"
if test "x$VARIANT" = xOPT; then
RC_FLAGS="$RC_FLAGS -d NDEBUG"
RC_FLAGS="$RC_FLAGS -DNDEBUG"
fi
# The version variables used to create RC_FLAGS may be overridden
@@ -105,13 +105,13 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
# The \$ are escaped to the shell, and the $(...) variables
# are evaluated by make.
RC_FLAGS="$RC_FLAGS \
-d \"JDK_BUILD_ID=\$(FULL_VERSION)\" \
-d \"JDK_COMPANY=\$(COMPANY_NAME)\" \
-d \"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
-d \"JDK_VER=\$(JDK_MINOR_VERSION).\$(JDK_MICRO_VERSION).\$(if \$(JDK_UPDATE_VERSION),\$(JDK_UPDATE_VERSION),0).\$(COOKED_BUILD_NUMBER)\" \
-d \"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
-d \"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(JDK_MINOR_VERSION) \$(JDK_UPDATE_META_TAG)\" \
-d \"JDK_FVER=\$(JDK_MINOR_VERSION),\$(JDK_MICRO_VERSION),\$(if \$(JDK_UPDATE_VERSION),\$(JDK_UPDATE_VERSION),0),\$(COOKED_BUILD_NUMBER)\""
-D\"JDK_BUILD_ID=\$(FULL_VERSION)\" \
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \
-D\"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
-D\"JDK_VER=\$(JDK_MINOR_VERSION).\$(JDK_MICRO_VERSION).\$(if \$(JDK_UPDATE_VERSION),\$(JDK_UPDATE_VERSION),0).\$(COOKED_BUILD_NUMBER)\" \
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
-D\"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(JDK_MINOR_VERSION) \$(JDK_UPDATE_META_TAG)\" \
-D\"JDK_FVER=\$(JDK_MINOR_VERSION),\$(JDK_MICRO_VERSION),\$(if \$(JDK_UPDATE_VERSION),\$(JDK_UPDATE_VERSION),0),\$(COOKED_BUILD_NUMBER)\""
fi
AC_SUBST(RC_FLAGS)
@@ -136,8 +136,8 @@ AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS],
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\" -iframework\"$SYSROOT/System/Library/Frameworks\""
SYSROOT_LDFLAGS=$SYSROOT_CFLAGS
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
SYSROOT_CFLAGS="--sysroot=\"$SYSROOT\""
SYSROOT_LDFLAGS="--sysroot=\"$SYSROOT\""
SYSROOT_CFLAGS="--sysroot=$SYSROOT"
SYSROOT_LDFLAGS="--sysroot=$SYSROOT"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
SYSROOT_CFLAGS="-isysroot \"$SYSROOT\""
SYSROOT_LDFLAGS="-isysroot \"$SYSROOT\""
@@ -348,10 +348,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
# Add runtime stack smashing and undefined behavior checks
CFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
CXXFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
if test "x$HAS_CFLAG_DETECT_UNDEFINED_BEHAVIOR" = "xtrue"; then
CFLAGS_DEBUG_OPTIONS="$CFLAGS_DEBUG_OPTIONS $CFLAG_DETECT_UNDEFINED_BEHAVIOR_FLAG"
CXXFLAGS_DEBUG_OPTIONS="$CXXFLAGS_DEBUG_OPTIONS $CFLAG_DETECT_UNDEFINED_BEHAVIsOR_FLAG"
fi
;;
esac
fi
@@ -562,15 +558,23 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
CFLAGS_JDK="$CFLAGS_JDK -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
CXXFLAGS_JDK="$CXXFLAGS_JDK -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DSTDC"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB -DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-DWIN32 -DIAL"
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK \
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-DWIN32 -DIAL"
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
else
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_X86_ -Dx86"
fi
# If building with Visual Studio 2010, we can still use _STATIC_CPPLIB to
# avoid bundling msvcpNNN.dll. Doesn't work with newer versions of visual
# studio.
if test "x$TOOLCHAIN_VERSION" = "x2010"; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK \
-D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB"
fi
fi
###############################################################################
@@ -668,7 +672,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK \
-I${JDK_TOPDIR}/src/java.base/share/native/include \
-I${JDK_TOPDIR}/src/java.base/$OPENJDK_TARGET_OS/native/include \
-I${JDK_TOPDIR}/src/java.base/$OPENJDK_TARGET_OS_API_DIR/native/include"
-I${JDK_TOPDIR}/src/java.base/$OPENJDK_TARGET_OS_TYPE/native/include"
# The shared libraries are compiled using the picflag.
CFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
@@ -746,25 +750,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
LDFLAGS_CXX_JDK="$LDFLAGS_CXX_JDK -norunpath -xnolib"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# If undefined behaviour detection is enabled then we need to tell linker.
case $DEBUG_LEVEL in
release | fastdebug )
;;
slowdebug )
AC_MSG_WARN([$HAS_CFLAG_DETECT_UNDEFINED_BEHAVIOR])
if test "x$HAS_CFLAG_DETECT_UNDEFINED_BEHAVIOR" = "xtrue"; then
# enable undefined behaviour checking
LDFLAGS_JDK="$LDFLAGS_JDK `$ECHO -n $CFLAG_DETECT_UNDEFINED_BEHAVIOR_FLAG | sed -e "s/[ ]*\([^ ]\+\)/ -Xlinker \1/g"`"
LDFLAGS_CXX_JDK="$LDFLAGS_CXX_JDK `$ECHO -n $CFLAG_DETECT_UNDEFINED_BEHAVIOR_FLAG | sed -e "s/[ ]*\([^ ]\+\)/ -Xlinker \1/g"`"
fi
;;
* )
AC_MSG_ERROR([Unrecognized \$DEBUG_LEVEL: $DEBUG_LEVEL])
;;
esac
fi
# Customize LDFLAGS for executables
LDFLAGS_JDKEXE="${LDFLAGS_JDK}"
@@ -784,24 +769,24 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
LDFLAGS_JDKLIB="${LDFLAGS_JDK}"
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -dll -libpath:${JDK_OUTPUTDIR}/lib"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -dll -libpath:${OUTPUT_ROOT}/support/modules_libs/java.base"
LDFLAGS_JDKLIB_SUFFIX=""
else
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} ${SHARED_LIBRARY_FLAGS} \
-L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}"
-L${OUTPUT_ROOT}/support/modules_libs/java.base${OPENJDK_TARGET_CPU_LIBDIR}"
# On some platforms (mac) the linker warns about non existing -L dirs.
# Add server first if available. Linking aginst client does not always produce the same results.
# Only add client dir if client is being built. Add minimal (note not minimal1) if only building minimal1.
# Default to server for other variants.
if test "x$JVM_VARIANT_SERVER" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${OUTPUT_ROOT}/support/modules_libs/java.base${OPENJDK_TARGET_CPU_LIBDIR}/server"
elif test "x$JVM_VARIANT_CLIENT" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/client"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${OUTPUT_ROOT}/support/modules_libs/java.base${OPENJDK_TARGET_CPU_LIBDIR}/client"
elif test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/minimal"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${OUTPUT_ROOT}/support/modules_libs/java.base${OPENJDK_TARGET_CPU_LIBDIR}/minimal"
else
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${OUTPUT_ROOT}/support/modules_libs/java.base${OPENJDK_TARGET_CPU_LIBDIR}/server"
fi
LDFLAGS_JDKLIB_SUFFIX="-ljava -ljvm"

File diff suppressed because it is too large Load Diff

View File

@@ -131,7 +131,7 @@ yum_help() {
pulse)
PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel" ;;
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
esac
@@ -178,15 +178,15 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
printf "====================================================\n"
if test "x$no_create" != "xyes"; then
if test "x$IS_RECONFIGURE" != "xyes"; then
printf "A new configuration has been successfully created in\n %s\n" "$OUTPUT_ROOT"
printf "A new configuration has been successfully created in\n%s\n" "$OUTPUT_ROOT"
else
printf "The existing configuration has been successfully updated in\n %s\n" "$OUTPUT_ROOT"
printf "The existing configuration has been successfully updated in\n%s\n" "$OUTPUT_ROOT"
fi
else
if test "x$IS_RECONFIGURE" != "xyes"; then
printf "A configuration has been successfully checked but not created\n"
else
printf "The existing configuration has been successfully checked in\n %s\n" "$OUTPUT_ROOT"
printf "The existing configuration has been successfully checked in\n%s\n" "$OUTPUT_ROOT"
fi
fi
if test "x$CONFIGURE_COMMAND_LINE" != x; then
@@ -209,7 +209,10 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
printf "* Environment: $WINDOWS_ENV_VENDOR version $WINDOWS_ENV_VERSION (root at $WINDOWS_ENV_ROOT_PATH)\n"
fi
printf "* Boot JDK: $BOOT_JDK_VERSION (at $BOOT_JDK)\n"
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION)\n"
if test "x$TOOLCHAIN_VERSION" != "x"; then
print_version=" $TOOLCHAIN_VERSION"
fi
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"
@@ -257,3 +260,17 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
printf "\n"
fi
])
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
[
if test -e "$OUTPUT_ROOT/config.log"; then
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
fi
fi
])

View File

@@ -109,8 +109,8 @@ LD:=@HOTSPOT_LD@
MT:=@HOTSPOT_MT@
RC:=@HOTSPOT_RC@
EXTRA_CFLAGS=@LEGACY_EXTRA_CFLAGS@
EXTRA_CXXFLAGS=@LEGACY_EXTRA_CXXFLAGS@
EXTRA_CFLAGS=@LEGACY_EXTRA_CFLAGS@ $(CFLAGS_CCACHE)
EXTRA_CXXFLAGS=@LEGACY_EXTRA_CXXFLAGS@ $(CFLAGS_CCACHE)
EXTRA_LDFLAGS=@LEGACY_EXTRA_LDFLAGS@
USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@
@@ -132,6 +132,13 @@ else
ZIP_DEBUGINFO_FILES:=0
endif
ifeq ($(OPENJDK_TARGET_OS), windows)
# On Windows, the Visual Studio toolchain needs the LIB and INCLUDE
# environment variables (in Windows path style).
export INCLUDE:=@VS_INCLUDE@
export LIB:=@VS_LIB@
endif
# Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files.
# This is needed to get the LOG setting to work properly.
include $(SRC_ROOT)/make/common/MakeBase.gmk

View File

@@ -161,6 +161,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
if test "x$OPENJDK_TARGET_OS" = xaix ; then
INCLUDE_SA=false
fi
if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
INCLUDE_SA=false
fi
AC_SUBST(INCLUDE_SA)
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
@@ -528,7 +531,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
if test "x$USER_RELEASE_SUFFIX" = x; then
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
# Avoid [:alnum:] since it depends on the locale.
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
fi
@@ -549,7 +552,15 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
COPYRIGHT_YEAR=`date +'%Y'`
AC_ARG_WITH(copyright-year, [AS_HELP_STRING([--with-copyright-year],
[Set copyright year value for build @<:@current year@:>@])])
if test "x$with_copyright_year" = xyes; then
AC_MSG_ERROR([Copyright year must have a value])
elif test "x$with_copyright_year" != x; then
COPYRIGHT_YEAR="$with_copyright_year"
else
COPYRIGHT_YEAR=`date +'%Y'`
fi
AC_SUBST(COPYRIGHT_YEAR)
if test "x$JDK_UPDATE_VERSION" != x; then

View File

@@ -91,86 +91,93 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
# Check for X Windows
#
# Check if the user has specified sysroot, but not --x-includes or --x-libraries.
# Make a simple check for the libraries at the sysroot, and setup --x-includes and
# --x-libraries for the sysroot, if that seems to be correct.
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
if test "x$SYSROOT" != "x"; then
if test "x$x_includes" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/X11R6/include"
elif test -f "$SYSROOT/usr/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/include"
if test "x$X11_NOT_NEEDED" = xyes; then
if test "x${with_x}" != x; then
AC_MSG_WARN([X11 is not used, so --with-x is ignored])
fi
X_CFLAGS=
X_LIBS=
else
# Check if the user has specified sysroot, but not --x-includes or --x-libraries.
# Make a simple check for the libraries at the sysroot, and setup --x-includes and
# --x-libraries for the sysroot, if that seems to be correct.
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
if test "x$SYSROOT" != "x"; then
if test "x$x_includes" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/X11R6/include"
elif test -f "$SYSROOT/usr/include/X11/Xlib.h"; then
x_includes="$SYSROOT/usr/include"
fi
fi
fi
if test "x$x_libraries" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/X11R6/lib"
elif test "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
x_libraries="$SYSROOT/usr/lib64"
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
if test "x$x_libraries" = xNONE; then
if test -f "$SYSROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/X11R6/lib"
elif test "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
x_libraries="$SYSROOT/usr/lib64"
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
fi
fi
fi
fi
fi
# Now let autoconf do it's magic
AC_PATH_X
AC_PATH_XTRA
# Now let autoconf do it's magic
AC_PATH_X
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
OPENWIN_HOME="/usr/openwin"
X_CFLAGS="-I$SYSROOT$OPENWIN_HOME/include -I$SYSROOT$OPENWIN_HOME/include/X11/extensions"
X_LIBS="-L$SYSROOT$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
#
# Weird Sol10 something check...TODO change to try compile
#
if test "x${OPENJDK_TARGET_OS}" = xsolaris; then
if test "`uname -r`" = "5.10"; then
if test "`${EGREP} -c XLinearGradient ${OPENWIN_HOME}/share/include/X11/extensions/Xrender.h`" = "0"; then
X_CFLAGS="${X_CFLAGS} -DSOLARIS10_NO_XRENDER_STRUCTS"
fi
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
fi
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $X_CFLAGS"
if test "x$no_x" = xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
fi
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_A_OK=yes],
[X11_A_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
OPENWIN_HOME="/usr/openwin"
X_CFLAGS="-I$SYSROOT$OPENWIN_HOME/include -I$SYSROOT$OPENWIN_HOME/include/X11/extensions"
X_LIBS="-L$SYSROOT$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
-R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
fi
CFLAGS="$OLD_CFLAGS"
AC_LANG_POP(C)
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
if test "x$X11_A_OK" = xno && test "x$X11_NOT_NEEDED" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
fi
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
fi
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be
# defined in libawt_xawt.
AC_MSG_CHECKING([if XlinearGradient is defined in Xrender.h])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <X11/extensions/Xrender.h>]],
[[XLinearGradient x;]])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
X_CFLAGS="$X_CFLAGS -DSOLARIS10_NO_XRENDER_STRUCTS"])
CFLAGS="$OLD_CFLAGS"
AC_LANG_POP(C)
fi # X11_NOT_NEEDED
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LIBS)
@@ -265,7 +272,7 @@ AC_DEFUN([LIB_BUILD_FREETYPE],
fi
# Now check if configure found a version of 'msbuild.exe'
if test "x$BUILD_FREETYPE" = xyes && test "x$MSBUILD" == x ; then
AC_MSG_WARN([Can't find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src])
AC_MSG_WARN([Can not find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src])
BUILD_FREETYPE=no
fi
@@ -336,27 +343,50 @@ AC_DEFUN([LIB_CHECK_POTENTIAL_FREETYPE],
POTENTIAL_FREETYPE_LIB_PATH="$2"
METHOD="$3"
# First check if the files exists.
if test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# We found an arbitrary include file. That's a good sign.
AC_MSG_NOTICE([Found freetype include files at $POTENTIAL_FREETYPE_INCLUDE_PATH using $METHOD])
FOUND_FREETYPE=yes
# Let's start with an optimistic view of the world :-)
FOUND_FREETYPE=yes
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}freetype${SHARED_LIBRARY_SUFFIX}"
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME"; then
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME. Ignoring location.])
# First look for the canonical freetype main include file ft2build.h.
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Oh no! Let's try in the freetype2 directory. This is needed at least at Mac OS X Yosemite.
POTENTIAL_FREETYPE_INCLUDE_PATH="$POTENTIAL_FREETYPE_INCLUDE_PATH/freetype2"
if ! test -s "$POTENTIAL_FREETYPE_INCLUDE_PATH/ft2build.h"; then
# Fail.
FOUND_FREETYPE=no
fi
fi
if test "x$FOUND_FREETYPE" = xyes; then
# Include file found, let's continue the sanity check.
AC_MSG_NOTICE([Found freetype include files at $POTENTIAL_FREETYPE_INCLUDE_PATH using $METHOD])
# Reset to default value
FREETYPE_BASE_NAME=freetype
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME"; then
if test "x$OPENJDK_TARGET_OS" = xmacosx \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH/${LIBRARY_PREFIX}freetype.6${SHARED_LIBRARY_SUFFIX}"; then
# On Mac OS X Yosemite, the symlink from libfreetype.dylib to libfreetype.6.dylib disappeared. Check
# for the .6 version explicitly.
FREETYPE_BASE_NAME=freetype.6
FREETYPE_LIB_NAME="${LIBRARY_PREFIX}${FREETYPE_BASE_NAME}${SHARED_LIBRARY_SUFFIX}"
AC_MSG_NOTICE([Compensating for missing symlink by using version 6 explicitly])
else
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/$FREETYPE_LIB_NAME. Ignoring location.])
FOUND_FREETYPE=no
fi
else
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# On Windows, we will need both .lib and .dll file.
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/freetype.lib"; then
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/freetype.lib. Ignoring location.])
if ! test -s "$POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib"; then
AC_MSG_NOTICE([Could not find $POTENTIAL_FREETYPE_LIB_PATH/${FREETYPE_BASE_NAME}.lib. Ignoring location.])
FOUND_FREETYPE=no
fi
elif test "x$OPENJDK_TARGET_OS" = xsolaris \
&& test -s "$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR/$FREETYPE_LIB_NAME"; then
# Found lib in isa dir, use that instead.
POTENTIAL_FREETYPE_LIB_PATH="$POTENTIAL_FREETYPE_LIB_PATH$OPENJDK_TARGET_CPU_ISADIR"
AC_MSG_NOTICE([Rewriting to use $POTENTIAL_FREETYPE_LIB_PATH instead])
fi
fi
fi
@@ -393,6 +423,8 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
AC_ARG_ENABLE(freetype-bundling, [AS_HELP_STRING([--disable-freetype-bundling],
[disable bundling of the freetype library with the build result @<:@enabled on Windows or when using --with-freetype, disabled otherwise@:>@])])
# Need to specify explicitly since it needs to be overridden on some versions of macosx
FREETYPE_BASE_NAME=freetype
FREETYPE_CFLAGS=
FREETYPE_LIBS=
FREETYPE_BUNDLE_LIB_PATH=
@@ -576,9 +608,9 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
if test "x$FREETYPE_LIBS" = x; then
BASIC_FIXUP_PATH(FREETYPE_LIB_PATH)
if test "x$OPENJDK_TARGET_OS" = xwindows; then
FREETYPE_LIBS="$FREETYPE_LIB_PATH/freetype.lib"
FREETYPE_LIBS="$FREETYPE_LIB_PATH/$FREETYPE_BASE_NAME.lib"
else
FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -lfreetype"
FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
fi
fi
@@ -1092,10 +1124,9 @@ AC_DEFUN_ONCE([LIB_SETUP_STATIC_LINK_LIBSTDCPP],
AC_DEFUN_ONCE([LIB_SETUP_ON_WINDOWS],
[
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
TOOLCHAIN_SETUP_MSVCR_DLL
TOOLCHAIN_SETUP_VS_RUNTIME_DLLS
BASIC_DEPRECATED_ARG_WITH([dxsdk])
BASIC_DEPRECATED_ARG_WITH([dxsdk-lib])
BASIC_DEPRECATED_ARG_WITH([dxsdk-include])
fi
AC_SUBST(MSVCR_DLL)
])

View File

@@ -48,6 +48,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
VAR_CPU_BITS=32
VAR_CPU_ENDIAN=little
;;
aarch64)
VAR_CPU=aarch64
VAR_CPU_ARCH=aarch64
VAR_CPU_BITS=64
VAR_CPU_ENDIAN=little
;;
powerpc)
VAR_CPU=ppc
VAR_CPU_ARCH=ppc
@@ -98,44 +104,37 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU],
# Support macro for PLATFORM_EXTRACT_TARGET_AND_BUILD.
# Converts autoconf style OS name to OpenJDK style, into
# VAR_OS and VAR_OS_API.
# VAR_OS, VAR_OS_TYPE and VAR_OS_ENV.
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_OS],
[
case "$1" in
*linux*)
VAR_OS=linux
VAR_OS_API=posix
VAR_OS_ENV=linux
VAR_OS_TYPE=unix
;;
*solaris*)
VAR_OS=solaris
VAR_OS_API=posix
VAR_OS_ENV=solaris
VAR_OS_TYPE=unix
;;
*darwin*)
VAR_OS=macosx
VAR_OS_API=posix
VAR_OS_ENV=macosx
VAR_OS_TYPE=unix
;;
*bsd*)
VAR_OS=bsd
VAR_OS_API=posix
VAR_OS_ENV=bsd
VAR_OS_TYPE=unix
;;
*cygwin*)
VAR_OS=windows
VAR_OS_API=winapi
VAR_OS_ENV=windows.cygwin
;;
*mingw*)
VAR_OS=windows
VAR_OS_API=winapi
VAR_OS_ENV=windows.msys
;;
*aix*)
VAR_OS=aix
VAR_OS_API=posix
VAR_OS_ENV=aix
VAR_OS_TYPE=unix
;;
*)
AC_MSG_ERROR([unsupported operating system $1])
@@ -165,14 +164,22 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
# ..and setup our own variables. (Do this explicitely to facilitate searching)
OPENJDK_BUILD_OS="$VAR_OS"
OPENJDK_BUILD_OS_API="$VAR_OS_API"
OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
if test "x$VAR_OS_TYPE" != x; then
OPENJDK_BUILD_OS_TYPE="$VAR_OS_TYPE"
else
OPENJDK_BUILD_OS_TYPE="$VAR_OS"
fi
if test "x$VAR_OS_ENV" != x; then
OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
else
OPENJDK_BUILD_OS_ENV="$VAR_OS"
fi
OPENJDK_BUILD_CPU="$VAR_CPU"
OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST(OPENJDK_BUILD_OS)
AC_SUBST(OPENJDK_BUILD_OS_API)
AC_SUBST(OPENJDK_BUILD_OS_TYPE)
AC_SUBST(OPENJDK_BUILD_OS_ENV)
AC_SUBST(OPENJDK_BUILD_CPU)
AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
@@ -187,14 +194,22 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
# ... and setup our own variables. (Do this explicitely to facilitate searching)
OPENJDK_TARGET_OS="$VAR_OS"
OPENJDK_TARGET_OS_API="$VAR_OS_API"
OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
if test "x$VAR_OS_TYPE" != x; then
OPENJDK_TARGET_OS_TYPE="$VAR_OS_TYPE"
else
OPENJDK_TARGET_OS_TYPE="$VAR_OS"
fi
if test "x$VAR_OS_ENV" != x; then
OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
else
OPENJDK_TARGET_OS_ENV="$VAR_OS"
fi
OPENJDK_TARGET_CPU="$VAR_CPU"
OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
AC_SUBST(OPENJDK_TARGET_OS)
AC_SUBST(OPENJDK_TARGET_OS_API)
AC_SUBST(OPENJDK_TARGET_OS_TYPE)
AC_SUBST(OPENJDK_TARGET_OS_ENV)
AC_SUBST(OPENJDK_TARGET_CPU)
AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
@@ -331,19 +346,10 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS],
fi
AC_SUBST(OPENJDK_TARGET_CPU_JLI_CFLAGS)
# Setup OPENJDK_TARGET_OS_API_DIR, used in source paths.
if test "x$OPENJDK_TARGET_OS_API" = xposix; then
OPENJDK_TARGET_OS_API_DIR="unix"
fi
if test "x$OPENJDK_TARGET_OS_API" = xwinapi; then
OPENJDK_TARGET_OS_API_DIR="windows"
fi
AC_SUBST(OPENJDK_TARGET_OS_API_DIR)
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
OPENJDK_TARGET_OS_EXPORT_DIR=macosx
else
OPENJDK_TARGET_OS_EXPORT_DIR=${OPENJDK_TARGET_OS_API_DIR}
OPENJDK_TARGET_OS_EXPORT_DIR=${OPENJDK_TARGET_OS_TYPE}
fi
AC_SUBST(OPENJDK_TARGET_OS_EXPORT_DIR)
@@ -367,7 +373,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS],
# ZERO_ARCHDEF is used to enable architecture-specific code
case "${OPENJDK_TARGET_CPU}" in
ppc*) ZERO_ARCHDEF=PPC ;;
ppc) ZERO_ARCHDEF=PPC32 ;;
ppc64) ZERO_ARCHDEF=PPC64 ;;
s390*) ZERO_ARCHDEF=S390 ;;
sparc*) ZERO_ARCHDEF=SPARC ;;
x86_64*) ZERO_ARCHDEF=AMD64 ;;
@@ -472,8 +479,8 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
# And -q on AIX because otherwise the compiler produces 32-bit objects by default
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
elif test "x$COMPILE_TYPE" = xreduced; then
if test "x$OPENJDK_TARGET_OS" != xwindows; then
# Specify -m if running reduced on other Posix platforms
if test "x$OPENJDK_TARGET_OS_TYPE" = xunix; then
# Specify -m if running reduced on unix platforms
PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
fi
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -36,6 +36,7 @@
X:=
SPACE:=$(X) $(X)
COMMA:=,
DOLLAR:=$$
HASH:=\#
LEFT_PAREN:=(
RIGHT_PAREN:=)
@@ -77,12 +78,17 @@ endif
OUTPUT_SYNC_SUPPORTED:=@OUTPUT_SYNC_SUPPORTED@
OUTPUT_SYNC:=@OUTPUT_SYNC@
# Override the shell with bash
BASH:=@BASH@
BASH_ARGS:=@BASH_ARGS@
SHELL:=$(BASH) $(BASH_ARGS)
# The "human readable" name of this configuration
CONF_NAME:=@CONF_NAME@
# The built jdk will run in this target system.
OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@
OPENJDK_TARGET_OS_API:=@OPENJDK_TARGET_OS_API@
OPENJDK_TARGET_OS_TYPE:=@OPENJDK_TARGET_OS_TYPE@
OPENJDK_TARGET_OS_ENV:=@OPENJDK_TARGET_OS_ENV@
OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@
@@ -99,13 +105,12 @@ OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@
OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@
OPENJDK_TARGET_OS_API_DIR:=@OPENJDK_TARGET_OS_API_DIR@
OPENJDK_TARGET_OS_EXPORT_DIR:=@OPENJDK_TARGET_OS_EXPORT_DIR@
# We are building on this build system.
# When not cross-compiling, it is the same as the target.
OPENJDK_BUILD_OS:=@OPENJDK_BUILD_OS@
OPENJDK_BUILD_OS_API:=@OPENJDK_BUILD_OS_API@
OPENJDK_BUILD_OS_TYPE:=@OPENJDK_BUILD_OS_TYPE@
OPENJDK_BUILD_OS_ENV:=@OPENJDK_BUILD_OS_ENV@
OPENJDK_BUILD_CPU:=@OPENJDK_BUILD_CPU@
@@ -124,14 +129,12 @@ LIBDL:=@LIBDL@
# colon or semicolon
PATH_SEP:=@PATH_SEP@
# Save the original path before replacing it with the Visual Studio tools
ORIGINAL_PATH:=@ORIGINAL_PATH@
ifeq ($(OPENJDK_TARGET_OS), windows)
# On Windows, the Visual Studio toolchain needs the LIB and INCLUDE
# environment variables (in Windows path style), and the PATH needs to
# be adjusted to include Visual Studio tools (but this needs to be in
# cygwin/msys style).
# On Windows, the Visual Studio toolchain needs the PATH to be adjusted
# to include Visual Studio tools (this needs to be in cygwin/msys style).
export PATH:=@VS_PATH@
export INCLUDE:=@VS_INCLUDE@
export LIB:=@VS_LIB@
endif
SYSROOT_CFLAGS := @SYSROOT_CFLAGS@
@@ -236,31 +239,23 @@ BUILD_VARIANT_RELEASE:=@BUILD_VARIANT_RELEASE@
BUILD_OUTPUT:=@BUILD_OUTPUT@
# Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images
LANGTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/langtools
CORBA_OUTPUTDIR=$(BUILD_OUTPUT)/corba
JAXP_OUTPUTDIR=$(BUILD_OUTPUT)/jaxp
JAXWS_OUTPUTDIR=$(BUILD_OUTPUT)/jaxws
SUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/support
BUILDTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/buildtools
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/makesupport
HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
NASHORN_OUTPUTDIR=$(BUILD_OUTPUT)/nashorn
IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/testmake
TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
LANGTOOLS_DIST=$(LANGTOOLS_OUTPUTDIR)/dist
CORBA_DIST=$(CORBA_OUTPUTDIR)/dist
JAXP_DIST=$(JAXP_OUTPUTDIR)/dist
JAXWS_DIST=$(JAXWS_OUTPUTDIR)/dist
HOTSPOT_DIST=@HOTSPOT_DIST@
NASHORN_DIST=$(NASHORN_OUTPUTDIR)/dist
BUILD_HOTSPOT=@BUILD_HOTSPOT@
# The boot jdk to use. These are overridden in bootcycle-spec.gmk. Make sure to keep
# them in sync.
# The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
# it in sync.
BOOT_JDK:=@BOOT_JDK@
BOOT_RTJAR:=@BOOT_RTJAR@
BOOT_TOOLSJAR=$(BOOT_JDK)/lib/tools.jar
# When compiling Java source to be run by the boot jdk
# use these extra flags, eg -source 6 -target 6
@@ -331,6 +326,8 @@ CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
# Tools that potentially need to be cross compilation aware.
CC:=@FIXPATH@ @CCACHE@ @CC@
@@ -345,13 +342,10 @@ CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
CXX:=@FIXPATH@ @CCACHE@ @CXX@
#CXXFLAGS:=@CXXFLAGS@
OBJC:=@CCACHE@ @OBJC@
#OBJCFLAGS:=@OBJCFLAGS@
CPP:=@FIXPATH@ @CPP@
#CPPFLAGS:=@CPPFLAGS@
# The linker can be gcc or ld on posix systems, or link.exe on windows systems.
# The linker can be gcc or ld on unix systems, or link.exe on windows systems.
LD:=@FIXPATH@ @LD@
# Xcode SDK path
@@ -392,7 +386,7 @@ BUILD_LD:=@FIXPATH@ @BUILD_LD@
AS:=@FIXPATH@ @AS@
# AR is used to create a static library (is ar in posix, lib.exe in windows)
# AR is used to create a static library (is ar in unix, lib.exe in windows)
AR:=@FIXPATH@ @AR@
ARFLAGS:=@ARFLAGS@
@@ -456,7 +450,7 @@ JAVA_FLAGS_SMALL:=@JAVA_FLAGS_SMALL@
JAVA_TOOL_FLAGS_SMALL:=@JAVA_TOOL_FLAGS_SMALL@
SJAVAC_SERVER_JAVA_FLAGS:=@SJAVAC_SERVER_JAVA_FLAGS@
# The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk
# The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk
# for bootcycle-images build. Make sure to keep them in sync. Do not use the *_CMD
# versions of the variables directly.
JAVA_CMD:=@JAVA@
@@ -484,13 +478,14 @@ SJAVAC_SERVER_JAVA=@FIXPATH@ $(SJAVAC_SERVER_JAVA_CMD) $(SJAVAC_SERVER_JAVA_FLAG
JAVAC_FLAGS?=@JAVAC_FLAGS@
# You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
INTERIM_LANGTOOLS_JAR := $(LANGTOOLS_OUTPUTDIR)/dist/interim_langtools.jar
INTERIM_LANGTOOLS_ARGS := "-Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR)" -cp $(INTERIM_LANGTOOLS_JAR)
# Use = assignment to be able to override in bootcycle-spec.gmk
INTERIM_LANGTOOLS_JAR = $(BUILDTOOLS_OUTPUTDIR)/interim_langtools.jar
INTERIM_LANGTOOLS_ARGS = "-Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR)" -cp $(INTERIM_LANGTOOLS_JAR)
NEW_JAVAC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javadoc.Main
# The interim corba jar is needed for running rmic
INTERIM_CORBA_JAR := $(CORBA_OUTPUTDIR)/dist/interim_corba.jar
INTERIM_CORBA_JAR = $(BUILDTOOLS_OUTPUTDIR)/interim_corba.jar
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
@@ -502,7 +497,6 @@ endif
# Tools adhering to a minimal and common standard of posix compliance.
AWK:=@AWK@
BASENAME:=@BASENAME@
BASH:=@BASH@
CAT:=@CAT@
CCACHE:=@CCACHE@
# CD is going away, but remains to cater for legacy makefiles.
@@ -569,10 +563,10 @@ FIXPATH:=@FIXPATH@
# Where the build output is stored for your convenience.
BUILD_LOG:=@BUILD_LOG@
BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
# Disable the build log wrapper on sjavac+winapi until
# Disable the build log wrapper on sjavac+windows until
# we have solved how to prevent the log wrapper to wait
# for the background sjavac server process.
ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS_API@,yesXwinapi)
ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS@,yesXwindows)
BUILD_LOG_WRAPPER:=
else
BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
@@ -586,6 +580,7 @@ USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@
MSVCR_DLL:=@MSVCR_DLL@
MSVCP_DLL:=@MSVCP_DLL@
# ADD_SRCS takes a single argument with source roots
@@ -695,25 +690,26 @@ OS_VERSION_MINOR:=@OS_VERSION_MINOR@
OS_VERSION_MICRO:=@OS_VERSION_MICRO@
# Images directory definitions
JDK_IMAGE_SUBDIR:=j2sdk-image
JRE_IMAGE_SUBDIR:=j2re-image
JDK_OVERLAY_IMAGE_SUBDIR:=j2sdk-overlay-image
JRE_OVERLAY_IMAGE_SUBDIR:=j2re-overlay-image
JDK_IMAGE_SUBDIR:=jdk
JRE_IMAGE_SUBDIR:=jre
# Colon left out to be able to override output dir for bootcycle-images
JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
JDK_OVERLAY_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_OVERLAY_IMAGE_SUBDIR)
JRE_OVERLAY_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_OVERLAY_IMAGE_SUBDIR)
# Test image, as above
TEST_IMAGE_SUBDIR:=test
TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
# Macosx bundles directory definitions
JDK_BUNDLE_SUBDIR=j2sdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_BUNDLE_SUBDIR=j2re-bundle/jre$(JDK_VERSION).jre/Contents
JDK_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
JRE_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
JDK_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR)
JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)
# This macro is called to allow inclusion of closed source counterparts.
# Unless overridden in closed sources, it expands to nothing.
# Usage: This function is called in an open makefile, with the following
# Usage: This function is called in an open makefile, with the following
# arguments:
# $1 the name of the repo, or empty if the top-level repo.
# $2 the name of the makefile

View File

@@ -1,36 +0,0 @@
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
CAT="@CAT@"
CD=cd
CP="@CP@"
DIFF="@DIFF@"
ECHO="@ECHO@"
FIND="@FIND@"
GREP="@GREP@"
RM="@RM@"
SED="@SED@"
POST_STRIP_CMD="@POST_STRIP_CMD@"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -188,7 +188,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
# Store the CFLAGS etc passed to the configure script.
ORG_CFLAGS="$CFLAGS"
ORG_CXXFLAGS="$CXXFLAGS"
ORG_OBJCFLAGS="$OBJCFLAGS"
# On Windows, we need to detect the visual studio installation first.
# This will change the PATH, but we need to keep that new PATH even
@@ -232,7 +231,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
OBJCFLAGS="$ORG_OBJCFLAGS"
])
# Check if a compiler is of the toolchain type we expect, and save the version
@@ -541,12 +539,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
[
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
AC_PROG_OBJC
BASIC_FIXUP_EXECUTABLE(OBJC)
BASIC_PATH_PROGS(LIPO, lipo)
BASIC_FIXUP_EXECUTABLE(LIPO)
else
OBJC=
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -691,8 +685,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`
if test "x$OPENJDK_TARGET_CPU" = "xx86"; then
if test "x$COMPILER_CPU_TEST" != "x80x86"; then
AC_MSG_ERROR([Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for "$COMPILER_CPU_TEST"; expected "80x86".])
if test "x$COMPILER_CPU_TEST" != "x80x86" -a "x$COMPILER_CPU_TEST" != "xx86"; then
AC_MSG_ERROR([Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for "$COMPILER_CPU_TEST"; expected "80x86" or "x86".])
fi
elif test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
if test "x$COMPILER_CPU_TEST" != "xx64"; then
@@ -712,12 +706,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
[HAS_CFLAG_OPTIMIZE_DEBUG=true],
[HAS_CFLAG_OPTIMIZE_DEBUG=false])
# "-fsanitize=undefined" supported for GCC 4.9 and later
CFLAG_DETECT_UNDEFINED_BEHAVIOR_FLAG="-fsanitize=undefined -fsanitize-recover"
FLAGS_COMPILER_CHECK_ARGUMENTS([$CFLAG_DETECT_UNDEFINED_BEHAVIOR_FLAG],
[HAS_CFLAG_DETECT_UNDEFINED_BEHAVIOR=true],
[HAS_CFLAG_DETECT_UNDEFINED_BEHAVIOR=false])
# "-z relro" supported in GNU binutils 2.17 and later
LINKER_RELRO_FLAG="-Xlinker -z -Xlinker relro"
FLAGS_LINKER_CHECK_ARGUMENTS([$LINKER_RELRO_FLAG],

View File

@@ -23,43 +23,90 @@
# questions.
#
################################################################################
VALID_VS_VERSIONS="2010 2012 2013"
VS_DESCRIPTION_2010="Microsoft Visual Studio 2010"
VS_VERSION_INTERNAL_2010=100
VS_MSVCR_2010=msvcr100.dll
# We don't use msvcp on Visual Studio 2010
#VS_MSVCP_2010=msvcp100.dll
VS_ENVVAR_2010="VS100COMNTOOLS"
VS_VS_INSTALLDIR_2010="Microsoft Visual Studio 10.0"
VS_SDK_INSTALLDIR_2010="Microsoft SDKs/Windows/v7.1"
VS_VS_PLATFORM_NAME_2010="v100"
VS_SDK_PLATFORM_NAME_2010="Windows7.1SDK"
VS_DESCRIPTION_2012="Microsoft Visual Studio 2012"
VS_VERSION_INTERNAL_2012=110
VS_MSVCR_2012=msvcr110.dll
VS_MSVCP_2012=msvcp110.dll
VS_ENVVAR_2012="VS110COMNTOOLS"
VS_VS_INSTALLDIR_2012="Microsoft Visual Studio 11.0"
VS_SDK_INSTALLDIR_2012=
VS_VS_PLATFORM_NAME_2012="v110"
VS_SDK_PLATFORM_NAME_2012=
VS_DESCRIPTION_2013="Microsoft Visual Studio 2013"
VS_VERSION_INTERNAL_2013=120
VS_MSVCR_2013=msvcr120.dll
VS_MSVCP_2013=msvcp120.dll
VS_ENVVAR_2013="VS120COMNTOOLS"
VS_VS_INSTALLDIR_2013="Microsoft Visual Studio 12.0"
VS_SDK_INSTALLDIR_2013=
VS_VS_PLATFORM_NAME_2013="v120"
VS_SDK_PLATFORM_NAME_2013=
################################################################################
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT],
[
if test "x$VS_ENV_CMD" = x; then
VS100BASE="$1"
METHOD="$2"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(VS100BASE)
if test -d "$VS100BASE"; then
if test -f "$VS100BASE/$VCVARSFILE"; then
AC_MSG_NOTICE([Found Visual Studio installation at $VS100BASE using $METHOD])
VS_ENV_CMD="$VS100BASE/$VCVARSFILE"
VS_VERSION="$1"
VS_BASE="$2"
METHOD="$3"
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VCVARSFILE="vc/bin/vcvars32.bat"
else
VCVARSFILE="vc/bin/amd64/vcvars64.bat"
fi
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(VS_BASE)
if test -d "$VS_BASE"; then
if test -f "$VS_BASE/$VCVARSFILE"; then
AC_MSG_NOTICE([Found Visual Studio installation at $VS_BASE using $METHOD])
VS_ENV_CMD="$VS_BASE/$VCVARSFILE"
# PLATFORM_TOOLSET is used during the compilation of the freetype sources (see
# 'LIB_BUILD_FREETYPE' in libraries.m4) and must be one of 'v100', 'v110' or 'v120' for VS 2010, 2012 or VS2013
# TODO: improve detection for other versions of VS
PLATFORM_TOOLSET="v100"
eval PLATFORM_TOOLSET="\${VS_VS_PLATFORM_NAME_${VS_VERSION}}"
else
AC_MSG_NOTICE([Found Visual Studio installation at $VS100BASE using $METHOD])
AC_MSG_NOTICE([Found Visual Studio installation at $VS_BASE using $METHOD])
AC_MSG_NOTICE([Warning: $VCVARSFILE is missing, this is probably Visual Studio Express. Ignoring])
fi
fi
fi
])
################################################################################
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
[
if test "x$VS_ENV_CMD" = x; then
WIN_SDK_BASE="$1"
METHOD="$2"
VS_VERSION="$1"
WIN_SDK_BASE="$2"
METHOD="$3"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(WIN_SDK_BASE)
if test -d "$WIN_SDK_BASE"; then
# There have been cases of partial or broken SDK installations. A missing
# lib dir is not going to work.
if test ! -d "$WIN_SDK_BASE/../lib"; then
if test ! -d "$WIN_SDK_BASE/lib"; then
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
AC_MSG_NOTICE([Warning: Installation is broken, lib dir is missing. Ignoring])
elif test -f "$WIN_SDK_BASE/SetEnv.Cmd"; then
elif test -f "$WIN_SDK_BASE/Bin/SetEnv.Cmd"; then
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
VS_ENV_CMD="$WIN_SDK_BASE/SetEnv.Cmd"
VS_ENV_CMD="$WIN_SDK_BASE/Bin/SetEnv.Cmd"
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VS_ENV_ARGS="/x86"
else
@@ -68,7 +115,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
# PLATFORM_TOOLSET is used during the compilation of the freetype sources (see
# 'LIB_BUILD_FREETYPE' in libraries.m4) and must be 'Windows7.1SDK' for Windows7.1SDK
# TODO: improve detection for other versions of SDK
PLATFORM_TOOLSET="Windows7.1SDK"
eval PLATFORM_TOOLSET="\${VS_SDK_PLATFORM_NAME_${VS_VERSION}}"
else
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
AC_MSG_NOTICE([Warning: Installation is broken, SetEnv.Cmd is missing. Ignoring])
@@ -77,50 +124,121 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
fi
])
################################################################################
# Finds the bat or cmd file in Visual Studio or the SDK that sets up a proper
# build environment and assigns it to VS_ENV_CMD
AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
[
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VCVARSFILE="vc/bin/vcvars32.bat"
else
VCVARSFILE="vc/bin/amd64/vcvars64.bat"
VS_VERSION="$1"
eval VS_COMNTOOLS_VAR="\${VS_ENVVAR_${VS_VERSION}}"
eval VS_COMNTOOLS="\$${VS_COMNTOOLS_VAR}"
eval VS_INSTALL_DIR="\${VS_VS_INSTALLDIR_${VS_VERSION}}"
eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
# When using --with-tools-dir, assume it points to the correct and default
# version of Visual Studio or that --with-toolchain-version was also set.
if test "x$with_tools_dir" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$with_tools_dir/../..], [--with-tools-dir])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$with_tools_dir/../../..], [--with-tools-dir])
if test "x$VS_ENV_CMD" = x; then
# Having specified an argument which is incorrect will produce an instant failure;
# we should not go on looking
AC_MSG_NOTICE([The path given by --with-tools-dir does not contain a valid])
AC_MSG_NOTICE([Visual Studio installation. Please point to the VC/bin or VC/bin/amd64])
AC_MSG_NOTICE([directory within the Visual Studio installation])
AC_MSG_ERROR([Cannot locate a valid Visual Studio installation])
fi
fi
VS_ENV_CMD=""
VS_ENV_ARGS=""
if test "x$with_toolsdir" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$with_toolsdir/../..], [--with-tools-dir])
fi
if test "x$with_toolsdir" != x && test "x$VS_ENV_CMD" = x; then
# Having specified an argument which is incorrect will produce an instant failure;
# we should not go on looking
AC_MSG_NOTICE([The path given by --with-tools-dir does not contain a valid Visual Studio installation])
AC_MSG_NOTICE([Please point to the VC/bin directory within the Visual Studio installation])
AC_MSG_ERROR([Cannot locate a valid Visual Studio installation])
fi
if test "x$VS100COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$VS100COMNTOOLS/../..], [VS100COMNTOOLS variable])
if test "x$VS_COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
fi
if test "x$PROGRAMFILES" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([$PROGRAMFILES/Microsoft Visual Studio 10.0], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$PROGRAMFILES/$VS_INSTALL_DIR], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([C:/Program Files/Microsoft Visual Studio 10.0], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([C:/Program Files (x86)/Microsoft Visual Studio 10.0], [well-known name])
# Work around the insanely named ProgramFiles(x86) env variable
PROGRAMFILES_X86="`env | $SED -n 's/^ProgramFiles(x86)=//p'`"
if test "x$PROGRAMFILES_X86" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$PROGRAMFILES_X86/$VS_INSTALL_DIR], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[C:/Program Files/$VS_INSTALL_DIR], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[C:/Program Files (x86)/$VS_INSTALL_DIR], [well-known name])
if test "x$ProgramW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([$ProgramW6432/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
if test "x$SDK_INSTALL_DIR" != x; then
if test "x$ProgramW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[$ProgramW6432/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$PROGRAMW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[$PROGRAMW6432/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$PROGRAMFILES" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[$PROGRAMFILES/$SDK_INSTALL_DIR], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[C:/Program Files/$SDK_INSTALL_DIR], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[C:/Program Files (x86)/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$PROGRAMW6432" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([$PROGRAMW6432/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
fi
if test "x$PROGRAMFILES" != x; then
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([$PROGRAMFILES/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
fi
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([C:/Program Files/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1/Bin], [well-known name])
])
################################################################################
AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO],
[
AC_ARG_WITH(toolchain-version, [AS_HELP_STRING([--with-toolchain-version],
[the version of the toolchain to look for, use '--help' to show possible values @<:@platform dependent@:>@])])
if test "x$with_toolchain_version" = xlist; then
# List all toolchains
AC_MSG_NOTICE([The following toolchain versions are valid on this platform:])
for version in $VALID_VS_VERSIONS; do
eval VS_DESCRIPTION=\${VS_DESCRIPTION_$version}
$PRINTF " %-10s %s\n" $version "$VS_DESCRIPTION"
done
exit 0
elif test "x$with_toolchain_version" != x; then
# User override; check that it is valid
if test "x${VALID_VS_VERSIONS/$with_toolchain_version/}" = "x${VALID_VS_VERSIONS}"; then
AC_MSG_NOTICE([Visual Studio version $with_toolchain_version is not valid.])
AC_MSG_NOTICE([Valid Visual Studio versions: $VALID_VS_VERSIONS.])
AC_MSG_ERROR([Cannot continue.])
fi
VS_VERSIONS_PROBE_LIST="$with_toolchain_version"
else
# No flag given, use default
VS_VERSIONS_PROBE_LIST="$VALID_VS_VERSIONS"
fi
for VS_VERSION in $VS_VERSIONS_PROBE_LIST; do
TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE([$VS_VERSION])
if test "x$VS_ENV_CMD" != x; then
TOOLCHAIN_VERSION=$VS_VERSION
eval VS_DESCRIPTION="\${VS_DESCRIPTION_${VS_VERSION}}"
eval VS_VERSION_INTERNAL="\${VS_VERSION_INTERNAL_${VS_VERSION}}"
eval MSVCR_NAME="\${VS_MSVCR_${VS_VERSION}}"
eval MSVCP_NAME="\${VS_MSVCP_${VS_VERSION}}"
# The rest of the variables are already evaled while probing
AC_MSG_NOTICE([Found $VS_DESCRIPTION])
break
fi
done
])
################################################################################
# Check if the VS env variables were setup prior to running configure.
# If not, then find vcvarsall.bat and run it automatically, and integrate
# the set env variables into the spec file.
@@ -142,7 +260,8 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
fi
# First-hand choice is to locate and run the vsvars bat file.
TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE
TOOLCHAIN_FIND_VISUAL_STUDIO
if test "x$VS_ENV_CMD" != x; then
# We have found a Visual Studio environment on disk, let's extract variables from the vsvars bat file.
BASIC_FIXUP_EXECUTABLE(VS_ENV_CMD)
@@ -173,8 +292,8 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
# The trailing space for everyone except PATH is no typo, but is needed due
# to trailing \ in the Windows paths. These will be stripped later.
$ECHO "$WINPATH_BASH -c 'echo VS_PATH="'\"$PATH\" > set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_INCLUDE="'\"$INCLUDE \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_LIB="'\"$LIB \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_INCLUDE="'\"$INCLUDE\;$include \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VS_LIB="'\"$LIB\;$lib \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VCINSTALLDIR="'\"$VCINSTALLDIR \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WindowsSdkDir="'\"$WindowsSdkDir \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WINDOWSSDKDIR="'\"$WINDOWSSDKDIR \" >> set-vs-env.sh' >> $EXTRACT_VC_ENV_BAT_FILE
@@ -213,9 +332,9 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
AC_MSG_ERROR([Your VC command prompt seems broken, INCLUDE and/or LIB is missing.])
else
AC_MSG_RESULT([ok])
# Remove any trailing "\" and " " from the variables.
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED 's/\\\\* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\* *$//'`
# Remove any trailing "\" ";" and " " from the variables.
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED -e 's/\\\\*;* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\*;* *$//'`
VCINSTALLDIR=`$ECHO "$VCINSTALLDIR" | $SED 's/\\\\* *$//'`
WindowsSDKDir=`$ECHO "$WindowsSDKDir" | $SED 's/\\\\* *$//'`
WINDOWSSDKDIR=`$ECHO "$WINDOWSSDKDIR" | $SED 's/\\\\* *$//'`
@@ -226,6 +345,42 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
AC_SUBST(VS_PATH)
AC_SUBST(VS_INCLUDE)
AC_SUBST(VS_LIB)
# Convert VS_INCLUDE into SYSROOT_CFLAGS
OLDIFS="$IFS"
IFS=";"
for i in $VS_INCLUDE; do
ipath=$i
# Only process non-empty elements
if test "x$ipath" != x; then
IFS="$OLDIFS"
# Check that directory exists before calling fixup_path
testpath=$ipath
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([testpath])
if test -d "$testpath"; then
BASIC_FIXUP_PATH([ipath])
SYSROOT_CFLAGS="$SYSROOT_CFLAGS -I$ipath"
fi
IFS=";"
fi
done
# Convert VS_LIB into SYSROOT_LDFLAGS
for i in $VS_LIB; do
libpath=$i
# Only process non-empty elements
if test "x$libpath" != x; then
IFS="$OLDIFS"
# Check that directory exists before calling fixup_path
testpath=$libpath
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([testpath])
if test -d "$testpath"; then
BASIC_FIXUP_PATH([libpath])
SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS -libpath:$libpath"
fi
IFS=";"
fi
done
IFS="$OLDIFS"
fi
else
AC_MSG_RESULT([not found])
@@ -242,16 +397,17 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
fi
])
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL],
AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL],
[
POSSIBLE_MSVCR_DLL="$1"
METHOD="$2"
if test -e "$POSSIBLE_MSVCR_DLL"; then
AC_MSG_NOTICE([Found msvcr100.dll at $POSSIBLE_MSVCR_DLL using $METHOD])
DLL_NAME="$1"
POSSIBLE_MSVC_DLL="$2"
METHOD="$3"
if test -n "$POSSIBLE_MSVC_DLL" -a -e "$POSSIBLE_MSVC_DLL"; then
AC_MSG_NOTICE([Found $1 at $POSSIBLE_MSVC_DLL using $METHOD])
# Need to check if the found msvcr is correct architecture
AC_MSG_CHECKING([found msvcr100.dll architecture])
MSVCR_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVCR_DLL"`
AC_MSG_CHECKING([found $1 architecture])
MSVC_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVC_DLL"`
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
# The MSYS 'file' command returns "PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit"
# on x32 and "PE32+ executable for MS Windows (DLL) (GUI) Mono/.Net assembly" on x64 systems.
@@ -267,96 +423,135 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL],
CORRECT_MSVCR_ARCH=x86-64
fi
fi
if $ECHO "$MSVCR_DLL_FILETYPE" | $GREP "$CORRECT_MSVCR_ARCH" 2>&1 > /dev/null; then
if $ECHO "$MSVC_DLL_FILETYPE" | $GREP "$CORRECT_MSVCR_ARCH" 2>&1 > /dev/null; then
AC_MSG_RESULT([ok])
MSVCR_DLL="$POSSIBLE_MSVCR_DLL"
AC_MSG_CHECKING([for msvcr100.dll])
AC_MSG_RESULT([$MSVCR_DLL])
MSVC_DLL="$POSSIBLE_MSVC_DLL"
AC_MSG_CHECKING([for $1])
AC_MSG_RESULT([$MSVC_DLL])
else
AC_MSG_RESULT([incorrect, ignoring])
AC_MSG_NOTICE([The file type of the located msvcr100.dll is $MSVCR_DLL_FILETYPE])
AC_MSG_NOTICE([The file type of the located $1 is $MSVC_DLL_FILETYPE])
fi
fi
])
AC_DEFUN([TOOLCHAIN_SETUP_MSVCR_DLL],
AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
[
AC_ARG_WITH(msvcr-dll, [AS_HELP_STRING([--with-msvcr-dll],
[copy this msvcr100.dll into the built JDK (Windows only) @<:@probed@:>@])])
VAR_NAME="$1"
DLL_NAME="$2"
MSVC_DLL=
if test "x$with_msvcr_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$with_msvcr_dll], [--with-msvcr-dll])
if test "x$MSVCR_DLL" = x; then
AC_MSG_ERROR([Could not find a proper msvcr100.dll as specified by --with-msvcr-dll])
fi
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_DLL" = x; then
# Probe: Using well-known location from Visual Studio 10.0
if test "x$VCINSTALLDIR" != x; then
CYGWIN_VC_INSTALL_DIR="$VCINSTALLDIR"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_VC_INSTALL_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVCR_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x64/Microsoft.VC100.CRT/msvcr100.dll"
POSSIBLE_MSVC_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x64/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME"
else
POSSIBLE_MSVCR_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x86/Microsoft.VC100.CRT/msvcr100.dll"
POSSIBLE_MSVC_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x86/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME"
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in VCINSTALLDIR])
$ECHO "POSSIBLE_MSVC_DLL $POSSIBLEMSVC_DLL"
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[well-known location in VCINSTALLDIR])
fi
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_DLL" = x; then
# Probe: Check in the Boot JDK directory.
POSSIBLE_MSVCR_DLL="$BOOT_JDK/bin/msvcr100.dll"
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in Boot JDK])
POSSIBLE_MSVC_DLL="$BOOT_JDK/bin/$DLL_NAME"
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[well-known location in Boot JDK])
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_DLL" = x; then
# Probe: Look in the Windows system32 directory
CYGWIN_SYSTEMROOT="$SYSTEMROOT"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_SYSTEMROOT)
POSSIBLE_MSVCR_DLL="$CYGWIN_SYSTEMROOT/system32/msvcr100.dll"
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [well-known location in SYSTEMROOT])
POSSIBLE_MSVC_DLL="$CYGWIN_SYSTEMROOT/system32/$DLL_NAME"
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[well-known location in SYSTEMROOT])
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_DLL" = x; then
# Probe: If Visual Studio Express is installed, there is usually one with the debugger
if test "x$VS100COMNTOOLS" != x; then
CYGWIN_VS_TOOLS_DIR="$VS100COMNTOOLS/.."
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_VS_TOOLS_DIR)
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name msvcr100.dll | $GREP -i /x64/ | $HEAD --lines 1`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name $DLL_NAME \
| $GREP -i /x64/ | $HEAD --lines 1`
else
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name msvcr100.dll | $GREP -i /x86/ | $HEAD --lines 1`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VS_TOOLS_DIR" -name $DLL_NAME \
| $GREP -i /x86/ | $HEAD --lines 1`
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [search of VS100COMNTOOLS])
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[search of VS100COMNTOOLS])
fi
fi
if test "x$MSVCR_DLL" = x; then
if test "x$MSVC_DLL" = x; then
# Probe: Search wildly in the VCINSTALLDIR. We've probably lost by now.
# (This was the original behaviour; kept since it might turn up something)
# (This was the original behaviour; kept since it might turn something up)
if test "x$CYGWIN_VC_INSTALL_DIR" != x; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $GREP x64 | $HEAD --lines 1`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name $DLL_NAME \
| $GREP x64 | $HEAD --lines 1`
else
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $GREP x86 | $GREP -v ia64 | $GREP -v x64 | $HEAD --lines 1`
if test "x$POSSIBLE_MSVCR_DLL" = x; then
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name $DLL_NAME \
| $GREP x86 | $GREP -v ia64 | $GREP -v x64 | $HEAD --lines 1`
if test "x$POSSIBLE_MSVC_DLL" = x; then
# We're grasping at straws now...
POSSIBLE_MSVCR_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcr100.dll | $HEAD --lines 1`
POSSIBLE_MSVC_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name $DLL_NAME \
| $HEAD --lines 1`
fi
fi
TOOLCHAIN_CHECK_POSSIBLE_MSVCR_DLL([$POSSIBLE_MSVCR_DLL], [search of VCINSTALLDIR])
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[search of VCINSTALLDIR])
fi
fi
if test "x$MSVCR_DLL" = x; then
AC_MSG_CHECKING([for msvcr100.dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_CHECKING([for $DLL_NAME])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find msvcr100.dll. Please specify using --with-msvcr-dll.])
AC_MSG_ERROR([Could not find $DLL_NAME. Please specify using --with-msvcr-dll.])
fi
BASIC_FIXUP_PATH(MSVCR_DLL)
$1=$MSVC_DLL
BASIC_FIXUP_PATH($1)
AC_SUBST($1, [$]$1)
])
AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
[
AC_ARG_WITH(msvcr-dll, [AS_HELP_STRING([--with-msvcr-dll],
[path to microsoft C runtime dll (msvcr*.dll) (Windows only) @<:@probed@:>@])])
if test "x$with_msvcr_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$with_msvcr_dll],
[--with-msvcr-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCR_NAME as specified by --with-msvcr-dll])
fi
else
TOOLCHAIN_SETUP_MSVC_DLL([MSVCR_DLL], [${MSVCR_NAME}])
fi
AC_ARG_WITH(msvcp-dll, [AS_HELP_STRING([--with-msvcp-dll],
[path to microsoft C++ runtime dll (msvcp*.dll) (Windows only) @<:@probed@:>@])])
if test "x$MSVCP_NAME" != "x"; then
if test "x$with_msvcp_dll" != x; then
# If given explicitely by user, do not probe. If not present, fail directly.
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$with_msvcp_dll],
[--with-msvcp-dll])
if test "x$MSVC_DLL" = x; then
AC_MSG_ERROR([Could not find a proper $MSVCP_NAME as specified by --with-msvcp-dll])
fi
else
TOOLCHAIN_SETUP_MSVC_DLL([MSVCP_DLL], [${MSVCP_NAME}])
fi
fi
])

View File

@@ -1,77 +0,0 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# The boot_cycle.sh script performs two complete image builds (no javadoc though....)
# where the second build uses the first build as the boot jdk.
#
# This is useful to verify that the build is self hoisting and assists
# in flushing out bugs. You can follow up with compare_objects.sh to check
# that the two boot_cycle_?/images/j2sdk are identical. They should be.
#
# Usage:
# Specify the configure arguments to boot_cycle.sh, for example:
#
# sh common/bin/boot_cycle.sh --enable-debug --with-jvm-variants=server
#
# The same arguments will be used for both builds, except of course --with-boot-jdk
# that will be adjusted to boot_cycle_1 for the second build.
SCRIPT_DIR=`pwd`/`dirname $0`
ROOT_DIR=`(cd $SCRIPT_DIR/../.. ; pwd)`
BUILD_DIR=$ROOT_DIR/build
mkdir -p $BUILD_DIR
AUTOCONF_DIR=`(cd $SCRIPT_DIR/../autoconf ; pwd)`
BOOT_CYCLE_1_DIR=$BUILD_DIR/boot_cycle_1
BOOT_CYCLE_2_DIR=$BUILD_DIR/boot_cycle_2
# Create the boot cycle dirs in the build directory.
mkdir -p $BOOT_CYCLE_1_DIR
mkdir -p $BOOT_CYCLE_2_DIR
cd $BOOT_CYCLE_1_DIR
# Configure!
sh $AUTOCONF_DIR/configure "$@"
# Now build!
make images
if ! test -x $BOOT_CYCLE_1_DIR/images/j2sdk-image/bin/java ; then
echo Failed to build the executable $BOOT_CYCLE_1_DIR/images/j2sdk-image/bin/java
exit 1
fi
cd $BOOT_CYCLE_2_DIR
# Pickup the configure arguments, but drop any --with-boot-jdk=....
# and add the correct --with-boot-jdk=...boot_cycle_1... at the end.
ARGUMENTS="`cat $BOOT_CYCLE_1_DIR/configure-arguments|sed 's/--with-boot-jdk=[^ ]*//'` --with-boot-jdk=$BOOT_CYCLE_1_DIR/images/j2sdk-image"
# Configure using these adjusted arguments.
sh $AUTOCONF_DIR/configure $ARGUMENTS
# Now build!
make images
if ! test -x $BOOT_CYCLE_2_DIR/images/j2sdk-image/bin/java ; then
echo Failed to build the final executable $BOOT_CYCLE_2_DIR/images/j2sdk-image/bin/java
exit 1
fi

View File

@@ -1,235 +0,0 @@
#!/bin/bash
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# MANUAL
#
# ./common/bin/compare-objects.sh old_jdk_build_dir new_jdk_build_dir
#
# Compares object files
#
if [ "x$1" = "x-h" ] || [ "x$1" = "x--help" ] || [ "x$1" == "x" ]; then
echo "bash ./common/bin/compare-objects.sh old_jdk_build_dir new_jdk_build_dir <pattern>"
echo ""
echo "Compare object files"
echo ""
exit 10
fi
#######
#
# List of files (grep patterns) that are ignored
#
# 1) hotspot object files
IGNORE="-e hotspot"
# 2) various build artifacts: sizer.32.o sizer.64.o dummyodbc.o
# these are produced during build and then e.g run to produce other data
# i.e not directly put into build => safe to ignore
IGNORE="${IGNORE} -e sizer.32.o -e sizer.64.o"
IGNORE="${IGNORE} -e dummyodbc.o"
IGNORE="${IGNORE} -e genSolarisConstants.o"
IGNORE="${IGNORE} -e genUnixConstants.o"
OLD="$1"
NEW="$2"
shift; shift
PATTERN="$*"
if [ -f $NEW/spec.sh ]; then
. $NEW/spec.sh
elif [ -f $NEW/../../spec.sh ]; then
. $NEW/../../spec.sh
elif [ -f $OLD/spec.sh ]; then
. $OLD/spec.sh
elif [ -f $OLD/../../spec.sh ]; then
. $OLD/../../spec.sh
else
echo "Unable to find spec.sh"
echo "Giving up"
exit 1
fi
export COMPARE_ROOT=/tmp/cimages.$USER/objects
mkdir -p $COMPARE_ROOT
(${CD} $OLD && ${FIND} . -name '*.o') > $COMPARE_ROOT/list.old
(${CD} $NEW && ${FIND} . -name '*.o') > $COMPARE_ROOT/list.new
# On macosx JobjC is build in both i386 and x86_64 variant (universial binary)
# but new build only builds the x86_64
# Remove the 386 variants from comparison...to avoid "false" positives
${GREP} -v 'JObjC.dst/Objects-normal/i386' $COMPARE_ROOT/list.old > $COMPARE_ROOT/list.old.new
${CP} $COMPARE_ROOT/list.old $COMPARE_ROOT/list.old.full
${CP} $COMPARE_ROOT/list.old.new $COMPARE_ROOT/list.old
findnew() {
arg_1=$1
arg_2=$2
# special case 1 unpack-cmd => unpackexe
arg_1=`${ECHO} $arg_1 | ${SED} 's!unpack-cmd!unpackexe!g'`
arg_2=`${ECHO} $arg_2 | ${SED} 's!unpack-cmd!unpackexe!g'`
# special case 2 /JObjC.dst/ => /libjobjc/
arg_1=`${ECHO} $arg_1 | ${SED} 's!/JObjC.dst/!/libjobjc/!g'`
arg_2=`${ECHO} $arg_2 | ${SED} 's!/JObjC.dst/!/libjobjc/!g'`
full=`${ECHO} $arg_1 | ${SED} 's!\.!\\\.!g'`
medium=`${ECHO} $arg_1 | ${SED} 's!.*/\([^/]*/[^/]*\)!\1!'`
short=`${ECHO} $arg_2 | ${SED} 's!\.!\\\.!g'`
if [ "`${GREP} -c "/$full" $COMPARE_ROOT/list.new`" -eq 1 ]
then
${ECHO} $NEW/$arg_1
return
fi
if [ "`${GREP} -c "$medium" $COMPARE_ROOT/list.new`" -eq 1 ]
then
${GREP} "$medium" $COMPARE_ROOT/list.new
return
fi
if [ "`${GREP} -c "/$short" $COMPARE_ROOT/list.new`" -eq 1 ]
then
${GREP} "/$short" $COMPARE_ROOT/list.new
return
fi
# old style has "dir" before obj{64}
dir=`${ECHO} $arg_1 | ${SED} 's!.*/\([^/]*\)/obj[64]*.*!\1!g'`
if [ -n "$dir" -a "$dir" != "$arg_1" ]
then
if [ "`${GREP} $dir $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} $dir $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
# Try with lib$dir/
if [ "`${GREP} "lib$dir/" $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} "lib$dir/" $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
# Try with $dir_objs
if [ "`${GREP} "${dir}_objs" $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} "${dir}_objs" $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
fi
# check for some specifics...
for i in demo hotspot jobjc
do
if [ "`${ECHO} $full | ${GREP} -c $i`" -gt 0 ]
then
if [ "`${GREP} $i $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} $i $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
fi
done
# check for specific demo
demo=`${ECHO} $arg_1 | ${SED} 's!.*/demo/jvmti/\([^/]*\)/.*!\1!g'`
if [ -n "$demo" -a "$dir" != "$demo" ]
then
if [ "`${GREP} $demo $COMPARE_ROOT/list.new | ${GREP} -c "/$short"`" -eq 1 ]
then
${GREP} $demo $COMPARE_ROOT/list.new | ${GREP} "/$short"
return
fi
fi
return
}
compare() {
old=$1
new=$2
${DIFF} $old $new > /dev/null
res=$?
if [ $res -eq 0 ]
then
${ECHO} 0
return
fi
# check if stripped objects gives equality
${CP} $old $COMPARE_ROOT/`basename $old`.old
${CP} $new $COMPARE_ROOT/`basename $old`.new
${POST_STRIP_CMD} $COMPARE_ROOT/`basename $old`.old $COMPARE_ROOT/`basename $old`.new > /dev/null 2>&1
${DIFF} $COMPARE_ROOT/`basename $old`.old $COMPARE_ROOT/`basename $old`.new > /dev/null
res=$?
${RM} $COMPARE_ROOT/`basename $old`.old $COMPARE_ROOT/`basename $old`.new
if [ $res -eq 0 ]
then
${ECHO} S
return
fi
name=`basename $1 | ${SED} 's!\.o!!'`
cntold=`strings $old | ${GREP} -c $name`
cntnew=`strings $new | ${GREP} -c $name`
if [ $cntold -gt 0 -a $cntnew -gt 0 ]
then
${ECHO} F
return
fi
${ECHO} 1
}
for F in `${CAT} $COMPARE_ROOT/list.old`
do
if [ "${IGNORE}" ] && [ "`${ECHO} $F | ${GREP} ${IGNORE}`" ]
then
#
# skip ignored files
#
continue;
fi
if [ "$PATTERN" ] && [ `${ECHO} $F | ${GREP} -c $PATTERN` -eq 0 ]
then
continue;
fi
f=`basename $F`
o=$OLD/$F
n=`findnew $F $f`
if [ "$n" ]
then
n="$NEW/$n"
${ECHO} `compare $o $n` : $f : $o : $n
else
${ECHO} "- : $f : $o "
fi
done

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -106,12 +106,15 @@ if [ ${vflag} = "true" ] ; then
echo "# Mercurial command: ${command}" > ${status_output}
fi
# capture command options and arguments (if any)
command_args="${@:-}"
# At this point all command options and args are in "$@".
# Always use "$@" (within double quotes) to avoid breaking
# args with spaces into separate args.
if [ ${vflag} = "true" ] ; then
echo "# Mercurial command arguments: ${command_args}" > ${status_output}
echo "# Mercurial command argument count: $#" > ${status_output}
for cmdarg in "$@" ; do
echo "# Mercurial command argument: ${cmdarg}" > ${status_output}
done
fi
# Clean out the temporary directory that stores the pid files.
@@ -205,13 +208,14 @@ if [ "${command}" = "clone" -o "${command}" = "fclone" -o "${command}" = "tclone
pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'`
if [ -n "${command_args}" ] ; then
if [ $# -gt 0 ] ; then
# if there is an "extra sources" path then reparent "extra" repos to that path
if [ "x${pull_default}" = "x${pull_default_tail}" ] ; then
echo "ERROR: Need initial clone from non-local source" > ${status_output}
exit 1
fi
pull_extra="${command_args}/${pull_default_tail}"
# assume that "extra sources" path is the first arg
pull_extra="${1}/${pull_default_tail}"
# determine which extra subrepos need to be cloned.
for i in ${subrepos_extra} ; do
@@ -356,8 +360,8 @@ else
(PYTHONUNBUFFERED=true hg${global_opts} clone ${clone_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
else
# run the command.
echo "cd ${i} && hg${global_opts} ${command} ${command_args}" > ${status_output}
cd ${i} && (PYTHONUNBUFFERED=true hg${global_opts} ${command} ${command_args}; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
echo "cd ${i} && hg${global_opts} ${command} ${@}" > ${status_output}
cd ${i} && (PYTHONUNBUFFERED=true hg${global_opts} ${command} "${@}"; echo "$?" > ${tmp}/${repopidfile}.pid.rc ) 2>&1 &
fi
echo $! > ${tmp}/${repopidfile}.pid

View File

@@ -22,10 +22,10 @@
# questions.
#
# Usage: ./logger.sh theloggfile acommand arg1 arg2
# Usage: ./logger.sh theloggfile acommand arg1 arg2
#
# Execute acommand with args, in such a way that
# both stdout and stderr from acommand are appended to
# both stdout and stderr from acommand are appended to
# theloggfile.
#
# Preserve stdout and stderr, so that the stdout

View File

@@ -26,12 +26,12 @@
#
# This shell script is supposed to be set as a replacement for SHELL in make,
# causing it to be called whenever make wants to execute shell commands.
# The <shell command line> is suitable for passing on to the old shell,
# The <shell command line> is suitable for passing on to the old shell,
# typically beginning with -c.
#
# This script will make sure the shell command line is executed with
# This script will make sure the shell command line is executed with
# OLD_SHELL -x, and it will also store a simple log of the the time it takes to
# execute the command in the OUTPUT_FILE, using the "time" utility as pointed
# execute the command in the OUTPUT_FILE, using the "time" utility as pointed
# to by TIME_CMD. If TIME_CMD is "-", no timestamp will be stored.
TIME_CMD="$1"

View File

@@ -171,7 +171,7 @@ checkErrors
) 2>&1 | tee ${t3}.build.txt
checkErrors
# Compare old build to build-infra build
# Compare old build to build-infra build
( \
sh ${t0}/common/bin/compareimage.sh \
${t3}/build/*/j2sdk-image \
@@ -181,4 +181,3 @@ checkErrors
checkErrors
exit 0

View File

@@ -26,10 +26,8 @@ corba/src/java.corba/share/classes/com/sun/org/omg : corba/src/share/classes/com
corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl : corba/src/share/classes/com/sun/tools/corba/se/idl
corba/src/java.corba/share/classes/javax/activity : corba/src/share/classes/javax/activity
corba/src/java.corba/share/classes/javax/rmi : corba/src/share/classes/javax/rmi
corba/src/java.corba/share/classes/javax/transaction : corba/src/share/classes/javax/transaction
corba/src/java.corba/share/classes/org/omg : corba/src/share/classes/org/omg
corba/src/java.corba/share/classes/sun/corba : corba/src/share/classes/sun/corba
corba/src/java.sql/share/classes/javax/transaction/xa : corba/src/share/classes/javax/transaction/xa
corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop : corba/src/share/classes/sun/rmi/rmic/iiop
jaxp/src/java.xml/share/classes/com/sun/java_cup/internal/runtime : jaxp/src/com/sun/java_cup/internal/runtime
jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal : jaxp/src/com/sun/org/apache/bcel/internal
@@ -66,8 +64,8 @@ jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/fastinfoset : jaxws/s
jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org : jaxws/src/share/jaxws_classes/com/sun/xml/internal/org
jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/txw2 : jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2
jaxws/src/java.xml.bind/share/classes/javax/xml/bind : jaxws/src/share/jaxws_classes/javax/xml/bind
jaxws/src/java.xml.soap/share/classes/com/sun/xml/internal/messaging : jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging
jaxws/src/java.xml.soap/share/classes/javax/xml/soap : jaxws/src/share/jaxws_classes/javax/xml/soap
jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging : jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging
jaxws/src/java.xml.ws/share/classes/javax/xml/soap : jaxws/src/share/jaxws_classes/javax/xml/soap
jaxws/src/java.xml.ws/share/classes/com/oracle/webservices/internal : jaxws/src/share/jaxws_classes/com/oracle/webservices/internal
jaxws/src/java.xml.ws/share/classes/com/oracle/xmlns/internal : jaxws/src/share/jaxws_classes/com/oracle/xmlns/internal
jaxws/src/java.xml.ws/share/classes/com/sun/org/glassfish : jaxws/src/share/jaxws_classes/com/sun/org/glassfish
@@ -125,6 +123,7 @@ jdk/src/java.base/share/classes/java/lang/reflect : jdk/src/share/classes/java/l
jdk/src/java.base/share/classes/java/math : jdk/src/share/classes/java/math
jdk/src/java.base/share/classes/java/net : jdk/src/share/classes/java/net
jdk/src/java.base/share/classes/java/nio : jdk/src/share/classes/java/nio
jdk/src/java.base/share/classes/java/security/acl : jdk/src/share/classes/java/security/acl
jdk/src/java.base/share/classes/java/security/cert : jdk/src/share/classes/java/security/cert
jdk/src/java.base/share/classes/java/security/interfaces : jdk/src/share/classes/java/security/interfaces
jdk/src/java.base/share/classes/java/security : jdk/src/share/classes/java/security
@@ -1212,8 +1211,7 @@ jdk/src/java.rmi/share/classes/sun/rmi/transport/tcp : jdk/src/share/classes/sun
jdk/src/java.rmi/share/doc/stub/java/rmi/activation : jdk/src/share/doc/stub/java/rmi/activation
jdk/src/java.rmi/unix/bin/java-rmi.cgi.sh : jdk/src/solaris/bin/java-rmi.cgi.sh
jdk/src/java.scripting/share/classes/javax/script : jdk/src/share/classes/javax/script
jdk/src/java.security.acl/share/classes/java/security/acl : jdk/src/share/classes/java/security/acl
jdk/src/java.security.acl/share/classes/sun/security/acl : jdk/src/share/classes/sun/security/acl
jdk/src/java.scripting/share/classes/com/sun/tools/script/shell : jdk/src/share/classes/com/sun/tools/script/shell
jdk/src/java.security.jgss/macosx/native/libosxkrb5/nativeccache.c : jdk/src/share/native/sun/security/krb5/nativeccache.c
jdk/src/java.security.jgss/macosx/native/libosxkrb5/SCDynamicStoreConfig.m : jdk/src/macosx/native/sun/security/krb5/SCDynamicStoreConfig.m
jdk/src/java.security.jgss/share/classes/javax/security/auth/kerberos : jdk/src/share/classes/javax/security/auth/kerberos
@@ -1244,6 +1242,8 @@ jdk/src/java.sql.rowset/share/classes/com/sun/rowset : jdk/src/share/classes/com
jdk/src/java.sql.rowset/share/classes/javax/sql/rowset : jdk/src/share/classes/javax/sql/rowset
jdk/src/java.sql/share/classes/java/sql : jdk/src/share/classes/java/sql
jdk/src/java.sql/share/classes/javax/sql : jdk/src/share/classes/javax/sql
jdk/src/java.sql/share/classes/javax/transaction/xa : corba/src/share/classes/javax/transaction/xa
jdk/src/java.transaction/share/classes/javax/transaction : corba/src/share/classes/javax/transaction
jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security : jdk/src/share/classes/com/sun/org/apache/xml/internal/security
jdk/src/java.xml.crypto/share/classes/javax/xml/crypto : jdk/src/share/classes/javax/xml/crypto
jdk/src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal : jdk/src/share/classes/org/jcp/xml/dsig/internal
@@ -1300,10 +1300,9 @@ jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/c
jdk/src/jdk.deploy.osx/macosx/native/libosx/JavaAppLauncher.m : jdk/src/macosx/native/apple/launcher/JavaAppLauncher.m
jdk/src/jdk.deploy.osx/macosx/native/libosx/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
jdk/src/jdk.dev/share/classes/com/sun/jarsigner : jdk/src/share/classes/com/sun/jarsigner
jdk/src/jdk.dev/share/classes/com/sun/tools/extcheck : jdk/src/share/classes/com/sun/tools/extcheck
jdk/src/jdk.dev/share/classes/com/sun/tools/hat : jdk/src/share/classes/com/sun/tools/hat
jdk/src/jdk.dev/share/classes/com/sun/tools/script/shell : jdk/src/share/classes/com/sun/tools/script/shell
jdk/src/jdk.dev/share/classes/sun/security/tools/jarsigner : jdk/src/share/classes/sun/security/tools/jarsigner
jdk/src/jdk.dev/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.dev/share/classes/sun/tools/jar : jdk/src/share/classes/sun/tools/jar
jdk/src/jdk.dev/share/classes/sun/tools/native2ascii : jdk/src/share/classes/sun/tools/native2ascii
jdk/src/jdk.hprof.agent/share/classes/com/sun/demo/jvmti/hprof : jdk/src/share/classes/com/sun/demo/jvmti/hprof
@@ -1444,7 +1443,6 @@ jdk/src/jdk.rmic/share/classes/sun/tools/java : jdk/src/share/classes/sun/tools/
jdk/src/jdk.rmic/share/classes/sun/tools/tree : jdk/src/share/classes/sun/tools/tree
jdk/src/jdk.rmic/share/classes/sun/tools/util : jdk/src/share/classes/sun/tools/util
jdk/src/jdk.runtime/share/classes/com/sun/tracing : jdk/src/share/classes/com/sun/tracing
jdk/src/jdk.runtime/share/classes/sun/security/tools/policytool : jdk/src/share/classes/sun/security/tools/policytool
jdk/src/jdk.runtime/share/classes/sun/tracing : jdk/src/share/classes/sun/tracing
jdk/src/jdk.runtime/share/native/common-unpack/bands.cpp : jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
jdk/src/jdk.runtime/share/native/common-unpack/bands.h : jdk/src/share/native/com/sun/java/util/jar/pack/bands.h

View File

@@ -80,7 +80,7 @@ for r in $repos ; do
if [ $repo = "$r" ] ; then
found="true"
break;
fi
fi
done
if [ $found = "false" ] ; then
echo "ERROR: Unknown repo: $repo. Should be one of [$repos]." >&2
@@ -200,4 +200,3 @@ do
printf "%s\n" "$line" >> $output
fi
done < "$input"

View File

@@ -277,3 +277,22 @@ c432b80aadd0cb2b2361b02add4d671957d4cec9 jdk9-b31
b5b139354630edb2d06190bf31653acbdcea63a8 jdk9-b32
cfdac5887952c2dd73c73a1d8d9aa880d0539bbf jdk9-b33
24a0bad5910f775bb4002d1dacf8b3af87c63cd8 jdk9-b34
9bc2dbd3dfb8c9fa88e00056b8b93a81ee6d306e jdk9-b35
ffd90c81d4ef9d94d880fc852e2fc482ecd9b374 jdk9-b36
7e9add74ad50841fb39dae75db56374aefa1de4c jdk9-b37
8acf056126e819cf536eef02aee0f61f207a6b52 jdk9-b38
53bf36cb722db50815712258a77cb6bbe25a2f5f jdk9-b39
e27c725d6c9d155667b35255f442d4ceb8c3c084 jdk9-b40
1908b886ba1eda46fa725cf1160fe5d30fd1a7e5 jdk9-b41
078bb11af876fe528d4b516f33ad4dd9bb60549e jdk9-b42
9645e35616b60c5c07b4fdf11a132afc8081dfa8 jdk9-b43
1f57bd728c9e6865ccb9d43ccd80a1c11230a32f jdk9-b44
9e3f2bed80c0e5a84a256ce41f1d10c5ade48466 jdk9-b45
326f2068b4a4c05e2fa27d6acf93eba7b54b090d jdk9-b46
ee8447ca632e1d39180b4767c749db101bff7314 jdk9-b47
a13c49c5f2899b702652a460ed7aa73123e671e6 jdk9-b48
9285d14eb7b6b0815679bae98dd936dbc136218d jdk9-b49
224f593393e5b01b3c8f1e591b7f4b1790a3737a jdk9-b50
2309c02386d1fa4ced5051873ffb9e04874f7a44 jdk9-b51
b8538bbb6f224ab1dabba579137099c166ad4724 jdk9-b52
aadc16ca5ab7d56f92ef9dbfa443595a939241b4 jdk9-b53

View File

@@ -1,53 +0,0 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# The Corba sources are old and generates a LOT of warnings.
# Disable these using Xlint, until someone cares to fix them.
DISABLE_CORBA_WARNINGS := -Xlint:all,-deprecation,-unchecked,-serial,-fallthrough,-cast,-rawtypes,-static,-dep-ann
# The "generate old bytecode" javac setup uses the new compiler to compile for the
# boot jdk to generate tools that need to be run with the boot jdk.
# Thus we force the target bytecode to the boot jdk bytecode.
$(eval $(call SetupJavaCompiler,GENERATE_OLDBYTECODE, \
JVM := $(JAVA), \
JAVAC := $(NEW_JAVAC), \
FLAGS := $(BOOT_JDK_SOURCETARGET) \
-bootclasspath "$(BOOT_RTJAR)$(PATH_SEP)$(BOOT_TOOLSJAR)" \
$(DISABLE_CORBA_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
# The "generate new bytecode" uses the new compiler to generate bytecode
# for the new jdk that is being built. The code compiled by this setup
# cannot necessarily be run with the boot jdk.
$(eval $(call SetupJavaCompiler,GENERATE_NEWBYTECODE, \
JVM := $(JAVA), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -cp $(BOOT_TOOLSJAR) -XDignore.symbol.file=true $(DISABLE_CORBA_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
################################################################################

View File

@@ -1,62 +0,0 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include CommonCorba.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_INTERIM_CORBA, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes \
$(CORBA_TOPDIR)/src/jdk.rmic/share/classes \
$(CORBA_OUTPUTDIR)/gensrc/java.corba, \
EXCLUDES := com/sun/corba/se/PortableActivationIDL, \
EXCLUDE_FILES := com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java \
com/sun/corba/se/spi/presentation/rmi/StubWrapper.java \
org/omg/PortableInterceptor/UNKNOWN.java \
com/sun/tools/corba/se/idl/ResourceBundleUtil.java \
com/sun/corba/se/impl/presentation/rmi/jndi.properties, \
COPY := .prp, \
CLEAN := .properties, \
BIN := $(CORBA_OUTPUTDIR)/interim_classes, \
JAR := $(INTERIM_CORBA_JAR)))
################################################################################
# Copy idl files straight to jdk/include.
$(JDK_OUTPUTDIR)/include/%: $(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl/%
$(install-file)
IDL_TARGET_FILES := $(JDK_OUTPUTDIR)/include/orb.idl $(JDK_OUTPUTDIR)/include/ir.idl
################################################################################
all: $(BUILD_INTERIM_CORBA) $(IDL_TARGET_FILES)

View File

@@ -0,0 +1,55 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This must be the first rule
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include SetupJavaCompilers.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_INTERIM_CORBA, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(JDK_TOPDIR)/src/jdk.rmic/share/classes \
$(CORBA_TOPDIR)/src/java.corba/share/classes \
$(CORBA_TOPDIR)/src/jdk.rmic/share/classes \
$(SUPPORT_OUTPUTDIR)/gensrc/java.corba, \
EXCLUDES := com/sun/corba/se/PortableActivationIDL, \
EXCLUDE_FILES := com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java \
com/sun/corba/se/spi/presentation/rmi/StubWrapper.java \
org/omg/PortableInterceptor/UNKNOWN.java \
com/sun/tools/corba/se/idl/ResourceBundleUtil.java \
com/sun/corba/se/impl/presentation/rmi/jndi.properties, \
COPY := .prp, \
CLEAN := .properties, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_interim_classes, \
JAR := $(INTERIM_CORBA_JAR)))
################################################################################
all: $(BUILD_INTERIM_CORBA)

View File

@@ -1,241 +0,0 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include IdlCompilation.gmk
include CommonCorba.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_CORBA, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/make/src/classes, \
BIN := $(CORBA_OUTPUTDIR)/tools_classes))
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/tools_classes \
build.tools.logutil.MC
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes, \
BIN := $(CORBA_OUTPUTDIR)/idlj_classes, \
COPY := .prp, \
INCLUDES := com/sun/tools/corba/se/idl, \
EXCLUDE_FILES := ResourceBundleUtil.java))
# Force the language to english for predictable source code generation.
TOOL_IDLJ_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/idlj_classes \
-Duser.language=en com.sun.tools.corba.se.idl.toJavaPortable.Compile
################################################################################
# Generate LogWrapper classes
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/%SystemException.java: \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
$(BUILD_TOOLS_CORBA)
$(MKDIR) -p $(@D)
$(RM) -f $(@D)/_the_wrappers.d
$(ECHO) $(LOG_INFO) Generating class file from $*.mc
$(TOOL_LOGUTIL_CMD) make-class $< $(@D)
# Generate LogWrapper properties file by concatening resource files
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/LogStrings.properties: \
$(CORBA_OUTPUTDIR)/logwrappers/ActivationSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/IORSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/InterceptorsSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/NamingSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/OMGSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/ORBUtilSystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/POASystemException.resource \
$(CORBA_OUTPUTDIR)/logwrappers/UtilSystemException.resource
$(MKDIR) -p $(@D)
$(ECHO) $(LOG_INFO) Concatenating 8 resource files into $(@F)
$(CAT) $^ > $@
# The resources files are generated from lisp-like .mc files.
$(CORBA_OUTPUTDIR)/logwrappers/%SystemException.resource: \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
$(BUILD_TOOLS_CORBA)
$(MKDIR) -p $(@D)
$(RM) -f $(@D)/_the_wrappers.d
$(ECHO) $(LOG_INFO) Generating resource file from $*.mc
$(TOOL_LOGUTIL_CMD) make-resource $< $(@D)
LOGWRAPPER_TARGETS := \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/ActivationSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/IORSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/InterceptorsSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/NamingSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/OMGSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/ORBUtilSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/POASystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/UtilSystemException.java \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging/LogStrings.properties
################################################################################
# Build the IDLs.
IDL_DELETES := \
org/omg/DynamicAny/*POA* \
org/omg/DynamicAny/*Holder* \
org/omg/DynamicAny/DynValueBoxHelper.java \
org/omg/DynamicAny/DynValueCommonHelper.java \
org/omg/DynamicAny/_DynValueCommonStub.java \
org/omg/DynamicAny/_DynValueBoxStub.java \
org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.java \
org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.java \
org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.java \
org/omg/IOP/BI_DIR_IIOP.java \
org/omg/IOP/ChainBypassCheck.java \
org/omg/IOP/ChainBypassInfo.java \
org/omg/IOP/FORWARDED_IDENTITY.java \
org/omg/IOP/INVOCATION_POLICIES.java \
org/omg/IOP/LogicalThreadId.java \
org/omg/IOP/SendingContextRunTime.java \
org/omg/IOP/UnknownExceptionInfo.java \
org/omg/IOP/TaggedComponentSeqHolder.java \
org/omg/PortableServer/CurrentPackage/NoContextHolder.java \
org/omg/PortableServer/ForwardRequestHolder.java \
org/omg/PortableServer/IdAssignmentPolicyValueHelper.java \
org/omg/PortableServer/IdAssignmentPolicyValueHolder.java \
org/omg/PortableServer/IdUniquenessPolicyValueHelper.java \
org/omg/PortableServer/IdUniquenessPolicyValueHolder.java \
org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java \
org/omg/PortableServer/ImplicitActivationPolicyValueHolder.java \
org/omg/PortableServer/LifespanPolicyValueHelper.java \
org/omg/PortableServer/LifespanPolicyValueHolder.java \
org/omg/PortableServer/ServantRetentionPolicyValueHelper.java \
org/omg/PortableServer/ServantRetentionPolicyValueHolder.java \
org/omg/PortableServer/ObjectIdHelper.java \
org/omg/PortableServer/ObjectIdHolder.java \
org/omg/PortableServer/POAListHelper.java \
org/omg/PortableServer/POAListHolder.java \
org/omg/PortableServer/POAManagerPackage/AdapterInactiveHolder.java \
org/omg/PortableServer/POAManagerPackage/StateHelper.java \
org/omg/PortableServer/POAManagerPackage/StateHolder.java \
org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHolder.java \
org/omg/PortableServer/POAPackage/AdapterNonExistentHolder.java \
org/omg/PortableServer/POAPackage/InvalidPolicyHolder.java \
org/omg/PortableServer/POAPackage/NoServantHolder.java \
org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHolder.java \
org/omg/PortableServer/POAPackage/ObjectNotActiveHolder.java \
org/omg/PortableServer/POAPackage/ServantAlreadyActiveHolder.java \
org/omg/PortableServer/POAPackage/ServantNotActiveHolder.java \
org/omg/PortableServer/POAPackage/WrongAdapterHolder.java \
org/omg/PortableServer/POAPackage/WrongPolicyHolder.java \
org/omg/PortableServer/RequestProcessingPolicyValueHelper.java \
org/omg/PortableServer/RequestProcessingPolicyValueHolder.java \
org/omg/PortableServer/ServantActivatorHolder.java \
org/omg/PortableServer/ServantLocatorHolder.java \
org/omg/PortableServer/ThreadPolicyValueHelper.java \
org/omg/PortableServer/ThreadPolicyValueHolder.java \
org/omg/PortableInterceptor/ClientRequestInfoHelper.java \
org/omg/PortableInterceptor/ClientRequestInterceptorHelper.java \
org/omg/PortableInterceptor/IORInfoHelper.java \
org/omg/PortableInterceptor/IORInterceptorHelper.java \
org/omg/PortableInterceptor/InterceptorHelper.java \
org/omg/PortableInterceptor/ORBInitInfoHelper.java \
org/omg/PortableInterceptor/ORBInitializerHelper.java \
org/omg/PortableInterceptor/PolicyFactoryHelper.java \
org/omg/PortableInterceptor/ReplyStatusHelper.java \
org/omg/PortableInterceptor/RequestInfoHelper.java \
org/omg/PortableInterceptor/ServerRequestInfoHelper.java \
org/omg/PortableInterceptor/ServerRequestInterceptorHelper.java \
org/omg/PortableInterceptor/SlotIdHelper.java \
org/omg/PortableInterceptor/ClientRequestInfoHolder.java \
org/omg/PortableInterceptor/ClientRequestInterceptorHolder.java \
org/omg/PortableInterceptor/CurrentHolder.java \
org/omg/PortableInterceptor/ForwardRequestHolder.java \
org/omg/PortableInterceptor/IORInfoHolder.java \
org/omg/PortableInterceptor/IORInterceptorHolder.java \
org/omg/PortableInterceptor/InterceptorHolder.java \
org/omg/PortableInterceptor/InvalidSlotHolder.java \
org/omg/PortableInterceptor/ORBInitInfoHolder.java \
org/omg/PortableInterceptor/ORBInitializerHolder.java \
org/omg/PortableInterceptor/PolicyFactoryHolder.java \
org/omg/PortableInterceptor/RequestInfoHolder.java \
org/omg/PortableInterceptor/ServerRequestInfoHolder.java \
org/omg/PortableInterceptor/ServerRequestInterceptorHolder.java \
org/omg/PortableInterceptor/TaggedComponentSeqHolder.java \
org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHolder.java \
org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHolder.java \
org/omg/IOP/CodecPackage/FormatMismatchHolder.java \
org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java \
org/omg/IOP/CodecPackage/TypeMismatchHolder.java \
org/omg/IOP/CodecHelper.java \
org/omg/IOP/EncodingFormatHelper.java \
org/omg/IOP/EncodingHelper.java \
org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java \
org/omg/IOP/CodecFactoryHolder.java \
org/omg/IOP/CodecHolder.java \
org/omg/IOP/EncodingHolder.java \
org/omg/IOP/TaggedComponentSeqHelper.java \
org/omg/Dynamic/ContextListHelper.java \
org/omg/Dynamic/ExceptionListHelper.java \
org/omg/Dynamic/ParameterHolder.java \
org/omg/Dynamic/ParameterListHolder.java \
org/omg/Dynamic/ExceptionListHolder.java \
org/omg/Dynamic/ParameterHelper.java \
org/omg/Dynamic/ParameterListHelper.java \
org/omg/Dynamic/RequestContextHelper.java \
org/omg/CORBA/OctetSeqHelper.java \
org/omg/CORBA/OctetSeqHolder.java \
org/omg/CORBA/PolicyError.java \
org/omg/CORBA/RepositoryIdHelper.java \
#
$(eval $(call SetupIdlCompilation,BUILD_IDLS, \
IDLJ := $(TOOL_IDLJ_CMD), \
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes, \
BIN := $(CORBA_OUTPUTDIR)/gensrc/java.corba, \
EXCLUDES := com/sun/tools/corba/se/idl/% \
org/omg/CORBA/% \
com/sun/corba/se/GiopIDL/% \
org/omg/PortableServer/corba.idl, \
INCLUDES := %, \
OLDIMPLBASES := com/sun/corba/se/PortableActivationIDL/activation.idl \
com/sun/corba/se/spi/activation/activation.idl, \
DELETES := $(IDL_DELETES)))
$(BUILD_IDLS): $(BUILD_IDLJ)
################################################################################
# zh_HK is just a copy of zh_TW
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_HK.properties: \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_TW.properties
$(install-file)
################################################################################
all: $(BUILD_IDLS) $(LOGWRAPPER_TARGETS) \
$(CORBA_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_HK.properties

View File

@@ -0,0 +1,34 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
################################################################################
# Copy idl files to jdk/lib.
$(eval $(call SetupCopyFiles,COPY_IDL, \
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl, \
DEST := $(SUPPORT_OUTPUTDIR)/modules_include/$(MODULE), \
FILES := $(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl/orb.idl \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl/ir.idl))
TARGETS := $(COPY_IDL)

View File

@@ -0,0 +1,243 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include IdlCompilation.gmk
include SetupJavaCompilers.gmk
################################################################################
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_CORBA, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/make/src/classes, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes))
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
build.tools.logutil.MC
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/idlj_classes, \
COPY := .prp, \
INCLUDES := com/sun/tools/corba/se/idl, \
EXCLUDE_FILES := ResourceBundleUtil.java))
# Force the language to english for predictable source code generation.
TOOL_IDLJ_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
-Duser.language=en com.sun.tools.corba.se.idl.toJavaPortable.Compile
################################################################################
EXCEPTION_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/logging
LOGWRAPPER_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/java.corba/_logwrappers
# Generate LogWrapper classes
$(EXCEPTION_DIR)/%SystemException.java: \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
$(BUILD_TOOLS_CORBA)
$(MKDIR) -p $(@D)
$(RM) -f $(@D)/_the_wrappers.d
$(ECHO) $(LOG_INFO) Generating class file from $*.mc
$(TOOL_LOGUTIL_CMD) make-class $< $(@D)
# Generate LogWrapper properties file by concatening resource files
$(EXCEPTION_DIR)/LogStrings.properties: \
$(LOGWRAPPER_DIR)/ActivationSystemException.resource \
$(LOGWRAPPER_DIR)/IORSystemException.resource \
$(LOGWRAPPER_DIR)/InterceptorsSystemException.resource \
$(LOGWRAPPER_DIR)/NamingSystemException.resource \
$(LOGWRAPPER_DIR)/OMGSystemException.resource \
$(LOGWRAPPER_DIR)/ORBUtilSystemException.resource \
$(LOGWRAPPER_DIR)/POASystemException.resource \
$(LOGWRAPPER_DIR)/UtilSystemException.resource
$(MKDIR) -p $(@D)
$(ECHO) $(LOG_INFO) Concatenating 8 resource files into $(@F)
$(CAT) $^ > $@
# The resources files are generated from lisp-like .mc files.
$(LOGWRAPPER_DIR)/%SystemException.resource: \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
$(BUILD_TOOLS_CORBA)
$(MKDIR) -p $(@D)
$(RM) -f $(@D)/_the_wrappers.d
$(ECHO) $(LOG_INFO) Generating resource file from $*.mc
$(TOOL_LOGUTIL_CMD) make-resource $< $(@D)
LOGWRAPPER_TARGETS := \
$(EXCEPTION_DIR)/ActivationSystemException.java \
$(EXCEPTION_DIR)/IORSystemException.java \
$(EXCEPTION_DIR)/InterceptorsSystemException.java \
$(EXCEPTION_DIR)/NamingSystemException.java \
$(EXCEPTION_DIR)/OMGSystemException.java \
$(EXCEPTION_DIR)/ORBUtilSystemException.java \
$(EXCEPTION_DIR)/POASystemException.java \
$(EXCEPTION_DIR)/UtilSystemException.java \
$(EXCEPTION_DIR)/LogStrings.properties
################################################################################
# Build the IDLs.
IDL_DELETES := \
org/omg/DynamicAny/*POA* \
org/omg/DynamicAny/*Holder* \
org/omg/DynamicAny/DynValueBoxHelper.java \
org/omg/DynamicAny/DynValueCommonHelper.java \
org/omg/DynamicAny/_DynValueCommonStub.java \
org/omg/DynamicAny/_DynValueBoxStub.java \
org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.java \
org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.java \
org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.java \
org/omg/IOP/BI_DIR_IIOP.java \
org/omg/IOP/ChainBypassCheck.java \
org/omg/IOP/ChainBypassInfo.java \
org/omg/IOP/FORWARDED_IDENTITY.java \
org/omg/IOP/INVOCATION_POLICIES.java \
org/omg/IOP/LogicalThreadId.java \
org/omg/IOP/SendingContextRunTime.java \
org/omg/IOP/UnknownExceptionInfo.java \
org/omg/IOP/TaggedComponentSeqHolder.java \
org/omg/PortableServer/CurrentPackage/NoContextHolder.java \
org/omg/PortableServer/ForwardRequestHolder.java \
org/omg/PortableServer/IdAssignmentPolicyValueHelper.java \
org/omg/PortableServer/IdAssignmentPolicyValueHolder.java \
org/omg/PortableServer/IdUniquenessPolicyValueHelper.java \
org/omg/PortableServer/IdUniquenessPolicyValueHolder.java \
org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java \
org/omg/PortableServer/ImplicitActivationPolicyValueHolder.java \
org/omg/PortableServer/LifespanPolicyValueHelper.java \
org/omg/PortableServer/LifespanPolicyValueHolder.java \
org/omg/PortableServer/ServantRetentionPolicyValueHelper.java \
org/omg/PortableServer/ServantRetentionPolicyValueHolder.java \
org/omg/PortableServer/ObjectIdHelper.java \
org/omg/PortableServer/ObjectIdHolder.java \
org/omg/PortableServer/POAListHelper.java \
org/omg/PortableServer/POAListHolder.java \
org/omg/PortableServer/POAManagerPackage/AdapterInactiveHolder.java \
org/omg/PortableServer/POAManagerPackage/StateHelper.java \
org/omg/PortableServer/POAManagerPackage/StateHolder.java \
org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHolder.java \
org/omg/PortableServer/POAPackage/AdapterNonExistentHolder.java \
org/omg/PortableServer/POAPackage/InvalidPolicyHolder.java \
org/omg/PortableServer/POAPackage/NoServantHolder.java \
org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHolder.java \
org/omg/PortableServer/POAPackage/ObjectNotActiveHolder.java \
org/omg/PortableServer/POAPackage/ServantAlreadyActiveHolder.java \
org/omg/PortableServer/POAPackage/ServantNotActiveHolder.java \
org/omg/PortableServer/POAPackage/WrongAdapterHolder.java \
org/omg/PortableServer/POAPackage/WrongPolicyHolder.java \
org/omg/PortableServer/RequestProcessingPolicyValueHelper.java \
org/omg/PortableServer/RequestProcessingPolicyValueHolder.java \
org/omg/PortableServer/ServantActivatorHolder.java \
org/omg/PortableServer/ServantLocatorHolder.java \
org/omg/PortableServer/ThreadPolicyValueHelper.java \
org/omg/PortableServer/ThreadPolicyValueHolder.java \
org/omg/PortableInterceptor/ClientRequestInfoHelper.java \
org/omg/PortableInterceptor/ClientRequestInterceptorHelper.java \
org/omg/PortableInterceptor/IORInfoHelper.java \
org/omg/PortableInterceptor/IORInterceptorHelper.java \
org/omg/PortableInterceptor/InterceptorHelper.java \
org/omg/PortableInterceptor/ORBInitInfoHelper.java \
org/omg/PortableInterceptor/ORBInitializerHelper.java \
org/omg/PortableInterceptor/PolicyFactoryHelper.java \
org/omg/PortableInterceptor/ReplyStatusHelper.java \
org/omg/PortableInterceptor/RequestInfoHelper.java \
org/omg/PortableInterceptor/ServerRequestInfoHelper.java \
org/omg/PortableInterceptor/ServerRequestInterceptorHelper.java \
org/omg/PortableInterceptor/SlotIdHelper.java \
org/omg/PortableInterceptor/ClientRequestInfoHolder.java \
org/omg/PortableInterceptor/ClientRequestInterceptorHolder.java \
org/omg/PortableInterceptor/CurrentHolder.java \
org/omg/PortableInterceptor/ForwardRequestHolder.java \
org/omg/PortableInterceptor/IORInfoHolder.java \
org/omg/PortableInterceptor/IORInterceptorHolder.java \
org/omg/PortableInterceptor/InterceptorHolder.java \
org/omg/PortableInterceptor/InvalidSlotHolder.java \
org/omg/PortableInterceptor/ORBInitInfoHolder.java \
org/omg/PortableInterceptor/ORBInitializerHolder.java \
org/omg/PortableInterceptor/PolicyFactoryHolder.java \
org/omg/PortableInterceptor/RequestInfoHolder.java \
org/omg/PortableInterceptor/ServerRequestInfoHolder.java \
org/omg/PortableInterceptor/ServerRequestInterceptorHolder.java \
org/omg/PortableInterceptor/TaggedComponentSeqHolder.java \
org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHolder.java \
org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHolder.java \
org/omg/IOP/CodecPackage/FormatMismatchHolder.java \
org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java \
org/omg/IOP/CodecPackage/TypeMismatchHolder.java \
org/omg/IOP/CodecHelper.java \
org/omg/IOP/EncodingFormatHelper.java \
org/omg/IOP/EncodingHelper.java \
org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java \
org/omg/IOP/CodecFactoryHolder.java \
org/omg/IOP/CodecHolder.java \
org/omg/IOP/EncodingHolder.java \
org/omg/IOP/TaggedComponentSeqHelper.java \
org/omg/Dynamic/ContextListHelper.java \
org/omg/Dynamic/ExceptionListHelper.java \
org/omg/Dynamic/ParameterHolder.java \
org/omg/Dynamic/ParameterListHolder.java \
org/omg/Dynamic/ExceptionListHolder.java \
org/omg/Dynamic/ParameterHelper.java \
org/omg/Dynamic/ParameterListHelper.java \
org/omg/Dynamic/RequestContextHelper.java \
org/omg/CORBA/OctetSeqHelper.java \
org/omg/CORBA/OctetSeqHolder.java \
org/omg/CORBA/PolicyError.java \
org/omg/CORBA/RepositoryIdHelper.java \
#
$(eval $(call SetupIdlCompilation,BUILD_IDLS, \
IDLJ := $(TOOL_IDLJ_CMD), \
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes, \
BIN := $(SUPPORT_OUTPUTDIR)/gensrc/java.corba, \
EXCLUDES := com/sun/tools/corba/se/idl/% \
org/omg/CORBA/% \
com/sun/corba/se/GiopIDL/% \
org/omg/PortableServer/corba.idl, \
INCLUDES := %, \
OLDIMPLBASES := com/sun/corba/se/PortableActivationIDL/activation.idl \
com/sun/corba/se/spi/activation/activation.idl, \
DELETES := $(IDL_DELETES)))
$(BUILD_IDLS): $(BUILD_IDLJ)
################################################################################
# zh_HK is just a copy of zh_TW
$(SUPPORT_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_HK.properties: \
$(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_TW.properties
$(install-file)
################################################################################
all: $(BUILD_IDLS) $(LOGWRAPPER_TARGETS) \
$(SUPPORT_OUTPUTDIR)/gensrc/java.corba/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_HK.properties

View File

@@ -176,42 +176,9 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
staticWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PRESENTATION ) ;
boolean useDynamicStub =
((Boolean)AccessController.doPrivileged(
new PrivilegedAction() {
public java.lang.Object run() {
return Boolean.valueOf( Boolean.getBoolean (
ORBConstants.USE_DYNAMIC_STUB_PROPERTY ) ) ;
}
}
)).booleanValue() ;
boolean useDynamicStub = false;
PresentationManager.StubFactoryFactory dynamicStubFactoryFactory =
(PresentationManager.StubFactoryFactory)AccessController.doPrivileged(
new PrivilegedAction() {
public java.lang.Object run() {
PresentationManager.StubFactoryFactory sff =
PresentationDefaults.getProxyStubFactoryFactory() ;
String className = System.getProperty(
ORBConstants.DYNAMIC_STUB_FACTORY_FACTORY_CLASS,
"com.sun.corba.se.impl.presentation.rmi.bcel.StubFactoryFactoryBCELImpl" ) ;
try {
// First try the configured class name, if any
Class<?> cls =
sun.corba.SharedSecrets.getJavaCorbaAccess().loadClass(className);
sff = (PresentationManager.StubFactoryFactory)cls.newInstance();
} catch (Exception exc) {
// Use the default. Log the error as a warning.
staticWrapper.errorInSettingDynamicStubFactoryFactory(
exc, className ) ;
}
return sff ;
}
}
) ;
PresentationManager.StubFactoryFactory dynamicStubFactoryFactory = null;
PresentationManager pm = new PresentationManagerImpl( useDynamicStub ) ;
pm.setStubFactoryFactory( false,

View File

@@ -43,7 +43,6 @@ import java.io.FileInputStream;
import java.security.AccessController;
import java.security.PrivilegedAction;
import sun.security.action.GetPropertyAction;
import java.util.Properties;
class GetORBPropertiesFileAction implements PrivilegedAction {

View File

@@ -166,16 +166,15 @@ import sun.reflect.misc.ReflectUtil;
*
*
* @implNote
* As described above it is possible to specify, at runtime, an alternative ORBSingleton class and
* an alternative ORB implementation class, via the system properties {@code org.omg.CORBA.ORBSingletonClass}
* and {@code org.omg.CORBA.ORBClass} respectively.
* The class loading strategy is organized, such that, in the case of the ORBSingleton
* the system class loader is used to load the alternative singleton ORB.
* Thus, it is necessary that an application's CLASSPATH
* includes the classes for this alternative ORBSingleton, when specified.
* When a singleton ORB is configured via the system property,
* or orb.properties, it will be
* located, and loaded via the system class loader.
* Thus, where appropriate, it is necessary that
* the classes for this alternative ORBSingleton are available on the application's class path.
* It should be noted that the singleton ORB is system wide.
*
* In the case of specifying an alternative ORB implementation class, the loading
* strategy will use the thread context class loader, as appropriate.
* When a per-application ORB is created via the 2-arg init methods,
* then it will be located using the thread context class loader.
*
* @since JDK1.2
*/
@@ -295,6 +294,11 @@ abstract public class ORB {
* creating <code>TypeCode</code> objects are invoked.
*
* @return the singleton ORB
*
* @implNote
* When configured via the system property, or orb.properties,
* the system-wide singleton ORB is located via the
* system class loader.
*/
public static synchronized ORB init() {
if (singleton == null) {
@@ -354,6 +358,10 @@ abstract public class ORB {
* method; may be <code>null</code>
* @param props application-specific properties; may be <code>null</code>
* @return the newly-created ORB instance
*
* @implNote
* When configured via the system property, or orb.properties,
* the ORB is located via the thread context class loader.
*/
public static ORB init(String[] args, Properties props) {
//
@@ -392,6 +400,10 @@ abstract public class ORB {
* @param app the applet; may be <code>null</code>
* @param props applet-specific properties; may be <code>null</code>
* @return the newly-created ORB instance
*
* @implNote
* When configured via the system property, or orb.properties,
* the ORB is located via the thread context class loader.
*/
public static ORB init(Applet app, Properties props) {
String className;

View File

@@ -28,7 +28,9 @@ package sun.corba;
import com.sun.corba.se.impl.io.ValueUtility;
import sun.misc.Unsafe;
import java.lang.reflect.Field;
import java.security.AccessController;
import java.security.PrivilegedAction;
/** A repository of "shared secrets", which are a mechanism for
calling implementation-private methods in another package without
@@ -41,9 +43,23 @@ import java.security.AccessController;
// SharedSecrets cloned in corba repo to avoid build issues
public class SharedSecrets {
private static final Unsafe unsafe = Unsafe.getUnsafe();
private static final Unsafe unsafe = getUnsafe();
private static JavaCorbaAccess javaCorbaAccess;
private static Unsafe getUnsafe() {
PrivilegedAction<Unsafe> pa = () -> {
Class<?> unsafeClass = sun.misc.Unsafe.class ;
try {
Field f = unsafeClass.getDeclaredField("theUnsafe");
f.setAccessible(true);
return (Unsafe) f.get(null);
} catch (Exception e) {
throw new Error(e);
}
};
return AccessController.doPrivileged(pa);
}
public static JavaCorbaAccess getJavaCorbaAccess() {
if (javaCorbaAccess == null) {
// Ensure ValueUtility is initialized; we know that that class

View File

@@ -1,314 +0,0 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package javax.transaction.xa;
/** <p>The XAResource interface is a Java mapping of the industry standard
* XA interface based on the X/Open CAE Specification (Distributed
* Transaction Processing: The XA Specification).
*
* <p>The XA interface defines the contract between a Resource Manager
* and a Transaction Manager in a distributed transaction processing
* (DTP) environment. A JDBC driver or a JMS provider implements
* this interface to support the association between a global transaction
* and a database or message service connection.
*
* <p>The XAResource interface can be supported by any transactional
* resource that is intended to be used by application programs in an
* environment where transactions are controlled by an external
* transaction manager. An example of such a resource is a database
* management system. An application may access data through multiple
* database connections. Each database connection is enlisted with
* the transaction manager as a transactional resource. The transaction
* manager obtains an XAResource for each connection participating
* in a global transaction. The transaction manager uses the
* <code>start</code> method
* to associate the global transaction with the resource, and it uses the
* <code>end</code> method to disassociate the transaction from
* the resource. The resource
* manager is responsible for associating the global transaction to all
* work performed on its data between the start and end method invocations.
*
* <p>At transaction commit time, the resource managers are informed by
* the transaction manager to prepare, commit, or rollback a transaction
* according to the two-phase commit protocol.</p>
*
*/
public interface XAResource
{
/** Commits the global transaction specified by xid.
*
* @param xid A global transaction identifier
*
* @param onePhase If true, the resource manager should use a one-phase
* commit protocol to commit the work done on behalf of xid.
*
* @exception XAException An error has occurred. Possible XAExceptions
* are XA_HEURHAZ, XA_HEURCOM, XA_HEURRB, XA_HEURMIX, XAER_RMERR,
* XAER_RMFAIL, XAER_NOTA, XAER_INVAL, or XAER_PROTO.
*
* <P>If the resource manager did not commit the transaction and the
* paramether onePhase is set to true, the resource manager may throw
* one of the XA_RB* exceptions. Upon return, the resource manager has
* rolled back the branch's work and has released all held resources.
*/
void commit(Xid xid, boolean onePhase) throws XAException;
/** Ends the work performed on behalf of a transaction branch.
* The resource manager disassociates the XA resource from the
* transaction branch specified and lets the transaction
* complete.
*
* <p>If TMSUSPEND is specified in the flags, the transaction branch
* is temporarily suspended in an incomplete state. The transaction
* context is in a suspended state and must be resumed via the
* <code>start</code> method with TMRESUME specified.</p>
*
* <p>If TMFAIL is specified, the portion of work has failed.
* The resource manager may mark the transaction as rollback-only</p>
*
* <p>If TMSUCCESS is specified, the portion of work has completed
* successfully.</p>
*
* @param xid A global transaction identifier that is the same as
* the identifier used previously in the <code>start</code> method.
*
* @param flags One of TMSUCCESS, TMFAIL, or TMSUSPEND.
*
* @exception XAException An error has occurred. Possible XAException
* values are XAER_RMERR, XAER_RMFAILED, XAER_NOTA, XAER_INVAL,
* XAER_PROTO, or XA_RB*.
*/
void end(Xid xid, int flags) throws XAException;
/** Tells the resource manager to forget about a heuristically
* completed transaction branch.
*
* @param xid A global transaction identifier.
*
* @exception XAException An error has occurred. Possible exception
* values are XAER_RMERR, XAER_RMFAIL, XAER_NOTA, XAER_INVAL, or
* XAER_PROTO.
*/
void forget(Xid xid) throws XAException;
/** Obtains the current transaction timeout value set for this
* XAResource instance. If <CODE>XAResource.setTransactionTimeout</CODE>
* was not used prior to invoking this method, the return value
* is the default timeout set for the resource manager; otherwise,
* the value used in the previous <CODE>setTransactionTimeout</CODE>
* call is returned.
*
* @return the transaction timeout value in seconds.
*
* @exception XAException An error has occurred. Possible exception
* values are XAER_RMERR and XAER_RMFAIL.
*/
int getTransactionTimeout() throws XAException;
/** This method is called to determine if the resource manager
* instance represented by the target object is the same as the
* resouce manager instance represented by the parameter <i>xares</i>.
*
* @param xares An XAResource object whose resource manager instance
* is to be compared with the resource manager instance of the
* target object.
*
* @return <i>true</i> if it's the same RM instance; otherwise
* <i>false</i>.
*
* @exception XAException An error has occurred. Possible exception
* values are XAER_RMERR and XAER_RMFAIL.
*
*/
boolean isSameRM(XAResource xares) throws XAException;
/** Ask the resource manager to prepare for a transaction commit
* of the transaction specified in xid.
*
* @param xid A global transaction identifier.
*
* @exception XAException An error has occurred. Possible exception
* values are: XA_RB*, XAER_RMERR, XAER_RMFAIL, XAER_NOTA, XAER_INVAL,
* or XAER_PROTO.
*
* @return A value indicating the resource manager's vote on the
* outcome of the transaction. The possible values are: XA_RDONLY
* or XA_OK. If the resource manager wants to roll back the
* transaction, it should do so by raising an appropriate XAException
* in the prepare method.
*/
int prepare(Xid xid) throws XAException;
/** Obtains a list of prepared transaction branches from a resource
* manager. The transaction manager calls this method during recovery
* to obtain the list of transaction branches that are currently in
* prepared or heuristically completed states.
*
* @param flag One of TMSTARTRSCAN, TMENDRSCAN, TMNOFLAGS. TMNOFLAGS
* must be used when no other flags are set in the parameter.
*
* @exception XAException An error has occurred. Possible values are
* XAER_RMERR, XAER_RMFAIL, XAER_INVAL, and XAER_PROTO.
*
* @return The resource manager returns zero or more XIDs of the
* transaction branches that are currently in a prepared or
* heuristically completed state. If an error occurs during the
* operation, the resource manager should throw the appropriate
* XAException.
*
*/
Xid[] recover(int flag) throws XAException;
/** Informs the resource manager to roll back work done on behalf
* of a transaction branch.
*
* @param xid A global transaction identifier.
*
* @exception XAException An error has occurred.
*/
void rollback(Xid xid) throws XAException;
/** <P>Sets the current transaction timeout value for this <CODE>XAResource</CODE>
* instance. Once set, this timeout value is effective until
* <code>setTransactionTimeout</code> is invoked again with a different
* value. To reset the timeout value to the default value used by the resource
* manager, set the value to zero.
*
* If the timeout operation is performed successfully, the method returns
* <i>true</i>; otherwise <i>false</i>. If a resource manager does not
* support explicitly setting the transaction timeout value, this method
* returns <i>false</i>.
*
* @param seconds The transaction timeout value in seconds.
*
* @return <i>true</i> if the transaction timeout value is set successfully;
* otherwise <i>false</i>.
*
* @exception XAException An error has occurred. Possible exception values
* are XAER_RMERR, XAER_RMFAIL, or XAER_INVAL.
*/
boolean setTransactionTimeout(int seconds) throws XAException;
/** Starts work on behalf of a transaction branch specified in
* <code>xid</code>.
*
* If TMJOIN is specified, the start applies to joining a transaction
* previously seen by the resource manager. If TMRESUME is specified,
* the start applies to resuming a suspended transaction specified in the
* parameter <code>xid</code>.
*
* If neither TMJOIN nor TMRESUME is specified and the transaction
* specified by <code>xid</code> has previously been seen by the resource
* manager, the resource manager throws the XAException exception with
* XAER_DUPID error code.
*
* @param xid A global transaction identifier to be associated
* with the resource.
*
* @param flags One of TMNOFLAGS, TMJOIN, or TMRESUME.
*
* @exception XAException An error has occurred. Possible exceptions
* are XA_RB*, XAER_RMERR, XAER_RMFAIL, XAER_DUPID, XAER_OUTSIDE,
* XAER_NOTA, XAER_INVAL, or XAER_PROTO.
*
*/
void start(Xid xid, int flags) throws XAException;
/**
* Ends a recovery scan.
*/
public final static int TMENDRSCAN = 0x00800000;
/**
* Disassociates the caller and marks the transaction branch
* rollback-only.
*/
public final static int TMFAIL = 0x20000000;
/**
* Caller is joining existing transaction branch.
*/
public final static int TMJOIN = 0x00200000;
/**
* Use TMNOFLAGS to indicate no flags value is selected.
*/
public final static int TMNOFLAGS = 0x00000000;
/**
* Caller is using one-phase optimization.
*/
public final static int TMONEPHASE = 0x40000000;
/**
* Caller is resuming association with a suspended
* transaction branch.
*/
public final static int TMRESUME = 0x08000000;
/**
* Starts a recovery scan.
*/
public final static int TMSTARTRSCAN = 0x01000000;
/**
* Disassociates caller from a transaction branch.
*/
public final static int TMSUCCESS = 0x04000000;
/**
* Caller is suspending (not ending) its association with
* a transaction branch.
*/
public final static int TMSUSPEND = 0x02000000;
/**
* The transaction branch has been read-only and has been committed.
*/
public final static int XA_RDONLY = 0x00000003;
/**
* The transaction work has been prepared normally.
*/
public final static int XA_OK = 0;
}

View File

@@ -352,7 +352,7 @@ public abstract class Generator implements sun.rmi.rmic.Generator,
env.output(Main.getText("rmic.generated", file.getPath(), Long.toString(duration)));
}
if (sourceFile) {
env.parseFile(new ClassFile(file));
env.parseFile(ClassFile.newClassFile(file));
}
} catch (IOException e) {
env.error(0, "cant.write", file.toString());

View File

@@ -437,3 +437,22 @@ deb29e92f68ace2808a36ecfa18c7d61dcb645bb jdk9-b29
af46576a8d7cb4003028b8ee8bf408cfe227315b jdk9-b32
9b3f5e4f33725f7c1d9b8e523133fe8383a54d9f jdk9-b33
821164b0131a47ca065697c7d27d8f215e608c8d jdk9-b34
438cb613151c4bd290bb732697517cba1cafcb04 jdk9-b35
464ab653fbb17eb518d8ef60f8df301de7ef00d0 jdk9-b36
b1c2dd843f247a1db19e1e85eb62ca405f72dc26 jdk9-b37
c363a8b87e477ee45d6d3cb2a36cb365141bc596 jdk9-b38
9cb75e5e394827ccbaf2e15524108a412dc4ddc5 jdk9-b39
6b09b3193d731e3288e2a240c504a20d0a06c766 jdk9-b40
1d29b13e8a515a7ea3b882f140576d5d675bc11f jdk9-b41
38cb4fbd47e3472bd1b5ebac83bda96fe4869c4f jdk9-b42
65a9747147b8090037541040ba67156ec914db6a jdk9-b43
43a44b56dca61a4d766a20f0528fdd8b5ceff873 jdk9-b44
5dc8184af1e2bb30b0103113d1f1a58a21a80c37 jdk9-b45
a184ee1d717297bd35b7c3e35393e137921a3ed2 jdk9-b46
3b241fb72b8925b75941d612db762a6d5da66d02 jdk9-b47
cc775a4a24c7f5d9e624b4205e9fbd48a17331f6 jdk9-b48
360cd1fc42f10941a9fd17cc32d5b85a22d12a0b jdk9-b49
e0947f58c9c1426aa0d98b98ebb78357b27a7b99 jdk9-b50
403b9cbadb04d3d1201823591cf931dc93b38e3a jdk9-b51
9fb7fdc554db5be5c5b10f88f529ec3b870c44e3 jdk9-b52
effd5ef0c3eb4bb85aa975c489d6761dbf13ad6a jdk9-b53

View File

@@ -58,15 +58,19 @@ sun.jvm.hotspot.debugger.cdbg.basic.x86 \
sun.jvm.hotspot.debugger.dummy \
sun.jvm.hotspot.debugger.linux \
sun.jvm.hotspot.debugger.linux.amd64 \
sun.jvm.hotspot.debugger.linux.ppc64 \
sun.jvm.hotspot.debugger.linux.x86 \
sun.jvm.hotspot.debugger.posix \
sun.jvm.hotspot.debugger.posix.elf \
sun.jvm.hotspot.debugger.ppc64 \
sun.jvm.hotspot.debugger.proc \
sun.jvm.hotspot.debugger.proc.amd64 \
sun.jvm.hotspot.debugger.proc.ppc64 \
sun.jvm.hotspot.debugger.proc.sparc \
sun.jvm.hotspot.debugger.proc.x86 \
sun.jvm.hotspot.debugger.remote \
sun.jvm.hotspot.debugger.remote.amd64 \
sun.jvm.hotspot.debugger.remote.ppc64 \
sun.jvm.hotspot.debugger.remote.sparc \
sun.jvm.hotspot.debugger.remote.x86 \
sun.jvm.hotspot.debugger.sparc \
@@ -93,9 +97,11 @@ sun.jvm.hotspot.runtime.bsd_amd64 \
sun.jvm.hotspot.runtime.bsd_x86 \
sun.jvm.hotspot.runtime.linux \
sun.jvm.hotspot.runtime.linux_amd64 \
sun.jvm.hotspot.runtime.linux_ppc64 \
sun.jvm.hotspot.runtime.linux_sparc \
sun.jvm.hotspot.runtime.linux_x86 \
sun.jvm.hotspot.runtime.posix \
sun.jvm.hotspot.runtime.ppc64 \
sun.jvm.hotspot.runtime.solaris_amd64 \
sun.jvm.hotspot.runtime.solaris_sparc \
sun.jvm.hotspot.runtime.solaris_x86 \
@@ -142,15 +148,19 @@ sun/jvm/hotspot/debugger/cdbg/basic/amd64/*.java \
sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \
sun/jvm/hotspot/debugger/dummy/*.java \
sun/jvm/hotspot/debugger/linux/*.java \
sun/jvm/hotspot/debugger/linux/ppc64/*.java \
sun/jvm/hotspot/debugger/linux/x86/*.java \
sun/jvm/hotspot/debugger/posix/*.java \
sun/jvm/hotspot/debugger/posix/elf/*.java \
sun/jvm/hotspot/debugger/ppc64/*.java \
sun/jvm/hotspot/debugger/proc/*.java \
sun/jvm/hotspot/debugger/proc/amd64/*.java \
sun/jvm/hotspot/debugger/proc/ppc64/*.java \
sun/jvm/hotspot/debugger/proc/sparc/*.java \
sun/jvm/hotspot/debugger/proc/x86/*.java \
sun/jvm/hotspot/debugger/remote/*.java \
sun/jvm/hotspot/debugger/remote/amd64/*.java \
sun/jvm/hotspot/debugger/remote/ppc64/*.java \
sun/jvm/hotspot/debugger/remote/sparc/*.java \
sun/jvm/hotspot/debugger/remote/x86/*.java \
sun/jvm/hotspot/debugger/sparc/*.java \
@@ -174,9 +184,11 @@ sun/jvm/hotspot/runtime/bsd_amd64/*.java \
sun/jvm/hotspot/runtime/bsd_x86/*.java \
sun/jvm/hotspot/runtime/linux/*.java \
sun/jvm/hotspot/runtime/linux_amd64/*.java \
sun/jvm/hotspot/runtime/linux_ppc64/*.java \
sun/jvm/hotspot/runtime/linux_sparc/*.java \
sun/jvm/hotspot/runtime/linux_x86/*.java \
sun/jvm/hotspot/runtime/posix/*.java \
sun/jvm/hotspot/runtime/ppc64/*.java \
sun/jvm/hotspot/runtime/solaris_amd64/*.java \
sun/jvm/hotspot/runtime/solaris_sparc/*.java \
sun/jvm/hotspot/runtime/solaris_x86/*.java \

View File

@@ -49,6 +49,10 @@
#include "sun_jvm_hotspot_debugger_sparc_SPARCThreadContext.h"
#endif
#ifdef ppc64
#include "sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext.h"
#endif
static jfieldID p_ps_prochandle_ID = 0;
static jfieldID threadList_ID = 0;
static jfieldID loadObjectList_ID = 0;
@@ -341,7 +345,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
return (err == PS_OK)? array : 0;
}
#if defined(i386) || defined(amd64) || defined(sparc) || defined(sparcv9)
#if defined(i386) || defined(amd64) || defined(sparc) || defined(sparcv9) | defined(ppc64) || defined(aarch64)
JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_getThreadIntegerRegisterSet0
(JNIEnv *env, jobject this_obj, jint lwp_id) {
@@ -363,9 +367,16 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
#ifdef amd64
#define NPRGREG sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_NPRGREG
#endif
#ifdef aarch64
#define NPRGREG 32
#endif
#if defined(sparc) || defined(sparcv9)
#define NPRGREG sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_NPRGREG
#endif
#ifdef ppc64
#define NPRGREG sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext_NPRGREG
#endif
array = (*env)->NewLongArray(env, NPRGREG);
CHECK_EXCEPTION_(0);
@@ -458,6 +469,51 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
regs[REG_INDEX(R_O7)] = gregs.u_regs[14];
#endif /* sparc */
#if defined(aarch64)
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_##reg
#endif /* aarch64 */
#ifdef ppc64
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext_##reg
regs[REG_INDEX(LR)] = gregs.link;
regs[REG_INDEX(NIP)] = gregs.nip;
regs[REG_INDEX(R0)] = gregs.gpr[0];
regs[REG_INDEX(R1)] = gregs.gpr[1];
regs[REG_INDEX(R2)] = gregs.gpr[2];
regs[REG_INDEX(R3)] = gregs.gpr[3];
regs[REG_INDEX(R4)] = gregs.gpr[4];
regs[REG_INDEX(R5)] = gregs.gpr[5];
regs[REG_INDEX(R6)] = gregs.gpr[6];
regs[REG_INDEX(R7)] = gregs.gpr[7];
regs[REG_INDEX(R8)] = gregs.gpr[8];
regs[REG_INDEX(R9)] = gregs.gpr[9];
regs[REG_INDEX(R10)] = gregs.gpr[10];
regs[REG_INDEX(R11)] = gregs.gpr[11];
regs[REG_INDEX(R12)] = gregs.gpr[12];
regs[REG_INDEX(R13)] = gregs.gpr[13];
regs[REG_INDEX(R14)] = gregs.gpr[14];
regs[REG_INDEX(R15)] = gregs.gpr[15];
regs[REG_INDEX(R16)] = gregs.gpr[16];
regs[REG_INDEX(R17)] = gregs.gpr[17];
regs[REG_INDEX(R18)] = gregs.gpr[18];
regs[REG_INDEX(R19)] = gregs.gpr[19];
regs[REG_INDEX(R20)] = gregs.gpr[20];
regs[REG_INDEX(R21)] = gregs.gpr[21];
regs[REG_INDEX(R22)] = gregs.gpr[22];
regs[REG_INDEX(R23)] = gregs.gpr[23];
regs[REG_INDEX(R24)] = gregs.gpr[24];
regs[REG_INDEX(R25)] = gregs.gpr[25];
regs[REG_INDEX(R26)] = gregs.gpr[26];
regs[REG_INDEX(R27)] = gregs.gpr[27];
regs[REG_INDEX(R28)] = gregs.gpr[28];
regs[REG_INDEX(R29)] = gregs.gpr[29];
regs[REG_INDEX(R30)] = gregs.gpr[30];
regs[REG_INDEX(R31)] = gregs.gpr[31];
#endif
(*env)->ReleaseLongArrayElements(env, array, regs, JNI_COMMIT);
return array;

View File

@@ -71,6 +71,9 @@ combination of ptrace and /proc calls.
#if defined(sparc) || defined(sparcv9) || defined(ppc64)
#define user_regs_struct pt_regs
#endif
#if defined(aarch64)
#define user_regs_struct user_pt_regs
#endif
// This C bool type must be int for compatibility with Linux calls and
// it would be a mistake to equivalence it to C++ bool on many platforms

View File

@@ -27,9 +27,11 @@
#include <string.h>
#include <signal.h>
#include <errno.h>
#include <elf.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/ptrace.h>
#include <sys/uio.h>
#include "libproc_impl.h"
#if defined(x86_64) && !defined(amd64)
@@ -138,6 +140,15 @@ static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct use
return false;
}
return true;
#elif defined(PTRACE_GETREGSET)
struct iovec iov;
iov.iov_base = user;
iov.iov_len = sizeof(*user);
if (ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, (void*) &iov) < 0) {
print_debug("ptrace(PTRACE_GETREGSET, ...) failed for lwp %d\n", pid);
return false;
}
return true;
#else
print_debug("ptrace(PTRACE_GETREGS, ...) not supported\n");
return false;

View File

@@ -325,6 +325,12 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
// Reading of elf header
struct elf_section *scn_cache = NULL;
#if defined(ppc64) && !defined(ABI_ELFv2)
// Only big endian ppc64 (i.e. ABI_ELFv1) has 'official procedure descriptors' in ELF files
// see: http://refspecs.linuxfoundation.org/LSB_3.1.1/LSB-Core-PPC64/LSB-Core-PPC64/specialsections.html
struct elf_section *opd_sect = NULL;
ELF_SHDR *opd = NULL;
#endif
int cnt = 0;
ELF_SHDR* shbuf = NULL;
ELF_SHDR* cursct = NULL;
@@ -368,6 +374,14 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
cursct++;
}
#if defined(ppc64) && !defined(ABI_ELFv2)
opd_sect = find_section_by_name(".opd", fd, &ehdr, scn_cache);
if (opd_sect != NULL && opd_sect->c_data != NULL && opd_sect->c_shdr != NULL) {
// plausibility check
opd = opd_sect->c_shdr;
}
#endif
for (cnt = 1; cnt < ehdr.e_shnum; cnt++) {
ELF_SHDR *shdr = scn_cache[cnt].c_shdr;
@@ -412,6 +426,7 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
// copy symbols info our symtab and enter them info the hash table
for (j = 0; j < n; j++, syms++) {
ENTRY item, *ret;
uintptr_t sym_value;
char *sym_name = symtab->strs + syms->st_name;
// skip non-object and non-function symbols
@@ -422,9 +437,19 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
if (*sym_name == '\0' || syms->st_shndx == SHN_UNDEF) continue;
symtab->symbols[j].name = sym_name;
symtab->symbols[j].offset = syms->st_value - baseaddr;
symtab->symbols[j].size = syms->st_size;
sym_value = syms->st_value;
#if defined(ppc64) && !defined(ABI_ELFv2)
// see hotspot/src/share/vm/utilities/elfFuncDescTable.hpp for a detailed description
// of why we have to go this extra way via the '.opd' section on big endian ppc64
if (opd != NULL && *sym_name != '.' &&
(opd->sh_addr <= sym_value && sym_value <= opd->sh_addr + opd->sh_size)) {
sym_value = ((ELF_ADDR*)opd_sect->c_data)[(sym_value - opd->sh_addr) / sizeof(ELF_ADDR*)];
}
#endif
symtab->symbols[j].offset = sym_value - baseaddr;
item.key = sym_name;
item.data = (void *)&(symtab->symbols[j]);
@@ -433,9 +458,17 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
}
}
#if defined(ppc64) && !defined(ABI_ELFv2)
// On Linux/PPC64 the debuginfo files contain an empty function descriptor
// section (i.e. '.opd' section) which makes the resolution of symbols
// with the above algorithm impossible (we would need the have both, the
// .opd section from the library and the symbol table from the debuginfo
// file which doesn't match with the current workflow.)
goto quit;
#endif
// Look for a separate debuginfo file.
if (try_debuginfo) {
// We prefer a debug symtab to an object's own symtab, so look in
// the debuginfo file. We stash a copy of the old symtab in case
// there is no debuginfo.

View File

@@ -22,6 +22,9 @@
*
*/
// Disable CRT security warning against strcpy/strcat
#pragma warning(disable: 4996)
// this is source code windbg based SA debugger agent to debug
// Dr. Watson dump files and process snapshots.

View File

@@ -34,6 +34,7 @@ import sun.jvm.hotspot.debugger.JVMDebugger;
import sun.jvm.hotspot.debugger.MachineDescription;
import sun.jvm.hotspot.debugger.MachineDescriptionAMD64;
import sun.jvm.hotspot.debugger.MachineDescriptionPPC64;
import sun.jvm.hotspot.debugger.MachineDescriptionAArch64;
import sun.jvm.hotspot.debugger.MachineDescriptionIA64;
import sun.jvm.hotspot.debugger.MachineDescriptionIntelX86;
import sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit;
@@ -591,6 +592,8 @@ public class HotSpotAgent {
machDesc = new MachineDescriptionAMD64();
} else if (cpu.equals("ppc64")) {
machDesc = new MachineDescriptionPPC64();
} else if (cpu.equals("aarch64")) {
machDesc = new MachineDescriptionAArch64();
} else if (cpu.equals("sparc")) {
if (LinuxDebuggerLocal.getAddressSize()==8) {
machDesc = new MachineDescriptionSPARC64Bit();

View File

@@ -0,0 +1,39 @@
/*
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger;
public class MachineDescriptionAArch64 extends MachineDescriptionTwosComplement implements MachineDescription {
public long getAddressSize() {
return 8;
}
public boolean isLP64() {
return true;
}
public boolean isBigEndian() {
return false;
}
}

View File

@@ -34,6 +34,6 @@ public class MachineDescriptionPPC64 extends MachineDescriptionTwosComplement im
}
public boolean isBigEndian() {
return true;
return "big".equals(System.getProperty("sun.cpu.endian"));
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.amd64;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -39,6 +41,9 @@ public abstract class AMD64ThreadContext implements ThreadContext {
// subset of the registers' values are guaranteed to be present (and
// must be present for the SA's stack walking to work)
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int R15 = 0;
public static final int R14 = 1;
public static final int R13 = 2;

View File

@@ -26,14 +26,17 @@ package sun.jvm.hotspot.debugger.linux;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
import sun.jvm.hotspot.debugger.x86.*;
import sun.jvm.hotspot.debugger.amd64.*;
import sun.jvm.hotspot.debugger.sparc.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.linux.x86.*;
import sun.jvm.hotspot.debugger.linux.amd64.*;
import sun.jvm.hotspot.debugger.linux.sparc.*;
import sun.jvm.hotspot.debugger.linux.ppc64.*;
import sun.jvm.hotspot.utilities.*;
class LinuxCDebugger implements CDebugger {
@@ -96,7 +99,14 @@ class LinuxCDebugger implements CDebugger {
Address pc = context.getRegisterAsAddress(SPARCThreadContext.R_O7);
if (pc == null) return null;
return new LinuxSPARCCFrame(dbg, sp, pc, LinuxDebuggerLocal.getAddressSize());
} else {
} else if (cpu.equals("ppc64")) {
PPC64ThreadContext context = (PPC64ThreadContext) thread.getContext();
Address sp = context.getRegisterAsAddress(PPC64ThreadContext.SP);
if (sp == null) return null;
Address pc = context.getRegisterAsAddress(PPC64ThreadContext.PC);
if (pc == null) return null;
return new LinuxPPC64CFrame(dbg, sp, pc, LinuxDebuggerLocal.getAddressSize());
} else {
// Runtime exception thrown by LinuxThreadContextFactory if unknown cpu
ThreadContext context = (ThreadContext) thread.getContext();
return context.getTopFrame(dbg);

View File

@@ -29,6 +29,7 @@ import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.linux.amd64.*;
import sun.jvm.hotspot.debugger.linux.ia64.*;
import sun.jvm.hotspot.debugger.linux.x86.*;
import sun.jvm.hotspot.debugger.linux.ppc64.*;
import sun.jvm.hotspot.debugger.linux.sparc.*;
class LinuxThreadContextFactory {
@@ -42,6 +43,8 @@ class LinuxThreadContextFactory {
return new LinuxIA64ThreadContext(dbg);
} else if (cpu.equals("sparc")) {
return new LinuxSPARCThreadContext(dbg);
} else if (cpu.equals("ppc64")) {
return new LinuxPPC64ThreadContext(dbg);
} else {
try {
Class tcc = Class.forName("sun.jvm.hotspot.debugger.linux." +

View File

@@ -0,0 +1,79 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.linux.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.linux.*;
import sun.jvm.hotspot.debugger.cdbg.*;
import sun.jvm.hotspot.debugger.cdbg.basic.*;
final public class LinuxPPC64CFrame extends BasicCFrame {
// package/class internals only
public LinuxPPC64CFrame(LinuxDebugger dbg, Address sp, Address pc, int address_size) {
super(dbg.getCDebugger());
this.sp = sp;
this.pc = pc;
this.dbg = dbg;
this.address_size = address_size;
}
// override base class impl to avoid ELF parsing
public ClosestSymbol closestSymbolToPC() {
// try native lookup in debugger.
return dbg.lookup(dbg.getAddressValue(pc()));
}
public Address pc() {
return pc;
}
public Address localVariableBase() {
return sp;
}
public CFrame sender(ThreadProxy thread) {
if (sp == null) {
return null;
}
Address nextSP = sp.getAddressAt(0);
if (nextSP == null) {
return null;
}
Address nextPC = sp.getAddressAt(2 * address_size);
if (nextPC == null) {
return null;
}
return new LinuxPPC64CFrame(dbg, nextSP, nextPC, address_size);
}
public static int PPC64_STACK_BIAS = 0;
private static int address_size;
private Address pc;
private Address sp;
private LinuxDebugger dbg;
}

View File

@@ -0,0 +1,46 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.linux.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.linux.*;
public class LinuxPPC64ThreadContext extends PPC64ThreadContext {
private LinuxDebugger debugger;
public LinuxPPC64ThreadContext(LinuxDebugger debugger) {
super();
this.debugger = debugger;
}
public void setRegisterAsAddress(int index, Address value) {
setRegister(index, debugger.getAddressValue(value));
}
public Address getRegisterAsAddress(int index) {
return debugger.newAddress(getRegister(index));
}
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.ppc64;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
/** Specifies the thread context on ppc64 platforms; only a sub-portion
* of the context is guaranteed to be present on all operating
* systems. */
public abstract class PPC64ThreadContext implements ThreadContext {
// NOTE: The indices for the various registers must be maintained as
// listed across various operating systems. However, only a small
// subset of the registers' values are guaranteed to be present (and
// must be present for the SA's stack walking to work).
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int R31 = 0;
public static final int R30 = 1;
public static final int R29 = 2;
public static final int R28 = 3;
public static final int R27 = 4;
public static final int R26 = 5;
public static final int R25 = 6;
public static final int R24 = 7;
public static final int R23 = 8;
public static final int R22 = 9;
public static final int R21 = 10;
public static final int R20 = 11;
public static final int R19 = 12;
public static final int R18 = 13;
public static final int R17 = 14;
public static final int R16 = 15;
public static final int R15 = 16;
public static final int R14 = 17;
public static final int R13 = 18;
public static final int R12 = 19;
public static final int R11 = 20;
public static final int R10 = 21;
public static final int R9 = 22;
public static final int R8 = 23;
public static final int R7 = 24;
public static final int R6 = 25;
public static final int R5 = 26;
public static final int R4 = 27;
public static final int R3 = 28;
public static final int R2 = 29;
public static final int R1 = 30;
public static final int R0 = 31;
public static final int NIP = 32;
public static final int LR = 33;
public static final int NPRGREG = 34;
private static final String[] regNames = {
"r31", "r30", "r29", "r28", "r27", "r26", "r25", "r24",
"r23", "r22", "r21", "r20", "r19", "r18", "r17", "r16",
"r15", "r14", "r13", "r12", "r11", "r10", "r9", "r8",
"r7", "r6", "r5", "r4", "r3", "r2", "r1", "r0",
"nip", "link"
};
public static final int PC = NIP;
public static final int SP = R1;
private long[] data;
public PPC64ThreadContext() {
data = new long[NPRGREG];
}
public int getNumRegisters() {
return NPRGREG;
}
public String getRegisterName(int index) {
return regNames[index];
}
public void setRegister(int index, long value) {
data[index] = value;
}
public long getRegister(int index) {
return data[index];
}
public CFrame getTopFrame(Debugger dbg) {
return null;
}
/** This can't be implemented in this class since we would have to
* tie the implementation to, for example, the debugging system */
public abstract void setRegisterAsAddress(int index, Address value);
/** This can't be implemented in this class since we would have to
* tie the implementation to, for example, the debugging system */
public abstract Address getRegisterAsAddress(int index);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,7 +32,9 @@ import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
import sun.jvm.hotspot.debugger.proc.amd64.*;
import sun.jvm.hotspot.debugger.proc.sparc.*;
import sun.jvm.hotspot.debugger.proc.ppc64.*;
import sun.jvm.hotspot.debugger.proc.x86.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.amd64.*;
import sun.jvm.hotspot.debugger.sparc.*;
import sun.jvm.hotspot.debugger.x86.*;
@@ -86,6 +88,10 @@ public class ProcDebuggerLocal extends DebuggerBase implements ProcDebugger {
threadFactory = new ProcAMD64ThreadFactory(this);
pcRegIndex = AMD64ThreadContext.RIP;
fpRegIndex = AMD64ThreadContext.RBP;
} else if (cpu.equals("ppc64")) {
threadFactory = new ProcPPC64ThreadFactory(this);
pcRegIndex = PPC64ThreadContext.PC;
fpRegIndex = PPC64ThreadContext.SP;
} else {
try {
Class tfc = Class.forName("sun.jvm.hotspot.debugger.proc." +

View File

@@ -0,0 +1,86 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.proc.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.proc.*;
import sun.jvm.hotspot.utilities.*;
public class ProcPPC64Thread implements ThreadProxy {
private ProcDebugger debugger;
private int id;
public ProcPPC64Thread(ProcDebugger debugger, Address addr) {
this.debugger = debugger;
// FIXME: the size here should be configurable. However, making it
// so would produce a dependency on the "types" package from the
// debugger package, which is not desired.
this.id = (int) addr.getCIntegerAt(0, 4, true);
}
public ProcPPC64Thread(ProcDebugger debugger, long id) {
this.debugger = debugger;
this.id = (int) id;
}
public ThreadContext getContext() throws IllegalThreadStateException {
ProcPPC64ThreadContext context = new ProcPPC64ThreadContext(debugger);
long[] regs = debugger.getThreadIntegerRegisterSet(id);
if (Assert.ASSERTS_ENABLED) {
Assert.that(regs.length <= PPC64ThreadContext.NPRGREG, "size of register set is greater than " + PPC64ThreadContext.NPRGREG);
}
for (int i = 0; i < regs.length; i++) {
context.setRegister(i, regs[i]);
}
return context;
}
public boolean canSetContext() throws DebuggerException {
return false;
}
public void setContext(ThreadContext context)
throws IllegalThreadStateException, DebuggerException {
throw new DebuggerException("Unimplemented");
}
public String toString() {
return "t@" + id;
}
public boolean equals(Object obj) {
if ((obj == null) || !(obj instanceof ProcPPC64Thread)) {
return false;
}
return (((ProcPPC64Thread) obj).id == id);
}
public int hashCode() {
return id;
}
}

View File

@@ -0,0 +1,46 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.proc.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.proc.*;
public class ProcPPC64ThreadContext extends PPC64ThreadContext {
private ProcDebugger debugger;
public ProcPPC64ThreadContext(ProcDebugger debugger) {
super();
this.debugger = debugger;
}
public void setRegisterAsAddress(int index, Address value) {
setRegister(index, debugger.getAddressValue(value));
}
public Address getRegisterAsAddress(int index) {
return debugger.newAddress(getRegister(index));
}
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.proc.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.proc.*;
public class ProcPPC64ThreadFactory implements ProcThreadFactory {
private ProcDebugger debugger;
public ProcPPC64ThreadFactory(ProcDebugger debugger) {
this.debugger = debugger;
}
public ThreadProxy createThreadWrapper(Address threadIdentifierAddr) {
return new ProcPPC64Thread(debugger, threadIdentifierAddr);
}
public ThreadProxy createThreadWrapper(long id) {
return new ProcPPC64Thread(debugger, id);
}
}

View File

@@ -33,6 +33,7 @@ import sun.jvm.hotspot.debugger.cdbg.*;
import sun.jvm.hotspot.debugger.remote.sparc.*;
import sun.jvm.hotspot.debugger.remote.x86.*;
import sun.jvm.hotspot.debugger.remote.amd64.*;
import sun.jvm.hotspot.debugger.remote.ppc64.*;
/** An implementation of Debugger which wraps a
RemoteDebugger, providing remote debugging via RMI.
@@ -70,6 +71,11 @@ public class RemoteDebuggerClient extends DebuggerBase implements JVMDebugger {
cachePageSize = 4096;
cacheNumPages = parseCacheNumPagesProperty(cacheSize / cachePageSize);
unalignedAccessesOkay = true;
} else if (cpu.equals("ppc64")) {
threadFactory = new RemotePPC64ThreadFactory(this);
cachePageSize = 4096;
cacheNumPages = parseCacheNumPagesProperty(cacheSize / cachePageSize);
unalignedAccessesOkay = true;
} else {
try {
Class tf = Class.forName("sun.jvm.hotspot.debugger.remote." +

View File

@@ -0,0 +1,53 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.remote.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.remote.*;
import sun.jvm.hotspot.utilities.*;
public class RemotePPC64Thread extends RemoteThread {
public RemotePPC64Thread(RemoteDebuggerClient debugger, Address addr) {
super(debugger, addr);
}
public RemotePPC64Thread(RemoteDebuggerClient debugger, long id) {
super(debugger, id);
}
public ThreadContext getContext() throws IllegalThreadStateException {
RemotePPC64ThreadContext context = new RemotePPC64ThreadContext(debugger);
long[] regs = (addr != null)? debugger.getThreadIntegerRegisterSet(addr) :
debugger.getThreadIntegerRegisterSet(id);
if (Assert.ASSERTS_ENABLED) {
Assert.that(regs.length == PPC64ThreadContext.NPRGREG, "size of register set must match");
}
for (int i = 0; i < regs.length; i++) {
context.setRegister(i, regs[i]);
}
return context;
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.remote.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.debugger.remote.*;
public class RemotePPC64ThreadContext extends PPC64ThreadContext {
private RemoteDebuggerClient debugger;
public RemotePPC64ThreadContext(RemoteDebuggerClient debugger) {
super();
this.debugger = debugger;
}
/** This can't be implemented in this class since we would have to
tie the implementation to, for example, the debugging system */
public void setRegisterAsAddress(int index, Address value) {
setRegister(index, debugger.getAddressValue(value));
}
/** This can't be implemented in this class since we would have to
tie the implementation to, for example, the debugging system */
public Address getRegisterAsAddress(int index) {
return debugger.newAddress(getRegister(index));
}
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.debugger.remote.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.remote.*;
public class RemotePPC64ThreadFactory implements RemoteThreadFactory {
private RemoteDebuggerClient debugger;
public RemotePPC64ThreadFactory(RemoteDebuggerClient debugger) {
this.debugger = debugger;
}
public ThreadProxy createThreadWrapper(Address threadIdentifierAddr) {
return new RemotePPC64Thread(debugger, threadIdentifierAddr);
}
public ThreadProxy createThreadWrapper(long id) {
return new RemotePPC64Thread(debugger, id);
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.sparc;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -34,6 +36,10 @@ import sun.jvm.hotspot.debugger.cdbg.*;
public abstract class SPARCThreadContext implements ThreadContext {
// Taken from /usr/include/sys/procfs_isa.h
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int R_G0 = 0;
public static final int R_G1 = 1;
public static final int R_G2 = 2;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,8 @@
package sun.jvm.hotspot.debugger.x86;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
@@ -40,6 +42,9 @@ public abstract class X86ThreadContext implements ThreadContext {
// must be present for the SA's stack walking to work): EAX, EBX,
// ECX, EDX, ESI, EDI, EBP, ESP, and EIP.
// One instance of the Native annotation is enough to trigger header generation
// for this file.
@Native
public static final int GS = 0;
public static final int FS = 1;
public static final int ES = 2;

View File

@@ -64,8 +64,8 @@ public class DefNewGeneration extends Generation {
}
// Accessing spaces
public EdenSpace eden() {
return (EdenSpace) VMObjectFactory.newObject(EdenSpace.class, edenSpaceField.getValue(addr));
public ContiguousSpace eden() {
return (ContiguousSpace) VMObjectFactory.newObject(ContiguousSpace.class, edenSpaceField.getValue(addr));
}
public ContiguousSpace from() {

View File

@@ -1,40 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.memory;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
/** <P> Class EdenSpace describes eden-space in new
generation. (Currently it does not add any significant
functionality beyond ContiguousSpace.) */
public class EdenSpace extends ContiguousSpace {
public EdenSpace(Address addr) {
super(addr);
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -35,7 +35,8 @@ import sun.jvm.hotspot.utilities.*;
public class GenCollectedHeap extends SharedHeap {
private static CIntegerField nGensField;
private static long gensOffset;
private static AddressField youngGenField;
private static AddressField oldGenField;
private static AddressField genSpecsField;
private static GenerationFactory genFactory;
@@ -52,7 +53,8 @@ public class GenCollectedHeap extends SharedHeap {
Type type = db.lookupType("GenCollectedHeap");
nGensField = type.getCIntegerField("_n_gens");
gensOffset = type.getField("_gens").getOffset();
youngGenField = type.getAddressField("_young_gen");
oldGenField = type.getAddressField("_old_gen");
genSpecsField = type.getAddressField("_gen_specs");
genFactory = new GenerationFactory();
@@ -68,18 +70,19 @@ public class GenCollectedHeap extends SharedHeap {
public Generation getGen(int i) {
if (Assert.ASSERTS_ENABLED) {
Assert.that((i >= 0) && (i < nGens()), "Index " + i +
" out of range (should be between 0 and " + nGens() + ")");
Assert.that((i == 0) || (i == 1), "Index " + i +
" out of range (should be 0 or 1)");
}
if ((i < 0) || (i >= nGens())) {
switch (i) {
case 0:
return genFactory.newObject(youngGenField.getValue(addr));
case 1:
return genFactory.newObject(oldGenField.getValue(addr));
default:
// no generation for i, and assertions disabled.
return null;
}
Address genAddr = addr.getAddressAt(gensOffset +
(i * VM.getVM().getAddressSize()));
return genFactory.newObject(addr.getAddressAt(gensOffset +
(i * VM.getVM().getAddressSize())));
}
public boolean isIn(Address a) {

View File

@@ -37,10 +37,7 @@ import sun.jvm.hotspot.runtime.*;
<ul>
<li> CardGeneration
<ul>
<li> OneContigSpaceCardGeneration
<ul>
<li> TenuredGeneration
</ul>
<li> TenuredGeneration
</ul>
<li> DefNewGeneration
</ul>

View File

@@ -1,82 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.memory;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
/** <P> OneSpaceOldGeneration models a heap of old objects contained
in a single contiguous space. </P>
<P> Garbage collection is performed using mark-compact. </P> */
public abstract class OneContigSpaceCardGeneration extends CardGeneration {
private static AddressField theSpaceField;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static synchronized void initialize(TypeDataBase db) {
Type type = db.lookupType("OneContigSpaceCardGeneration");
theSpaceField = type.getAddressField("_the_space");
}
public OneContigSpaceCardGeneration(Address addr) {
super(addr);
}
public ContiguousSpace theSpace() {
return (ContiguousSpace) VMObjectFactory.newObject(ContiguousSpace.class, theSpaceField.getValue(addr));
}
public boolean isIn(Address p) {
return theSpace().contains(p);
}
/** Space queries */
public long capacity() { return theSpace().capacity(); }
public long used() { return theSpace().used(); }
public long free() { return theSpace().free(); }
public long contiguousAvailable() { return theSpace().free() + virtualSpace().uncommittedSize(); }
public void spaceIterate(SpaceClosure blk, boolean usedOnly) {
blk.doSpace(theSpace());
}
public void printOn(PrintStream tty) {
tty.print(" old ");
theSpace().printOn(tty);
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -44,15 +44,22 @@ public class SymbolTable extends sun.jvm.hotspot.utilities.Hashtable {
private static synchronized void initialize(TypeDataBase db) {
Type type = db.lookupType("SymbolTable");
theTableField = type.getAddressField("_the_table");
sharedTableField = type.getAddressField("_shared_table");
}
// Fields
private static AddressField theTableField;
private static AddressField sharedTableField;
private CompactHashTable sharedTable;
// Accessors
public static SymbolTable getTheTable() {
Address tmp = theTableField.getValue();
return (SymbolTable) VMObjectFactory.newObject(SymbolTable.class, tmp);
SymbolTable table = (SymbolTable) VMObjectFactory.newObject(SymbolTable.class, tmp);
Address shared = sharedTableField.getStaticFieldAddress();
table.sharedTable = (CompactHashTable)VMObjectFactory.newObject(CompactHashTable.class, shared);
return table;
}
public SymbolTable(Address addr) {
@@ -73,8 +80,9 @@ public class SymbolTable extends sun.jvm.hotspot.utilities.Hashtable {
/** Clone of VM's "temporary" probe routine, as the SA currently
does not support mutation so lookup() would have no effect
anyway. Returns null if the given string is not in the symbol
table. */
anyway. Searches the regular symbol table and the shared symbol
table. Null is returned if the given name is not found in both
tables. */
public Symbol probe(byte[] name) {
long hashValue = hashSymbol(name);
for (HashtableEntry e = (HashtableEntry) bucket(hashToIndex(hashValue)); e != null; e = (HashtableEntry) e.next()) {
@@ -85,7 +93,8 @@ public class SymbolTable extends sun.jvm.hotspot.utilities.Hashtable {
}
}
}
return null;
return sharedTable.probe(name, hashValue);
}
public interface SymbolVisitor {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,13 +24,62 @@
package sun.jvm.hotspot.memory;
import sun.jvm.hotspot.debugger.*;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
/** <P> TenuredGeneration models a heap of old objects contained
in a single contiguous space. </P>
<P> Garbage collection is performed using mark-compact. </P> */
public class TenuredGeneration extends CardGeneration {
private static AddressField theSpaceField;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static synchronized void initialize(TypeDataBase db) {
Type type = db.lookupType("TenuredGeneration");
theSpaceField = type.getAddressField("_the_space");
}
public class TenuredGeneration extends OneContigSpaceCardGeneration {
public TenuredGeneration(Address addr) {
super(addr);
}
public ContiguousSpace theSpace() {
return (ContiguousSpace) VMObjectFactory.newObject(ContiguousSpace.class, theSpaceField.getValue(addr));
}
public boolean isIn(Address p) {
return theSpace().contains(p);
}
/** Space queries */
public long capacity() { return theSpace().capacity(); }
public long used() { return theSpace().used(); }
public long free() { return theSpace().free(); }
public long contiguousAvailable() { return theSpace().free() + virtualSpace().uncommittedSize(); }
public void spaceIterate(SpaceClosure blk, boolean usedOnly) {
blk.doSpace(theSpace());
}
public void printOn(PrintStream tty) {
tty.print(" old ");
theSpace().printOn(tty);
}
public Generation.Name kind() {
return Generation.Name.MARK_SWEEP_COMPACT;
}

View File

@@ -219,7 +219,7 @@ public class OopUtilities implements /* imports */ JVMTIThreadState {
if (threadNameField == null) {
SystemDictionary sysDict = VM.getVM().getSystemDictionary();
InstanceKlass k = sysDict.getThreadKlass();
threadNameField = (OopField) k.findField("name", "[C");
threadNameField = (OopField) k.findField("name", "Ljava/lang/String;");
threadGroupField = (OopField) k.findField("group", "Ljava/lang/ThreadGroup;");
threadEETopField = (LongField) k.findField("eetop", "J");
threadTIDField = (LongField) k.findField("tid", "J");
@@ -258,7 +258,7 @@ public class OopUtilities implements /* imports */ JVMTIThreadState {
public static String threadOopGetName(Oop threadOop) {
initThreadFields();
return charArrayToString((TypeArray) threadNameField.getValue(threadOop));
return stringOopToString(threadNameField.getValue(threadOop));
}
/** May return null if, e.g., thread was not started */

View File

@@ -0,0 +1,41 @@
/*
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.types.*;
public class CodeCacheSweeperThread extends JavaThread {
public CodeCacheSweeperThread(Address addr) {
super(addr);
}
public boolean isJavaThread() { return false; }
public boolean isHiddenFromExternalView() { return true; }
public boolean isCodeCacheSweeperThread() { return true; }
}

View File

@@ -118,9 +118,10 @@ public class JavaThread extends Thread {
return VM.getVM().getThreads().createJavaThreadWrapper(threadAddr);
}
/** NOTE: for convenience, this differs in definition from the
underlying VM. Only "pure" JavaThreads return true;
CompilerThreads and JVMDIDebuggerThreads return false. FIXME:
/** NOTE: for convenience, this differs in definition from the underlying VM.
Only "pure" JavaThreads return true; CompilerThreads, the CodeCacheSweeperThread,
JVMDIDebuggerThreads return false.
FIXME:
consider encapsulating platform-specific functionality in an
object instead of using inheritance (which is the primary reason
we can't traverse CompilerThreads, etc; didn't want to have, for

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -50,8 +50,8 @@ public class ObjectMonitor extends VMObject {
ownerFieldOffset = f.getOffset();
f = type.getField("FreeNext");
FreeNextFieldOffset = f.getOffset();
countField = type.getCIntegerField("_count");
waitersField = type.getCIntegerField("_waiters");
countField = type.getJIntField("_count");
waitersField = type.getJIntField("_waiters");
recursionsField = type.getCIntegerField("_recursions");
}
@@ -81,15 +81,15 @@ public class ObjectMonitor extends VMObject {
// FIXME
// void set_owner(void* owner);
public long waiters() { return waitersField.getValue(addr); }
public int waiters() { return waitersField.getValue(addr); }
public Address freeNext() { return addr.getAddressAt(FreeNextFieldOffset); }
// FIXME
// void set_queue(void* owner);
public long count() { return countField.getValue(addr); }
public int count() { return countField.getValue(addr); }
// FIXME
// void set_count(intptr_t count);
// void set_count(int count);
public long recursions() { return recursionsField.getValue(addr); }
@@ -97,18 +97,9 @@ public class ObjectMonitor extends VMObject {
return addr.getOopHandleAt(objectFieldOffset);
}
public long contentions() {
// refer to objectMonitor_xxx.inline.hpp - contentions definition.
// for Solaris and Linux, contentions is same as count. for Windows
// it is different (objectMonitor_win32.inline.hpp)
long count = count();
if (VM.getVM().getOS().equals("win32")) {
// don't count the owner of the monitor
return count > 0? count - 1 : 0;
} else {
// Solaris and Linux
return count;
}
// contentions is always equal to count
public int contentions() {
return count();
}
// FIXME
@@ -123,8 +114,8 @@ public class ObjectMonitor extends VMObject {
private static long objectFieldOffset;
private static long ownerFieldOffset;
private static long FreeNextFieldOffset;
private static CIntegerField countField;
private static CIntegerField waitersField;
private static JIntField countField;
private static JIntField waitersField;
private static CIntegerField recursionsField;
// FIXME: expose platform-dependent stuff
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -48,9 +48,17 @@ public class ObjectSynchronizer {
blockListField = type.getAddressField("gBlockList");
gBlockListAddr = blockListField.getValue();
blockSize = db.lookupIntConstant("ObjectSynchronizer::_BLOCKSIZE").intValue();
defaultCacheLineSize = db.lookupIntConstant("DEFAULT_CACHE_LINE_SIZE").intValue();
} catch (RuntimeException e) { }
type = db.lookupType("ObjectMonitor");
objectMonitorTypeSize = type.getSize();
if ((objectMonitorTypeSize % defaultCacheLineSize) != 0) {
// sizeof(ObjectMonitor) is not already a multiple of a cache line.
// The ObjectMonitor allocation code in ObjectSynchronizer pads each
// ObjectMonitor in a block to the next cache line boundary.
int needLines = ((int)objectMonitorTypeSize / defaultCacheLineSize) + 1;
objectMonitorTypeSize = needLines * defaultCacheLineSize;
}
}
public long identityHashValueFor(Oop obj) {
@@ -122,6 +130,7 @@ public class ObjectSynchronizer {
private static Address gBlockListAddr;
private static int blockSize;
private static int defaultCacheLineSize;
private static long objectMonitorTypeSize;
}

View File

@@ -111,14 +111,15 @@ public class Thread extends VMObject {
return allocatedBytesField.getValue(addr);
}
public boolean isVMThread() { return false; }
public boolean isJavaThread() { return false; }
public boolean isCompilerThread() { return false; }
public boolean isHiddenFromExternalView() { return false; }
public boolean isJvmtiAgentThread() { return false; }
public boolean isWatcherThread() { return false; }
public boolean isVMThread() { return false; }
public boolean isJavaThread() { return false; }
public boolean isCompilerThread() { return false; }
public boolean isCodeCacheSweeperThread() { return false; }
public boolean isHiddenFromExternalView() { return false; }
public boolean isJvmtiAgentThread() { return false; }
public boolean isWatcherThread() { return false; }
public boolean isConcurrentMarkSweepThread() { return false; }
public boolean isServiceThread() { return false; }
public boolean isServiceThread() { return false; }
/** Memory operations */
public void oopsDo(AddressVisitor oopVisitor) {

View File

@@ -25,6 +25,7 @@
package sun.jvm.hotspot.runtime;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.runtime.solaris_sparc.SolarisSPARCJavaThreadPDAccess;
@@ -34,6 +35,7 @@ import sun.jvm.hotspot.runtime.win32_amd64.Win32AMD64JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.win32_x86.Win32X86JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.linux_x86.LinuxX86JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.linux_amd64.LinuxAMD64JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.linux_ppc64.LinuxPPC64JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.linux_sparc.LinuxSPARCJavaThreadPDAccess;
import sun.jvm.hotspot.runtime.bsd_x86.BsdX86JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess;
@@ -87,6 +89,8 @@ public class Threads {
access = new LinuxAMD64JavaThreadPDAccess();
} else if (cpu.equals("sparc")) {
access = new LinuxSPARCJavaThreadPDAccess();
} else if (cpu.equals("ppc64")) {
access = new LinuxPPC64JavaThreadPDAccess();
} else {
try {
access = (JavaThreadPDAccess)
@@ -120,6 +124,7 @@ public class Threads {
virtualConstructor.addMapping("JavaThread", JavaThread.class);
if (!VM.getVM().isCore()) {
virtualConstructor.addMapping("CompilerThread", CompilerThread.class);
virtualConstructor.addMapping("CodeCacheSweeperThread", CodeCacheSweeperThread.class);
}
// for now, use JavaThread itself. fix it later with appropriate class if needed
virtualConstructor.addMapping("SurrogateLockerThread", JavaThread.class);
@@ -164,7 +169,7 @@ public class Threads {
return thread;
} catch (Exception e) {
throw new RuntimeException("Unable to deduce type of thread from address " + threadAddr +
" (expected type JavaThread, CompilerThread, ServiceThread, JvmtiAgentThread, or SurrogateLockerThread)", e);
" (expected type JavaThread, CompilerThread, ServiceThread, JvmtiAgentThread, SurrogateLockerThread, or CodeCacheSweeperThread)", e);
}
}
@@ -201,7 +206,7 @@ public class Threads {
public List getPendingThreads(ObjectMonitor monitor) {
List pendingThreads = new ArrayList();
for (JavaThread thread = first(); thread != null; thread = thread.next()) {
if (thread.isCompilerThread()) {
if (thread.isCompilerThread() || thread.isCodeCacheSweeperThread()) {
continue;
}
ObjectMonitor pending = thread.getCurrentPendingMonitor();

View File

@@ -78,7 +78,7 @@ public class VFrame {
}
if (f.isRuntimeFrame()) {
// This is a conversion frame. Skip this frame and try again.
// This is a conversion frame or a Stub routine. Skip this frame and try again.
RegisterMap tempMap = regMap.copy();
Frame s = f.sender(tempMap);
return newVFrame(s, tempMap, thread, unsafe, false);

View File

@@ -0,0 +1,132 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime.linux_ppc64;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.runtime.ppc64.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
public class LinuxPPC64JavaThreadPDAccess implements JavaThreadPDAccess {
private static AddressField osThreadField;
// Field from OSThread
private static CIntegerField osThreadThreadIDField;
// This is currently unneeded but is being kept in case we change
// the currentFrameGuess algorithm
private static final long GUESS_SCAN_RANGE = 128 * 1024;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static synchronized void initialize(TypeDataBase db) {
Type type = db.lookupType("JavaThread");
osThreadField = type.getAddressField("_osthread");
Type osThreadType = db.lookupType("OSThread");
osThreadThreadIDField = osThreadType.getCIntegerField("_thread_id");
}
public Address getLastJavaFP(Address addr) {
return null;
}
public Address getLastJavaPC(Address addr) {
return null;
}
public Address getBaseOfStackPointer(Address addr) {
return null;
}
public Frame getLastFramePD(JavaThread thread, Address addr) {
Address fp = thread.getLastJavaFP();
if (fp == null) {
return null; // no information
}
return new PPC64Frame(thread.getLastJavaSP(), fp);
}
public RegisterMap newRegisterMap(JavaThread thread, boolean updateMap) {
return new PPC64RegisterMap(thread, updateMap);
}
public Frame getCurrentFrameGuess(JavaThread thread, Address addr) {
ThreadProxy t = getThreadProxy(addr);
PPC64ThreadContext context = (PPC64ThreadContext) t.getContext();
PPC64CurrentFrameGuess guesser = new PPC64CurrentFrameGuess(context, thread);
if (!guesser.run(GUESS_SCAN_RANGE)) {
return null;
}
if (guesser.getPC() == null) {
return new PPC64Frame(guesser.getSP(), guesser.getFP());
} else {
return new PPC64Frame(guesser.getSP(), guesser.getFP(), guesser.getPC());
}
}
public void printThreadIDOn(Address addr, PrintStream tty) {
tty.print(getThreadProxy(addr));
}
public void printInfoOn(Address threadAddr, PrintStream tty) {
tty.print("Thread id: ");
printThreadIDOn(threadAddr, tty);
// tty.println("\nPostJavaState: " + getPostJavaState(threadAddr));
}
public Address getLastSP(Address addr) {
ThreadProxy t = getThreadProxy(addr);
PPC64ThreadContext context = (PPC64ThreadContext) t.getContext();
return context.getRegisterAsAddress(PPC64ThreadContext.SP);
}
public Address getLastFP(Address addr) {
return getLastSP(addr).getAddressAt(0);
}
public ThreadProxy getThreadProxy(Address addr) {
// Addr is the address of the JavaThread.
// Fetch the OSThread (for now and for simplicity, not making a
// separate "OSThread" class in this package)
Address osThreadAddr = osThreadField.getValue(addr);
// Get the address of the _thread_id from the OSThread
Address threadIdAddr = osThreadAddr.addOffsetTo(osThreadThreadIDField.getOffset());
JVMDebugger debugger = VM.getVM().getDebugger();
return debugger.getThreadForIdentifierAddress(threadIdAddr);
}
}

View File

@@ -0,0 +1,179 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.ppc64.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.interpreter.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.runtime.ppc64.*;
/** <P> Should be able to be used on all ppc64 platforms we support
(Linux/ppc64) to implement JavaThread's "currentFrameGuess()"
functionality. Input is a PPC64ThreadContext; output is SP, FP,
and PC for an PPC64Frame. Instantiation of the PPC64Frame is left
to the caller, since we may need to subclass PPC64Frame to support
signal handler frames on Unix platforms. </P>
*/
public class PPC64CurrentFrameGuess {
private PPC64ThreadContext context;
private JavaThread thread;
private Address spFound;
private Address fpFound;
private Address pcFound;
private static final boolean DEBUG;
static {
DEBUG = System.getProperty("sun.jvm.hotspot.runtime.ppc64.PPC64Frame.DEBUG") != null;
}
public PPC64CurrentFrameGuess(PPC64ThreadContext context,
JavaThread thread) {
this.context = context;
this.thread = thread;
}
/** Returns false if not able to find a frame within a reasonable range. */
public boolean run(long regionInBytesToSearch) {
Address sp = context.getRegisterAsAddress(PPC64ThreadContext.SP);
Address pc = context.getRegisterAsAddress(PPC64ThreadContext.PC);
if (sp == null) {
// Bail out if no last java frame either
if (thread.getLastJavaSP() != null) {
Address javaSP = thread.getLastJavaSP();
Address javaFP = javaSP.getAddressAt(0);
setValues(javaSP, javaFP, null);
return true;
}
return false;
}
/* There is no frame pointer per se for the ppc64 architecture. To mirror
* the behavior of the VM frame manager, we set fp to be the caller's (i.e., "sender's")
* stack pointer, which is the back chain value contained in our sp.
*/
Address fp = sp.getAddressAt(0);
setValues(null, null, null); // Assume we're not going to find anything
VM vm = VM.getVM();
if (vm.isJavaPCDbg(pc)) {
if (vm.isClientCompiler()) {
// Topmost frame is a Java frame.
if (DEBUG) {
System.out.println("CurrentFrameGuess: choosing compiler frame: sp = " +
sp + ", fp = " + fp + ", pc = " + pc);
}
setValues(sp, fp, pc);
return true;
} else {
if (vm.getInterpreter().contains(pc)) {
if (DEBUG) {
System.out.println("CurrentFrameGuess: choosing interpreter frame: sp = " +
sp + ", fp = " + fp + ", pc = " + pc);
}
setValues(sp, fp, pc);
return true;
}
// This algorithm takes the current PC as a given and tries to
// find the correct corresponding SP by walking up the stack
// and repeatedly performing stackwalks (very inefficient).
for (long offset = 0;
offset < regionInBytesToSearch;
offset += vm.getAddressSize()) {
try {
Address curSP = sp.addOffsetTo(offset);
fp = curSP.getAddressAt(0);
Frame frame = new PPC64Frame(curSP, fp, pc);
RegisterMap map = thread.newRegisterMap(false);
while (frame != null) {
if (frame.isEntryFrame() && frame.entryFrameIsFirst()) {
// We were able to traverse all the way to the
// bottommost Java frame.
// This sp looks good. Keep it.
if (DEBUG) {
System.out.println("CurrentFrameGuess: Choosing sp = " + curSP + ", pc = " + pc);
}
setValues(curSP, fp, pc);
return true;
}
frame = frame.sender(map);
}
} catch (Exception e) {
if (DEBUG) {
System.out.println("CurrentFrameGuess: Exception " + e + " at offset " + offset);
}
// Bad SP. Try another.
}
}
// Were not able to find a plausible SP to go with this PC.
// Bail out.
return false;
}
} else {
// If the current program counter was not known to us as a Java
// PC, we currently assume that we are in the run-time system
// and attempt to look to thread-local storage for saved java SP.
// Note that if this is null (because we were, in fact,
// in Java code, i.e., vtable stubs or similar, and the SA
// didn't have enough insight into the target VM to understand
// that) then we are going to lose the entire stack trace for
// the thread, which is sub-optimal. FIXME.
if (thread.getLastJavaSP() == null) {
if (DEBUG) {
System.out.println("CurrentFrameGuess: last java sp is null");
}
return false; // No known Java frames on stack
}
Address javaSP = thread.getLastJavaSP();
Address javaFP = javaSP.getAddressAt(0);
Address javaPC = thread.getLastJavaPC();
if (DEBUG) {
System.out.println("CurrentFrameGuess: choosing last Java frame: sp = " +
javaSP + ", fp = " + javaFP + ", pc = " + javaPC);
}
setValues(javaSP, javaFP, javaPC);
return true;
}
}
public Address getSP() { return spFound; }
public Address getFP() { return fpFound; }
/** May be null if getting values from thread-local storage; take
care to call the correct PPC64Frame constructor to recover this if
necessary */
public Address getPC() { return pcFound; }
private void setValues(Address sp, Address fp, Address pc) {
spFound = sp;
fpFound = fp;
pcFound = pc;
}
}

View File

@@ -0,0 +1,513 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime.ppc64;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.compiler.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.oops.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
/** Specialization of and implementation of abstract methods of the
Frame class for the ppc64 family of CPUs. */
public class PPC64Frame extends Frame {
private static final boolean DEBUG;
static {
DEBUG = System.getProperty("sun.jvm.hotspot.runtime.ppc64.PPC64Frame.DEBUG") != null;
}
// All frames
private static final int SENDER_SP_OFFSET = 0;
// Interpreter frames
private static final int INTERPRETER_FRAME_MIRROR_OFFSET = -3; // for native calls only
private static final int INTERPRETER_FRAME_SENDER_SP_OFFSET = -4;
private static final int INTERPRETER_FRAME_LAST_SP_OFFSET = INTERPRETER_FRAME_SENDER_SP_OFFSET - 1;
private static final int INTERPRETER_FRAME_MDX_OFFSET = INTERPRETER_FRAME_LAST_SP_OFFSET -1;
private static final int INTERPRETER_FRAME_ESP_OFFSET = INTERPRETER_FRAME_MDX_OFFSET - 1;
private static final int INTERPRETER_FRAME_BCX_OFFSET = INTERPRETER_FRAME_ESP_OFFSET - 1;
private static final int INTERPRETER_FRAME_CACHE_OFFSET =INTERPRETER_FRAME_BCX_OFFSET - 1;
private static final int INTERPRETER_FRAME_MONITORS_OFFSET = INTERPRETER_FRAME_CACHE_OFFSET - 1;
private static final int INTERPRETER_FRAME_LOCALS_OFFSET = INTERPRETER_FRAME_MONITORS_OFFSET - 1;
private static final int INTERPRETER_FRAME_METHOD_OFFSET = INTERPRETER_FRAME_LOCALS_OFFSET - 1;
private static final int INTERPRETER_FRAME_INITIAL_SP_OFFSET = INTERPRETER_FRAME_BCX_OFFSET - 1; // FIXME: probably wrong, but unused anyway
private static final int INTERPRETER_FRAME_MONITOR_BLOCK_TOP_OFFSET = INTERPRETER_FRAME_INITIAL_SP_OFFSET;
private static final int INTERPRETER_FRAME_MONITOR_BLOCK_BOTTOM_OFFSET = INTERPRETER_FRAME_INITIAL_SP_OFFSET;
// Entry frames
private static int ENTRY_FRAME_CALL_WRAPPER_OFFSET;
// Native frames
private static int NATIVE_FRAME_INITIAL_PARAM_OFFSET;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static synchronized void initialize(TypeDataBase db) {
int abi_minframe_size = db.lookupIntConstant("frame::abi_minframe_size").intValue();
int entry_frame_locals_size = db.lookupIntConstant("frame::entry_frame_locals_size").intValue();
int wordLength = (int) VM.getVM().getAddressSize();
NATIVE_FRAME_INITIAL_PARAM_OFFSET = -abi_minframe_size/wordLength;
ENTRY_FRAME_CALL_WRAPPER_OFFSET = -entry_frame_locals_size/wordLength;
}
// an additional field beyond sp and pc:
Address raw_fp; // frame pointer
private Address raw_unextendedSP;
private PPC64Frame() {
}
private void adjustForDeopt() {
if ( pc != null) {
// Look for a deopt pc and if it is deopted convert to original pc
CodeBlob cb = VM.getVM().getCodeCache().findBlob(pc);
if (cb != null && cb.isJavaMethod()) {
NMethod nm = (NMethod) cb;
if (pc.equals(nm.deoptHandlerBegin())) {
if (Assert.ASSERTS_ENABLED) {
Assert.that(this.getUnextendedSP() != null, "null SP in Java frame");
}
// adjust pc if frame is deoptimized.
pc = this.getUnextendedSP().getAddressAt(nm.origPCOffset());
deoptimized = true;
}
}
}
}
public PPC64Frame(Address raw_sp, Address raw_fp, Address pc) {
this.raw_sp = raw_sp;
this.raw_unextendedSP = raw_sp;
if (raw_fp == null) {
this.raw_fp = raw_sp.getAddressAt(0);
} else {
this.raw_fp = raw_fp;
}
if (pc == null) {
this.pc = raw_sp.getAddressAt(2 * VM.getVM().getAddressSize());
} else {
this.pc = pc;
}
adjustUnextendedSP();
// Frame must be fully constructed before this call
adjustForDeopt();
if (DEBUG) {
System.out.println("PPC64Frame(sp, fp, pc): " + this);
dumpStack();
}
}
public PPC64Frame(Address raw_sp, Address raw_fp) {
this.raw_sp = raw_sp;
this.raw_unextendedSP = raw_sp;
if (raw_fp == null) {
this.raw_fp = raw_sp.getAddressAt(0);
} else {
this.raw_fp = raw_fp;
}
this.pc = raw_sp.getAddressAt(2 * VM.getVM().getAddressSize());
adjustUnextendedSP();
// Frame must be fully constructed before this call
adjustForDeopt();
if (DEBUG) {
System.out.println("PPC64Frame(sp, fp): " + this);
dumpStack();
}
}
public PPC64Frame(Address raw_sp, Address raw_unextendedSp, Address raw_fp, Address pc) {
this.raw_sp = raw_sp;
this.raw_unextendedSP = raw_unextendedSp;
if (raw_fp == null) {
this.raw_fp = raw_sp.getAddressAt(0);
} else {
this.raw_fp = raw_fp;
}
if (pc == null) {
this.pc = raw_sp.getAddressAt(2 * VM.getVM().getAddressSize());
} else {
this.pc = pc;
}
adjustUnextendedSP();
// Frame must be fully constructed before this call
adjustForDeopt();
if (DEBUG) {
System.out.println("PPC64Frame(sp, unextendedSP, fp, pc): " + this);
dumpStack();
}
}
public Object clone() {
PPC64Frame frame = new PPC64Frame();
frame.raw_sp = raw_sp;
frame.raw_unextendedSP = raw_unextendedSP;
frame.raw_fp = raw_fp;
frame.pc = pc;
frame.deoptimized = deoptimized;
return frame;
}
public boolean equals(Object arg) {
if (arg == null) {
return false;
}
if (!(arg instanceof PPC64Frame)) {
return false;
}
PPC64Frame other = (PPC64Frame) arg;
return (AddressOps.equal(getSP(), other.getSP()) &&
AddressOps.equal(getUnextendedSP(), other.getUnextendedSP()) &&
AddressOps.equal(getFP(), other.getFP()) &&
AddressOps.equal(getPC(), other.getPC()));
}
public int hashCode() {
if (raw_sp == null) {
return 0;
}
return raw_sp.hashCode();
}
public String toString() {
return "sp: " + (getSP() == null ? "null" : getSP().toString()) +
", unextendedSP: " + (getUnextendedSP() == null ? "null" : getUnextendedSP().toString()) +
", fp: " + (getFP() == null ? "null" : getFP().toString()) +
", pc: " + (pc == null ? "null" : pc.toString());
}
// accessors for the instance variables
public Address getFP() { return raw_fp; }
public Address getSP() { return raw_sp; }
public Address getID() { return raw_sp; }
// FIXME: not implemented yet (should be done for Solaris/PPC64)
public boolean isSignalHandlerFrameDbg() { return false; }
public int getSignalNumberDbg() { return 0; }
public String getSignalNameDbg() { return null; }
public boolean isInterpretedFrameValid() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(isInterpretedFrame(), "Not an interpreted frame");
}
// These are reasonable sanity checks
if (getFP() == null || getFP().andWithMask(0x3) != null) {
return false;
}
if (getSP() == null || getSP().andWithMask(0x3) != null) {
return false;
}
// These are hacks to keep us out of trouble.
// The problem with these is that they mask other problems
if (getFP().lessThanOrEqual(getSP())) {
// this attempts to deal with unsigned comparison above
return false;
}
if (getFP().minus(getSP()) > 4096 * VM.getVM().getAddressSize()) {
// stack frames shouldn't be large.
return false;
}
return true;
}
// FIXME: not applicable in current system
// void patch_pc(Thread* thread, address pc);
public Frame sender(RegisterMap regMap, CodeBlob cb) {
PPC64RegisterMap map = (PPC64RegisterMap) regMap;
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "map must be set");
}
// Default is we done have to follow them. The sender_for_xxx will
// update it accordingly
map.setIncludeArgumentOops(false);
if (isEntryFrame()) return senderForEntryFrame(map);
if (isInterpretedFrame()) return senderForInterpreterFrame(map);
if(cb == null) {
cb = VM.getVM().getCodeCache().findBlob(getPC());
} else {
if (Assert.ASSERTS_ENABLED) {
Assert.that(cb.equals(VM.getVM().getCodeCache().findBlob(getPC())), "Must be the same");
}
}
if (cb != null) {
return senderForCompiledFrame(map, cb);
}
// Must be native-compiled frame, i.e. the marshaling code for native
// methods that exists in the core system.
return new PPC64Frame(getSenderSP(), getLink(), getSenderPC());
}
private Frame senderForEntryFrame(PPC64RegisterMap map) {
if (DEBUG) {
System.out.println("senderForEntryFrame");
}
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "map must be set");
}
// Java frame called from C; skip all C frames and return top C
// frame of that chunk as the sender
PPC64JavaCallWrapper jcw = (PPC64JavaCallWrapper) getEntryFrameCallWrapper();
if (Assert.ASSERTS_ENABLED) {
Assert.that(!entryFrameIsFirst(), "next Java fp must be non zero");
Assert.that(jcw.getLastJavaSP().greaterThan(getSP()), "must be above this frame on stack");
}
PPC64Frame fr;
if (jcw.getLastJavaPC() != null) {
fr = new PPC64Frame(jcw.getLastJavaSP(), jcw.getLastJavaFP(), jcw.getLastJavaPC());
} else {
fr = new PPC64Frame(jcw.getLastJavaSP(), jcw.getLastJavaFP());
}
map.clear();
if (Assert.ASSERTS_ENABLED) {
Assert.that(map.getIncludeArgumentOops(), "should be set by clear");
}
return fr;
}
//------------------------------------------------------------------------------
// frame::adjust_unextended_sp
private void adjustUnextendedSP() {
raw_unextendedSP = getFP();
}
private Frame senderForInterpreterFrame(PPC64RegisterMap map) {
if (DEBUG) {
System.out.println("senderForInterpreterFrame");
}
Address unextendedSP = addressOfStackSlot(INTERPRETER_FRAME_SENDER_SP_OFFSET).getAddressAt(0);
Address sp = getSenderSP();
return new PPC64Frame(sp, unextendedSP, getLink(), getSenderPC());
}
private Frame senderForCompiledFrame(PPC64RegisterMap map, CodeBlob cb) {
if (DEBUG) {
System.out.println("senderForCompiledFrame");
}
//
// NOTE: some of this code is (unfortunately) duplicated in PPC64CurrentFrameGuess
//
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "map must be set");
}
// frame owned by optimizing compiler
if (Assert.ASSERTS_ENABLED) {
Assert.that(cb.getFrameSize() >= 0, "must have non-zero frame size");
}
Address senderSP = getSenderSP();
Address senderPC = getSenderPC();
if (map.getUpdateMap()) {
// Tell GC to use argument oopmaps for some runtime stubs that need it.
// For C1, the runtime stub might not have oop maps, so set this flag
// outside of update_register_map.
map.setIncludeArgumentOops(cb.callerMustGCArguments());
if (cb.getOopMaps() != null) {
OopMapSet.updateRegisterMap(this, cb, map, true);
}
}
return new PPC64Frame(senderSP, getLink(), senderPC);
}
protected boolean hasSenderPD() {
// FIXME
return true;
}
public long frameSize() {
return (getSenderSP().minus(getSP()) / VM.getVM().getAddressSize());
}
public Address getLink() {
return getSenderSP().getAddressAt(0);
}
public Address getUnextendedSP() { return raw_unextendedSP; }
// Return address:
public Address getSenderPC() { return getSenderSP().getAddressAt(2 * VM.getVM().getAddressSize()); }
// return address of param, zero origin index.
// MPJ note: Appears to be unused.
public Address getNativeParamAddr(int idx) {
return null;
// return addressOfStackSlot(NATIVE_FRAME_INITIAL_PARAM_OFFSET + idx);
}
public Address getSenderSP() { return getFP(); }
public Address addressOfInterpreterFrameLocals() {
return addressOfStackSlot(INTERPRETER_FRAME_LOCALS_OFFSET);
}
private Address addressOfInterpreterFrameBCX() {
return addressOfStackSlot(INTERPRETER_FRAME_BCX_OFFSET);
}
public int getInterpreterFrameBCI() {
// FIXME: this is not atomic with respect to GC and is unsuitable
// for use in a non-debugging, or reflective, system. Need to
// figure out how to express this.
Address bcp = addressOfInterpreterFrameBCX().getAddressAt(0);
Address methodHandle = addressOfInterpreterFrameMethod().getAddressAt(0);
Method method = (Method)Metadata.instantiateWrapperFor(methodHandle);
return bcpToBci(bcp, method);
}
public Address addressOfInterpreterFrameMDX() {
return addressOfStackSlot(INTERPRETER_FRAME_MDX_OFFSET);
}
// FIXME
//inline int frame::interpreter_frame_monitor_size() {
// return BasicObjectLock::size();
//}
// expression stack
// (the max_stack arguments are used by the GC; see class FrameClosure)
public Address addressOfInterpreterFrameExpressionStack() {
Address monitorEnd = interpreterFrameMonitorEnd().address();
return monitorEnd.addOffsetTo(-1 * VM.getVM().getAddressSize());
}
public int getInterpreterFrameExpressionStackDirection() { return -1; }
// top of expression stack
public Address addressOfInterpreterFrameTOS() {
return getSP();
}
/** Expression stack from top down */
public Address addressOfInterpreterFrameTOSAt(int slot) {
return addressOfInterpreterFrameTOS().addOffsetTo(slot * VM.getVM().getAddressSize());
}
public Address getInterpreterFrameSenderSP() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(isInterpretedFrame(), "interpreted frame expected");
}
return addressOfStackSlot(INTERPRETER_FRAME_SENDER_SP_OFFSET).getAddressAt(0);
}
// Monitors
public BasicObjectLock interpreterFrameMonitorBegin() {
return new BasicObjectLock(addressOfStackSlot(INTERPRETER_FRAME_MONITOR_BLOCK_BOTTOM_OFFSET));
}
public BasicObjectLock interpreterFrameMonitorEnd() {
Address result = addressOfStackSlot(INTERPRETER_FRAME_MONITOR_BLOCK_TOP_OFFSET).getAddressAt(0);
if (Assert.ASSERTS_ENABLED) {
// make sure the pointer points inside the frame
Assert.that(AddressOps.gt(getFP(), result), "result must < than frame pointer");
Assert.that(AddressOps.lte(getSP(), result), "result must >= than stack pointer");
}
return new BasicObjectLock(result);
}
public int interpreterFrameMonitorSize() {
return BasicObjectLock.size();
}
// Method
public Address addressOfInterpreterFrameMethod() {
return addressOfStackSlot(INTERPRETER_FRAME_METHOD_OFFSET);
}
// Constant pool cache
public Address addressOfInterpreterFrameCPCache() {
return addressOfStackSlot(INTERPRETER_FRAME_CACHE_OFFSET);
}
// Entry frames
public JavaCallWrapper getEntryFrameCallWrapper() {
return new PPC64JavaCallWrapper(addressOfStackSlot(ENTRY_FRAME_CALL_WRAPPER_OFFSET).getAddressAt(0));
}
protected Address addressOfSavedOopResult() {
// offset is 2 for compiler2 and 3 for compiler1
return getSP().addOffsetTo((VM.getVM().isClientCompiler() ? 2 : 3) *
VM.getVM().getAddressSize());
}
protected Address addressOfSavedReceiver() {
return getSP().addOffsetTo(-4 * VM.getVM().getAddressSize());
}
private void dumpStack() {
if (getFP() != null) {
for (Address addr = getSP().addOffsetTo(-5 * VM.getVM().getAddressSize());
AddressOps.lte(addr, getFP().addOffsetTo(5 * VM.getVM().getAddressSize()));
addr = addr.addOffsetTo(VM.getVM().getAddressSize())) {
System.out.println(addr + ": " + addr.getAddressAt(0));
}
} else {
for (Address addr = getSP().addOffsetTo(-5 * VM.getVM().getAddressSize());
AddressOps.lte(addr, getSP().addOffsetTo(20 * VM.getVM().getAddressSize()));
addr = addr.addOffsetTo(VM.getVM().getAddressSize())) {
System.out.println(addr + ": " + addr.getAddressAt(0));
}
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime.ppc64;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.runtime.*;
public class PPC64JavaCallWrapper extends JavaCallWrapper {
public PPC64JavaCallWrapper(Address addr) {
super(addr);
}
public Address getLastJavaFP() {
return null;
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 20014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime.ppc64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
public class PPC64RegisterMap extends RegisterMap {
/** This is the only public constructor */
public PPC64RegisterMap(JavaThread thread, boolean updateMap) {
super(thread, updateMap);
}
protected PPC64RegisterMap(RegisterMap map) {
super(map);
}
public Object clone() {
PPC64RegisterMap retval = new PPC64RegisterMap(this);
return retval;
}
// no PD state to clear or copy:
protected void clearPD() {}
protected void initializePD() {}
protected void initializeFromPD(RegisterMap map) {}
protected Address getLocationPD(VMReg reg) { return null; }
}

View File

@@ -423,12 +423,22 @@ public class ClassWriter implements /* imports */ ClassConstants
protected void writeMethods() throws IOException {
MethodArray methods = klass.getMethods();
final int len = methods.length();
ArrayList<Method> valid_methods = new ArrayList<Method>();
for (int i = 0; i < methods.length(); i++) {
Method m = methods.at(i);
long accessFlags = m.getAccessFlags();
// overpass method
if (accessFlags == (JVM_ACC_PUBLIC | JVM_ACC_SYNTHETIC | JVM_ACC_BRIDGE)) {
continue;
}
valid_methods.add(m);
}
final int len = valid_methods.size();
// write number of methods
dos.writeShort((short) len);
if (DEBUG) debugMessage("number of methods = " + len);
for (int m = 0; m < len; m++) {
writeMethod(methods.at(m));
writeMethod(valid_methods.get(m));
}
}

View File

@@ -0,0 +1,120 @@
/*
* Copyright (c) 2015, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.utilities;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.oops.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.utilities.*;
public class CompactHashTable extends VMObject {
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException {
Type type = db.lookupType("SymbolCompactHashTable");
baseAddressField = type.getAddressField("_base_address");
bucketCountField = type.getCIntegerField("_bucket_count");
tableEndOffsetField = type.getCIntegerField("_table_end_offset");
bucketsField = type.getAddressField("_buckets");
uintSize = db.lookupType("juint").getSize();
}
// Fields
private static CIntegerField bucketCountField;
private static CIntegerField tableEndOffsetField;
private static AddressField baseAddressField;
private static AddressField bucketsField;
private static long uintSize;
private static int BUCKET_OFFSET_MASK = 0x3FFFFFFF;
private static int BUCKET_TYPE_SHIFT = 30;
private static int COMPACT_BUCKET_TYPE = 1;
public CompactHashTable(Address addr) {
super(addr);
}
private int bucketCount() {
return (int)bucketCountField.getValue(addr);
}
private int tableEndOffset() {
return (int)tableEndOffsetField.getValue(addr);
}
private boolean isCompactBucket(int bucket_info) {
return (bucket_info >> BUCKET_TYPE_SHIFT) == COMPACT_BUCKET_TYPE;
}
private int bucketOffset(int bucket_info) {
return bucket_info & BUCKET_OFFSET_MASK;
}
public Symbol probe(byte[] name, long hash) {
long symOffset;
Symbol sym;
Address baseAddress = baseAddressField.getValue(addr);
Address bucket = bucketsField.getValue(addr);
Address bucketEnd = bucket;
long index = hash % bucketCount();
int bucketInfo = (int)bucket.getCIntegerAt(index * uintSize, uintSize, true);
int bucketOffset = bucketOffset(bucketInfo);
int nextBucketInfo = (int)bucket.getCIntegerAt((index+1) * uintSize, uintSize, true);
int nextBucketOffset = bucketOffset(nextBucketInfo);
bucket = bucket.addOffsetTo(bucketOffset * uintSize);
if (isCompactBucket(bucketInfo)) {
symOffset = bucket.getCIntegerAt(0, uintSize, true);
sym = Symbol.create(baseAddress.addOffsetTo(symOffset));
if (sym.equals(name)) {
return sym;
}
} else {
bucketEnd = bucket.addOffsetTo(nextBucketOffset * uintSize);
while (bucket.lessThan(bucketEnd)) {
long symHash = bucket.getCIntegerAt(0, uintSize, true);
if (symHash == hash) {
symOffset = bucket.getCIntegerAt(uintSize, uintSize, true);
Address symAddr = baseAddress.addOffsetTo(symOffset);
sym = Symbol.create(symAddr);
if (sym.equals(name)) {
return sym;
}
}
bucket = bucket.addOffsetTo(2 * uintSize);
}
}
return null;
}
}

View File

@@ -61,7 +61,7 @@ public class PlatformInfo {
return "x86";
} else if (cpu.equals("sparc") || cpu.equals("sparcv9")) {
return "sparc";
} else if (cpu.equals("ia64") || cpu.equals("amd64") || cpu.equals("x86_64") || cpu.equals("ppc64")) {
} else if (cpu.equals("ia64") || cpu.equals("amd64") || cpu.equals("x86_64") || cpu.equals("ppc64") || cpu.equals("aarch64")) {
return cpu;
} else {
try {

View File

@@ -836,6 +836,7 @@ vmType2Class["InterpreterCodelet"] = sapkg.interpreter.InterpreterCodelet;
// Java Threads
vmType2Class["JavaThread"] = sapkg.runtime.JavaThread;
vmType2Class["CompilerThread"] = sapkg.runtime.CompilerThread;
vmType2Class["CodeCacheSweeperThread"] = sapkg.runtime.CodeCacheSweeperThread;
vmType2Class["SurrogateLockerThread"] = sapkg.runtime.JavaThread;
vmType2Class["DebuggerThread"] = sapkg.runtime.DebuggerThread;

Some files were not shown because too many files have changed in this diff Show More