Compare commits

...

1430 Commits

Author SHA1 Message Date
J. Duke
c590df0022 Merge 2017-07-05 20:43:22 +02:00
J. Duke
e2e537f732 Merge 2017-07-05 20:43:19 +02:00
J. Duke
7d7f805726 Merge 2017-07-05 20:43:15 +02:00
J. Duke
a18f238849 Merge 2017-07-05 20:43:12 +02:00
J. Duke
b4e7dd186e Merge 2017-07-05 20:43:09 +02:00
J. Duke
03a0d6ef5b Merge 2017-07-05 20:43:05 +02:00
J. Duke
cea4ba565c Merge 2017-07-05 20:43:02 +02:00
J. Duke
74f6ae7abc Merge 2017-07-05 20:42:56 +02:00
J. Duke
5f0a5f2be0 Added tag jdk9-b74 for changeset 7c577fda1855 2017-07-05 20:42:40 +02:00
J. Duke
37836b1f3d Merge 2017-07-05 20:42:39 +02:00
J. Duke
6a9047b13a Merge 2017-07-05 20:42:36 +02:00
J. Duke
1953acf59a Merge 2017-07-05 20:42:30 +02:00
J. Duke
aecbc4f508 Merge 2017-07-05 20:42:26 +02:00
J. Duke
c98c4c1edf Merge 2017-07-05 20:42:23 +02:00
J. Duke
bbc97cdeda Merge 2017-07-05 20:42:18 +02:00
J. Duke
0b14ff7e05 Merge 2017-07-05 20:42:14 +02:00
J. Duke
feeab8be05 Merge 2017-07-05 20:41:55 +02:00
J. Duke
71fb391166 Added tag jdk9-b73 for changeset 9b3a9d72f07b 2017-07-05 20:41:30 +02:00
J. Duke
7c256783a5 Merge 2017-07-05 20:41:30 +02:00
J. Duke
95cd451841 Merge 2017-07-05 20:41:27 +02:00
J. Duke
113b7a07d1 Merge 2017-07-05 20:41:23 +02:00
J. Duke
bce37a5718 Merge 2017-07-05 20:41:20 +02:00
J. Duke
f15f47b163 Merge 2017-07-05 20:41:16 +02:00
J. Duke
edd4f08c33 Merge 2017-07-05 20:41:12 +02:00
J. Duke
b1af79306e Merge 2017-07-05 20:41:09 +02:00
J. Duke
e1a9aaaba1 Merge 2017-07-05 20:41:05 +02:00
J. Duke
9e36911148 Added tag jdk9-b72 for changeset 61d2d0629b6d 2017-07-05 20:40:53 +02:00
J. Duke
52cdae26ef Merge 2017-07-05 20:40:53 +02:00
J. Duke
f86516e49d Merge 2017-07-05 20:40:50 +02:00
J. Duke
3edf314fa4 Merge 2017-07-05 20:40:45 +02:00
J. Duke
a2b74534ff Merge 2017-07-05 20:40:41 +02:00
J. Duke
298c688510 Merge 2017-07-05 20:40:38 +02:00
J. Duke
9c8893c2fc Merge 2017-07-05 20:40:32 +02:00
J. Duke
14d2f19567 Merge 2017-07-05 20:40:29 +02:00
J. Duke
326343d634 Merge 2017-07-05 20:40:14 +02:00
J. Duke
848c5ab61e Added tag jdk9-b71 for changeset f66c18528472 2017-07-05 20:39:44 +02:00
J. Duke
eb76b21f6d Merge 2017-07-05 20:39:43 +02:00
J. Duke
f3ab0cf497 Merge 2017-07-05 20:39:40 +02:00
J. Duke
f0ab4c31ef Merge 2017-07-05 20:39:35 +02:00
J. Duke
3c57096ba4 Merge 2017-07-05 20:39:31 +02:00
J. Duke
de016af85d Merge 2017-07-05 20:39:26 +02:00
J. Duke
e28bb6703e Merge 2017-07-05 20:39:21 +02:00
J. Duke
000316ac02 Merge 2017-07-05 20:39:17 +02:00
J. Duke
ead9ded988 Merge 2017-07-05 20:39:06 +02:00
J. Duke
8c2fc17adf Added tag jdk9-b70 for changeset 43d0179ee9de 2017-07-05 20:38:50 +02:00
J. Duke
9ced0d90d5 Merge 2017-07-05 20:38:50 +02:00
J. Duke
39a3ab937f Merge 2017-07-05 20:38:47 +02:00
J. Duke
83f85170f4 Merge 2017-07-05 20:38:43 +02:00
J. Duke
802a8bb71c Merge 2017-07-05 20:38:40 +02:00
J. Duke
f399dd3840 Merge 2017-07-05 20:38:36 +02:00
J. Duke
4813203225 Merge 2017-07-05 20:38:32 +02:00
J. Duke
5c5cdbbdb3 Merge 2017-07-05 20:38:28 +02:00
J. Duke
191a02b7a0 Merge 2017-07-05 20:38:19 +02:00
J. Duke
5249b91317 Added tag jdk9-b69 for changeset d69c968463f0 2017-07-05 20:38:06 +02:00
J. Duke
733c4e989f Merge 2017-07-05 20:38:06 +02:00
J. Duke
ca05700312 Merge 2017-07-05 20:38:03 +02:00
J. Duke
b09833dbc1 Merge 2017-07-05 20:37:58 +02:00
J. Duke
6ba18c3325 Merge 2017-07-05 20:37:55 +02:00
J. Duke
8a9f20b0ba Merge 2017-07-05 20:37:51 +02:00
J. Duke
468032fdba Merge 2017-07-05 20:37:47 +02:00
J. Duke
044096ad49 Merge 2017-07-05 20:37:43 +02:00
J. Duke
0fc780d2d5 Merge 2017-07-05 20:37:33 +02:00
J. Duke
e5dabe0de1 Added tag jdk9-b68 for changeset 5b500c93ce48 2017-07-05 20:37:12 +02:00
J. Duke
d35b2d378b Merge 2017-07-05 20:37:12 +02:00
J. Duke
965d0fb08d Merge 2017-07-05 20:37:09 +02:00
J. Duke
2d97979cc8 Merge 2017-07-05 20:37:04 +02:00
J. Duke
4a84290269 Merge 2017-07-05 20:37:00 +02:00
J. Duke
6a3bcf0a75 Merge 2017-07-05 20:36:56 +02:00
J. Duke
7ec0b98a31 Merge 2017-07-05 20:36:51 +02:00
J. Duke
dbe811bafd Merge 2017-07-05 20:36:48 +02:00
J. Duke
add710c5b6 Merge 2017-07-05 20:36:34 +02:00
J. Duke
07f668a746 Added tag jdk9-b67 for changeset 56166ce66037 2017-07-05 20:36:16 +02:00
J. Duke
63dc40184a Merge 2017-07-05 20:36:16 +02:00
J. Duke
42d8161f45 Merge 2017-07-05 20:36:12 +02:00
J. Duke
39fb9aa7c2 Merge 2017-07-05 20:36:07 +02:00
J. Duke
d67321e984 Merge 2017-07-05 20:36:04 +02:00
J. Duke
9c440390d7 Merge 2017-07-05 20:36:00 +02:00
J. Duke
f6f89aa498 Merge 2017-07-05 20:35:56 +02:00
J. Duke
23741963e6 Merge 2017-07-05 20:35:52 +02:00
J. Duke
884c1276a1 Merge 2017-07-05 20:35:41 +02:00
J. Duke
f74e08ff8f Added tag jdk9-b66 for changeset ff3fc75f3214 2017-07-05 20:35:22 +02:00
J. Duke
7a711fe858 Merge 2017-07-05 20:35:22 +02:00
J. Duke
36566dfd18 Merge 2017-07-05 20:35:19 +02:00
J. Duke
335e7179f0 Merge 2017-07-05 20:35:10 +02:00
J. Duke
d708c1ae41 Merge 2017-07-05 20:35:04 +02:00
J. Duke
70c24bcc29 Merge 2017-07-05 20:34:59 +02:00
J. Duke
09e177d4c9 Merge 2017-07-05 20:34:52 +02:00
J. Duke
e73c02a294 Merge 2017-07-05 20:34:47 +02:00
J. Duke
391aa2f5ac Merge 2017-07-05 20:34:33 +02:00
J. Duke
1926e70cbb Added tag jdk9-b65 for changeset 4915246064b2 2017-07-05 20:33:56 +02:00
J. Duke
ef28a587f7 Merge 2017-07-05 20:33:55 +02:00
J. Duke
4c392be479 Merge 2017-07-05 20:33:50 +02:00
J. Duke
c07a51a28d Merge 2017-07-05 20:33:45 +02:00
J. Duke
b0fb6e8669 Merge 2017-07-05 20:33:41 +02:00
J. Duke
0f434665b0 Merge 2017-07-05 20:33:35 +02:00
J. Duke
286f91a526 Merge 2017-07-05 20:33:28 +02:00
J. Duke
b07d166138 Merge 2017-07-05 20:33:23 +02:00
J. Duke
5dcf5e769c Merge 2017-07-05 20:33:06 +02:00
J. Duke
77a753da21 Added tag jdk9-b64 for changeset 8ffdeabc7c2b 2017-07-05 20:32:49 +02:00
Lana Steuck
0b717619ae Merge 2015-07-23 15:28:52 -07:00
Lana Steuck
2f7dd1981b Merge 2015-07-23 15:28:32 -07:00
Lana Steuck
101f981a23 Merge 2015-07-23 15:27:58 -07:00
Lana Steuck
47e7cf614b Merge 2015-07-23 15:27:45 -07:00
Lana Steuck
549ecef84a Merge 2015-07-23 15:27:38 -07:00
Lana Steuck
9a855ab7d2 Merge 2015-07-23 15:27:17 -07:00
David Katleman
6c92ef20e6 Added tag jdk9-b74 for changeset 1889ccd678ae 2015-07-23 11:54:34 -07:00
David Katleman
85e90ced97 Added tag jdk9-b74 for changeset ca2d747bbf94 2015-07-23 11:54:33 -07:00
David Katleman
da9674501c Added tag jdk9-b74 for changeset be41b3ebc712 2015-07-23 11:54:29 -07:00
David Katleman
eea9e42b51 Added tag jdk9-b74 for changeset 63fb159920a7 2015-07-23 11:54:29 -07:00
David Katleman
039813143d Added tag jdk9-b74 for changeset de28c7256c35 2015-07-23 11:54:28 -07:00
David Katleman
fb5d1a6ed6 Added tag jdk9-b74 for changeset 5a6507bfdb55 2015-07-23 11:54:26 -07:00
David Katleman
e7a02beb56 Added tag jdk9-b74 for changeset 7c5e7ba80fcd 2015-07-23 11:54:26 -07:00
David Katleman
57d1a3730d Added tag jdk9-b74 for changeset 243b84f44954 2015-07-23 11:54:23 -07:00
Konstantin Shefov
fdc7b2e85f 8130006: java/lang/invoke/MethodHandles/CatchExceptionTest Fails
Reviewed-by: psandoz
2015-07-23 16:46:54 +03:00
Xueming Shen
3d82fdcaad 8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"
Fixed the 32-bit overflow.

Reviewed-by: rriggs
2015-07-22 21:11:38 -07:00
Xueming Shen
47dbbc7b72 8075526: Need a way to read and write ZipEntry timestamp using local date/time without tz conversion
To add a pair of set/getTimeLocal()

Reviewed-by: ksrini, rriggs
2015-07-22 21:43:33 +00:00
Joe Wang
793dc7b0d2 8131907: Numerous threads lock during XML processing while running Weblogic 12.1.3
Reviewed-by: rriggs, dfuchs, lancea
2015-07-22 10:55:39 -07:00
Rajan Halade
ef917cec15 8130031: Remove the intermittent keyword for this test
Reviewed-by: xuelei
2015-07-22 11:08:35 +03:00
Michael Haupt
e0ae5e6391 8131142: late-bind check for testng.jar presence in Nashorn test execution
Reviewed-by: hannesw, sundar
2015-07-22 09:28:28 +02:00
Hannes Wallnöfer
ecd527cd70 8131683: Delete fails over multiple scopes
Reviewed-by: mhaupt, sundar
2015-07-22 10:18:33 +02:00
Alejandro Murillo
24abfab865 Merge 2015-07-21 09:19:17 -07:00
Weijun Wang
e81669d5df 8131051: KDC might issue a renewable ticket even if not requested
Reviewed-by: xuelei
2015-07-21 18:02:36 +08:00
Alejandro Murillo
8dd9e26db4 Merge 2015-07-21 14:18:07 -07:00
Tristan Yan
7f9414bc11 8068761: Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed with SocketTimeoutException
Reviewed-by: rriggs
2015-07-21 14:15:59 -04:00
Alejandro Murillo
d6317b6e29 Merge 2015-07-21 09:19:19 -07:00
Joe Darcy
6e48caf250 8081734: ConcurrentHashMap/ConcurrentAssociateTest.java, times out 90% of time on sparc with 256 cpu
Reviewed-by: chegar
2015-07-20 15:13:50 -07:00
Joe Darcy
8b236a44de 8129904: Add beans tests to tier 3
Reviewed-by: alanb, serb
2015-07-20 13:11:20 -07:00
Sean Mullan
7d95b72640 Merge 2015-07-20 09:03:52 -04:00
Sean Mullan
981dbca21a 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
Reviewed-by: weijun
2015-07-20 09:03:03 -04:00
Weijun Wang
9866d4239d 8131350: policytool can directly reference permission classes
Reviewed-by: xuelei, mullan
2015-07-20 20:47:54 +08:00
Weijun Wang
d7cf63161f 8131350: policytool can directly reference permission classes
Reviewed-by: xuelei
2015-07-20 20:45:58 +08:00
Hannes Wallnöfer
978d434abf 8131340: Varargs function is recompiled each time it is linked
Reviewed-by: mhaupt, sundar
2015-07-20 13:11:26 +02:00
Alejandro Murillo
3d85a9c2c4 Merge 2015-07-17 08:46:54 -07:00
Alejandro Murillo
23b050e996 Merge 2015-07-17 08:46:52 -07:00
Alejandro Murillo
d7f6a3ef78 Merge 2015-07-17 08:46:52 -07:00
Maurizio Cimadamore
4ae1cb2cd6 8130304: Inference: NodeNotFoundException thrown with deep generic method call chain
Bug in Tarjan implementation is generating node ids which can overflow 32 bits

Reviewed-by: vromero
2015-07-17 12:46:07 +01:00
Weijun Wang
b0adb82016 8131735: closed/sun/security/ssl/SSLSessionImpl/RemovedPrivateKey.java is failing
Reviewed-by: vinnie
2015-07-17 19:40:25 +08:00
Sean Coffey
d2ce08a27a 8131665: Bad exception message in HandshakeHash.getFinishedHash
Reviewed-by: xuelei
2015-07-17 10:37:25 +01:00
Michael Haupt
d9cbd23d50 8062543: Replace uses of MethodHandleImpl.castReference with Class.cast
Reviewed-by: psandoz, vlivanov
2015-07-17 08:10:41 +02:00
Artem Smotrakov
a57b0dd1c8 8075297: Tests for RFEs 4515853 and 4745056
Reviewed-by: weijun
2015-07-17 17:30:55 -07:00
Lana Steuck
1443045bb5 Merge 2015-07-16 19:31:55 -07:00
Lana Steuck
5bd2057d23 Merge 2015-07-16 19:31:01 -07:00
Lana Steuck
039549d199 Merge 2015-07-16 19:30:33 -07:00
Lana Steuck
600a087671 Merge 2015-07-16 19:30:19 -07:00
Lana Steuck
ff590a4bf8 Merge 2015-07-16 19:28:37 -07:00
Lana Steuck
40a86b86bd Merge 2015-07-16 19:27:53 -07:00
Lana Steuck
5462c2e93d Merge 2015-07-16 19:27:39 -07:00
David Katleman
2f1e97b942 Added tag jdk9-b73 for changeset 619db21ffc79 2015-07-16 13:51:58 -07:00
David Katleman
7fcf67c83f Added tag jdk9-b73 for changeset 53fd6459d92c 2015-07-16 13:51:57 -07:00
David Katleman
9a01d57442 Added tag jdk9-b73 for changeset 8fc82d01db26 2015-07-16 13:51:54 -07:00
David Katleman
328238d3ae Added tag jdk9-b73 for changeset 10a8368b188b 2015-07-16 13:51:53 -07:00
David Katleman
e296e4f8b8 Added tag jdk9-b73 for changeset 9ae09ea4c318 2015-07-16 13:51:53 -07:00
David Katleman
e2061729de Added tag jdk9-b73 for changeset 44abadee145b 2015-07-16 13:51:50 -07:00
David Katleman
fb274497a8 Added tag jdk9-b73 for changeset 1459b46b5c27 2015-07-16 13:51:50 -07:00
David Katleman
32ca9bf47e Added tag jdk9-b73 for changeset 3062efa7e556 2015-07-16 13:51:49 -07:00
Artem Smotrakov
558789b9d8 8074784: Additional tests for XML DSig API
Reviewed-by: mullan
2015-07-16 21:48:20 +03:00
Konstantin Shefov
6bd7772a30 8129306: Some new tests developed for JDK-8085979 fail in jdk9/cpu
Reviewed-by: vinnie
2015-07-16 21:39:49 +03:00
Daniel D. Daugherty
6f19e14049 Merge 2015-07-16 10:22:08 -07:00
Paul Sandoz
1bd70b71fc 8131052: Documentation of AbstractSpliterator refers to forEach rather than forEachRemaining
Reviewed-by: dfuchs
2015-07-16 14:39:16 +02:00
Athijegannathan Sundararajan
2ae906ba4d 8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
Reviewed-by: hannesw, mhaupt
2015-07-16 15:45:54 +05:30
Amy Lu
1aa0bf7daf 8131140: Mark some tests from WhileOpStatefulTest.java and WhileOpTest.java as serialization hostile
Reviewed-by: psandoz
2015-07-16 10:21:21 +02:00
Amy Lu
4b8ff01620 8130402: Mark intermittently failing test: tools/pack200/PackTestZip64.java
Reviewed-by: psandoz
2015-07-16 10:17:11 +02:00
Artem Smotrakov
26b5d4f29a 8049814: Additional SASL client-server tests
Reviewed-by: weijun
2015-07-16 09:20:39 +08:00
Daniel D. Daugherty
9cb5f7fc9a Merge 2015-07-16 02:49:21 +02:00
Daniel D. Daugherty
6964787851 8131331: tmtools/jstack/locks/wait_interrupt and wait_notify fail due to wrong number of lock records
Make new thread dump output line optional

Reviewed-by: dholmes
2015-07-15 15:52:55 -07:00
Yumin Qi
49a45882d9 Merge 2015-07-15 20:58:06 +00:00
Yumin Qi
6384ca7b1f 8025692: Log what methods are touched at run-time
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.

Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Brian Burkhalter
0ee4830a94 8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
Refine documentation of allocate*(), wrap(), slice(), duplicate(), asReadOnlyBuffer(), and as{Type}Buffer() to explcitly state the byte order of the created buffer.

Reviewed-by: alanb
2015-07-15 10:43:07 -07:00
Vinnie Ryan
44db4a2bcb 8131359: Correct the JTREG tags in java/security/KeyStore/PKCS12/MetadataStoreLoadTest.java test
Reviewed-by: mullan
2015-07-15 18:42:12 +01:00
Christian Tornqvist
ce283b1347 8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows
Reviewed-by: coleenp, gtriantafill
2015-07-15 10:37:11 -07:00
Rajan Halade
9ba56436a1 8041787: Need new regressions tests for buffer handling for PBE algorithms
Reviewed-by: vinnie
2015-07-15 18:12:48 +01:00
Frank Yuan
03788b946a 8129833: Need basic tests for rmic
Added a new basic test case to jdk/test/sun/rmi/rmic/RMIGenerator.java

Reviewed-by: dfuchs
2015-07-15 18:18:10 +02:00
Felix Yang
ea58ca6a25 8130394: DatagramChannel tests need to be hardended to ignore stray datagrams
The patch updates tests to ignore stray datagrams, or at least print more information to ease troubleshooting.

Reviewed-by: rriggs
2015-07-15 08:42:24 -07:00
Bhanu Prakash Gopularam
13a6fbe6c0 8048830: Implement tests for new functionality provided in JEP 166
Reviewed-by: vinnie
2015-07-15 15:07:58 +01:00
Henry Jen
d43f91586c Merge 2015-07-15 06:42:49 -07:00
Jean-Francois Denise
a3beb77c27 8131317: Image writer throws NPE when creating compact profile images
Metadata added to jimage was not handling empty jimage correctly.

Reviewed-by: alanb
2015-07-15 14:44:52 +02:00
Katja Kantserova
c5e7bbdd6c 8131328: Restore demo/jvmti tests
Reviewed-by: sspitsyn
2015-07-15 13:21:25 +02:00
Mandy Chung
8bc30fb3c8 8104574: Update tests to prepare for system class loader not be URLClassLoader
Reviewed-by: chegar
2015-07-15 12:10:03 +08:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Roger Riggs
e8d341671b 8130877: (process) java/lang/ProcessHandle/TreeTest test3 failure - Destroyed process.isAlive
Update test to check for children after processes are destroyed

Reviewed-by: darcy
2015-07-14 22:21:02 -04:00
Yuka Kamiya
64b36f8f63 8032446: Support Unicode 7.0.0 in JDK 9
8130889: Missing "@since 1.8" tags in j.l.Character.java

Reviewed-by: naoto, okutsu
2015-07-15 11:05:51 +09:00
Alejandro Murillo
0be524debf Merge 2015-07-14 16:29:08 -07:00
Alejandro Murillo
1d7da049eb Merge 2015-07-14 16:29:08 -07:00
David Dehaven
267d60654e Merge 2015-07-14 15:18:26 -07:00
Roger Riggs
8477d88b81 8078099: (process) ProcessHandle should uniquely identify processes
8078108: (process) ProcessHandle.isAlive should be robust

IsAlive should check and confirm the start time

Reviewed-by: simonis, plevart
2015-07-14 15:35:37 -04:00
Roger Riggs
7b58767f2b 8129344: (process) ProcessHandle instances should define equals and be value-based
Add equals(), hashCode() and value-based spec

Reviewed-by: psandoz
2015-07-14 15:29:16 -04:00
Vinnie Ryan
f570f46d3b 8131184: Add test sun/security/pkcs11/rsa/TestKeyPairGenerator.java to the problem list
Reviewed-by: mullan
2015-07-14 20:14:29 +01:00
Daniel D. Daugherty
b063fde504 8131128: Merge error in jprt.properties leads to missing devkit argument
Add missing line break; fix backslash lineup.

Reviewed-by: tbell, kvn
2015-07-14 09:36:38 -07:00
Artem Smotrakov
9ed9f4f4a9 8130041: TsacertOptionTest.java intermittently fails on Mac
Reviewed-by: vinnie
2015-07-14 16:46:28 +01:00
Katja Kantserova
99e5ddaa45 8131325: Remove hprof agent tests in hotspot repo
Reviewed-by: dholmes
2015-07-14 16:28:53 +02:00
Coleen Phillimore
354fb11881 Merge 2015-07-14 20:51:50 +00:00
Coleen Phillimore
fd8665fbe7 Merge 2015-07-14 18:34:11 +00:00
Coleen Phillimore
302ba17d8a Merge 2015-07-14 17:23:57 +00:00
Daniel D. Daugherty
0db4f21ce2 8130448: thread dump improvements, comment additions, new diagnostics inspired by 8077392
Reviewed-by: dholmes, coleenp
2015-07-14 09:33:20 -07:00
Gerard Ziemski
f1d95bc678 8079156: [TESTBUG] 32 bit Java 9-fastdebug hit assertion in client mode with StackShadowPages flag value from 32 to 50
We increase CodeBufer instr size to account for stack banging code generation.

Reviewed-by: coleenp, dholmes, kvn
2015-07-14 11:08:41 -05:00
Katja Kantserova
055105c707 8130057: serviceability/sa/TestStackTrace.java should be quarantined
Reviewed-by: egahlin, jbachorik
2015-07-14 11:40:49 +02:00
Xue-Lei Andrew Fan
a80c4c9493 8130461: HandshakeStatus.NEED_UNWRAP_AGAIN applies only to DTLS
Reviewed-by: wetmore
2015-07-14 00:53:09 +00:00
Ivan Gerasimov
9b9fde193f 6854417: TESTBUG: java/util/regex/RegExTest.java fails intermittently
Reviewed-by: sherman
2015-07-14 02:03:35 +03:00
Eric Caspole
34bcc977bc 8129961: SIGSEGV when copying to survivor space
Remove "include_young" parameter from GenCollectedHeap::no_allocs_since_save_marks() since all existing uses pass true to always rescan young gen.

Reviewed-by: jmasa, kbarrett
2015-07-13 11:49:23 -04:00
Athijegannathan Sundararajan
94c9e33a38 8130853: Non-extensible global is not handled property
Reviewed-by: jlaskey, hannesw
2015-07-13 20:09:14 +05:30
Jan Lahoda
85193a1a26 8129909: Add -Xdoclint/package: to javadoc
Adding -Xdoclint/package: command line option, similar to the javac -Xdoclint/package: option, to javadoc.

Reviewed-by: darcy, jjg, ksrini
2015-07-13 16:33:42 +02:00
Katja Kantserova
21b0285502 8131035: [TESTBUG] sun/management/HotspotRuntimeMBean/GetTotalSafepointTime.java needs to enable UsePerfData
Reviewed-by: jbachorik, dholmes
2015-07-13 15:35:57 +02:00
Jean-Francois Denise
0cfe8fe36a Merge 2015-07-13 15:10:01 +02:00
Jean-Francois Denise
bff48ef15d 8130344: assert(handle != __null) failed: JNI handle should not be null' in jni_GetLongArrayElements
Check JNI NewArray for NULL value

Reviewed-by: lfoltan, alanb, dholmes
2015-07-13 14:05:17 +01:00
Alexander Stepanov
629ace2fd4 8080880: some docs cleanup for langtools
Minor cleanup for docs

Reviewed-by: jjg
2015-07-13 16:57:52 +04:00
David Holmes
ef59ce7332 8130728: Disable WorkAroundNPTLTimedWaitHang by default
Reviewed-by: dcubed
2015-07-12 22:54:54 -04:00
Dmitry Dmitriev
8486cb7650 8130332: StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9
Deprecate StarvationMonitorInterval and PreInflateSpin, remove VerifyGenericSignatures and CountInterpCalls

Reviewed-by: coleenp, gziemski
2015-07-11 12:36:46 +03:00
Jaroslav Bachorik
794f1616f0 Merge 2015-07-10 16:37:41 +02:00
Jaroslav Bachorik
61b8d4769d Merge 2015-07-10 16:37:18 +02:00
Katja Kantserova
d8e8d8f1fa 8076471: Remove hprof agent tests in JDK
Reviewed-by: alanb
2015-07-10 14:48:13 +02:00
Miroslav Kos
4807976fb7 8130753: Sync-up javadoc changes in jax-ws area - includes JAX-B API, JAX-WS API, SAAJ-API
Reviewed-by: joehw
2015-07-10 11:42:59 +02:00
Andrei Eremeev
a7cf8786ff 8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute
Reviewed-by: jjg, shurailine, anazarov
2015-07-10 12:42:00 +03:00
Ahmed Ashour
e834520e7e 8130888: Typos in nashorn sources
Reviewed-by: hannesw, mhaupt
2015-07-10 12:55:10 +05:30
Michael Haupt
6ec4c73462 8130862: let hg ignore TestNG ZIP file in Nashorn test library directory
Reviewed-by: hannesw, sundar
2015-07-10 08:42:35 +02:00
Alejandro Murillo
a761654ef9 Merge 2015-07-09 22:46:18 -07:00
Alejandro Murillo
867e029083 Merge 2015-07-09 22:46:18 -07:00
Alejandro Murillo
8f84825191 Merge 2015-07-09 22:46:16 -07:00
Alejandro Murillo
33ab883a0c Merge 2015-07-09 22:46:15 -07:00
Lana Steuck
4cc413c0d8 Merge 2015-07-09 16:38:22 -07:00
Lana Steuck
fbb54463fe Merge 2015-07-09 16:38:16 -07:00
Lana Steuck
5135397f4e Merge 2015-07-09 16:37:55 -07:00
Lana Steuck
9e84f7b580 Merge 2015-07-09 16:37:15 -07:00
Lana Steuck
0562d6d2ea Merge 2015-07-09 16:36:48 -07:00
Lana Steuck
95ec260d12 Merge 2015-07-09 16:36:38 -07:00
Daniel D. Daugherty
fd67ab1042 Merge 2015-07-09 14:48:12 -07:00
Daniel D. Daugherty
8dbfda6628 Merge 2015-07-09 14:35:13 -07:00
Daniel D. Daugherty
99294d5d6b Merge 2015-07-09 14:30:14 -07:00
David Katleman
da2c7d7fc6 Added tag jdk9-b72 for changeset 93250cfbfa54 2015-07-09 13:49:41 -07:00
David Katleman
3e638cf75c Added tag jdk9-b72 for changeset 1f783cf1d945 2015-07-09 13:49:40 -07:00
David Katleman
6a0771f941 Added tag jdk9-b72 for changeset a006a766c8c9 2015-07-09 13:49:36 -07:00
David Katleman
34aa204465 Added tag jdk9-b72 for changeset f0d057d75897 2015-07-09 13:49:35 -07:00
David Katleman
722b2a5d05 Added tag jdk9-b72 for changeset 8ebacfaf4ba6 2015-07-09 13:49:35 -07:00
David Katleman
a7374080bc Added tag jdk9-b72 for changeset 423e8a18b960 2015-07-09 13:49:32 -07:00
David Katleman
1d9002da27 Added tag jdk9-b72 for changeset 02be96db190a 2015-07-09 13:49:32 -07:00
David Katleman
c265539479 Added tag jdk9-b72 for changeset 7dd7a38425a8 2015-07-09 13:49:31 -07:00
Harold Seigel
9d7677a83f 8130669: VM prohibits <clinit> methods with return values
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions

Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Liam Miller-Cushon
7d78c183c4 8130803: add regression test related to fix for JDK-8078024
Reviewed-by: mcimadamore
2015-07-09 11:06:48 -07:00
Harold Seigel
00da567d15 8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0

Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Katja Kantserova
c797c78253 8032763: Remove use of sun.misc.Ref from hprof parser in testlibrary
Reviewed-by: jbachorik, alanb
2015-07-09 12:56:38 +02:00
Srikanth Adayapalam
7b64cba44c 8130745: Revert fix pushed for JDK-8074346
Reviewed-by: jlahoda
2015-07-08 19:01:57 +05:30
Athijegannathan Sundararajan
4a2aab156b 8130734: Apply transformations found by netbeans Refactor->Inspect and transform menu
Reviewed-by: hannesw, jlaskey, mhaupt
2015-07-08 17:28:08 +05:30
Joe Darcy
bc9b78ac81 8130716: Fix reference problems in jaxp javadoc
Reviewed-by: lancea
2015-07-07 17:57:35 -07:00
David Dehaven
79324abda0 Merge 2015-07-07 12:26:59 -07:00
Alejandro Murillo
1f5fdd011c Merge 2015-07-07 10:37:28 -07:00
Daniel Fuchs
18b9b116dc 8130238: Remove com.sun.org.apache.xalan.internal.xsltc.cmdline
Reviewed-by: lancea, joehw
2015-07-07 18:19:57 +02:00
Ed Nevill
4a169a2ab1 8130687: aarch64: add support for hardware crc32c
Add support for crc32c using built in crc32c instructions

Reviewed-by: kvn, aph
2015-07-07 15:04:25 +00:00
Athijegannathan Sundararajan
39ea286002 8130663: 6 fields can be static fields in Global class
Reviewed-by: hannesw, attila
2015-07-07 18:33:24 +05:30
Jan Lahoda
581470a6d1 8080679: Include jline in JDK for Java and JavaScript REPLs
Reviewed-by: alanb, erikj, forax, iris, sundar
2015-07-07 13:17:53 +02:00
Jan Lahoda
f5a4efc171 8080679: Include jline in JDK for Java and JavaScript REPLs
Reviewed-by: alanb, erikj, forax, iris, sundar
2015-07-07 13:17:52 +02:00
Semyon Sadetsky
4b60e58507 8129940: JRadioButton does not honor non-standard FocusTraversalKeys
Reviewed-by: alexsch, azvegint
2015-07-07 09:56:53 +03:00
Semyon Sadetsky
dfbb82e3f9 8081484: [TEST_BUG]Test javax/swing/plaf/basic/6866751/bug6866751.java fails
Reviewed-by: alexsch, azvegint
2015-07-07 09:51:30 +03:00
David Holmes
66ed0c65d3 8076581: Need a NON-PCH build to quickly detect missing dependencies in the source base
Pass --disable-precompiled-headers for all fastdebug builds in JPRT

Reviewed-by: goetz, tbell, simonis, dcubed
2015-07-06 22:19:29 -04:00
Sergey Bylokhov
2e3073a8ab 8130525: Build fail on jdk9-client solaris-sparcv9
Reviewed-by: azvegint
2015-07-06 18:15:02 +03:00
Athijegannathan Sundararajan
94d29a19c8 8130476: Remove unused methods in Global.java
Reviewed-by: hannesw, attila
2015-07-06 15:59:55 +05:30
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Sergey Bylokhov
ffbfb8f10b 7188942: Remove support of pbuffers in OGL Java2d pipeline
Reviewed-by: prr, flar
2015-07-03 16:39:45 +03:00
Yuri Nesterenko
a26c73956c 8130125: [TEST_BUG] add @modules to the several client tests unaffected by the automated bulk update
Reviewed-by: serb, alexsch
2015-07-03 17:37:40 +03:00
Daniel D. Daugherty
92febebcac Merge 2015-07-03 06:39:38 -07:00
Daniel D. Daugherty
d4bf88528d Merge 2015-07-03 06:23:29 -07:00
Athijegannathan Sundararajan
833d238585 8130424: if directory specified with --dest-dir does not exist, only .class files are dumped and .js files are not
Reviewed-by: attila, lagergren, hannesw
2015-07-03 18:41:58 +05:30
Artem Smotrakov
aa2d62b688 8129444: socksProxyVersion system property ignored for Socket(Proxy)
Reviewed-by: chegar
2015-07-03 08:00:33 +01:00
Zoltan Majo
94d36649af 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Zoltan Majo
f353be1c90 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:32 +02:00
Vladimir Kozlov
ea0323cf1a Merge 2015-07-02 17:50:25 -07:00
Vladimir Kozlov
bbeb720d49 Merge 2015-07-02 17:15:55 -07:00
Lana Steuck
e3e2f96de4 Merge 2015-07-02 16:09:51 -07:00
Lana Steuck
9c03c2bfff Merge 2015-07-02 16:09:43 -07:00
Lana Steuck
71f0332b26 Merge 2015-07-02 16:09:16 -07:00
Lana Steuck
e2b0df2fcf Merge 2015-07-02 16:08:47 -07:00
Lana Steuck
0424adf72c Merge 2015-07-02 16:08:26 -07:00
Lana Steuck
9050391db9 Merge 2015-07-02 16:08:17 -07:00
Lana Steuck
5323e88caf Merge 2015-07-02 16:07:57 -07:00
Lana Steuck
1c2e6fa40d Merge 2015-07-02 16:07:39 -07:00
Daniel D. Daugherty
99552a1c2f Merge 2015-07-02 14:42:12 -07:00
Daniel D. Daugherty
bee43f05d7 Merge 2015-07-02 14:39:54 -07:00
Daniel D. Daugherty
963a60c4b6 Merge 2015-07-02 14:12:18 -07:00
Alejandro Murillo
5d840dab3a Merge 2015-07-02 14:12:07 -07:00
David Katleman
c690ca7cd9 Added tag jdk9-b71 for changeset 84ecc1a708df 2015-07-02 08:54:05 -07:00
David Katleman
d59b5753a4 Added tag jdk9-b71 for changeset cf6355e77564 2015-07-02 08:54:04 -07:00
David Katleman
30533247eb Added tag jdk9-b71 for changeset c55f96d66cf9 2015-07-02 08:54:01 -07:00
David Katleman
ac7af917e0 Added tag jdk9-b71 for changeset 9b8258eb95a9 2015-07-02 08:54:00 -07:00
David Katleman
1a0bd08a5b Added tag jdk9-b71 for changeset 976a2f96dbcc 2015-07-02 08:54:00 -07:00
David Katleman
5236586511 Added tag jdk9-b71 for changeset 9419a7f16a5c 2015-07-02 08:53:58 -07:00
David Katleman
e7bb4c430a Added tag jdk9-b71 for changeset 9402c8fae0fc 2015-07-02 08:53:57 -07:00
David Katleman
7b23c005ac Added tag jdk9-b71 for changeset 1b06d9da3dc3 2015-07-02 08:53:57 -07:00
Alexander Stepanov
0696c89dd7 8130247: fix some new tidy warnings from jaxws and CORBA
Minor docs cleanup

Reviewed-by: darcy
2015-07-02 18:07:48 +04:00
Alexander Stepanov
9f81ca1a59 8130247: fix some new tidy warnings from jaxws and CORBA
Minor docs cleanup

Reviewed-by: darcy
2015-07-02 18:04:32 +04:00
Athijegannathan Sundararajan
fb6a41f23a 8130317: "ant test" fails to complete on Windows when run under cygwin shell
Reviewed-by: lagergren, attila
2015-07-02 19:02:28 +05:30
Volker Simonis
48aacbe3f9 8130315: Fix wrong prototype of GrowKnownVMs() in java.c
Reviewed-by: alanb, ksrini
2015-07-02 15:25:46 +02:00
Vinnie Ryan
5a35b2a0a9 8130151: Exclude sun/security/provider/SecureRandom/StrongSecureRandom.java from testruns on MacOSX 10.10
Reviewed-by: xuelei
2015-07-02 12:01:48 +01:00
Andrew Haley
eb4655db3e Merge 2015-07-02 11:03:50 +01:00
Michael Haupt
ff5c2fa53d 8130307: improve Nashorn Javadoc target
Reduce dependence on ASM sources in testing, address command line length problem on Windows

Reviewed-by: hannesw, sundar
2015-07-02 11:20:47 +02:00
Michael Haupt
6980a8e4cc 8130306: enable running Nashorn test on Windows
Fix executable name (add .exe suffix)

Reviewed-by: hannesw, sundar
2015-07-02 11:09:20 +02:00
Attila Szegedi
2a2f2f3300 8130234: Get rid of JSType.isNegativeZero
Reviewed-by: hannesw, lagergren
2015-07-02 10:55:35 +02:00
Weijun Wang
cdc2a29ff2 8130112: Create a common TEST.properties for @modules in test/sun/security/krb5/auto
Reviewed-by: alanb
2015-07-02 16:20:43 +08:00
Matthias Baesken
95a14aeba1 8130303: Fix bogus check for libX11.so in libraries.m4
Reviewed-by: simonis, erikj
2015-07-02 09:38:41 +02:00
Peter Levart
5941f4ad52 8080695: splashscreen_png.c compile error with gcc 4.9.2
Mark locals volatile to silence gcc arround longjmp

Reviewed-by: azvegint, serb
2015-07-02 08:17:25 +02:00
Weijun Wang
8804c9df5f 8130297: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java still failing after JDK-8076040
Reviewed-by: darcy
2015-07-02 13:20:46 +08:00
Weijun Wang
8f2396ede1 8076040: Test com/sun/crypto/provider/KeyFactory/TestProviderLeak.java fails with -XX:+UseG1GC
Reviewed-by: darcy
2015-07-02 09:19:42 +08:00
Ivan Gerasimov
0e510a1f61 8077242: (str) Optimize AbstractStringBuilder.append(CharSequence, int, int) for String argument
Reviewed-by: martin
2015-07-02 00:26:35 +03:00
Ivan Gerasimov
3fac3ec9da 8098854: Do cleanup in a proper order in sunmscapi code
Reviewed-by: vinnie
2015-07-01 22:17:32 +03:00
Michael Haupt
eacc58bf85 8130127: streamline input parameter of Nashorn scripting $EXEC function
Handle null and undefined correctly, do not coerce them to strings

Reviewed-by: lagergren, sundar
2015-07-01 16:26:25 +02:00
Jan Lahoda
3210b9650a 8072480: javac should support compilation for a specific platform version
Adding a new javac option for compiling for JDK N: -release N; including history data for previous version of JDK.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: erikj, ihse, jjg, mcimadamore, mr
2015-07-01 09:51:48 +02:00
Jan Lahoda
19a0c8b1f5 8080675: Enhance the classfile library to support construction of classfiles from scratch
Reviewed-by: jjg
2015-07-01 09:51:47 +02:00
Tobias Hartmann
62112b23c9 Merge 2015-07-01 09:15:34 +02:00
Tobias Hartmann
fba308328b 8129937: compiler/codecache/jmx/UsageThresholdIncreasedTest.java fails with "Usage threshold was hit"
Tests should not assume that usage of non-profiled code heap is predictable.

Reviewed-by: kvn, dpochepk
2015-07-01 09:07:10 +02:00
Igor Veresov
934ad8e49b 8079775: Java 9-fastdebug ia32 Error: Unimplemented with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options
8079062: Java 9-fastdebug crash(hit assertion) with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options

Revive stack walk compilation policy

Reviewed-by: kvn
2015-06-30 14:44:53 -07:00
Vladimir Kozlov
d71bb8c72b 8129893: 8129094 fix is incomplete
Move old and add new primitive type check.

Reviewed-by: iveresov
2015-06-30 12:12:18 -07:00
Alejandro Murillo
f32025bb47 Merge 2015-06-30 11:20:42 -07:00
Alejandro Murillo
1469c28e73 Merge 2015-06-30 11:20:42 -07:00
Phil Race
322bf5d364 Merge 2015-06-30 10:37:48 -07:00
Phil Race
768edece69 Merge 2015-06-30 08:51:34 -07:00
Phil Race
d3ecdcca36 Merge 2015-06-30 08:51:16 -07:00
Phil Race
891fa406cd Merge 2015-06-30 08:51:06 -07:00
Semyon Sadetsky
11e135e30e 8129830: JTree drag/drop on lower half of last child of container incorrect
Reviewed-by: alexsch, azvegint
2015-06-30 18:26:38 +03:00
Stefan Sarne
32c0d8bc46 6896810: TEST_BUG: java/lang/ref/SoftReference/Pin.java fails with OOME during System.out.println
Reviewed-by: stefank, dholmes, chegar, sjohanss
2015-06-30 17:16:40 +02:00
Sibabrata Sahoo
afc6a95457 8075301: Tests for sun.security.krb5.principal system property
Reviewed-by: weijun
2015-06-30 22:32:03 +08:00
Erik Joelsson
0d59d0fbaa 8130109: Incremental build of java.base-gensrc broken
Reviewed-by: tbell
2015-06-30 16:10:27 +02:00
Daniel Fuchs
0c329ac4cf 8130051: Cleanup usage of reflection in jaxp
Replaced usage of reflection with direct access where possible, removed obsolete code where possible.

Reviewed-by: joehw
2015-06-30 12:04:27 +02:00
Semyon Sadetsky
0ccb98b72a 8085895: The Textfield can't be shown after clicking "Show Textfield" button
Reviewed-by: serb, azvegint
2015-06-30 11:04:58 +03:00
Amy Lu
512986a71c 8129759: Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
Reviewed-by: psandoz
2015-06-30 10:00:46 +02:00
Erik Joelsson
e0916bf585 8130060: Revert use of devkit on macosx in JPRT
Reviewed-by: tbell
2015-06-30 09:51:08 +02:00
Semyon Sadetsky
e482146d84 8098535: Test closed/java/awt/Clipboard/ImageTransferTest/ImageTransferTest fails on OEL 7.1
Reviewed-by: serb, azvegint
2015-06-30 10:45:32 +03:00
Athijegannathan Sundararajan
d9a4c01c25 8114838: Anonymous functions escape to surrounding scope when defined under "with" statement
Reviewed-by: attila, hannesw, lagergren
2015-06-30 13:10:37 +05:30
Alejandro Murillo
e2342386b8 8130092: Backout Update jprt.properties with property listing tests subtrees
Reviewed-by: dholmes
2015-06-29 17:17:56 -07:00
Jason Uh
84ebc260b9 8022444: Remove sun.security.util.ObjectIdentifier.equals(ObjectIdentifier other) method
Reviewed-by: mullan
2015-06-29 16:36:44 -07:00
Martin Buchholz
57996d703c 6260652: (coll) Arrays.asList(x).toArray().getClass() should be Object[].class
Return Arrays.copyOf(a, a.length, Object[].class)

Reviewed-by: igerasim, psandoz
2015-06-29 15:02:35 -07:00
Roger Riggs
99f867bded 8098852: java/lang/ProcessHandle/InfoTest.java failed: total cpu time expected < 10s more
Correct javachild to spin until cputime increases by amount; cleanup InfoTest

Reviewed-by: darcy
2015-07-09 09:55:36 -04:00
Ivan Gerasimov
82f8a14808 8130022: Use Java-style array declarations consistently
Reviewed-by: coffeys
2015-07-09 10:37:07 +03:00
Roger Riggs
74427b9101 8130296: [TESTBUG] java/lang/ProcessHandle/OnExitTest - Unaccounted for children expected [0] but found [1]
Ignore extra processes that are not created by the test and cleanup any remaining child processes

Reviewed-by: darcy
2015-07-08 21:54:32 -04:00
Xue-Lei Andrew Fan
a1b2aad080 8130460: Increase the stability of DTLS test CipherSuite.java
Reviewed-by: wetmore
2015-07-08 23:52:15 +00:00
Claes Redestad
d65b7a8ec9 8081589: Output of -XX:+TraceClassLoadingPreorder in JDK9 incompatible with MakeClasslist tool
Reviewed-by: iklam, hseigel
2015-07-08 16:04:42 +02:00
Daniel Fuchs
16318cebe6 8130649: java/util/logging/LoggingDeadlock2.java times out
Added additional traces and thread dump diagnosis for the child process

Reviewed-by: lancea
2015-07-08 11:58:14 +02:00
Weijun Wang
aebcb1754e 8130720: BadKDC1 failed again
Reviewed-by: xuelei
2015-07-08 17:30:38 +08:00
Roger Riggs
4b7514c9fd 8085981: java/lang/ProcessHandle/OnExitTest.java: AssertionError: Child onExit not called
A race condition caused an erroneous fault

Reviewed-by: darcy
2015-07-07 21:25:05 -04:00
Roger Riggs
21ed89bc5d 8085980: java/lang/ProcessHandle/TreeTest.java: AssertionError: Wrong number of spawned children expected [1] but found [2]
Modify to expect only the spawned children; enhance debug output

Reviewed-by: darcy
2015-07-07 16:54:52 -04:00
Martin Buchholz
d67c81198b 8050091: (coll) LinkedList has incorrect implementation comment
Rework implementation invariant comments

Reviewed-by: igerasim
2015-06-29 14:59:20 -07:00
Aleksei Efimov
2723d13329 8098547: (tz) Support tzdata2015e
Reviewed-by: coffeys, okutsu
2015-06-30 01:17:45 +03:00
Brian Burkhalter
6d59eaa98c 8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap
Use @requires tag to suppress the test on limited memory systems.

Reviewed-by: darcy
2015-06-29 14:49:47 -07:00
Mandy Chung
1465e16631 8130007: Update security tests to use Security.getProvider to get security provider
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Reviewed-by: mullan
2015-06-29 11:38:36 -07:00
Peter Levart
24d0d5af7c 8042377: BufferedWriter and FilteredOutputStream.close throw IAE if flush and close throw equal exceptions
Explcitly handle IOExceptions in FilteredOutputStream.close() instead of using try-with-resources approach.

Reviewed-by: chegar, alanb
2015-06-29 08:39:29 -07:00
Goetz Lindenmaier
07c7774cd7 8086069: Adapt runtime calls to recent intrinsics to pass ints as long
Remove CCallingConventionRequiresIntsAsLongs from shared code and push functionality to native wrapper. Less optimal but more flexible.

Reviewed-by: jrose, kvn
2015-06-29 15:30:55 +02:00
Goetz Lindenmaier
7682410613 8130432: ppc64le: Fix build of hsdis
Reviewed-by: dholmes, kvn
2015-07-03 16:29:37 +02:00
Zoltan Majo
547a40e75a 8130120: Handling of SHA intrinsics inconsistent across platforms
Introduce common warning message and common processing of SHA intrinsic-related arguments.

Reviewed-by: kvn, mcberg
2015-07-03 09:33:04 +02:00
Zoltan Majo
9245cdc214 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Vladimir Kozlov
34616cd876 Merge 2015-07-02 17:49:11 -07:00
Igor Veresov
156e31bd84 8080012: JVM times out with vdbench on SPARC M7-16
Check cacheline sine only for one core on sun4v SPARC systems.

Reviewed-by: kvn
2015-07-02 14:40:29 -07:00
Andrew Haley
917f70414f Merge 2015-07-02 11:12:59 +01:00
Anton Nashatyrev
dd57d9f3b9 8080504: [macosx] SunToolkit.realSync() may hang
Reviewed-by: serb, prr
2015-06-29 13:47:28 +03:00
Weijun Wang
0a6597b64e 8058849: test/sun/security/krb5/config/dns.sh needs to re-examined or replaced
Reviewed-by: alanb
2015-06-29 17:11:17 +08:00
Erik Joelsson
e4cc69a288 8129969: Switch JPRT configuration to use devkits for Windows and Macosx
Reviewed-by: tbell, dholmes
2015-06-29 11:00:10 +02:00
Erik Joelsson
920d9bde4c 8114822: debug build with --disable-debug-symbols fails: java.io.UncheckedIOException
Reviewed-by: dholmes
2015-06-29 10:55:17 +02:00
Attila Szegedi
74b5de9db2 8130035: Move test/script/basic/NASHORN-627.js to currently-failing until JDK-8129881 is fixed
Reviewed-by: lagergren, sundar
2015-06-29 10:42:57 +02:00
Weijun Wang
6632bf6c50 8069253: javax/net/ssl/TLS/TestJSSE.java failed on Mac
Reviewed-by: xuelei
2015-06-29 15:04:43 +08:00
Lana Steuck
d12f9899d5 Merge 2015-06-28 16:39:45 -07:00
Lana Steuck
0620b4103f Merge 2015-06-28 16:39:27 -07:00
Lana Steuck
1b64480a52 Merge 2015-06-28 16:39:04 -07:00
Lana Steuck
e423a9d4bc Merge 2015-06-28 16:38:48 -07:00
Lana Steuck
66423c6b33 Merge 2015-06-28 16:38:44 -07:00
Lana Steuck
6c0750dd0f Merge 2015-06-28 16:38:22 -07:00
Lana Steuck
296cb8aa3c Merge 2015-06-28 16:38:02 -07:00
Sergey Bylokhov
33c5b92bc6 8080405: Exception in thread "AWT-EventQueue-1" java.security.AccessControlException
Reviewed-by: prr, chegar, art
2015-06-29 01:27:08 +03:00
Aleksei Efimov
a643b89ee2 8076139: [TEST_BUG] test/javax/xml/ws/8046817/GenerateEnumSchema.java creates files in test.src
Reviewed-by: igerasim
2015-06-28 23:05:46 +03:00
Srikanth Adayapalam
2943d4bd40 4869999: Error on import statement naming package containing no class files
Ensure that the compiler does not prematurely decide a package is not observable.

Reviewed-by: jlahoda
2015-06-28 12:58:24 +05:30
Alejandro Murillo
3ada1489fb Merge 2015-06-26 19:11:19 -07:00
Alejandro Murillo
4a826139e3 Merge 2015-06-26 19:11:15 -07:00
Alejandro Murillo
670db9e406 Merge 2015-06-26 19:11:14 -07:00
Vladimir Kozlov
e5f22567ab 8130008: compiler/codecache/jmx/UsageThresholdIncreasedTest.java should be quarantined
Reviewed-by: iveresov
2015-06-26 15:55:54 -07:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Attila Szegedi
c277f9d37c 8129959: DebugLogger has unnecessary API methods
Reviewed-by: hannesw, lagergren
2015-06-26 17:49:17 +02:00
Daniel Fuchs
94ad46346b 8129956: jaxp: CodeSource.getLocation() might return null
Reviewed-by: lancea
2015-06-26 17:26:48 +02:00
Attila Szegedi
6069477207 8129950: Wrong condition for checking absence of logger in MethodHandleFactory
Reviewed-by: hannesw, lagergren
2015-06-26 17:08:14 +02:00
Sergey Bylokhov
561c4e223c 8014241: Clean up unused JNI fields and methods in imageInitIDs.h
Reviewed-by: azvegint, prr
2015-06-26 12:38:39 +03:00
Jean-Francois Denise
b37540a72f Merge 2015-06-25 20:47:45 +00:00
Joe Darcy
a0bf651e65 8129624: Move jdk_rmi test group from tier 2 to tier 3
Reviewed-by: alanb, smarks
2015-06-25 11:59:40 -07:00
Daniel Fuchs
a89e684eec 8129880: Cleanup usage of Class.getResource in jaxp
Reviewed-by: joehw, mchung
2015-06-25 20:06:37 +02:00
Valerie Peng
f3ff947746 8087157: PKCS11 provider not instantiated with security manager
Updated java.policy file with sun.misc pkg access permission for SunPKCS11 provider.

Reviewed-by: mullan
2015-06-25 17:53:52 +00:00
David Katleman
46cb74729a Added tag jdk9-b70 for changeset 271525e41254 2015-06-25 10:21:42 -07:00
David Katleman
26769ba779 Added tag jdk9-b70 for changeset 2707be8c1d10 2015-06-25 10:21:41 -07:00
David Katleman
fbf657b0c0 Added tag jdk9-b70 for changeset d3d7f5a45a5c 2015-06-25 10:21:38 -07:00
David Katleman
6b53c705eb Added tag jdk9-b70 for changeset 3a7fb5940d2f 2015-06-25 10:21:37 -07:00
David Katleman
50f7f0ef15 Added tag jdk9-b70 for changeset bc215e37d299 2015-06-25 10:21:37 -07:00
David Katleman
36b326d4f2 Added tag jdk9-b70 for changeset d4e08333ac48 2015-06-25 10:21:35 -07:00
David Katleman
ad1dca8098 Added tag jdk9-b70 for changeset 47e9512ea427 2015-06-25 10:21:34 -07:00
David Katleman
c28e952e42 Added tag jdk9-b70 for changeset 7d5061c22f0a 2015-06-25 10:21:33 -07:00
Vladimir Kozlov
0b9dfebfa4 Merge 2015-06-25 09:48:50 -07:00
Vladimir Kozlov
a662bb81c8 Merge 2015-06-25 09:48:36 -07:00
Vladimir Kozlov
76e875b981 Merge 2015-06-25 09:48:23 -07:00
Jean-Francois Denise
1961bb0566 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:00:52 +02:00
Jean-Francois Denise
7d75d2a98a 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:00:28 +02:00
Joe Darcy
065a57c31a 8129822: Define "headful" jtreg keyword
Reviewed-by: alanb, alexsch
2015-06-25 08:30:34 -07:00
Mark Sheppard
62568b1c1a 8129507: sun/net/www/protocol/http/B6369510.java fails intermittently
Changed openConnection() to openConnection(Proxy.NO_PROXY)

Reviewed-by: chegar
2015-06-25 14:23:03 +01:00
Artem Smotrakov
c537edfa2d 8129575: Equal DelegationPermission instances may return different hash codes
Reviewed-by: mullan, weijun
2015-06-25 20:20:41 +08:00
Staffan Larsen
9f34fe51a8 8080993: Compilation errors with recent clang in awt_parseImage.c and splashscreen_sys.m
Reviewed-by: azvegint, bae
2015-06-25 15:16:55 +03:00
Jaroslav Bachorik
a47dc46f90 8071487: javax/management/monitor/GaugeMonitorDeadlockTest.java timed out
Reviewed-by: dholmes
2015-06-25 11:18:04 +02:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Frank Yuan
e2f4c35479 8080266: Failed to create CharInfo due to ResourceBundle update for modules
Fixed the initialization of LSSerializerImpl.

Reviewed-by: joehw, dfuchs
2015-06-25 11:06:28 +02:00
Thomas Schatzl
f38d8af9a7 Merge 2015-06-25 07:13:27 +00:00
Weijun Wang
7b990654c5 8023546: sun/security/mscapi/ShortRSAKey1024.sh fails intermittently
Reviewed-by: vinnie
2015-06-25 09:03:23 +08:00
Joe Darcy
200a9e8678 8098582: Remove redundant package.html file in javax.xml.ws/wsaddressing
Reviewed-by: lancea
2015-06-24 17:12:00 -07:00
Naoto Sato
a693ebca66 8008577: Use CLDR Locale Data by Default
Reviewed-by: erikj, okutsu
2015-06-24 16:42:11 -07:00
Stuart Marks
7c8e579281 8080450: doc for Double/Int/LongSummaryStatistics.toString has errors
Reviewed-by: darcy, lancea
2015-06-24 16:08:58 -07:00
Mikael Vidstedt
053ccc4c4a 8129615: Remove jbb from jprt hotspot testset
Reviewed-by: gtriantafill, coleenp
2015-06-24 15:29:34 -07:00
Joe Darcy
35d84fe429 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:19:50 -07:00
Joe Darcy
ef7177e418 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:18:44 -07:00
Joe Darcy
ffe4c77137 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:15:56 -07:00
Joe Darcy
b4542557ab 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:15:10 -07:00
Chris Plummer
b95fa126c3 8129386: [TESTBUG] - com/sun/jdi/cds/*.java missing @build tag for libraries
Added @build tags for all dependent classes

Reviewed-by: iklam, mseledtsov, dholmes
2015-06-24 11:59:11 -07:00
Xueming Shen
b46a6500b0 8129544: ArrayIndexOutOfBoundsException when decoding corrupt Base64 string
To take input bytes as unsigned before check range

Reviewed-by: alanb
2015-06-24 11:15:23 -07:00
Konstantin Shefov
fe481eaf1f 8129595: New DTLS tests need @modules
Reviewed-by: alanb
2015-06-24 18:50:19 +03:00
Thomas Schatzl
0a609732d7 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:45:44 +02:00
Jesper Wilhelmsson
94f4ff3fb2 Merge 2015-06-24 13:53:34 +02:00
Jesper Wilhelmsson
d60d6fdf40 Merge 2015-06-24 13:38:01 +02:00
Dmitry Samersoff
912d770499 Merge 2015-06-24 14:28:30 +00:00
Dmitry Samersoff
1e5b265a46 Merge 2015-06-24 13:16:33 +00:00
Bengt Rutisson
00db80b7de Merge 2015-06-24 15:04:27 +02:00
David Holmes
2f0a7f3c7b Merge 2015-06-24 13:26:12 +02:00
Jesper Wilhelmsson
4fadd61148 Merge 2015-06-24 13:10:49 +02:00
Paul Sandoz
f219ffb2f2 8072773: (fs) Files.lines needs a better splitting implementation for stream source
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
David Holmes
c2961a9369 Merge 2015-06-24 11:58:34 +02:00
Thomas Schatzl
0d85af8161 Merge 2015-06-24 11:55:18 +02:00
Ed Nevill
99f5ee0654 8081294: aarch64: fails to build on ubuntu wily
Reviewed-by: dholmes
2015-06-24 05:45:50 -04:00
Stefan Johansson
8a03d57f9b Merge 2015-06-24 10:28:00 +02:00
Thomas Schatzl
b07602d640 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:42:45 +02:00
Thomas Schatzl
4fe28ee318 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:41:11 +02:00
Goetz Lindenmaier
1a88faab89 8129757: ppc/aarch: Fix passing thread to runtime after "8073165: Contended Locking fast exit bucket."
Reviewed-by: enevill, simonis, adinn
2015-06-24 09:13:12 +02:00
Stefan Johansson
f6a2109bab 8081607: Change default GC for server configurations to G1
For more info see JEP 248.

Reviewed-by: pliden, tschatzl
2015-06-24 08:37:12 +02:00
Bertrand Delsart
d046f1596b 8030076: remove unused runtime related code
Small cleanup of runtime code

Reviewed-by: dholmes, coleenp
2015-06-24 08:30:52 +02:00
Coleen Phillimore
83a0dd66c5 8129607: Incorrect GPL header
Fix typo in GPL header

Reviewed-by: kvn, dholmes
2015-06-23 22:10:33 -04:00
Kim Barrett
90a1d4964c Merge 2015-06-24 02:00:21 +02:00
Bhavesh Patel
9075df539a 8081854: Javadoc should generate named anchors for HTML4 output
Reviewed-by: ksrini
2015-06-23 15:41:05 -07:00
Alejandro Murillo
ebcc321eeb Merge 2015-06-23 14:20:59 -07:00
Alejandro Murillo
edb5f74e0d Merge 2015-06-23 14:20:40 -07:00
Kim Barrett
e145cf273c 8129446: crash when reporting corrupted classfile
Increase buffer size and use jio_snprintf for message generation

Reviewed-by: tbenson, coleenp, iklam
2015-06-23 17:18:27 -04:00
Michael Berg
2ef39760e6 8081247: AVX 512 extended support
Add more support for EVEX encoding

Reviewed-by: kvn, neliasso
2015-06-23 12:45:08 -07:00
Ed Nevill
d17ff6b63d 8129551: aarch64: some regressions introduced by addition of vectorisation code
Fix regressions

Reviewed-by: kvn
2015-06-23 18:56:17 +00:00
Dmitry Samersoff
c897b62caf Merge 2015-06-23 18:05:27 +00:00
Dmitry Samersoff
e5462e2263 8078632: conflicts between open and closed SA ports
Closed port is renamed to arm64

Reviewed-by: dlong, dholmes
2015-06-23 20:55:31 +03:00
Daniel Fuchs
4ebbfc918f 8129572: Cleanup usage of getResourceAsStream in jaxp
Reviewed-by: alanb, joehw, mchung, redestad
2015-06-23 19:50:10 +02:00
Mikael Vidstedt
32a2354292 8129518: Remove ParOldGC tests from the jprt hotspot testset
Reviewed-by: dholmes, brutisso
2015-06-23 10:20:10 -07:00
Brian Burkhalter
118a8cf98a 8129510: java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java should exclude testing the Teredo tunneling interface on Windows
Suppress testing the Teredo tunneling interface on Windows.

Reviewed-by: chegar
2015-06-23 09:46:22 -07:00
Bertrand Delsart
5ed1b44143 Merge 2015-06-23 18:03:37 +02:00
Alejandro Murillo
39e7e0d003 Merge 2015-06-23 08:59:06 -07:00
Alejandro Murillo
acbfb8777d Merge 2015-06-23 08:59:06 -07:00
Bertrand Delsart
bf69556039 8087133: Improve sharing of native wrappers in SignatureHandlerLibrary
Fingerprint normalization for arm32

Reviewed-by: dholmes, coleenp
2015-06-23 17:48:34 +02:00
Andrew Dinn
b23811b6b6 8129584: Fix required for aarch64 after 8122937
The fix for 8122937 omitted cpu/aarch64 changes required by src/share fixes

Reviewed-by: kvn, simonis
2015-06-23 10:17:35 -04:00
Konstantin Shefov
d7ff33fd1b 8129532: LFMultiThreadCachingTest.java failed with ConcurrentModificationException
Reviewed-by: vlivanov
2015-06-23 16:36:04 +03:00
Roger Riggs
883dbfb63d Merge 2015-06-23 09:23:53 -04:00
Roger Riggs
35673b527f 8129535: java_props_md.c should compile on VS 2010
Visual Studio 2010 does not allow declarations in the middle of blocks; only at the beginning

Reviewed-by: alanb
2015-06-23 09:21:25 -04:00
Erik Joelsson
5c4eaf6ba0 8129503: The SOURCE value in release file of JDK 9 doesn't contain changesets since b49
Reviewed-by: tbell
2015-06-23 15:11:56 +02:00
Srikanth Adayapalam
63b337e82e 8076538: Verify error at runtime due to incorrect classification of a lambda as being instance capturing
Reviewed-by: mcimadamore
2015-06-23 17:46:23 +05:30
Bengt Rutisson
7f2ffe8c0e 8129549: G1: Make sure the concurrent thread does not mix its logging with the STW pauses
Reviewed-by: pliden, tschatzl
2015-06-23 13:26:05 +02:00
Dmitry Samersoff
f65b2271ab Merge 2015-06-23 11:00:32 +00:00
Dmitry Samersoff
c55d90aeef 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:39 +03:00
Dmitry Samersoff
fdabdd5f40 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:21 +03:00
Dmitry Samersoff
c62e4b8ee3 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:30:57 +03:00
Attila Szegedi
bafa097ac7 8129410: Java adapters with class-level overrides should preserve variable arity constructors
Reviewed-by: lagergren, sundar
2015-06-23 11:16:48 +02:00
Yuri Nesterenko
bdc20e1849 8076468: Add @modules to tests in jdk_desktop test group
Reviewed-by: yan, alexsch
2015-06-23 11:59:27 +03:00
Aleksey Shipilev
cd81d2845d 8129332: Missing test case for JDK-8078438
Add the test case originally developed for JDK-8078438

Reviewed-by: tschatzl
2015-06-23 10:12:44 +02:00
Paul Sandoz
3a0e0c86d3 8129120: Terminal operation properties should not be back-propagated to upstream operations
Reviewed-by: briangoetz, chegar
2015-06-23 09:49:55 +02:00
Semyon Sadetsky
d6271fa629 6519182: SunToolkit.appContextMap should be IdentityMap
Reviewed-by: ant, azvegint
2015-06-23 09:54:19 +03:00
Thomas Stuefe
b46373e827 8078513: [linux] Clean up code relevant to LinuxThreads implementation
Reviewed-by: dholmes, sla, coleenp, simonis
2015-06-22 19:21:04 -04:00
Brian Burkhalter
c0b2c2b0e6 8129499: Structure of java/rmi/activation/rmidViaInheritedChannel tests masks exception
Check for rmid == null before dereferencing the variable.

Reviewed-by: rriggs, chegar
2015-06-22 13:30:21 -07:00
Phil Race
f17974f1df Merge 2015-06-22 13:29:34 -07:00
Phil Race
452e61825c Merge 2015-06-22 13:29:27 -07:00
Phil Race
f6492e9394 Merge 2015-06-22 13:28:57 -07:00
Alexander Zvegintsev
3d7db7c9f5 8081371: [PIT] Test closed/java/awt/FullScreen/DisplayMode/CycleDMImage.java switches Linux to the single device mode
Reviewed-by: alexsch, serb
2015-06-22 15:47:44 +03:00
Alexander Zvegintsev
c8358923f7 8129116: Deadlock with multimonitor fullscreen windows
Reviewed-by: alexsch, serb
2015-06-22 15:43:40 +03:00
Goetz Lindenmaier
bc2fd16b88 8129423: Fix unlink() of LogCompilation tmp files lost in merge of 8007993 and 8060074
Reviewed-by: kvn, simonis
2015-06-22 14:22:19 +02:00
Jaroslav Bachorik
60c572a84a 8080138: sun/management/jmxremote/startstop/JMXStartStopTest.java failed with java.lang.Error intermittently
Reviewed-by: sla
2015-06-22 12:13:56 +02:00
Jaroslav Bachorik
5e723c42f9 8081634: Concurrent usage of a StringBuilder causes test intermittent failures
Reviewed-by: sla, sspitsyn
2015-06-22 12:13:39 +02:00
Roger Riggs
c1108923f4 8066504: GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version 0
System property os.name and os.version should report the version of kernel32.dll

Reviewed-by: alanb, igerasim
2015-06-20 10:03:42 -04:00
Dmitrij Pochepko
f0b036aabc 8098834: Update jprt.properties with property listing tests subtrees
Reviewed-by: dholmes
2015-06-20 11:24:07 +03:00
Vladimir Kozlov
133faafebc 8080157: assert(allocates2(pc)) failed: not in CodeBuffer memory
Increase code_size2 for stubs

Reviewed-by: iveresov
2015-06-19 17:46:42 -07:00
Vladimir Kozlov
4da3353584 Merge 2015-06-19 15:25:09 -07:00
Vladimir Kozlov
2691776621 Merge 2015-06-19 15:24:07 -07:00
Brian Burkhalter
9966dd8518 8081293: java/nio/file/Files/CopyAndMove.java failed with java.nio.file.FileAlreadyExistsException intermittently
Print seed used to initialize Random and add ability to specify seed.

Reviewed-by: alanb, chegar
2015-06-19 09:35:10 -07:00
Amanda Jiang
aee58f70c2 8050409: Test for JAAS getPrivateCredentials
Reviewed-by: weijun
2015-06-19 14:06:24 +08:00
Alejandro Murillo
d5fbd33cd3 Merge 2015-06-18 22:38:45 -07:00
Alejandro Murillo
0f5c57752d Merge 2015-06-18 22:38:36 -07:00
Alejandro Murillo
ce81f0da6d Merge 2015-06-18 22:38:34 -07:00
Brian Burkhalter
906d12aa2d 8079539: java/util/prefs/CodePointZeroPrefsTest.java fails with "java.util.prefs.BackingStoreException: Couldn't get file lock."
Add @run tag with property -Djava.util.prefs.userRoot=.

Reviewed-by: alanb
2015-06-18 17:20:42 -07:00
Daniel D. Daugherty
6bb2203891 Merge 2015-06-18 13:18:12 -07:00
Daniel D. Daugherty
c9605d2534 Merge 2015-06-18 13:05:59 -07:00
Lana Steuck
66cbd65dc5 Merge 2015-06-18 10:25:10 -07:00
Lana Steuck
11e28c5810 Merge 2015-06-18 10:24:57 -07:00
Lana Steuck
76c948185e Merge 2015-06-18 10:24:33 -07:00
Lana Steuck
80a2c0a005 Merge 2015-06-18 10:24:20 -07:00
Lana Steuck
c9e37d0dcb Merge 2015-06-18 10:24:14 -07:00
Lana Steuck
af99c04aaa Merge 2015-06-18 10:23:45 -07:00
Lana Steuck
c3bf13e563 Merge 2015-06-18 10:23:33 -07:00
Erik Joelsson
5d48245cf7 8080915: [macosx] JDK 9 installation does not add java info to the java_home plist
Reviewed-by: tbell
2015-06-18 17:00:44 +02:00
Athijegannathan Sundararajan
39366de6a7 8117883: nasgen prototype, instance member count calculation is wrong
Reviewed-by: hannesw, lagergren
2015-06-18 19:20:53 +05:30
Lana Steuck
bcd100fae5 Added tag jdk9-b69 for changeset b15ed6c5dedd 2015-06-18 01:43:18 -07:00
Lana Steuck
9cb5471823 Added tag jdk9-b69 for changeset adbe1040a135 2015-06-18 01:43:17 -07:00
Lana Steuck
9e43534d73 Added tag jdk9-b69 for changeset d24a2c340a47 2015-06-18 01:43:13 -07:00
Lana Steuck
344c6de926 Added tag jdk9-b69 for changeset 97f4fef2d420 2015-06-18 01:43:12 -07:00
Lana Steuck
47104bc101 Added tag jdk9-b69 for changeset cf43381c8a56 2015-06-18 01:43:12 -07:00
Lana Steuck
c4879427a9 Added tag jdk9-b69 for changeset 4ba02b88b7ed 2015-06-18 01:43:09 -07:00
Lana Steuck
8c6ad8b54e Added tag jdk9-b69 for changeset 20f60dc00878 2015-06-18 01:43:08 -07:00
Lana Steuck
eb0abc6a4c Added tag jdk9-b69 for changeset b5fc60ba6aa1 2015-06-18 01:43:07 -07:00
Erik Joelsson
1fd2ac8e9b 8087208: Add devkit creation script for windows
Reviewed-by: ihse
2015-06-18 10:15:41 +02:00
Erik Joelsson
b0742f7a97 8087193: Support building with devkits on Macosx
Reviewed-by: ihse
2015-06-18 10:08:42 +02:00
Rajan Halade
d3571832fc 8060103: CheckBlacklistedCerts.java thinks its openjdk build
Reviewed-by: weijun
2015-06-18 11:16:01 +08:00
Anthony Scarpino
57a503e4fc 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:41:04 -07:00
Mikhailo Seledtsov
8993ac36f0 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Reviewed-by: iklam, dcubed, coleenp
2015-06-17 21:43:26 +00:00
Sonali Goel
08aea23120 8080826: Group 15: golden files for tests in tools/javac/generics/type* dirs
Reviewed-by: jjg
2015-06-17 13:20:33 -07:00
Hannes Wallnöfer
18c25f6f9f 8098808: Convert Scope from interface to class
Reviewed-by: sundar, attila
2015-06-17 13:56:53 +02:00
Athijegannathan Sundararajan
55f2b58bad 8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30
Hannes Wallnöfer
28f8652430 8087312: PropertyMapWrapper.equals should compare className
Reviewed-by: sundar, attila
2015-06-17 09:10:45 +02:00
Joe Darcy
c8cd505356 8098579: Remove non-existent javax.tools.annotation package from CORE_PKGS.gmk
Reviewed-by: jjg
2015-06-16 16:11:18 -07:00
Andrew Haley
52b991b411 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 17:31:53 +01:00
Andrew Haley
97bd6da6c6 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 14:58:30 +01:00
Alexander Kulyakhtin
dc2bada880 8062045: Update svc regression tests to extend the default security policy instead of override
Changed main/othervm/policy to main/othervm/java.security.policy in the tests from the jdk_svc tests group

Reviewed-by: jbachorik
2015-06-16 16:36:27 +03:00
Athijegannathan Sundararajan
2ea5c82229 8098578: Global scope is not accessible with indirect load call
Reviewed-by: attila, hannesw
2015-06-16 18:26:25 +05:30
Hannes Wallnöfer
e87ce70fa1 8098807: Strict eval throws ClassCastException with large scripts
Reviewed-by: sundar, attila
2015-06-16 13:25:41 +02:00
Srikanth Adayapalam
23e3cf3d7f 8074346: Type annotation on a qualified type causes spurious 'cannot find symbol' errors
Issue clear diagostic when package names in a qualified type name are illegally annotated

Reviewed-by: mcimadamore, jlahoda
2015-06-16 09:39:59 +05:30
Alejandro Murillo
03de95d555 Merge 2015-06-15 10:56:29 -07:00
Frank Yuan
8ad1f8523c 8080907: Develop test for Xerces Update: XML Schema Validation
Reviewed-by: lancea, joehw
2015-06-15 09:25:23 -07:00
Hannes Wallnöfer
3c76c77513 8098546: eval within a 'with' leaks definitions into global scope
Reviewed-by: sundar, attila
2015-06-15 15:49:14 +02:00
Hannes Wallnöfer
21c3399f5e 8086052: Script evaluation should not return last function declaration
Reviewed-by: sundar, attila
2015-06-15 15:37:01 +02:00
Vladimir Ivanov
10ca8052a1 8087218: Constant fold loads from final instance fields in VM anonymous classes
Reviewed-by: jrose, rbackman
2015-06-15 15:27:04 +03:00
Sergei Kovalev
0141308dfa 8067163: Several JT_HS tests fails due to ClassNotFoundException on compacts
Reviewed-by: dholmes, vlivanov
2015-06-17 16:22:38 +03:00
Alexander Alexeev
1b1d8f21cb 8129426: aarch64: add support for PopCount in C2
Add support for PopCount using SIMD cnt and addv inst

Reviewed-by: kvn, aph
2015-06-25 13:41:29 +00:00
Ed Nevill
38d2a4cc99 8086087: aarch64: add support for 64 bit vectors
Support 64 bit vectors

Reviewed-by: kvn, aph
2015-06-25 08:52:12 +00:00
James Cheng
e2533553f6 8073583: C2 support for CRC32C on SPARC
Reviewed-by: jrose, kvn
2015-06-29 00:10:01 -07:00
Jesper Wilhelmsson
a15fb7f8d5 Merge 2015-06-15 13:48:28 +02:00
Jesper Wilhelmsson
230f1ae9c8 Merge 2015-06-15 13:48:27 +02:00
Joe Darcy
5b04ada0dd 8086029: Fix doclint reference warnings in org.omg.CORBA
Reviewed-by: lancea, alanb
2015-06-12 17:33:15 -07:00
Jiangli Zhou
929482f807 Merge 2015-06-12 19:54:14 -04:00
Jiangli Zhou
2aebdad393 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:03:04 -04:00
Sean Mullan
451c9d3170 Merge 2015-06-12 16:39:25 -04:00
Sean Mullan
22fad64529 8087283: Add support for the XML Signature here() function to the JDK XPath implementation
Reviewed-by: alanb, joehw
2015-06-12 16:36:31 -04:00
Vladimir Kozlov
bd1fbafc35 Merge 2015-06-12 09:59:30 -07:00
Severin Gehwolf
9ac0d9d341 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
Use __builtin_frame_address(0) rather than returning address of local variable.

Reviewed-by: dholmes
2015-06-12 16:09:45 +01:00
Andrew Haley
50746b15a9 8078521: AARCH64: Add AArch64 SA support
Add AArch64 SA support

Reviewed-by: dsamersoff, dholmes
2015-06-12 15:49:55 +01:00
Athijegannathan Sundararajan
907f7f2c7c 8087211: Indirect evals should be strict with -strict option
Reviewed-by: lagergren, hannesw
2015-06-12 16:55:20 +05:30
Lana Steuck
94c4895e47 Merge 2015-06-11 20:20:05 -07:00
Lana Steuck
e012aadd0c Merge 2015-06-11 20:19:56 -07:00
Lana Steuck
d812ad995b Merge 2015-06-11 20:19:26 -07:00
Lana Steuck
a530e7fff6 Merge 2015-06-11 20:19:18 -07:00
Lana Steuck
a0d63f0bf4 Merge 2015-06-11 20:19:14 -07:00
Lana Steuck
bb2f288ad9 Merge 2015-06-11 20:18:55 -07:00
Lana Steuck
0e92771ba8 Merge 2015-06-11 20:18:44 -07:00
Lana Steuck
10bafed075 Merge 2015-06-11 20:18:41 -07:00
Alejandro Murillo
8eb3086ddf Merge 2015-06-11 12:02:13 -07:00
Alejandro Murillo
95736933bd Merge 2015-06-11 12:02:12 -07:00
Lana Steuck
0846823187 Added tag jdk9-b68 for changeset 4b727de06e46 2015-06-11 10:44:20 -07:00
Lana Steuck
c154faf881 Added tag jdk9-b68 for changeset 9bccf568791d 2015-06-11 10:44:19 -07:00
Lana Steuck
1dd0cc414a Added tag jdk9-b68 for changeset 16c2f760e636 2015-06-11 10:44:14 -07:00
Lana Steuck
2863303024 Added tag jdk9-b68 for changeset e8e25f52dbd0 2015-06-11 10:44:13 -07:00
Lana Steuck
3635abd3f7 Added tag jdk9-b68 for changeset 09305604d861 2015-06-11 10:44:12 -07:00
Lana Steuck
8ba193319d Added tag jdk9-b68 for changeset 930f9e292f20 2015-06-11 10:44:09 -07:00
Lana Steuck
e80b3249aa Added tag jdk9-b68 for changeset 32897056f998 2015-06-11 10:44:08 -07:00
Lana Steuck
a9836ce73e Added tag jdk9-b68 for changeset 55a005ebb6c2 2015-06-11 10:44:07 -07:00
Brent Christian
47526a6163 8064956: Remove sun.misc.ExtensionInstallationProvider and relevant classes
Reviewed-by: mchung, alanb
2015-06-11 10:38:29 -07:00
Volker Simonis
9a8eaa367e 8081674: EmptyStackException at startup if running with extended or unsupported charset
Reviewed-by: mchung, alanb
2015-06-11 17:29:09 +02:00
Omair Majid
1a4a4c0f70 8087156: SetupNativeCompilation ignores CFLAGS_release for cpp files
Reviewed-by: erikj
2015-06-11 10:37:11 -04:00
Vladimir Ivanov
8d56892707 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:20:01 +03:00
Vladimir Ivanov
90a42c2491 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Goetz Lindenmaier
af8e2b97ae 8087183: Fix call to inline function is_oop in header debugInfo.hpp
Reviewed-by: kvn, kbarrett, dholmes
2015-06-11 10:50:27 +02:00
Vladimir Kozlov
d62598136b 8129094: assert(is_java_primitive(bt)) failed: only primitive type vectors
Ignored non-primitive type memory operation regardless its (or its inputs) control.

Reviewed-by: roland, mcberg
2015-06-18 11:09:29 -07:00
Anthony Scarpino
c4c528df14 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:48:25 -07:00
Michael Berg
7c7b91845f 8080325: SuperWord loop unrolling analysis
Determine loop unroll factor based on supported vectors sizes.

Reviewed-by: roland, kvn
2015-06-16 16:10:36 -07:00
Athijegannathan Sundararajan
f3198a6632 8087136: regression: apply on $EXEC fails with ClassCastException
Reviewed-by: hannesw, lagergren
2015-06-11 13:33:34 +05:30
Ed Nevill
f8cc15a29b 8085805: aarch64: AdvancedThresholdPolicy lacks tuning of InlineSmallCode size
Set default value of InlineSmallCode to 2500 on aarch64

Reviewed-by: kvn
2015-06-10 12:29:07 +00:00
Roger Riggs
8979cb0b2d 8086117: java/lang/Runtime/exec/LotsOfOutput.java still fails intermittently with Process consumes memory
Reviewed-by: chegar
2015-06-10 07:52:43 -04:00
Konstantin Shefov
0561e64cb1 8085979: Make some DTLS feature functional tests work also for TLS protocol
Reviewed-by: xuelei
2015-06-10 12:44:57 +03:00
Andreas Lundblad
d19a3d76d3 8087115: Due to a javac type inference issue, sjavac doesn't compile with 8u31
Added explicit type arguments.

Reviewed-by: jlahoda
2015-06-10 11:18:10 +02:00
Jesper Wilhelmsson
de0a29bb1a Merge 2015-06-09 16:48:51 +02:00
Andreas Lundblad
ebd11a8353 8054717: SJavac should track changes in the public apis of classpath classes!
Adjusted Java compilation to accomodate for changes to sjavac.

Reviewed-by: erikj
2015-06-09 16:08:38 +02:00
Andreas Lundblad
3a31593507 8054717: SJavac should track changes in the public apis of classpath classes!
Added functionality for tracking changes in public APIs of classpath classes.

Reviewed-by: jlahoda, erikj
2015-06-09 15:57:45 +02:00
Sean Mullan
d107e7ec6c Merge 2015-06-09 09:19:43 -04:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Leonid Mesnik
5b6281adb8 8079134: [TESTBUG] Remove applicable_*gc and needs_*gc groups from TEST.groups
Reviewed-by: mgerdin, drwhite
2015-06-09 15:03:10 +03:00
Chris Plummer
c8b153a4e7 8087153: EXCEPTION_ACCESS_VIOLATION when CDS RO section vanished on win32
When mapping RW for debugging support, update space_info->read_only to reflect it is RW

Reviewed-by: dcubed, coleenp, iklam
2015-06-19 14:23:39 -07:00
Joseph Provino
ae6886e4d9 8085987: Vm crash "not long aligned" in nsk/stress/metaspace/jck60/jck6* tests
The word size being allocated needs to be rounded up.

Reviewed-by: jmasa, tbenson
2015-06-18 16:28:04 -04:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Thomas Schatzl
5084eb24d0 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.

Reviewed-by: jmasa, fzhinkin
2015-06-19 11:27:07 +02:00
Andrew Haley
b387838cea 8079315: UseCondCardMark broken in conjunction with CMS precleaning on x86
Add the necessary StoreLoad barrier in interpreter, C1 and C2 for x86

Reviewed-by: tschatzl
2015-06-19 09:41:50 +02:00
Aleksey Shipilev
6cb9f920e1 8078438: Interpreter should support conditional card marks (UseCondCardMark) on x86 and aarch64
Add interpreter support for conditional card marks on x86 and aarch64

Reviewed-by: tschatzl, aph
2015-06-19 09:41:49 +02:00
Dmitry Dmitriev
4875379a42 8072931: JEP-JDK-8059557: Test task: test framework development
Test set for JEP 245 Validate JVM Command-Line Flag Arguments

Reviewed-by: ctornqvi, dholmes, gziemski
2015-06-19 07:57:31 +03:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Bill Pittore
7f027ca123 8080776: ARM 32 bit binaries do not run on 64 bit ARM v8 hardware
Need to know arm cpu type earlier in the init sequence to avoid illegal instruction

Reviewed-by: dholmes, dlong, bdelsart
2015-06-18 10:47:34 -04:00
Harold Seigel
058dd16f78 8042041: https://bugs.openjdk.java.net/browse/JDK-8042041
Don't assert if class has a bad element_tag in an element_value structure of a RuntimeVisibleAnnotation attribute.  Instead, ignore the attribute.

Reviewed-by: acorn, gtriantafill
2015-06-18 08:44:28 -04:00
Erik Joelsson
f6fac96205 8087195: Support building hotspot with devkits on Macosx
Reviewed-by: dholmes, ihse
2015-06-18 10:26:58 +02:00
Coleen Phillimore
eb02df173b Merge 2015-06-18 00:40:51 +00:00
Coleen Phillimore
fbb07f9b85 Merge 2015-06-17 23:46:35 +00:00
Ioi Lam
09a689cd20 Merge 2015-06-17 22:49:17 +00:00
Coleen Phillimore
ac072b303d 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: iklam, dcubed
2015-06-17 21:44:48 +00:00
Tom Benson
8da14a64c8 8098815: Assertion failure in CDS shared string archive support on Windows
Check for a zero length before calling the G1 fill_archive_regions routine

Reviewed-by: coleenp, iklam, dcubed
2015-06-17 13:22:38 -07:00
David Lindholm
295a084cc5 7169803: Usage of pretenured value is not correct
Reviewed-by: tamao, jmasa
2015-06-17 17:29:56 +02:00
Jesper Wilhelmsson
8a2a6073df 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by: kbarrett, mgerdin
2015-06-17 14:44:54 +02:00
Coleen Phillimore
2a2b10342e Merge 2015-06-17 15:45:43 +00:00
Coleen Phillimore
29a1b9c2ed 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Poonam Bajaj
87b7e052f2 Merge 2015-06-17 00:52:06 +00:00
Poonam Bajaj
20bb21349c 8085965: VM hangs in C2Compiler
CMSClassUnloadingEnabled and ExplicitGCInvokesConcurrentAndUnloadsClasses should be disabled when -Xnoclassgc is specified

Reviewed-by: jmasa, kbarrett
2015-06-16 14:30:27 -07:00
Andreas Eriksson
606468abc4 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Bertrand Delsart
a6a13b5344 8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode

Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Christian Tornqvist
e720ad23ac 8087121: bscmake fails when building inside VS2013
Reviewed-by: hseigel, lfoltan, mgronlun
2015-06-15 14:33:51 -07:00
Severin Gehwolf
709d3d936e 8098552: 8079792 breaks Zero builds without precompiled headers
Include memRegion.hpp in g1BiasedArray.hpp

Reviewed-by: ehelin, sjohanss
2015-06-15 11:50:16 +02:00
Jesper Wilhelmsson
a347180ac5 Merge 2015-06-15 13:48:30 +02:00
Stefan Johansson
d9e465adaf 8077279: assert(ic->is_clean()) failed: IC should be clean
Reviewed-by: rbackman, thartmann
2015-06-15 10:24:38 +02:00
Kim Barrett
8098f06af1 8098517: Unprotected PrintMalloc in os::realloc
Also verify tty != NULL before printing.

Reviewed-by: dholmes
2015-06-15 01:38:42 -04:00
Tom Benson
df2efa1c37 8042668: GC Support for shared heap ranges in CDS
Added "Archive Region" support to the G1 GC

Reviewed-by: tschatzl, brutisso
2015-06-12 19:49:54 -04:00
Jiangli Zhou
edcd4cb94b 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:29:14 -04:00
David Lindholm
c3f3f0f1bd 8025608: GC trace events missing nursery size information
Reviewed-by: sjohanss, mgerdin
2015-06-12 12:55:32 +02:00
Goetz Lindenmaier
2a9614af95 8086073: Fix PrintStubCode for empty StubCodeGenerator
Reviewed-by: kvn, lfoltan
2015-06-11 11:07:03 -04:00
Kim Barrett
8a1f708096 Merge 2015-06-10 07:37:11 +02:00
Jesper Wilhelmsson
5a01287618 Merge 2015-06-10 05:59:44 +02:00
Coleen Phillimore
b13cad3a3d Merge 2015-06-10 04:39:15 +02:00
Kim Barrett
4bbbdd7aa6 8086027: Multiple STATIC_ASSERTs at class scope doesn't work
Make supporting typedef name unique via __LINE__ concatenation

Reviewed-by: dholmes, brutisso
2015-06-09 15:05:47 -04:00
Max Ockner
d796407e50 8076161: Runtime stub for throw_null_pointer_exception always constructs log messages
A LogEvents filter has been added to avoid unnecessary string construction.

Reviewed-by: coleenp, hseigel, dholmes
2015-06-09 12:22:21 -04:00
Jesper Wilhelmsson
393cf6b287 Merge 2015-06-09 16:48:55 +02:00
Coleen Phillimore
9e5e7f9e5a 8035074: hs_err improvement: Add time zone information in the hs_err file
8026335: hs_err improvement: Print exact compressed oops mode and the heap base value
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors or StackOverflowErrors

Add requested things to hs_err file.

Reviewed-by: ctornqvi, dholmes
2015-06-09 10:26:25 -04:00
Roland Westrelin
fd10da6423 8086016: closed/java/text/Format/NumberFormat/BigDecimalCompatibilityTest.java is crashing
Trying to transform ArrayCopyNode in dying part of the graph

Reviewed-by: kvn
2015-06-09 12:09:03 +02:00
Sergei Kovalev
518225447f 8078145: testlibrary_tests/RandomGeneratorTest.java failed with AssertionError : Unexpected random number sequence for mode: NO_SEED
Reviewed-by: iignatyev, vlivanov
2015-06-15 16:47:24 +03:00
Roland Westrelin
d7522fb084 8086046: escape analysis generates incorrect code as of B67
Load bypasses arraycopy that sets the value after the ArrayCopyNode is expanded

Reviewed-by: kvn
2015-06-12 14:10:17 +02:00
Jan Lahoda
66dcce4334 8082311: NPE when compiling expression with \"^\"
Using BinaryNumericOperator for numeric bitwise operators and BinaryBooleanOperator for boolean bitwise operators, as the common BinaryBitwiseOperator allowed to incorrectly combine numeric and boolean operands

Reviewed-by: mcimadamore
2015-06-09 11:52:13 +02:00
Michael Haupt
0f1bfba6c9 8080490: add $EXECV command to Nashorn scripting mode
Additional arguments to the command line can be passed as a single array, or as a sequence of varargs.

Reviewed-by: attila, hannesw
2015-06-09 09:27:02 +02:00
Athijegannathan Sundararajan
f5e449156c 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
2015-06-09 14:19:57 +05:30
Paul Sandoz
5744f4fc30 8071597: Add Stream dropWhile and takeWhile operations
Reviewed-by: briangoetz, smarks, chegar, forax
2015-06-09 07:10:03 +01:00
Weijun Wang
5d91ae3352 8058290: JAAS Krb5LoginModule has suspect ticket-renewal logic, relies on clockskew grace
Reviewed-by: mullan
2015-07-13 17:44:34 +08:00
Pavel Rappo
91a4a6b0ce 8064925: URLConnection::getContent needs to be updated to work with modules
Reviewed-by: chegar, alanb
2015-07-10 16:40:12 +01:00
Paul Sandoz
e56c76e9f7 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods
Reviewed-by: lancea, alanb, chegar, dfuchs, mullan, smarks
2015-06-09 07:10:02 +01:00
Joe Darcy
efa84f658a 8081547: Prepare client libs regression tests for running in a concurrent, headless jtreg environment
Reviewed-by: alanb
2015-06-30 17:48:06 -07:00
Alejandro Murillo
f55c892a65 Merge 2015-06-30 11:20:43 -07:00
Brian Burkhalter
bfe32f271f 8129632: (fs) Files.probeContentType returns null on Mac OS X
Append a Uniform Type Identifier-based FileType Detector for Mac OS X

Reviewed-by: alanb
2015-06-30 10:47:54 -07:00
Sunny Chan
36d62dcbb1 8080945: Improve the performance of primitive Arrays.sort for certain patterns of array elements
Co-authored-by: Mohammad Rezaei <mohammad.rezaei@gs.com>
Reviewed-by: psandoz
2015-06-09 07:05:48 +01:00
Frank Yuan
dfdcd9050f 8080908: Develop test for Xerces Update: XPointer
Reviewed-by: lancea, joehw
2015-06-08 22:08:47 -07:00
Frank Yuan
4a0e9912f0 8080906: Develop test for Xerces Update: DOM L3 Serializer
Reviewed-by: lancea, joehw
2015-06-08 21:59:07 -07:00
Alejandro Murillo
ccbe5d7ec0 Merge 2015-06-08 17:19:50 -07:00
Rob McKenna
ee5103f696 7130985: Four helper classes missing in Sun JDK
Reviewed-by: coffeys, msheppar
2015-06-08 21:35:36 +01:00
Rob McKenna
57953eb25d 7130985: Four helper classes missing in Sun JDK
Reviewed-by: coffeys, msheppar
2015-06-08 21:32:26 +01:00
Alejandro Murillo
84e8aa917e Merge 2015-06-08 11:11:48 -07:00
Alejandro Murillo
2f0a309d84 Merge 2015-06-08 11:11:47 -07:00
Alejandro Murillo
27b1730c95 Merge 2015-06-08 11:11:46 -07:00
Goetz Lindenmaier
f286447281 8085975: Fix warning "converting to jlong from double" of gcc 4.1.2 after 8079561
Reviewed-by: mgerdin, ehelin
2015-06-08 15:40:28 +02:00
Volker Simonis
1360b41194 8080684: PPC64: Fix little-endian build after "8077838: Recent developments for ppc"
Also fix the Power8 detection which was broken because we issued an illegal 'lqarx' instruction

Reviewed-by: kvn, asmundak
2015-06-08 17:39:35 +00:00
Katja Kantserova
a977dfe41f 8085973: The targeted processes in javax/management tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 15:27:37 +02:00
Katja Kantserova
18df7777e0 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-09 10:11:11 +02:00
Jesper Wilhelmsson
f8b81a22d7 Merge 2015-06-09 16:48:54 +02:00
Aleksei Efimov
a6488e0152 8080774: DateFormat for Singapore/English locale (en_SG) is M/d/yy instead of d/M/yy
Reviewed-by: naoto
2015-06-08 16:17:37 +03:00
Alexander Stepanov
2541238e18 8081517: minor cleanup for docs
Fix some tidy and javadoc warnings/errors

Reviewed-by: lancea, rriggs
2015-06-08 16:37:53 +04:00
Katja Kantserova
811fa6e09f 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 12:54:05 +02:00
Michael Haupt
a1bb22a48c 8085885: address Javadoc warnings in Nashorn source code
Reviewed-by: hannesw, lagergren
2015-06-08 10:28:04 +02:00
Athijegannathan Sundararajan
31d1f45723 8085937: add autoimports sample script to easily explore Java classes in interactive mode
Reviewed-by: lagergren, attila
2015-06-08 14:10:39 +05:30
Athijegannathan Sundararajan
2466fa7128 8085802: Nashorn -nse option causes parse error on anonymous function definition
Reviewed-by: lagergren, attila
2015-06-08 13:57:44 +05:30
Chris Plummer
c8c0356588 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:40:09 -07:00
Chris Plummer
4ba69287b6 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:38:13 -07:00
Chris Plummer
8d539c0d7e 8081771: ProcessTool.createJavaProcessBuilder() needs new addTestVmAndJavaOptions argument
Copy ProcessTool.createJavaProcessBuilder functionality from hotspot/test

Reviewed-by: rriggs, sspitsyn, dholmes
2015-06-05 13:38:00 -07:00
Jason Uh
d7cf775ca7 8076535: Deprecate the com.sun.jarsigner package
Reviewed-by: mullan
2015-06-05 11:27:22 -07:00
Athijegannathan Sundararajan
71388e3fb6 8085810: Return value of Objects.requireNonNull call can be used
Reviewed-by: lagergren, attila
2015-06-05 19:05:37 +05:30
Brian Toal
57abe9b399 8080819: Inet4AddressImpl regression caused by JDK-7180557
Reviewed-by: michaelm
2015-06-05 14:20:40 +01:00
Srikanth Adayapalam
7dd4ada04b 8081521: Compiler has trouble compiling nested diamond allocation constructs involving anonymous classes
Reviewed-by: mcimadamore
2015-06-05 18:43:11 +05:30
Miroslav Kos
2a6517f7c1 8072839: JAX-B Plugability Layer: using java.util.ServiceLoader
Reviewed-by: alanb
2015-06-05 15:05:55 +02:00
Michael Haupt
cd3974600b 8080087: Nashorn $ENV.PWD is originally undefined
On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.

Reviewed-by: lagergren, sundar
2015-06-05 12:38:53 +02:00
Konstantin Shefov
8f99c7eca7 8068416: LFGarbageCollectedTest.java fails with OOME: "GC overhead limit exceeded"
Reviewed-by: vlivanov
2015-06-05 13:14:36 +03:00
Konstantin Shefov
07f5fc8dee 8072515: Test Task: Develop new tests for JEP 219: Datagram Transport Layer Security (DTLS)
Reviewed-by: xuelei, asmotrak, rhalade
2015-06-05 12:22:36 +03:00
Derek White
24c9ffed42 7097567: G1: abstract and encapsulate collector phases and transitions between them
Reviewed-by: mgerdin, tschatzl
2015-06-05 10:27:41 +02:00
David Lindholm
5f5af54f95 8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +02:00
Vladimir Kozlov
4c0bf57106 Merge 2015-06-04 19:24:28 -07:00
Lana Steuck
e1bbadb9d0 Merge 2015-06-04 18:50:30 -07:00
Lana Steuck
28ac2ad5f8 Merge 2015-06-04 18:50:05 -07:00
Lana Steuck
3c3e06f265 Merge 2015-06-04 18:49:37 -07:00
Lana Steuck
4d46f7fca4 Merge 2015-06-04 18:49:20 -07:00
Lana Steuck
13a3f9e134 Merge 2015-06-04 18:49:16 -07:00
Lana Steuck
1320e49d50 Merge 2015-06-04 18:49:07 -07:00
Lana Steuck
9acaf0b0bc Merge 2015-06-04 18:48:30 -07:00
Stuart Marks
bc90fc9b01 8072726: add adapter to convert Enumeration to Iterator
Reviewed-by: redestad, forax, chegar, dfuchs, psandoz, rriggs, briangoetz
2015-06-04 18:28:14 -07:00
Joe Darcy
31fe486b50 8083664: Update AudioFileWriter to generate working @see reference
8083436: Doclint regression introduced by JDK-8043758

Reviewed-by: alanb, wetmore, xuelei
2015-06-04 18:11:43 -07:00
Alejandro Murillo
c219f06861 Merge 2015-06-04 15:38:00 -07:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Alejandro Murillo
9be8f28ef1 Merge 2015-06-04 15:37:59 -07:00
Vladimir Kozlov
fcd7686431 Merge 2015-06-04 12:52:30 -07:00
Vladimir Kozlov
0fa9965f91 Merge 2015-06-04 12:49:55 -07:00
Chris Hegarty
52d42bb03a 8085858: Better failure output for test/java/util/Arrays/ParallelPrefix.java
Reviewed-by: psandoz, igerasim
2015-06-04 19:28:45 +01:00
Daniil Titov
8c644ca310 8033530: [regression] Applet fails to load resources or connect back to server under some scenarios
Reviewed-by: mchung, michaelm, serb, ddehaven
2015-06-04 11:18:52 -07:00
Daniil Titov
823fb4bd9e 8033530: [regression] Applet fails to load resources or connect back to server under some scenarios
Reviewed-by: mchung, michaelm, serb, ddehaven
2015-06-04 11:17:02 -07:00
Alejandro Murillo
538541e118 Merge 2015-07-14 16:29:07 -07:00
Joe Darcy
61e365e5f8 8080722: Revisit how to check for doclint reference warning during the build
Reviewed-by: alanb
2015-07-13 09:29:01 -07:00
Chris Hegarty
93b5e256a0 Merge 2015-06-04 19:00:56 +01:00
Sean Coffey
4ae5f74173 8072384: Setting IP_TOS on java.net sockets not working on unix
Reviewed-by: michaelm
2015-06-04 18:16:25 +01:00
David Katleman
2c453beab1 Added tag jdk9-b67 for changeset c275389a3680 2015-06-04 09:31:52 -07:00
David Katleman
92021a8d90 Added tag jdk9-b67 for changeset 86337dfa5da2 2015-06-04 09:31:52 -07:00
David Katleman
077ea341b1 Added tag jdk9-b67 for changeset 00438d7bb747 2015-06-04 09:31:49 -07:00
David Katleman
e27fac003b Added tag jdk9-b67 for changeset 2a45cd1813f7 2015-06-04 09:31:49 -07:00
David Katleman
d93037658d Added tag jdk9-b67 for changeset 0944ee4b0119 2015-06-04 09:31:48 -07:00
David Katleman
cd225874d3 Added tag jdk9-b67 for changeset a5240da82a64 2015-06-04 09:31:46 -07:00
David Katleman
c051a3bcfb Added tag jdk9-b67 for changeset b83f001a855d 2015-06-04 09:31:46 -07:00
David Katleman
f989511641 Added tag jdk9-b67 for changeset b0bcdde43c19 2015-06-04 09:31:45 -07:00
Erik Joelsson
d1f8537874 8081814: Modularize the deploy build
Reviewed-by: ihse, ddehaven
2015-06-04 18:28:52 +02:00
Peter Brunet
89b1efee30 8114861: bad javadoc tag in javax.accessibility.AccessibilityProvider
Fix bad syntax on use of @code

Reviewed-by: serb, azvegint
2015-06-18 14:45:44 -05:00
Sergey Bylokhov
e4e2dba6d0 8078658: Make custom Cursors available for modular build
Reviewed-by: alanb, chegar
2015-06-18 14:56:45 +03:00
Yuri Nesterenko
cadfa093b6 8081306: [TEST_BUG] remove imports of the internal API from some regression tests
Reviewed-by: serb
2015-06-18 11:05:33 +03:00
Morvan Le Mescam
57dd12307f 8025492: Hand cursor does not use Windows' system cursor
Reviewed-by: ant, bae
2015-06-17 15:57:26 +03:00
Phil Race
fd974c3567 Merge 2015-06-16 13:00:37 -07:00
Phil Race
ded46b191f Merge 2015-06-16 10:52:39 -07:00
Mandy Chung
2bdd5d6684 8098850: Remove remaining native2ascii resource files and man pages
Reviewed-by: alanb
2015-06-16 10:11:02 -07:00
Pete Brunet
687f9dd406 Merge 2015-06-16 10:38:23 -05:00
Semyon Sadetsky
12d1551c29 8022057: JFileChooser blocks EDT in Win32ShellFolder2.getIcon
Reviewed-by: serb, ant
2015-06-16 08:46:41 +03:00
Phil Race
b5764565e8 8080163: Uninitialised variable in jdk/src/java/desktop/share/native/libfontmanager/layout/LookupProcessor.cpp
Reviewed-by: serb, srl
2015-06-15 11:01:43 -07:00
Peter Brunet
24f072762d 8055160: Support loading of Assistive Technology from service provider
Load assistive technolgy via service provider

Reviewed-by: mchung, prr, alanb, ihse, serb
2015-06-15 12:36:35 -05:00
Alexander Zvegintsev
e237db9f3e 8077686: OperationTimedOut exception inside from XToolkit.syncNativeQueue call on Ubuntu 15.04
Reviewed-by: alexsch, serb
2015-06-15 14:43:31 +03:00
Andreas Eriksson
0b7ae9e511 8081412: Remove MHIllegalAccess.java from the problem list
Reviewed-by: darcy
2015-06-15 13:12:12 +02:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Daniel Fuchs
38a04dd009 8080933: LogManager.demandSystemLogger should accept a 'caller' argument
The caller's class is now passed to LogManager.demandSystemLogger

Reviewed-by: mchung
2015-06-16 12:15:54 +02:00
Alejandro Murillo
ff4f8a8cef Merge 2015-06-15 10:56:31 -07:00
Brian Burkhalter
4b1eb9b618 8081843: (fs) FileStore.getTotalSpace returns unexpected results with >2TB file systems
On Mac OS X use statfs() instead of statvfs().

Reviewed-by: alanb
2015-06-12 17:06:28 -07:00
Brian Burkhalter
a2d7bc3020 8087288: File.get{Free,Total,Usable}Space may return unexpected results with >2TB file systems
On Mac OS X replace statvfs64() and struct statvfs64 with statfs() and struct statfs, respectively, and f_frsize with f_bsize.

Reviewed-by: alanb
2015-06-12 17:05:26 -07:00
Sean Mullan
1f66d9bc8b Merge 2015-06-12 16:40:05 -04:00
Sean Mullan
b05b9cbefa 8087283: Add support for the XML Signature here() function to the JDK XPath implementation
Reviewed-by: alanb, joehw
2015-06-12 16:36:33 -04:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Sergey Bylokhov
0357758744 7178683: [macosx] The default directory for open dialog is different for FileDialogOpenDirTest.html
Reviewed-by: azvegint, ant
2015-06-12 15:01:10 +03:00
Amy Lu
3f8d76f352 8085879: Mark intermittently failing: java/util/Arrays/ParallelPrefix.java
Reviewed-by: darcy
2015-06-12 14:28:21 +08:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Phil Race
3187c1a8fb 8081756: Mastering Matrix Manipulations
Reviewed-by: serb, bae, mschoene
2015-06-10 12:43:18 -07:00
Sergey Bylokhov
b8c821dfbc 8008803: [macosx] JVM crash in apple.laf.JRSUIUtils.HitDetection.getHitForPoint
Reviewed-by: prr, azvegint
2015-06-10 17:18:10 +03:00
Semyon Sadetsky
2fe980e041 8078269: JTabbedPane UI Property TabbedPane.tabAreaBackground no longer works
Reviewed-by: serb, alexsch
2015-06-09 18:57:54 +03:00
Semyon Sadetsky
032cef6ff8 8017487: filechooser in Windows-Libraries folder: columns are mixed up
Reviewed-by: serb, ant
2015-06-09 14:11:11 +03:00
Phil Race
259cdd9d8f Merge 2015-06-08 11:31:09 -07:00
Andrew John Hughes
00e4411c20 8081315: 8077982 giflib upgrade breaks system giflib builds with earlier versions
Add conditionals to provide giflib < 5 API calls and interlacing behaviour

Reviewed-by: prr, azvegint
2015-06-08 16:47:23 +01:00
Shobhit Gupta
6277fe3fae 8079450: [TESTBUG] javax/swing/plaf/nimbus/8041642/bug8041642.java fails
Reviewed-by: alexsch
2015-06-08 18:30:41 +03:00
Andrew Brygin
1eb07c0adc 8085910: OGL text renderer: gamma lut cleanup
Reviewed-by: serb, prr
2015-06-05 23:08:31 +03:00
Erik Joelsson
b94a868049 8081814: Modularize the deploy build
Reviewed-by: ihse, ddehaven
2015-06-04 18:27:42 +02:00
Phil Race
058d8664d4 Merge 2015-06-16 13:00:47 -07:00
Peter Brunet
25ccc524c2 8078335: Re-examine jdk.accessibility/share/classes/com/sun/java/accessibility/util location
Build jdk.accessibility for all platforms

Reviewed-by: erikj, dholmes
2015-06-12 19:23:53 -05:00
Anton Nashatyrev
b7baec04e0 8068886: IDEA IntelliJ crashes in objc_msgSend when an accessibility tool is enabled
Reviewed-by: serb, bae
2015-06-04 16:18:14 +03:00
David Lindholm
d4b084e6b0 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:39:07 +02:00
David Lindholm
862b933a2e 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:29:34 +02:00
Anton Nashatyrev
bf336b750a 8078606: Deadlock in awt clipboard
Reviewed-by: azvegint, bae
2015-06-04 15:24:30 +03:00
Jesper Wilhelmsson
618a7e124a Merge 2015-06-04 14:19:51 +02:00
Jesper Wilhelmsson
63abaa2c2b Merge 2015-06-04 14:19:51 +02:00
Coleen Phillimore
d97fc17132 8081219: hs_err improvement: Add event logging for class redefinition to the hs_err file
Use the Events::log function to save redefined classes for output to the hs_err file.

Reviewed-by: sspitsyn, jiangli, lfoltan
2015-06-04 08:05:47 -04:00
Ed Nevill
10741a86f6 8079565: aarch64: Add vectorization support for aarch64
Add vectorization support

Reviewed-by: roland
2015-06-04 12:04:18 +00:00
Chris Hegarty
46b53cd5cf 8080835: Add blocking bulk read to java.io.InputStream
Reviewed-by: alanb, rriggs, prappo
2015-06-04 10:27:06 +01:00
Chris Hegarty
810d1992d2 8079778: Add intermittent tag to java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java
Reviewed-by: chegar, msheppar
2015-06-04 10:24:31 +01:00
Peter Levart
1c2084bafb 8079063: ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds
Reviewed-by: rriggs, scolebourne
2015-06-04 10:58:17 +02:00
Weijun Wang
d922187012 8031111: fix krb5 caddr
Reviewed-by: valeriep
2015-06-04 15:29:29 +08:00
Weijun Wang
625d9cb9b8 8079821: MSOID2.java test is not perfect
Reviewed-by: valeriep
2015-06-04 15:29:23 +08:00
Maurizio Cimadamore
31e48bc561 8039262: Java compiler performance degradation jdk1.7 vs. jdk1.6 should be amended
Avoiding Scope listener leak by avoiding cache misses in Types.MembersClosureCache

Reviewed-by: mcimadamore, vromero
2015-06-04 09:05:52 +02:00
Roger Riggs
c3d9e6c08d Merge 2015-06-04 03:38:56 +02:00
David Dehaven
6f766feacd Merge 2015-06-03 18:26:06 -07:00
David Dehaven
22fa775a7e Merge 2015-06-03 18:11:45 -07:00
Phil Race
e759595d51 8081886: CGGlyphImages.m no longer builds with x code 4.x
Reviewed-by: bae, serb
2015-06-03 17:58:00 -07:00
Xue-Lei Andrew Fan
2698302b16 8081792: buffer size calculation issue in NativeGCMCipher
Reviewed-by: valeriep
2015-06-04 00:19:16 +00:00
Roger Riggs
afb73945a3 8067808: java/lang/ProcessBuilder/Basic.java failed on Assertion
Change to use javaChild reporting its pid not portable

Reviewed-by: igerasim
2015-06-03 18:18:05 -04:00
Roger Riggs
b440bfb8eb 8081567: java/lang/ProcessHandle/InfoTest.java failed Cannot run program "whoami"
Replace use of whoami with checking the user against a file created

Reviewed-by: igerasim
2015-06-03 18:17:04 -04:00
Kumar Srinivasan
e76e828a34 8081824: Remove dead code GetPublicJREHome in the launcher
Reviewed-by: mchung
2015-06-03 14:35:17 -07:00
Sergey Bylokhov
44033ae9bd 8076312: The behavior of the javax.swing.SwingContainer.delegate contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-03 23:17:52 +03:00
Vladimir Kozlov
438dec2d0d 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose, aph, ascarpino, fweimer
2015-06-03 12:54:08 -07:00
Kim Barrett
d68213f785 8079093: Remove FakeRttiSupport workaround for gcc -Wtype-limits
Remove the no longer needed workaround.

Reviewed-by: jmasa, david, simonis
2015-06-03 14:38:54 -04:00
Ivan Gerasimov
f35750c5d6 8058779: Faster implementation of String.replace(CharSequence, CharSequence)
Reviewed-by: sherman, plevart, forax, psandoz
2015-06-03 19:26:58 +03:00
Alexander Stepanov
ecfa1d7624 8081313: MultipleDocumentHandling.java: tidy warnings
Minor fix for docs

Reviewed-by: alexsch
2015-06-03 18:45:27 +04:00
Alexander Stepanov
f2c0051c6f 8077036: swing docs: fix some tidy warnings
Minor fixes for docs

Reviewed-by: alexsch
2015-06-03 18:39:26 +04:00
Amy Lu
06a3f86af5 8081773: sun/net/www/protocol/https/ChunkedOutputStream.java references library that doesn't exist
Reviewed-by: chegar
2015-06-03 15:33:28 +01:00
Chris Hegarty
e11aec59a2 8071474: Better failure atomicity for default read object
Reviewed-by: plevart, coffeys
2015-06-03 15:30:44 +01:00
Attila Szegedi
a1e2230a40 8081813: JSONListAdapter should delegate its [[DefaultValue]] to wrapped object
Reviewed-by: lagergren, sundar
2015-06-03 16:28:57 +02:00
Magnus Ihse Bursie
082d1bfa04 8081692: Configure should verify that -fstack-protector is valid
Reviewed-by: erikj
2015-06-03 15:20:25 +02:00
Athijegannathan Sundararajan
105784b853 8081809: Missing final modifier in method parameters (nashorn code convention)
Reviewed-by: attila, hannesw
2015-06-03 18:44:12 +05:30
Mikhail Cherkasov
a5eab1ce93 8077409: Drawing deviates when validate() is invoked on java.awt.ScrollPane
Reviewed-by: bae
2015-06-03 15:21:35 +03:00
Amy Lu
5a582cecb9 8081775: two lib/testlibrary tests are failing with "Error. failed to clean up files after test" with jtreg 4.1 b12
Reviewed-by: sla
2015-06-03 12:37:52 +02:00
Magnus Ihse Bursie
995e80befa 8081471: Allow SetupTestFilesCompilation to set LDFLAGS for individual tests
Reviewed-by: erikj
2015-06-03 11:03:06 +02:00
Alexander Alexeev
252b1be912 8081790: aarch64: SHA tests fail
Fix SHA tests in JTReg so they recognize aarch64

Reviewed-by: duke
2015-06-03 08:23:09 +00:00
Vladimir Kozlov
c163b85cb2 Merge 2015-06-12 09:59:51 -07:00
Hannes Wallnöfer
b7ecae1bb9 8066220: Fuzzing bug: MethodHandle bug (Object,Object) != (boolean)Object
Reviewed-by: lagergren, attila, sundar
2015-06-03 09:36:58 +02:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] 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: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Stefan Karlsson
c1fc7aa38a Merge 2015-06-03 13:29:53 +02:00
Stefan Karlsson
93fdb4e5ad 8081682: AbstractWorkGang::_terminate is never used
Reviewed-by: kbarrett, pliden, brutisso
2015-06-03 11:46:07 +02:00
Kim Barrett
30a72c7647 8076613: gc/TestSmallHeap.java failed with OOME
Disable test when compressed oops are disabled.

Reviewed-by: tschatzl, brutisso
2015-06-02 19:19:37 -04:00
Sergey Bylokhov
6a907dfc02 8079084: Behavior of BeanProperty.enumerationValues() contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-02 19:27:06 +03:00
Alejandro Murillo
64764b0645 Merge 2015-06-02 09:15:47 -07:00
Michael Haupt
2a94099e09 8081696: reduce dependency of Nashorn tests on external components
Reviewed-by: attila, sundar
2015-06-02 17:08:13 +02:00
Weijun Wang
1f705ef606 8038089: TLS optional support for Kerberos cipher suites needs to be re-examine
Reviewed-by: xuelei
2015-06-02 22:26:36 +08:00
Magnus Ihse Bursie
820f4d3089 8081616: Remove hard-coded CFLAGS_WARNINGS_ARE_ERRORS to fully respect --disable-warnings-as-errors
Reviewed-by: erikj, dholmes
2015-06-02 15:09:49 +02:00
Michael Haupt
db8a93364f 8080275: transparently download testng.jar for Nashorn testing
Instead of asking the user to manually download and install testng.jar, automate the process via "ant externals".

Reviewed-by: hannesw, sundar
2015-06-02 14:35:03 +02:00
Michael Haupt
6d8372c2a7 8081668: fix Nashorn ant externals command
Update URLs for Showdown (JavaScript Markdown implementation) download

Reviewed-by: hannesw, sundar
2015-06-02 14:34:37 +02:00
Miroslav Kos
8ee571affa 8080502: Update JAXB and JAX-WS to work with resource encapsulation
Reviewed-by: alanb
2015-06-02 10:59:48 +02:00
Andreas Eriksson
f3f4608e09 8072588: JVM crashes in JNI if toString is declared as an interface method
Check for a valid itable index instead of checking if the holder is an interface

Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02:00
Michael Haupt
b09c2994ec 8081604: rename ScriptingFunctions.tokenizeCommandLine
This used to be a single-purpose private helper; it is now used by external clients, and for new purposes. Consequently, it deserves a less specific name.

Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:19 +02:00
Michael Haupt
f4437cec2a 8081603: erroneous dot file generated from Nashorn --print-code
Emit a dot label string-conformant line break instead of a hard one to avoid strings ranging across an EOL.

Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:10 +02:00
Attila Szegedi
0d2785c745 8066773: JSON-friendly wrapper for objects
Reviewed-by: jlaskey, lagergren, sundar
2015-06-02 10:55:17 +02:00
Joe Darcy
63cb346d4a 8075555: Add tiered testing definitions to the nashorn repo
Reviewed-by: lagergren
2015-06-02 00:16:20 -07:00
Athijegannathan Sundararajan
c3b0b573ff 8081609: engine.eval call from a java method which was called from a previous engine.eval results in wrong ScriptContext being used
Reviewed-by: attila, lagergren
2015-06-02 12:42:53 +05:30
Xue-Lei Andrew Fan
0f1698f906 8043758: Datagram Transport Layer Security (DTLS)
Reviewed-by: jnimeh, weijun, mullan, wetmore
2015-06-02 04:01:04 +00:00
Joe Darcy
1c1c11d919 8075551: Add tiered testing definitions to the jaxp repo
Reviewed-by: joehw
2015-06-01 17:31:45 -07:00
Joe Darcy
98062e8bd1 8075546: Add tiered testing definitions to the langtools repo
Reviewed-by: jjg
2015-06-01 15:19:54 -07:00
Christian Tornqvist
665eee5efe 8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
Christian Tornqvist
3c90d44e1a 8080446: The change for 8074354 removed the server check when creating minidumps on Windows
Reviewed-by: sla, hseigel
2015-06-01 14:01:20 -07:00
Alejandro Murillo
3db56c53a0 Merge 2015-06-01 10:15:21 -07:00
Alejandro Murillo
34534d3fcd Merge 2015-06-01 10:15:19 -07:00
Roger Riggs
ea68abc64e 8081566: java/lang/ProcessHandle/InfoTest.java failed on case sensitive command
Reviewed-by: lancea, alanb
2015-06-01 10:29:06 -04:00
Roger Riggs
0b4d0d4fec 8081565: javac lint warnings in jdk testlibrary
Reviewed-by: lancea
2015-06-01 10:27:24 -04:00
Alexander Scherbatiy
435c40f71b 8081019: Check peer to null in CPlatformWindow.checkZoom()
Reviewed-by: serb, azvegint
2015-06-01 17:46:28 +04:00
Attila Szegedi
4a9502a06a 8066218: UTF-32LE mistakenly detected as UTF-16LE
Reviewed-by: lagergren, sundar
2015-06-01 15:01:36 +02:00
Artem Smotrakov
40f869686c 8081386: Test sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh test has RC4 dependencies
Reviewed-by: coffeys, olagneau
2015-06-01 14:59:20 +03:00
Prasanta Sadhukhan
58c413e2d4 8080086: Test javax/imageio/plugins/png/ItxtUtf8Test.java fails on Linux with G1 GC
Reviewed-by: prr, serb
2015-06-01 13:40:43 +03:00
Ivan Gerasimov
efaa3744a2 7011441: jndi/ldap/Connection.java needs to avoid spurious wakeup
Reviewed-by: dholmes
2015-05-30 15:19:15 +03:00
Srikanth Adayapalam
1a5f839adc 8077667: 'variable may not have been initialized' error for parameter in lambda function
JDK-8077667: Fix bogus diagnostic about lambda parameter not being initialized

Reviewed-by: mcimadamore
2015-05-30 06:17:50 +05:30
Jonathan Gibbons
1b685e4aa7 8081538: test CheckEBCDICLocaleTest is failing
Reviewed-by: vromero
2015-05-29 17:15:10 -07:00
Jonathan Gibbons
c8f110edb6 8081541: @ignore CheckEBCDICLocaleTest
Reviewed-by: vromero
2015-05-29 15:50:31 -07:00
Vicente Romero
783a654b17 8073372: Redundant CONSTANT_Class entry not generated for inlined constant
Reviewed-by: jjg
2015-05-29 14:04:57 -07:00
Roger Riggs
b4ff25ecc8 8081536: (process) remove unreliable ScaleTest from ProcessHandle tests
Reviewed-by: darcy
2015-05-29 15:17:07 -04:00
Katja Kantserova
ab937d1563 Merge 2015-05-29 20:15:18 +02:00
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04:00
Xueming Shen
5fbfe34bf6 8081522: build failed with jdk8081452 change
To remove the missed import line

Reviewed-by: alanb
2015-05-29 10:28:28 -07:00
Andrew John Hughes
0c39467189 8081447: System JPEG builds include in-tree jpeglib.h, resulting in build failure
The include directive should be conditional on the use of the system JPEG library.

Reviewed-by: prr, ihse
2015-05-29 17:29:52 +01:00
Ivan Gerasimov
97f5b473ec 8081027: Create a common test to check adequacy of initial size of static HashMap/ArrayList fields
Reviewed-by: martin
2015-05-29 19:20:22 +03:00
Xueming Shen
5fe4d18385 8081452: Move sun.nio.cs.AbstractCharsetProvider into jdk.charset/sun.nio.cs.ext
To AbstractCharsetProvider class from base.java module to jdk.charsets module

Reviewed-by: alanb
2015-05-29 09:08:36 -07:00
Roland Westrelin
7d22d69e0a Merge 2015-05-29 17:56:50 +02:00
Andrew Brygin
f5800b1a9c 8023794: [macosx] LCD Rendering hints seems not working without FRACTIONALMETRICS=ON
Reviewed-by: serb, prr
2015-05-29 18:32:58 +03:00
Joseph Provino
3ab615bd2c 8081508: metaspace/shrink_grow/CompressedClassSpaceSize fails with OOM: Compressed class space
OOME is thrown even though there is metaspace available.

Reviewed-by: jmasa, kbarrett
2015-05-29 10:44:32 -04:00
Roland Westrelin
81b0f156c8 8080976: Unexpected AIOOB thrown from 1.9.0-ea-b64 on (regression)
Loop variant use in reduction should prevent vectorization

Reviewed-by: kvn, mcberg
2015-05-29 16:09:16 +02:00
Vladimir Ivanov
eaf1406cf4 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:05:33 +03:00
Vladimir Ivanov
69aeb7540a 8001622: loadUB2L_immI8 & loadUS2L_immI16 rules don't match some 8-bit/16-bit masks
Reviewed-by: dlong, kvn, roland
2015-05-29 17:04:22 +03:00
Vladimir Ivanov
aae5102c06 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:04:21 +03:00
Tobias Hartmann
5369087363 Merge 2015-05-29 12:49:32 +02:00
Tobias Hartmann
59f2a0f85f Merge 2015-05-29 12:49:31 +02:00
Staffan Larsen
aa8cd64e11 Merge 2015-05-29 12:48:58 +02:00
Aleksei Efimov
d78a5bc2c1 8081392: getNodeValue should return 'null' value for Element nodes
Reviewed-by: joehw
2015-05-29 12:28:46 +03:00
Aleksei Efimov
38bcbb873f 8081392: getNodeValue should return 'null' value for Element nodes
Reviewed-by: joehw
2015-05-29 12:28:40 +03:00
Staffan Larsen
9cc4a70ee9 8081470: com/sun/jdi tests are failing with "Error. failed to clean up files after test" with jtreg 4.1 b12
Reviewed-by: mgerdin, brutisso, iignatyev
2015-05-29 11:05:52 +02:00
Staffan Larsen
b1388f39a9 8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
Reviewed-by: mgronlun, sspitsyn
2015-05-29 09:48:58 +02:00
Yasumasa Suenaga
80d98f560a 8081475: SystemTap does not work when JDK is compiled with GCC 5
Libjvm.so which is generated by GCC 5 does not have .note.stapsdt section as dtrace was disabled due to incorrect version check

Reviewed-by: dholmes, coleenp
2015-05-29 22:29:44 +09:00
Harold Seigel
84986c5ad9 Merge 2015-05-29 23:19:42 +02:00
Coleen Phillimore
023bafb08f Merge 2015-05-29 21:49:02 +02:00
Harold Seigel
6a5fa52c18 8076319: jstat verified class fix
Move verify perf data so that it only counts classes that actually get verified.

Reviewed-by: acorn, coleenp, gtriantafill
2015-05-29 15:23:41 -04:00
Coleen Phillimore
9b5e1ddb92 8029567: Clean up linkResolver code
Moved non-const reference return values to actual return values, refactored error handling code, remove oop from Method* variable names.

Reviewed-by: jiangli, lfoltan, acorn
2015-05-29 11:35:51 -04:00
Srikanth Adayapalam
f1a3698f4c 8080842: Using Lambda Expression with name clash results in ClassFormatError
Ensure ScopeImpl can cope properly with remove when a field and method share the name

Reviewed-by: mcimadamore, jlahoda
2015-05-29 10:15:36 +05:30
Srikanth Adayapalam
4815781a4a 8081271: NPE while compiling a program with erroneous use of constructor reference expressions
Missing enclosing instance error should not be swallowed when attributing constructor reference expressions.

Reviewed-by: mcimadamore, vromero
2015-05-29 09:15:42 +05:30
Weijun Wang
adc531d210 8051952: Unreachable.java test failing on Windows
Reviewed-by: xuelei
2015-05-29 09:41:20 +08:00
Yasumasa Suenaga
69e03ffa35 8081295: Build failed with GCC 5.1.1
Array bounds and incorrect condition warnings happen with GCC 5.1.1

Reviewed-by: azvegint
2015-05-29 08:58:46 +09:00
Lana Steuck
21cb09560f Merge 2015-05-28 16:54:56 -07:00
Lana Steuck
f7378f8a22 Merge 2015-05-28 16:52:47 -07:00
Lana Steuck
959d776904 Merge 2015-05-28 16:51:18 -07:00
Lana Steuck
6859ef28b6 Merge 2015-05-28 16:50:28 -07:00
Lana Steuck
d9699bc260 Merge 2015-05-28 16:50:12 -07:00
Lana Steuck
e118a06065 Merge 2015-05-28 16:50:03 -07:00
David Katleman
6b065339e5 Added tag jdk9-b66 for changeset addfa81a8448 2015-05-28 16:13:56 -07:00
David Katleman
67886b6ed3 Added tag jdk9-b66 for changeset 271924202c97 2015-05-28 16:13:55 -07:00
David Katleman
4241cee0a0 Added tag jdk9-b66 for changeset 76bc0159a861 2015-05-28 16:13:52 -07:00
David Katleman
b769cb2a01 Added tag jdk9-b66 for changeset 1286226d1236 2015-05-28 16:13:52 -07:00
David Katleman
7c650f194d Added tag jdk9-b66 for changeset 4a2e0a5ac013 2015-05-28 16:13:51 -07:00
David Katleman
5ccbd0b453 Added tag jdk9-b66 for changeset 725914ee5f0c 2015-05-28 16:13:49 -07:00
David Katleman
54bce8cb17 Added tag jdk9-b66 for changeset aaed6c21c444 2015-05-28 16:13:49 -07:00
David Katleman
fc4cc37cc6 Added tag jdk9-b66 for changeset a3ea54d69bd0 2015-05-28 16:13:48 -07:00
Daniel D. Daugherty
3c5478da5a Merge 2015-05-28 15:03:57 -07:00
Staffan Larsen
6329a86bca 8080991: Compilation error with recent clang in java.base/share/native/launcher/main.c: error: comparison of array 'const_jargs' not equal to a null pointer is always true
Reviewed-by: ksrini, ddehaven
2015-05-28 14:54:58 -07:00
Roger Riggs
6c70d53d16 8075678: java.time javadoc error in DateTimeFormatter::parsedLeapSecond
8075676: java.time package javadoc typos
8068276: java.time.chrono.HijrahChronology.eraOf() assertions may lead to misunderstanding

Reviewed-by: lancea, scolebourne
2015-05-28 17:37:33 -04:00
Vicente Romero
c44a1b3184 8081417: test CheckEBCDICLocaleTest.java is failing intermittently
Reviewed-by: darcy
2015-05-28 12:08:54 -07:00
Alejandro Murillo
4ac46201b7 Merge 2015-05-28 11:37:14 -07:00
Alejandro Murillo
e1eaa0d6f7 Merge 2015-05-28 11:37:13 -07:00
Alejandro Murillo
dc86a0aff2 Merge 2015-05-28 11:37:13 -07:00
Anton Nashatyrev
4dc4dd721e 8041470: JButtons stay pressed after they have lost focus if you use the mouse wheel
Reviewed-by: azvegint, alexp
2015-05-28 21:17:49 +03:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Joe Darcy
5aee5a8ee7 8081359: Update bug reporting URL
Reviewed-by: lancea
2015-05-28 11:31:40 -07:00
Xueming Shen
91868186b0 8038310: Re-examine integration of extended Charsets
To use ServiceLoader to load the extended charsets

Reviewed-by: alanb, mchung
2015-05-28 10:00:51 -07:00
Joe Darcy
c5aebd63b5 8081245: MHIllegalAccess.java failing across platforms
Reviewed-by: alanb, rriggs
2015-05-28 09:55:32 -07:00
Katja Kantserova
d16d3eca51 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-28 16:31:47 +02:00
Jesper Wilhelmsson
5862209cf3 Merge 2015-05-28 16:01:10 +02:00
Andreas Eriksson
e6e9202e93 8080428: [TESTBUG] java/lang/invoke/8022701/MHIllegalAccess.java - FAIL: Unexpected wrapped exception java.lang.BootstrapMethodError
Reviewed-by: vlivanov
2015-05-28 12:11:33 +02:00
Volker Simonis
bfdaf0efed 8081332: AIX: fix charset dependenicies after 8035302:Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: prr
2015-05-28 11:22:33 +02:00
Staffan Larsen
98d6dd65f9 8081292: sun/tools/jmap/BasicJMapTest.java timed out
Reviewed-by: mgronlun, sspitsyn
2015-05-28 10:37:49 +02:00
Weijun Wang
18dd0d6305 8081278: Typo in Exception Message
Reviewed-by: mullan
2015-05-28 09:11:14 +08:00
Daniel D. Daugherty
e4c75c1368 Merge 2015-05-27 16:15:23 -07:00
Mandy Chung
7c57878f39 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:32 -07:00
Mandy Chung
ab120497cf 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:18 -07:00
Mandy Chung
ee3e359025 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:04 -07:00
Roger Riggs
7b960a2e59 8081022: java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device
Reduce number of iterations to 8 instead of 50

Reviewed-by: naoto
2015-05-27 15:57:10 -04:00
Mandy Chung
f2d591c295 8081334: com.sun.tools.javap and com.sun.tools.javah are not exported API
Reviewed-by: jjg
2015-05-27 12:45:29 -07:00
Xueming Shen
ba7c5970f9 8028480: (zipfs) NoSuchFileException on creating a file in ZipFileSystem with CREATE and WRITE
8034773: (zipfs) newOutputstream uses CREATE_NEW when no options specified

To open the new steram with appropricate open options

Reviewed-by: alanb
2015-05-27 12:23:35 -07:00
Athijegannathan Sundararajan
d321ca9523 8081156: jjs "nashorn.args" system property is not effective when script arguments are passed
Reviewed-by: hannesw, lagergren
2015-05-27 22:18:51 +05:30
Erik Joelsson
c318ab6e23 8081814: Modularize the deploy build
Reviewed-by: ihse, ddehaven
2015-05-27 17:35:21 +02:00
Harold Seigel
93b1bd8283 Merge 2015-05-27 09:34:57 -04:00
Katja Kantserova
dc63fa4689 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:35:55 +02:00
Mark Sheppard
48a0b96187 8077377: java/net/MulticastSocket/SetOutgoingIf.java fails intermittently with NullPointerException
Ignore "stray" packets received from non test interface

Reviewed-by: alanb, chegar
2015-05-27 13:23:40 +01:00
Katja Kantserova
742b1ff410 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:13:20 +02:00
Mark Sheppard
03c24ff25b 8041677: java/net/MulticastSocket/TestInterfaces failed on Oracle VM Virtual Ethernet Adapter
Ignore Teredo interface in test

Reviewed-by: alanb, chegar
2015-05-27 13:04:32 +01:00
Attila Szegedi
6e24cffe34 8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
Reviewed-by: lagergren, sundar
2015-05-27 14:37:11 +03:00
Alexander Alexeev
5e3d542763 8081289: aarch64: add support for RewriteFrequentPairs in interpreter
Add support for RewriteFrequentPairs

Reviewed-by: roland
2015-05-27 09:02:08 +00:00
Alejandro Murillo
52c501dfb1 Merge 2015-06-02 09:15:32 -07:00
Alexander Alexeev
a1eb515812 8081669: aarch64: JTreg TestStable tests failing
Fix TestStable failures

Reviewed-by: vlivanov
2015-06-02 14:28:08 +00:00
Alejandro Murillo
82382491a3 Merge 2015-06-01 10:15:20 -07:00
Athijegannathan Sundararajan
b05ced98a1 8007456: Nashorn test framework @argument does not handle quoted strings
Reviewed-by: hannesw, lagergren
2015-05-27 13:16:50 +05:30
Bengt Rutisson
0ee851e5ef 8081039: G1: Remove unused statistics code in G1NoteEndOfConcMarkClosure and G1ParNoteEndTask
Reviewed-by: jmasa, kbarrett
2015-05-27 09:04:14 +02:00
Srikanth Adayapalam
385f5d800a 8080726: Redundant error message on private abstract interface method with body
Reviewed-by: mcimadamore
2015-05-27 11:27:42 +05:30
David Dehaven
41bdaeb5a2 Merge 2015-05-26 15:18:09 -07:00
Phil Race
6fe284e401 8081231: JDK9 client build broken on Windows
Reviewed-by: azvegint
2015-05-26 15:06:42 -07:00
Xueming Shen
92bfe45d6a 8060161: re-examine sun/nio/cs/Test4200310.sh, test is invalid for modular image
To remove the invalid test case

Reviewed-by: alanb
2015-05-26 12:34:51 -07:00
Chris Plummer
77588c66b4 8051712: regression Test7107135 crashes
On AARCH64, make ElfFile::specifies_noexecstack() default to noexectstack

Reviewed-by: dholmes, dlong, aph
2015-05-26 11:26:50 -07:00
Alejandro Murillo
fa672c31d0 Merge 2015-05-26 09:22:39 -07:00
Alejandro Murillo
e0d8e2bdbb Merge 2015-05-26 09:22:38 -07:00
Artem Smotrakov
91b74f4fdc 8078823: javax/net/ssl/ciphersuites/DisabledAlgorithms.java fails intermittently
Reviewed-by: xuelei
2015-05-26 18:42:08 +03:00
Alexander Stepanov
f41f1b4c7a 8040147: minor cleanup for docs
Minor cleanup for docs

Reviewed-by: lancea
2015-05-26 18:32:10 +04:00
Alexander Stepanov
60ea3cb98f 8040147: minor cleanup for docs
Minor cleanup for docs

Reviewed-by: lancea
2015-05-26 18:31:21 +04:00
Attila Szegedi
1333ff7ddd 8081062: ListAdapter should take advantage of JSObject
Reviewed-by: lagergren, sundar
2015-05-26 16:12:23 +02:00
Weijun Wang
4f8755f9b8 8080911: sun/security/krb5/auto/UseCacheAndStoreKey.java timed out intermittently
Reviewed-by: xuelei
2015-05-26 22:10:37 +08:00
Attila Szegedi
f9b1376aa3 8081015: Allow conversion of native arrays to Queue and Collection
Reviewed-by: hannesw, lagergren, sundar
2015-05-26 14:37:14 +02:00
Alexey Ivanov
8d0ec77fc6 8080628: No mnemonics on Open and Save buttons in JFileChooser
Reviewed-by: serb, alexsch
2015-05-26 14:47:12 +03:00
Jaroslav Bachorik
183dd96318 8080663: Use sun.misc.SharedSecrets to allow access from java.management to @ConstructorProperties
Reviewed-by: alanb, mchung, dfuchs
2015-05-26 11:57:51 +02:00
Erik Joelsson
2801cf3fee 8080983: libdt_socket: Build failed with VS2013 SP4
Reviewed-by: sla, ihse, tbell
2015-05-26 10:43:56 +02:00
Erik Joelsson
7b3c4b4d32 8080983: libdt_socket: Build failed with VS2013 SP4
Reviewed-by: sla, ihse, tbell
2015-05-26 10:43:53 +02:00
Athijegannathan Sundararajan
5b954fdc5e 8036743: need ArrayBuffer constructor with specified data
Reviewed-by: attila, hannesw, lagergren
2015-05-26 13:49:45 +05:30
Stefan Karlsson
976d6c1e2a 8081007: Remove redundant active worker variables and calls in ParNewGeneration::collect
Reviewed-by: pliden, kbarrett, ehelin
2015-05-26 10:06:03 +02:00
Semyon Sadetsky
3ef1c8d4c3 8079640: GroupLayout incorrect layout with large JTextArea
Reviewed-by: serb, alexsch, azvegint
2015-05-26 08:33:32 +03:00
Xueming Shen
abaeabd0cd 8042125: Japanese character converters incompatible between Java 7 and Java 8
To add the missing .nr and c2b mapping tables

Reviewed-by: okutsu
2015-05-25 13:52:28 -07:00
Jesper Wilhelmsson
f9c99e1b3d Merge 2015-05-25 16:59:28 +02:00
Athijegannathan Sundararajan
b04e91828a 8068978: All versions of javax.script.ScriptEngine.eval(...) method may clarify ScriptException throwing
Reviewed-by: attila, jlaskey
2015-05-25 19:09:44 +05:30
Semyon Sadetsky
243208ab2e 8003399: JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
Reviewed-by: serb, ant
2015-05-25 16:10:12 +03:00
Katja Kantserova
27aac42dc5 8080833: JDK-8076524 has failed to remove binary files
Reviewed-by: sla
2015-05-25 14:08:21 +02:00
Stefan Karlsson
f3f59e37c9 8080879: Remove FlexibleWorkGang::set_for_termination
Reviewed-by: brutisso, kbarrett, pliden
2015-05-25 11:41:34 +02:00
Stefan Johansson
b04d2bca57 8080746: Refactor oop iteration macros to be more general
Reviewed-by: stefank, pliden
2015-05-25 11:39:43 +02:00
Artem Smotrakov
6b7bbd4884 8050374: More Signature tests
Reviewed-by: valeriep
2015-05-25 11:47:41 +03:00
Stefan Karlsson
e57447bd85 Merge 2015-05-25 09:28:47 +02:00
Per Lidén
b013ddda1d 8080930: SA changes broke bootcycle-images builds
Reviewed-by: sla, brutisso
2015-05-25 09:13:41 +02:00
Sean Mullan
af164e7926 8065233: Remove Policy provider code that synchronizes on identityPolicyEntries List
Reviewed-by: weijun
2015-05-24 08:54:38 -04:00
Sergey Bylokhov
44af11b7a3 8061831: [OGL] "java.lang.InternalError: not implemented yet" during the blit of VI to VI in xor mode
Reviewed-by: flar, bae
2015-05-23 15:13:40 +03:00
Vadim Pakhnushev
9f0e9954f9 8079652: Could not enable D3D pipeline
Reviewed-by: prr, serb
2015-05-27 14:42:58 +03:00
Mandy Chung
81ae8feaed 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:44:49 -07:00
Mandy Chung
015ec1085a 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:44:09 -07:00
Mandy Chung
efeb942f9f 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:43:39 -07:00
Sergey Bylokhov
b081f20d61 6587235: Incorrect javadoc: "no parameter" in 2d source code
Reviewed-by: azvegint, prr
2015-05-22 23:26:00 +03:00
Joe Darcy
0de6f9f413 8080901: Replace package.html files with package-info.java in the java.base module
Reviewed-by: lancea, alanb, vinnie
2015-05-22 10:45:59 -07:00
Xueming Shen
4612edcf52 8080803: sun/nio/cs/FindEncoderBugs.java failing intermittently
To eliminate an extra byte buffer and copy in iso2022 encoding

Reviewed-by: alanb, darcy
2015-05-22 10:33:27 -07:00
Sergey Bylokhov
13711e78f0 8071306: GUI perfomance are very slow compared java 1.6.0_45
Reviewed-by: azvegint, ant
2015-05-22 19:27:33 +03:00
Xueming Shen
d1d75812b0 8064736: Part of java.util.jar.JarFile spec looks confusing with references to Zip
Update the api doc for entries()/stream() accordingly

Reviewed-by: alanb
2015-05-22 08:56:33 -07:00
Pooja Chopra
67b606e456 8078855: [TEST_BUG] javax/swing/JComboBox/8032878/bug8032878.java fails in WindowsClassicLookAndFeel
Reviewed-by: alexsch, aivanov
2015-05-22 17:30:21 +03:00
Roger Riggs
3788afad1f 8074818: Resolve disabled warnings for libjava
8080007: Stop ignoring warnings for libjava

Reviewed-by: alanb, erikj
2015-05-22 10:12:18 -04:00
Shobhit Gupta
318383493e 8079440: [TESTBUG] @run is missing in java/awt/TrayIcon/8072769/bug8072769.java
Reviewed-by: alexsch, azvegint
2015-05-22 16:13:00 +03:00
Stefan Karlsson
db20c1bc45 8080877: Don't use workers()->total_workers() when walking G1CollectedHeap::_task_queues
Reviewed-by: jmasa, drwhite
2015-05-22 13:35:29 +02:00
Daniel Fuchs
e39d4f074f 8080608: Missing archive name from jdeps -v -e output if no dependency on other JAR
Reviewed-by: mchung
2015-05-22 13:05:26 +02:00
Stefan Karlsson
0290c50a20 Merge 2015-05-22 10:44:24 +00:00
Stefan Karlsson
23b343af68 8080876: Replace unnecessary MAX2(ParallelGCThreads, 1) calls with ParallelGCThreads
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:58:16 +02:00
Stefan Karlsson
21bb8edbba 8080840: Clean up active_workers() asserts
Reviewed-by: kbarrett, jmasa
2015-05-22 10:58:04 +02:00
Stefan Karlsson
5d81ec2082 8080837: Move number of workers calculation out of CollectionSetChooser::prepare_for_par_region_addition
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:57:53 +02:00
Bengt Rutisson
33461c4c6e 8080627: JavaThread::satb_mark_queue_offset() is too big for an ARM ldrsb instruction
Reviewed-by: roland, kbarrett
2015-05-22 10:56:37 +02:00
Tobias Hartmann
adb5f5e10f Merge 2015-05-22 09:50:33 +02:00
Roland Westrelin
0296c2894b 8080699: Assert failed: Not a Java pointer in JCK test
Eliminated arraycopy node still reachable through exception edges

Reviewed-by: kvn
2015-05-22 09:14:18 +02:00
Tobias Hartmann
149c6327be Merge 2015-05-22 13:08:50 +02:00
Tobias Hartmann
14a1d71874 8080156: Integer.toString(int value) sometimes throws NPE
Added test to check correctness of type propagation to CmpUNodes.

Reviewed-by: kvn
2015-05-22 13:02:47 +02:00
Tobias Hartmann
068d5d78b1 Merge 2015-05-22 09:50:32 +02:00
Staffan Larsen
c55c7818a4 8066757: Can't build 'images' with --disable-zip-debug-info on OS X after jigsaw m2 merge
Reviewed-by: erikj, ihse
2015-05-22 09:09:56 +02:00
Alejandro Murillo
d312bbb6ed Merge 2015-05-21 17:11:55 -07:00
Alejandro Murillo
64fe991952 Merge 2015-05-21 17:11:54 -07:00
Ivan Gerasimov
48e61a6f7e 8069068: VM warning: WaitForMultipleObjects timed out (0) ..
Increase timeout to 5 minutes

Reviewed-by: dholmes, dcubed
2015-05-22 02:38:59 +03:00
Katja Kantserova
bd1a0cf8ec 8080855: Create sanity test for JDK-8080692
Reviewed-by: sla
2015-05-22 13:52:46 +02:00
Katja Kantserova
ab94a15b48 Merge 2015-05-22 08:53:46 +02:00
Katja Kantserova
a6ffb28ff8 8080828: Create sanity test for JDK-8080155
Reviewed-by: sla
2015-05-22 08:47:27 +02:00
Lana Steuck
f49b6335f8 Merge 2015-05-21 16:21:00 -07:00
Lana Steuck
0665723292 Merge 2015-05-21 16:20:20 -07:00
Lana Steuck
fa3d21c6a3 Merge 2015-05-21 16:19:49 -07:00
Lana Steuck
fb82a9eeb8 Merge 2015-05-21 16:19:37 -07:00
Lana Steuck
9c404d1883 Merge 2015-05-21 16:19:29 -07:00
Lana Steuck
083b489f80 Merge 2015-05-21 16:19:08 -07:00
Xueming Shen
9e2b6dfd08 8080248: Coding regression in HKSCS charsets
To update the sp correctly when encoding supplementary characters

Reviewed-by: martin
2015-05-21 15:42:30 -07:00
Rickard Bäckman
525d473c25 Merge 2015-05-22 00:35:31 +02:00
Jason Uh
8ddcf2aab0 8079693: Add support for ECDSA P-384 and P-521 curves to XML Signature
Reviewed-by: mullan
2015-05-21 14:18:33 -07:00
Jonathan Gibbons
c23f323e0a Merge 2015-05-21 13:48:23 -07:00
Jonathan Gibbons
9ac1ce305e 8080897: tests broken in bad merge
Reviewed-by: darcy
2015-05-21 13:47:05 -07:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +02:00
Rickard Bäckman
657d7d0eea Merge 2015-05-21 21:17:03 +02:00
Andreas Lundblad
da2e1f9e4e 8080870: Open up Dependencies for use from other packages
Opened up Dependencies for use outside of the package.

Reviewed-by: mcimadamore
2015-05-21 21:15:28 +02:00
Alexander Kulyakhtin
b6262441ad 8076543: Add @modules as needed to the langtools tests
Reviewed-by: jjg, shurailine
2015-05-21 11:41:04 -07:00
Roland Westrelin
59618d7d03 Merge 2015-05-21 20:29:09 +02:00
David Katleman
58d754e109 Added tag jdk9-b65 for changeset 8bbe109bca14 2015-05-21 10:07:41 -07:00
David Katleman
bc53d77cd1 Added tag jdk9-b65 for changeset f0f03398adb4 2015-05-21 10:07:40 -07:00
David Katleman
d0f72986d8 Added tag jdk9-b65 for changeset 9c04ed826c93 2015-05-21 10:07:38 -07:00
David Katleman
4034dc7cb3 Added tag jdk9-b65 for changeset 92cd300e0653 2015-05-21 10:07:37 -07:00
David Katleman
6d4b156d6c Added tag jdk9-b65 for changeset bc411809e58c 2015-05-21 10:07:37 -07:00
David Katleman
1a110827ad Added tag jdk9-b65 for changeset 7337899df26d 2015-05-21 10:07:35 -07:00
David Katleman
614bc739c4 Added tag jdk9-b65 for changeset 01b7cab6b7b1 2015-05-21 10:07:35 -07:00
David Katleman
0cb2da8f48 Added tag jdk9-b65 for changeset a61494bfed44 2015-05-21 10:07:34 -07:00
Brian Burkhalter
457be276d8 8080589: (fs) FileChannel.force should use fcntl(F_FULLFSYNC) instead of fsync on OS X
Replace f[data]sync(fd) with fcntl(fd, F_FULLSYNC) on OS X.

Reviewed-by: alanb
2015-05-21 09:57:59 -07:00
Tobias Hartmann
05ec00e16b Merge 2015-05-21 18:57:21 +02:00
Vinnie Ryan
6deb69ac50 8072578: ProbeKeystores.java creates files in test.src
Reviewed-by: weijun
2015-05-21 17:42:15 +01:00
Athijegannathan Sundararajan
5431091715 8079145: jdk.nashorn.internal.runtime.arrays.IntArrayData.convert assertion
Reviewed-by: jlaskey, hannesw
2015-05-21 21:51:48 +05:30
Rickard Bäckman
af066eba2e 8080692: lots of jstack tests failing in pit
Reviewed-by: kvn, vlivanov
2015-05-21 18:10:18 +02:00
Vladimir Ivanov
47a5823eae 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:23:01 +03:00
Vladimir Ivanov
3f096651f3 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:22:33 +03:00
Andreas Eriksson
346fb9ffa7 8060036: C2: CmpU nodes can end up with wrong type information
CmpU needs to be reprocessed by CCP when an AddI/SubI input's input type change

Reviewed-by: mcberg, kvn, roland
2015-05-21 16:49:11 +02:00
Athijegannathan Sundararajan
8777094b4f 8080848: delete of bound Java method property results in crash
Reviewed-by: hannesw, lagergren
2015-05-21 18:44:51 +05:30
Stefan Karlsson
4e9a9eee84 8080869: FlexibleWorkGang initializes _active_workers to more than _total_workers
Reviewed-by: kbarrett, jmasa
2015-05-21 14:10:15 +02:00
Roland Westrelin
a3c77df5f1 8077504: Unsafe load can loose control dependency and cause crash
Node::depends_only_on_test() should return false for Unsafe loads

Reviewed-by: kvn, adinn
2015-05-21 13:54:07 +02:00
Sean Mullan
d29a80d711 8055753: Use ConcurrentHashMap to map ProtectionDomain to PermissionCollection
Reviewed-by: weijun
2015-05-21 07:17:36 -04:00
Zaiyao Liu
c7c5826bb2 8048599: Tests for key wrap and unwrap operations
Reviewed-by: xuelei
2015-05-21 09:35:26 +00:00
Stefan Karlsson
5dc3521a80 8080113: Remove CollectedHeap::set_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:59 +02:00
Stefan Karlsson
8d0f1a6528 8080112: Replace and remove the last usages of CollectedHeap::n_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:38 +02:00
Stefan Karlsson
b77b3ec014 8080111: Remove SubTaskDone::_n_threads
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:46 +02:00
Stefan Karlsson
c13872f88d 8080110: Remove usage of CollectedHeap::n_par_threads() from root processing
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:00 +02:00
Stefan Karlsson
e13e75547c 8080109: Use single-threaded code in Threads::possibly_parallel_oops_do when running with only one worker thread
Reviewed-by: jmasa, kbarrett
2015-05-21 09:10:47 +02:00
Rob McKenna
efc37c5e71 8077155: LoginContext Subject ignored by jdk8 sun.net.www.protocol.http.HttpURLConnection
Reviewed-by: michaelm
2015-05-20 18:06:31 +01:00
Rob McKenna
9cecb7f70a 8077822: javac does not recognize '*.java' as file if '-J' option is specified
Reviewed-by: ksrini
2015-05-20 18:03:56 +01:00
Roger Riggs
b7d8c57908 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory
Small allocations may bump total memory, raise THRESHOLD to 2Mb

Reviewed-by: martin
2015-05-20 11:17:09 -04:00
Roland Westrelin
9f6b61b959 Merge 2015-05-20 17:06:44 +02:00
Amy Lu
a3ea97f915 8080680: sun/nio/cs/TestCompoundTest.java should be removed from TEST.groups
Reviewed-by: igerasim
2015-05-20 17:16:58 +03:00
Sergei Kovalev
265b75c584 8078834: [TESTBUG] Tests fails on ARM64 due to unknown hardware
Reviewed-by: dholmes, adinn
2015-05-20 09:07:36 -04:00
Doug Lea
8654e36410 8080623: CPU overhead in FJ due to spinning in awaitWork
Reviewed-by: chegar, dholmes
2015-05-20 14:50:57 +02:00
Andrew Haley
d917a8866c 8080600: AARCH64: testlibrary does not support AArch64
Add Platform.isAArch64().  Use it in mathexact intrinsic tests.

Reviewed-by: kvn, roland
2015-05-20 10:21:02 +01:00
Athijegannathan Sundararajan
7945c7b276 8080598: Javadoc warnings in Global.java after lazy initialization
Reviewed-by: lagergren, hannesw
2015-05-20 14:16:19 +05:30
Andreas Sjoberg
c8fa7eb4dd 8047330: Remove unrolled card loops in G1 SparsePRTEntry
Reviewed-by: ehelin, mgerdin, tschatzl
2015-05-20 10:45:40 +02:00
Athijegannathan Sundararajan
216d24980d 8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
Reviewed-by: lagergren, attila
2015-05-20 08:58:14 +05:30
Joe Darcy
8931c0d3b2 8080711: Prepare sun/nio/cs/FindEncoderBugs.java to find intermittent failures
Reviewed-by: rriggs
2015-05-19 18:33:08 -07:00
Jaroslav Bachorik
8691aaf29f Merge 2015-05-19 22:40:50 +02:00
Joe Darcy
5899576955 8075284: fix up miscellaneous TM constructions
Reviewed-by: lancea
2015-05-19 13:30:03 -07:00
Alejandro Murillo
8a9c3a81ff Merge 2015-05-19 11:40:00 -07:00
Alejandro Murillo
ff1d247f0a Merge 2015-05-19 11:39:58 -07:00
Alejandro Murillo
e26ec25ca4 Merge 2015-05-19 11:39:57 -07:00
Igor Ignatyev
8f509d71e6 8055269: java/lang/invoke/MethodHandles/CatchExceptionTest.java fails intermittently
Reviewed-by: vlivanov
2015-05-19 20:04:29 +03:00
Per Lidén
9fb89f6d01 8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp
Reviewed-by: kbarrett, tschatzl
2015-05-19 17:25:49 +02:00
Amy Lu
5dc10dc506 8080658: Update sun/nio/cs/FindDecoderBugs.java to use random number generator library
Reviewed-by: rriggs
2015-05-19 11:05:52 -04:00
Brian Burkhalter
a6ad9cd49a 8080629: (fs) Re-enable ability to fsync() on directories even though read()s on those directories may fail
Revert fix applied to resolve JDK-8066915.

Reviewed-by: alanb
2015-05-19 07:12:10 -07:00
Shrinivas Joshi
7c62a26e6b 8080308: TypeProfileLevel on SPARC platform should enable JSR292-only profiling level
Set TypeProfileLevel to 111 by default on sparc

Reviewed-by: kvn, roland
2015-05-19 16:05:12 +02:00
Per Lidén
5e68a86953 8080585: concurrentGCThread.hpp should not include suspendibleThreadSet.hpp
Reviewed-by: kbarrett, tschatzl
2015-05-19 14:09:22 +02:00
Alexander Stepanov
30cda926e9 8080422: some docs cleanup for core libs
Some docs cleanup

Reviewed-by: rriggs, lancea
2015-05-19 16:04:14 +04:00
Denis Kononenko
c001e13f4d 8077620: [TESTBUG] Some of the hotspot tests require at least compact profile 3
Reviewed-by: kvn, dholmes
2015-05-19 14:13:15 +03:00
Denis Kononenko
7695bc389d 8077866: [TESTBUG] Some of java.lang tests cannot be run on compact profiles 1, 2
Reviewed-by: dholmes, alanb
2015-05-19 14:03:20 +03:00
Volker Simonis
b48a61e5be 8080190: PPC64: Fix wrong rotate instructions in the .ad file
Reviewed-by: kvn
2015-05-19 11:06:34 +02:00
Magnus Ihse Bursie
d4f45f51c9 8080630: Stop doing sed manipulation of manifest files in SetupJavaCompilation
Reviewed-by: erikj
2015-05-19 10:05:02 +02:00
Magnus Ihse Bursie
eeaa0923e4 8080630: Stop doing sed manipulation of manifest files in SetupJavaCompilation
Reviewed-by: erikj
2015-05-19 10:03:48 +02:00
Per Lidén
40acb10f77 8080581: Align SA with new GC directory structure
Reviewed-by: dsamersoff, sla
2015-05-19 09:41:52 +02:00
David Holmes
f1aab4c0ce Merge 2015-05-19 03:07:42 -04:00
Jungwoo Ha
c0fcbe951e 8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
Reviewed-by: dholmes, stuefe
2015-05-19 01:34:53 -04:00
Weijun Wang
ae7da8e119 8077102: dns_lookup_realm should be false by default
Reviewed-by: valeriep
2015-05-19 09:09:09 +08:00
Serguei Spitsyn
99f8091782 8079644: memory stomping error with ResourceManagement and TestAgentStress.java
The cached class file structure must be deallocated instead of the cached class file bytes

Reviewed-by: coleenp, sla
2015-05-18 16:42:46 -07:00
Jeremy Manson
13c92b58f0 8080538: hprof does not work well with multiple agents on non-Solaris platforms
Never take the address of Agent_OnLoad.

Reviewed-by: sla, martin
2015-05-18 13:34:56 -07:00
Zoltan Majo
f5c1e4d576 8080281: 8068945 changes break building the zero JVM variant
Define the PreserveFramePointer flag also in globals_zero.hpp

Reviewed-by: simonis, kvn, sgehwolf
2015-05-18 19:54:49 +02:00
Artem Smotrakov
eb68509b7d 8079140: IgnoreAllErrorHandler should use doPrivileged when it reads system properties
Reviewed-by: mullan
2015-05-18 19:26:48 +03:00
Ivan Gerasimov
43b2601a96 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal
Reviewed-by: martin, chegar
2015-05-18 19:15:50 +03:00
Ed Nevill
87e17632b5 8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails
Return correct length in generate_cipherBlockChaining_encryptAESCrypt

Reviewed-by: roland
2015-05-18 15:52:33 +00:00
Jesper Wilhelmsson
f64e5038a4 Merge 2015-05-18 17:09:47 +02:00
Ivan Gerasimov
7e89934d9e 8080522: Optimize string operations in java.base/share/classes/sun/security/x509/
Reviewed-by: mullan
2015-05-18 17:38:38 +03:00
Artem Smotrakov
e8064300cb 8079138: Additional negative tests for XML signature processing
Reviewed-by: mullan
2015-05-18 17:34:48 +03:00
Athijegannathan Sundararajan
268d0924b9 8072853: SimpleScriptContext used by NashornScriptEngine doesn't completely complies to the spec regarding exception throwing
Reviewed-by: psandoz, lagergren
2015-05-18 18:57:35 +05:30
Jan Lahoda
9264fe218f 8080572: langtools/test/tools/javac/generics/T5011073.java failing
Test/tools/javac/generics/InterfaceCast1.java defines a top-level Set, moving it to a separate directory to avoid clashes.

Reviewed-by: mcimadamore
2015-05-18 14:48:41 +02:00
Zaiyao Liu
c5889bc102 8048820: Implement tests for SecretKeyFactory
Reviewed-by: xuelei
2015-05-18 02:11:39 +00:00
Joe Darcy
9fe30fb118 8078136: Incorrect figure number in reference to Hacker's Delight book in Long.bitCount() method
Reviewed-by: lancea
2015-05-17 11:04:01 -07:00
Peter Levart
f79ca89ac7 8074002: java.time.ZoneId.systemDefault() should be faster
Cache ZoneId inside TimeZone object

Reviewed-by: scolebourne, rriggs, dfuchs
2015-05-17 18:49:21 +02:00
Peter Levart
30bcd97f81 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dholmes, alanb, mchung
2015-05-17 10:38:36 +02:00
Daniel D. Daugherty
f4060f076d Merge 2015-05-16 13:22:40 -07:00
Daniel D. Daugherty
5cf176b870 Merge 2015-05-16 13:19:11 -07:00
Sergey Bylokhov
4f33aa2348 8041654: OutOfMemoryError: RepaintManager doesn't clean up cache of volatile images
Reviewed-by: azvegint, ant
2015-05-16 21:31:36 +03:00
Alexander Scherbatiy
2e68b719a3 8080137: Dragged events for extra mouse buttons (4, 5, 6) are not generated on JSplitPane
Reviewed-by: serb, azvegint
2015-05-22 15:27:28 +04:00
Alexander Scherbatiy
83dcd68033 8065739: [macosx] Frame warps to lower left of screen when
7124365: [macosx] setMaximizedBounds() should be implemented

Reviewed-by: serb, azvegint
2015-05-22 15:19:05 +04:00
Prasanta Sadhukhan
fc00fd2ffb 8015368: javax/print/attribute/URLPDFPrinting.java fails on solaris with java.net.ConnectException: Connection timed out
Reviewed-by: prr, serb
2015-05-20 17:10:15 +03:00
Peter Brunet
c3e2e7af68 8078408: Java version applet hangs with Voice over turned on
Add null check to fix NPE

Reviewed-by: prr, serb, alexsch
2015-05-19 20:40:49 -05:00
Sergey Bylokhov
36c9dc6b0d 8080488: JNI exception pending in jdk/src/windows/native/sun/windows/awt_Frame.cpp
Reviewed-by: dcherepanov, aivanov
2015-05-19 21:58:47 +03:00
Semyon Sadetsky
d349244b45 6260348: GTK+ L&F JTextComponent not respecting desktop caret blink rate
Reviewed-by: alexsch, azvegint
2015-05-19 19:00:04 +03:00
Semyon Sadetsky
c0d815c3d4 7172652: With JDK 1.7 text field does not obtain focus when using mnemonic Alt/Key combin
Reviewed-by: alexsch, azvegint
2015-05-19 16:27:33 +03:00
Vladimir Kozlov
49ab7a3900 8080483: Incorrect test execution string at SumRed_Long.java
Reviewed-by: iveresov
2015-05-15 18:12:21 -07:00
Sergey Bylokhov
8be69405fd 8030087: Avoid public native methods in sun.awt packages
Reviewed-by: azvegint, prr
2015-05-16 02:37:16 +03:00
Frank Yuan
2910c5e690 8078596: jaxp tests failed in modular jdk due to internal class access
Reviewed-by: alanb, lancea, joehw
2015-05-15 16:26:03 -07:00
Jungwoo Ha
48b40a2611 8079216: Remove undefined method oopDesc::is_null(Klass *)
Reviewed-by: kbarrett, coleenp, stefank
2015-05-15 15:40:58 -07:00
Sergey Bylokhov
828fc948f2 8080341: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: alexsch, prr
2015-05-15 22:11:14 +03:00
Ivan Gerasimov
cbe55b316e 8071571: Move substring of same string to slow path
Reviewed-by: martin
2015-05-15 22:10:29 +03:00
Ivan Gerasimov
ff06dffa94 8074657: Missing space on a boundary of concatenated strings
Added missing spaces, fixed indentation, replaced StringBuffer with StringBuilder

Reviewed-by: martin, rriggs
2015-05-15 22:09:49 +03:00
Vladimir Ivanov
6652d6ac33 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:27 +03:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Vladimir Ivanov
18f7135255 8079135: C2 disables some optimizations when a large number of unique nodes exist
Reviewed-by: kvn
2015-05-15 19:21:46 +03:00
Michael Haupt
ff3855c8ba 8049300: jjs scripting: need way to quote $EXEC command arguments to protect spaces
Honor quoting with "" and '' as well as escaped spaces

Reviewed-by: hannesw, sundar
2015-05-15 16:36:25 +02:00
Claes Redestad
608c2ef496 8061254: SPECjvm2008-XML performance regressions in 9-b33
Reviewed-by: alanb, shade
2015-05-15 16:09:55 +02:00
Attila Szegedi
c9191f56e0 8078414: Don't create impossible converters for ScriptObjectMirror
Reviewed-by: hannesw, sundar
2015-05-15 15:40:57 +02:00
Ed Nevill
66630f6ae5 8079564: Use FP register as proper frame pointer in JIT compiled code on aarch64
Add support for PreserveFramePointer for debug/profile

Reviewed-by: kvn
2015-05-15 09:21:48 +00:00
Michael Haupt
6a8c6779ea 8080471: fix usage of replace and file separator in Nashorn tests
Two tests should use replace instead of replaceAll, and there is a typo in the usage of File.separator.

Reviewed-by: attila, hannesw
2015-05-15 10:21:48 +02:00
Attila Szegedi
96747306e2 8079424: code generator for discarded boolean logical operation has an extra pop
Reviewed-by: lagergren, sundar
2015-05-15 10:19:37 +02:00
Lana Steuck
abc09bccdb Merge 2015-05-14 20:17:02 -07:00
Lana Steuck
e2f7063479 Merge 2015-05-14 20:15:26 -07:00
Lana Steuck
6f98c532c5 Merge 2015-05-14 20:14:57 -07:00
Lana Steuck
372c3a8c86 Merge 2015-05-14 20:14:44 -07:00
Lana Steuck
893b7b77e5 Merge 2015-05-14 20:14:11 -07:00
Lana Steuck
0dea34e198 Merge 2015-05-14 20:14:02 -07:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Stuart Marks
9af3729cc7 8078463: TEST_BUG: optimize java/util/Map/Collisions.java
Reviewed-by: martin, chegar, dfuchs
2015-05-14 13:52:05 -07:00
Coleen Phillimore
ac4d52c9bf Merge 2015-05-14 21:54:34 +02:00
David Katleman
24c78d855c Added tag jdk9-b64 for changeset 8b01824b0cbb 2015-05-14 12:38:15 -07:00
David Katleman
84e174a9f6 Added tag jdk9-b64 for changeset 47d774ef3c19 2015-05-14 12:38:14 -07:00
David Katleman
0e4d07e88b Added tag jdk9-b64 for changeset aca452591e50 2015-05-14 12:38:11 -07:00
David Katleman
9143fb4ddb Added tag jdk9-b64 for changeset 3901aa49fb70 2015-05-14 12:38:10 -07:00
David Katleman
1bf9b9d315 Added tag jdk9-b64 for changeset 8a60622f2e7a 2015-05-14 12:38:09 -07:00
David Katleman
bf1a7f5339 Added tag jdk9-b64 for changeset 1dbddb2a1971 2015-05-14 12:38:07 -07:00
David Katleman
32c20c0bd6 Added tag jdk9-b64 for changeset febd2373771c 2015-05-14 12:38:07 -07:00
David Katleman
b1f245e3a3 Added tag jdk9-b64 for changeset 16659396d71f 2015-05-14 12:38:06 -07:00
Kim Barrett
ab4ba3b40f 8058265: No callers of ReferenceProcessor::clear_discovered_references
Removed unused or unneeded code.

Reviewed-by: brutisso, jmasa
2015-05-14 15:17:36 -04:00
Alejandro Murillo
937fb712ee Merge 2015-05-14 12:05:33 -07:00
Alejandro Murillo
7857b953d0 Merge 2015-05-14 12:05:32 -07:00
Alejandro Murillo
36499a2b18 Merge 2015-05-14 12:05:31 -07:00
Max Ockner
813f34059b 6811960: x86 biasedlocking epoch expired rare bug
It is now guaranteed that biased_locking_enter will be passed a valid tmp_reg.

Reviewed-by: coleenp, dcubed, kvn
2015-05-14 14:03:58 -04:00
Stanislav Smirnov
59c57fb87d 8025979: [TESTBUG] Write test to exercise uninitialized strings from JNI code
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:12:51 -07:00
Stanislav Smirnov
38c5fd780d 8033445: [TESTBUG] Add test case for calling default methods from JNI
Reviewed-by: ctornqvi, dsimms
2015-05-14 10:09:35 -07:00
Naoto Sato
8f571ff813 8080342: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:50:30 -07:00
Joe Wang
6c916eb061 8080344: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:38:53 -07:00
David Dehaven
6ff1090e7d 8080343: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: prr, serb
2015-05-14 09:12:16 -07:00
Alexander Zvegintsev
ae5cc01781 8072448: Can not input Japanese in JTextField on RedHat Linux
Reviewed-by: alexsch, serb
2015-05-15 14:18:20 +03:00
Tobias Hartmann
6172821723 8080420: Compilation of TestVectorizationWithInvariant fails with "error: package com.oracle.java.testlibrary does not exist"
Fixed location of testlibrary package.

Reviewed-by: kvn
2015-05-14 18:02:35 +02:00
Alexey Ivanov
26076d63ac 8033069: mouse wheel scroll closes combobox popup
Reviewed-by: serb, alexsch
2015-05-14 18:23:39 +03:00
Tobias Hartmann
9e5ef665a0 Merge 2015-05-14 16:16:06 +02:00
Alan Bateman
dd45b6e84f 8080330: (cs) Charset.availableCharsets failing with NPE on several platforms
Reviewed-by: chegar
2015-05-14 13:45:23 +01:00
Jaroslav Bachorik
3e2a1f00e5 8078143: java/lang/management/ThreadMXBean/AllThreadIds.java fails intermittently
Reviewed-by: dholmes, martin
2015-05-14 11:41:11 +02:00
Sergey Bylokhov
88dd747a1a 6368321: MetalRootPaneUI calls to deprecated code
Reviewed-by: alexsch, azvegint
2015-05-14 02:05:02 +03:00
Joe Darcy
d95bfcad3e 8075771: Enable "missing" doclint check in build of the java.desktop module
Reviewed-by: ihse
2015-05-13 15:48:24 -07:00
Phil Race
7fa117f7bb Merge 2015-05-13 14:25:22 -07:00
Phil Race
7a78b8bd4c 8080317: Disable warning treated as error for signed/unsigned comparison in building splashscreen
Reviewed-by: ddehaven
2015-05-13 14:16:46 -07:00
Harold Seigel
56c375cdb7 Merge 2015-05-13 21:06:30 +02:00
Sergey Bylokhov
acbb57df0f 5109918: Wrong documentation for JSpinner.DateEditor constructor
Reviewed-by: alexsch, azvegint
2015-05-13 19:19:03 +03:00
Roland Westrelin
0f954ecaaa Merge 2015-05-13 18:06:39 +02:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Phil Race
da66049814 Merge 2015-05-13 08:37:17 -07:00
Sergey Bylokhov
619677d0dc 8072775: Tremendous memory usage by JTextArea
Reviewed-by: vadim, prr
2015-05-13 18:06:19 +03:00
Attila Szegedi
68085fd188 8080295: Need to adjust test output for 8067931
Reviewed-by: jlaskey, sundar
2015-05-13 10:01:37 -05:00
Attila Szegedi
0f400ba879 8067931: Improve error message when with statement is passed a POJO
Reviewed-by: lagergren, sundar
2015-05-13 09:38:59 -05:00
Michael Haupt
538f0b4f06 8080286: use path separator setting consistently in Nashorn project properties
Replace uses of ":" with platform-independent path separator property

Reviewed-by: hannesw, sundar
2015-05-13 15:41:46 +02:00
Rickard Bäckman
7889d1211d 8080155: field "_pc_offset" not found in type ImmutableOopMapSet
Reviewed-by: roland
2015-05-13 15:23:41 +02:00
Vinnie Ryan
b0a84916a2 8068180: sun/security/pkcs11 tests are still in ProblemList.txt
Reviewed-by: mullan
2015-05-13 13:06:37 +01:00
Pooja Chopra
42e679312b 8079428: [TEST_BUG] Test javax/swing/plaf/windows/6921687/bug6921687.java fails
Reviewed-by: serb, azvegint
2015-05-13 13:54:49 +03:00
Jaroslav Bachorik
d7f4465894 8029098: Exclude javax/management/remote/mandatory/notif/ListenerScaleTest.java from running on fastdebug builds
Reviewed-by: sla, sjiang
2015-05-13 10:17:49 +02:00
Jaroslav Bachorik
15fffb90d7 8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
Reviewed-by: sla
2015-05-13 10:17:38 +02:00
Athijegannathan Sundararajan
c8dc03d400 8080182: Array.prototype.sort throws IAE on inconsistent comparison
Reviewed-by: lagergren, hannesw
2015-05-13 12:45:14 +05:30
Jeremy Manson
292354a1fe 8079841: Buffer underflow with empty zip entry names
Check for zero-length entry name before accessing "last" byte

Reviewed-by: sherman, martin
2015-05-12 14:39:36 -07:00
Vivi An
a7bea0d0c4 8075609: java.lang.IllegalArgumentException: aContainer is not a focus cycle root of aComponent
Reviewed-by: alexsch, ant
2015-05-12 13:45:49 -07:00
Christian Tornqvist
971e022093 8078121: Add 'CreateMinidumpOnCrash' (JDK-8074354) caused many tests failed in nightly testing
Reviewed-by: coleenp, hseigel
2015-05-12 13:17:54 -07:00
Christian Tornqvist
3f565a5da4 8075966: Update ProjectCreator to create projects using Visual Studio 2013 toolset
Reviewed-by: sla, lfoltan
2015-05-12 13:16:37 -07:00
Bhavesh Patel
a33f1ed55d 8065077: MethodTypes are not localized
Reviewed-by: ksrini
2015-05-12 12:02:48 -07:00
Harold Seigel
0798e0a659 8080048: Test jdk/test/com/sun/jdi/NoLaunchOptionTest.java was merged incorrectly
Add correct @library and @build tags

Reviewed-by: ctornqvi, gtriantafill
2015-05-12 13:57:46 -04:00
Prasanta Sadhukhan
5c80a9e763 8077584: Value of java.awt.font.OpenType.TAG_OPBD is incorrect
Reviewed-by: serb, prr
2015-05-12 20:30:48 +03:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Ed Nevill
a65f9f9589 8079203: AARCH64: Need to cater for different partner implementations
Parse /proc/cpuinfo to derive implementation specific info

Reviewed-by: kvn
2015-05-12 13:58:42 +00:00
Pavel Rappo
431c16c78d 8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01:00
Alexander Scherbatiy
e52bc6a831 8079255: [macosx] Test closed/java/awt/Robot/RobotWheelTest/RobotWheelTest fails for Mac only
Reviewed-by: serb
2015-05-12 16:43:32 +04:00
Daniel Fuchs
04f236baec 8079773: java/util/logging/LogManager/TestLoggerNames.java
Fixed a race condition in the test which was responsible of the intermittent failure.

Reviewed-by: mchung
2015-05-12 14:32:50 +02:00
Roland Westrelin
513d9a5ede 8085832: Optimize main and post loop out when pre loop is found empty
Eliminate main loop and post loop if pre loop becomes empty

Reviewed-by: kvn, mcberg
2015-05-12 14:26:31 +02:00
Roland Westrelin
197ecf9bc1 8081823: C2 performs unsigned comparison against -1
X <= 0 || x > 0 wrongly folded as (x-1) >u -1

Reviewed-by: kvn, vlivanov
2015-06-08 18:35:17 +02:00
Roland Westrelin
0fb315714c 8078866: compiler/eliminateAutobox/6934604/TestIntBoxing.java assert(p_f->Opcode() == Op_IfFalse) failed
Bail out from range check elimination if pre loop is not found

Reviewed-by: kvn
2015-06-04 16:19:22 +02:00
Vladimir Kozlov
a2d369e486 Merge 2015-06-04 19:24:47 -07:00
Vladimir Kozlov
93d1573c5e 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose
2015-06-03 15:02:10 -07:00
Magnus Ihse Bursie
62836eec59 8080082: configure fails if you create an empty directory and then run configure from it
Reviewed-by: dholmes, erikj
2015-05-12 13:24:34 +02:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Katja Kantserova
80b436c366 8080100: compiler/rtm/* tests fail due to Compilation failed
Reviewed-by: sla
2015-05-12 10:29:10 +02:00
Roland Westrelin
a9cdbd0407 8076188: Optimize arraycopy out for non escaping destination
If the destination of an arraycopy is non escaping, the arraycopy may be optimized out

Reviewed-by: kvn, vlivanov
2015-05-12 10:27:50 +02:00
Roland Westrelin
be86925c01 8078436: java/util/stream/boottest/java/util/stream/UnorderedTest.java crashed with an assert in ifnode.cpp
Bad assert in fold_compares code

Reviewed-by: kvn, vlivanov
2015-05-12 09:41:12 +02:00
Athijegannathan Sundararajan
ee03c0e102 8080090: -d option should dump script source as well
Reviewed-by: hannesw, lagergren
2015-05-12 12:40:33 +05:30
Erik Joelsson
02a2d027b7 8039426: gcc can target wrong instruction set when building JDK native code
Reviewed-by: ihse, dholmes
2015-05-12 09:08:03 +02:00
Semyon Sadetsky
11215eaec0 8078483: Apparent endless loop running JEditorPanePaintTest
Reviewed-by: serb, alexsch
2015-05-12 09:22:53 +03:00
Semyon Sadetsky
1c0f1c478f 8001470: JTextField's size is computed incorrectly when it contains Indic or Thai characters
Reviewed-by: serb, alexsch
2015-05-12 09:18:31 +03:00
Joe Darcy
7ceb605aa6 8053918: make the spec for @Documented comprehensible
Reviewed-by: jjg, abuckley
2015-05-11 17:54:03 -07:00
Jiangli Zhou
cb51ce598c 8079840: G1StringDedupTable::deduplicate() reset String hash value unnecessarily
Only set hash value if String's hash value was 0.

Reviewed-by: pliden, brutisso
2015-05-11 15:06:02 -04:00
Athijegannathan Sundararajan
fd0591c105 8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
Reviewed-by: lagergren, jlaskey
2015-05-11 22:57:24 +05:30
Jesper Wilhelmsson
042902811c Merge 2015-05-11 16:30:26 +02:00
Magnus Ihse Bursie
d31d389d15 8080013: OpenJDK windows build fails due to warning in libfontmanager
Reviewed-by: erikj
2015-05-11 14:15:48 +02:00
Per Lidén
95da544d68 8079579: Add SuspendibleThreadSetLeaver and make SuspendibleThreadSet::joint()/leave() private
Reviewed-by: brutisso, david
2015-05-11 13:57:30 +02:00
Magnus Ihse Bursie
7fb09ab821 8079891: Store configure log in $BUILD/configure.log
Reviewed-by: erikj
2015-05-11 13:45:39 +02:00
Athijegannathan Sundararajan
6ede1d2199 8079900: javadoc is missing for jdk.nashorn.api.tree package
Reviewed-by: lagergren, erikj
2015-05-11 16:39:31 +05:30
Sean Mullan
96b94e09d7 8034820: Wrong isAssignableFrom test when adding Principal to Subject
Reviewed-by: valeriep
2015-05-11 07:03:24 -04:00
David Lindholm
5b29324b68 8076542: G1 does not print heap page size information with -XX:+TracePageSizes
Reviewed-by: tschatzl, brutisso
2015-05-11 10:29:57 +02:00
Srikanth Adayapalam
72744bb5fa 8079613: Deeply chained expressions + several overloads + unnecessary inference result in excessive compile times
Eliminate compile time performance bottlneck due to mischaracterization of standalone expressions as being poly expressions.

Reviewed-by: mcimadamore, jlahoda
2015-05-11 13:28:14 +05:30
Jan Lahoda
1867d1a236 8080338: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
8080339: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
8080340: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle

Fixing incorrect file headers; also reviewed by kevin.l.brown@oracle.com

Reviewed-by: vromero
2015-05-18 09:27:09 +02:00
Sonali Goel
945f55124f 8075166: Group 14d: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg
2015-05-15 18:03:51 -07:00
Sonali Goel
4676493261 8080539: Remove few test files that did not get removed with the patch
Reviewed-by: jjg
2015-05-15 17:47:03 -07:00
Sonali Goel
e16a945d3c 8074514: Group 13d: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg
2015-05-15 17:43:21 -07:00
Sonali Goel
8f711841fa 8075165: Group 14c: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg, vromero
2015-05-15 17:12:58 -07:00
Sonali Goel
395f1173a9 8075164: Group 14b: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg, vromero
2015-05-15 16:59:34 -07:00
Sonali Goel
f6428eb2bb 8074425: Group 13b: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg, darcy, mcimadamore
2015-05-15 16:53:42 -07:00
Sonali Goel
1ebb022e1c 8075163: Group 14a: golden files for tests in tools/javac/generics/wildcards dir
Reviewed-by: jjg, vromero
2015-05-15 16:18:16 -07:00
Sonali Goel
491703889c 8074417: Group 13a: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg, mcimadamore
2015-05-15 09:53:08 -07:00
Sonali Goel
11d7b1e161 8074502: Group 13c: golden files for tests in tools/javac/generics dir
Reviewed-by: jjg, mcimadamore
2015-05-15 09:30:55 -07:00
Jan Lahoda
e21c57f2ab 8076104: Key collisions in ZipFileIndexFileObject content cache lead to wrong content
Equals&hashCode of ZipFileObject and ZipFileIndexFileObject need to be based on full entry path, not only the file name.

Reviewed-by: jjg
2015-05-15 11:41:04 +02:00
Sonali Goel
d0acf99cf6 8074408: Group 12: golden files for tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:56:14 -07:00
Sonali Goel
6b7d074037 8074387: Group 11: golden files for coin tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:36:32 -07:00
Sonali Goel
190ba196a0 8068465: Group 10e: golden files for tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:28:43 -07:00
Sonali Goel
64622d5d74 8068464: Group 10d: golden files for tests in tools/javac dir
Reviewed-by: jjg
2015-05-15 01:09:51 -07:00
Rickard Bäckman
3dc9461bc8 8079797: assert(index >= 0 && index < _count) failed: check
Reviewed-by: kvn
2015-05-11 09:44:07 +02:00
Tobias Hartmann
005adcec93 Merge 2015-05-11 07:58:02 +02:00
Tobias Hartmann
e113dfc652 8079343: Crash in PhaseIdealLoop with "assert(!had_error) failed: bad dominance"
C2 should not try to vectorize loops with loop variant vector base address.

Reviewed-by: kvn
2015-05-11 07:44:46 +02:00
Kim Barrett
7590aeb6e2 8079080: ConcurrentMark::mark_stack_push(oop) is unused
Remove unused functions from ConcurrentMark and CMMarkStack.

Reviewed-by: jmasa, tschatzl
2015-05-10 01:11:13 -04:00
Harold Seigel
9e951d1747 Merge 2015-05-09 07:35:16 -04:00
Harold Seigel
961389c6ef Merge 2015-05-09 07:32:49 -04:00
Harold Seigel
0e141a3611 Merge 2015-05-09 07:32:37 -04:00
Petr Pchelko
eea06f70fc 8035568: [macosx] Cursor management unification
Reviewed-by: anthony, serb
2015-05-09 02:08:15 +03:00
Stuart Marks
a688c63cb1 8076409: Reinforce RMI framework
Reviewed-by: coffeys, igerasim, ahgross
2015-05-08 15:22:53 -07:00
Harold Seigel
0033b57269 Merge 2015-05-08 23:51:37 +02:00
Harold Seigel
e5e17a62d1 8076318: split verifier needs to add TraceClassResolution
Add print statements to verifier when TraceClassResolution is specified

Reviewed-by: coleenp, acorn
2015-05-08 16:24:46 -04:00
Michael C Berg
4fca8dbb1f 8076276: Add support for AVX512
Reviewed-by: kvn, roland
2015-05-08 11:49:20 -07:00
Michael Haupt
b15af202c5 8030680: 292 cleanup from default method code assessment
Small code improvements for increased robustness

Reviewed-by: acorn, coleenp
2015-05-08 14:00:24 -04:00
Sergey Bylokhov
ad5afe4557 8015900: [TEST_BUG] ScrollbarMouseWheelTest failed on ubuntu 12 with unity and unity 2D
Reviewed-by: azvegint, yan
2015-05-08 20:43:46 +03:00
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04:00
Harold Seigel
da4711381d Merge 2015-05-08 13:25:11 -04:00
Harold Seigel
c4bb314487 Merge 2015-05-08 13:23:28 -04:00
Sergey Bylokhov
f00ee27f3c 8013820: JavaDoc for JSpinner contains errors
Reviewed-by: azvegint, alexsch
2015-05-08 20:06:08 +03:00
Sergey Bylokhov
2e5926125a 5036022: JSpinner does not reflect new font on subsequent calls to setFont
Reviewed-by: azvegint, alexsch
2015-05-08 19:31:09 +03:00
Sergey Bylokhov
ee650b24f5 8078149: [macosx] The text of the TextArea is not wrapped at word boundaries
Reviewed-by: azvegint, alexsch
2015-05-08 19:14:16 +03:00
Semyon Sadetsky
443304485b 7190544: Nimbus LaF: regression UnitTest failure
Reviewed-by: alexsch, azvegint, serb
2015-05-08 17:40:43 +03:00
Semyon Sadetsky
3a2ff1374b 7155957: closed/java/awt/MenuBar/MenuBarStress1/MenuBarStress1.java hangs on win 64 bit with jdk8
Reviewed-by: serb, ant
2015-05-08 17:35:15 +03:00
Joseph Provino
f979b6f8f6 7006810: G1: Introduce peace-of-mind checking in the Suspendible Thread Set
Add asserts to ensure thread is in the right state.

Reviewed-by: tschatzl, pliden
2015-05-08 09:52:51 -04:00
Semyon Sadetsky
25b0a009bc 7072653: JComboBox popup mispositioned if its height exceeds the screen height
Reviewed-by: alexsch, azvegint
2015-05-08 16:46:24 +03:00
Claes Redestad
a890eee817 8079263: Suppress warning about disabling adaptive size policy when enabling UseLargePages with UseNUMA when adaptive size policy is disabled
Reviewed-by: jmasa, jwilhelm
2015-05-08 15:41:39 +02:00
Sean Mullan
fee090c692 6470634: Typos in CardTerminals.list(CardTerminals.State) javadoc
Reviewed-by: xuelei
2015-05-08 09:05:15 -04:00
Semyon Sadetsky
8c26397da5 6980209: Make tracking SecondaryLoop.enter/exit methods easier
Reviewed-by: serb, ant
2015-05-08 15:37:38 +03:00
Tobias Hartmann
43a5abc876 8078497: C2's superword optimization causes unaligned memory accesses
Prevent vectorization of memory operations with different invariant offsets if unaligned memory accesses are not allowed.

Reviewed-by: kvn
2015-05-08 12:19:17 +02:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Amy Lu
94dbab9120 8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference
Reviewed-by: alanb, chegar
2015-05-08 10:22:18 +01:00
Katja Kantserova
dea440c232 Merge 2015-05-08 11:15:52 +02:00
Magnus Ihse Bursie
723a1a75aa 8074859: Turn on warnings as error
Reviewed-by: erikj
2015-05-08 10:37:14 +02:00
Magnus Ihse Bursie
7ec9ed5041 8074859: Turn on warnings as error
Reviewed-by: erikj
2015-05-08 10:37:13 +02:00
Bengt Rutisson
890471d11a 8079561: Add a method to convert counters to milliseconds
Reviewed-by: mgerdin, ehelin
2015-05-08 10:30:16 +02:00
Aleksei Efimov
4b9b3c027f 8062518: AIOBE occurs when accessing to document function in extended function in JAXP
Reviewed-by: joehw
2015-05-08 11:07:35 +03:00
Magnus Ihse Bursie
4f0d955e38 8079771: Fix SoundLibraries.gmk mismerge after JDK-8072665
Reviewed-by: dholmes, erikj
2015-05-08 09:42:36 +02:00
Staffan Larsen
7c99296b6e 8079559: Exclude demo/jvmti/hprof tests
Reviewed-by: alanb
2015-05-08 09:40:46 +02:00
Katja Kantserova
97fbf6418d 6755586: Test com/sun/jdi/NoLaunchOptionTest.java may erroneously fail
Reviewed-by: sla, dsamersoff
2015-05-08 09:14:18 +02:00
Alejandro Murillo
58a1361125 Merge 2015-05-07 15:34:45 -07:00
Alejandro Murillo
a9700af7d5 Merge 2015-05-07 15:34:44 -07:00
Vladimir Kozlov
fcf64c698f Merge 2015-05-07 11:28:03 -07:00
Katja Kantserova
7c3182fb56 8079200: Fix heapdump tests to validate heapdump after jhat is removed
Reviewed-by: sla
2015-05-07 16:11:04 +02:00
Andreas Eriksson
07f8740617 8051045: HotSpot fails to wrap Exceptions from invokedynamic in a BootstrapMethodError
Reviewed-by: coleenp, dsimms
2015-05-07 15:05:46 +02:00
David Holmes
5c859405b5 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Staffan Larsen
d2e7d3f2fc 8079360: AttachProviderImpl could not be instantiated
Reviewed-by: dsamersoff, sspitsyn, ihse
2015-05-07 11:01:37 +02:00
Thomas Schatzl
00e2ae0942 8079556: BACKOUT - Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Reviewed-by: jwilhelm, brutisso
2015-05-07 10:32:42 +02:00
Mikael Vidstedt
fc7e87d337 8079545: [TESTBUG] hotspot_basicvmtest doesn't fail even if VM crashes
Reviewed-by: ctornqvi, dholmes
2015-05-06 17:42:24 -07:00
Staffan Larsen
ede1b83689 Merge 2015-05-06 20:37:33 +02:00
Sergey Bylokhov
bcbb909487 6206437: Typo in JInternalFrame setDefaultCloseOperation() doc (WindowClosing --> internalFrameClosing)
Reviewed-by: alexsch, azvegint
2015-05-06 18:30:31 +03:00
Staffan Larsen
b7fdb2bd96 8079345: After 8079248 fixed JDK still fails with "jdk\\bin\\management_ext.dll: The specified procedure could not be found"
Reviewed-by: erikj, sspitsyn, ihse
2015-05-06 16:36:17 +02:00
Sergey Bylokhov
8003b33919 8079217: JRE installation is stuck at Progress dialog : redux
Reviewed-by: prr, ant
2015-05-06 17:31:48 +03:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Phil Race
63d4368f9d Merge 2015-05-05 13:29:12 -07:00
Coleen Phillimore
c6e557977e 8069005: Hotspot crashes in System.out.println with assert(resolved_method->method_holder()->is_linked()) failed: must be linked
Move java.lang.Class initialization sooner in bootstrapping the jvm

Reviewed-by: dholmes, hseigel
2015-05-05 16:09:30 -04:00
Jan Civlin
c7d33de202 8076284: Improve vectorization of parallel streams
Improve vectorization of java/util/stream/Streams$RangeIntSpliterator::forEachRemaining() method and enable loop vectorization in a given method on demand.

Reviewed-by: kvn
2015-05-05 12:33:57 -07:00
Katja Kantserova
a5bea1d744 8076998: BadHandshakeTest.java fails due to warnings in output
Reviewed-by: sla
2015-05-05 20:09:52 +02:00
Roland Westrelin
cf9c335865 Merge 2015-05-05 19:27:08 +02:00
Rickard Bäckman
41e1772251 8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart
2015-05-05 16:50:25 +02:00
Andreas Woess
5c13c285f7 8075492: adopt recent IGV
Adopted recent sources, updated README, added build and run instructions; ignored IGV build files in Mercurial; adapted HotSpot Ideal graph printer to current IGV's data format schema; reintroduced control flow window and basic block layout

Co-authored-by: Bernhard Urban <bernhard.urban@oracle.com>
Co-authored-by: Christian Haeubl <christian.haeubl@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Gilles Duboscq <gilles.duboscq@oracle.com>
Co-authored-by: Lukas Stadler <lukas.stadler@oracle.com>
Co-authored-by: Peter Hofer <peter.hofer@jku.at>
Co-authored-by: Roland Schatz <roland.schatz@oracle.com>
Co-authored-by: Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: kvn, roland
2015-05-05 13:06:10 +02:00
Jesper Wilhelmsson
d6fdc85f70 Merge 2015-05-04 17:27:38 +02:00
Calvin Cheung
0f95d11041 Merge 2015-05-02 18:35:36 -07:00
Roger Riggs
d883c8fde9 Merge 2015-05-01 09:45:44 -04:00
Jaroslav Bachorik
08231934c1 8072906: sun/management/jmxremote/bootstrap/CustomLauncherTest.java failing on embedded platform
Reviewed-by: sspitsyn, dholmes
2015-04-30 16:44:39 +02:00
Calvin Cheung
df0cd30d79 Merge 2015-05-02 18:40:59 -07:00
Roger Riggs
e5b9f73bea Merge 2015-05-01 18:23:31 +00:00
Roger Riggs
90d999d04d 8077743: (rm) Port ResourceManagement to JDK9
Reviewed-by: erikj, mchung, alanb, dholmes
2015-04-30 09:58:17 -04:00
Roger Riggs
21d01c7935 8077743: (rm) Port ResourceManagement to JDK9
Reviewed-by: alanb, erikj, mchung, dholmes
2015-04-30 09:57:58 -04:00
Andrew Brygin
3034b7f80b 8073001: Java's system LnF on OS X: editable JComboBoxes are being rendered incorrectly
Reviewed-by: alexp, serb
2015-04-30 16:47:05 +03:00
Alexander Zvegintsev
71bcae933a 8077982: GIFLIB upgrade
Reviewed-by: ant, serb
2015-04-30 16:02:42 +03:00
Victor Dyakov
f97624c3a6 8078614: WindowsClassicLookAndFeel MetalComboBoxUI.getbaseLine fails with IllegalArgumentException
Reviewed-by: serb, azvegint, alexsch
2015-04-30 14:04:39 +04:00
Staffan Larsen
a4105af83d 8076473: Remove the jhat code and update makefiles
Reviewed-by: alanb, erikj, sspitsyn
2015-04-30 09:50:10 +02:00
Staffan Larsen
91d1c82f21 8076473: Remove the jhat code and update makefiles
Reviewed-by: alanb, erikj, sspitsyn
2015-04-30 09:50:01 +02:00
Andrew Dinn
c9ba8831c6 8078654: CloseTTFontFileFunc callback should be removed
Reviewed-by: prr, martin
2015-04-29 16:02:57 -07:00
Phil Race
722ec3f5ed 8079067: New version string scheme - Java2D
Reviewed-by: serb, jgodinez, iris
2015-04-29 12:57:24 -07:00
Phil Race
b61e85156e 8076979: DebugFonts.java fails with stackoverflow error
Reviewed-by: serb, jgodinez
2015-04-29 10:25:49 -07:00
Phil Race
5e68af873f 8078331: Upgrade JDK to use LittleCMS 2.7
Reviewed-by: serb, bae
2015-04-29 10:22:54 -07:00
Phil Race
e8787ce018 Merge 2015-04-29 09:44:24 -07:00
Sergey Bylokhov
56e9125ea4 8078216: JRE installation is stuck at Progress dialog
Reviewed-by: prr, ddehaven
2015-04-29 19:43:55 +03:00
Victor Dyakov
a7ad7b97e2 8031109: Rendering HTML code in JEditorPane throws NumberFormatException
Reviewed-by: azvegint, alexsch
2015-04-29 20:06:35 +04:00
Phil Race
60bb43ad32 Merge 2015-04-29 08:52:47 -07:00
Vinnie Ryan
0ecf80f99a 8078562: Add modified dates
Reviewed-by: mullan
2015-04-29 16:06:18 +01:00
Christian Tornqvist
17fc606a15 8078558: [TESTBUG] Merge hotspot_wbapitest with existing jtreg jprt job
Reviewed-by: mikael, lfoltan, hseigel
2015-04-29 07:03:45 -07:00
Katja Kantserova
cd5c5b1c01 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-29 15:08:15 +02:00
Evgeniya Stepanova
19e80a1f8f 6407976: GC worker number should be unsigned
Reviewed-by: jwilhelm, tschatzl
2015-04-29 15:12:33 +03:00
David Lindholm
4ff6849791 8079337: Format string issues in workgroup.cpp and taskqueue.cpp
Reviewed-by: jwilhelm, pliden, ehelin
2015-05-06 11:04:44 +02:00
Per Lidén
e5b7417b04 8079330: Circular dependency between G1CollectedHeap and G1BlockOffsetSharedArray
Reviewed-by: tschatzl, mgerdin
2015-05-05 11:17:12 +02:00
Per Lidén
7e9f9f9107 8013171: G1: C1 x86_64 barriers use 32-bit accesses to 64-bit PtrQueue::_index
Reviewed-by: roland, tschatzl
2015-05-06 09:21:10 +02:00
Stefan Karlsson
7ede39f590 8079275: Remove CollectedHeap::use_parallel_gc_threads
Reviewed-by: sjohanss, kbarrett
2015-05-04 15:02:37 +02:00
Jungwoo Ha
00f9d96a8b 8079091: Remove dictionary NULL check on common path of BlockFreeList methods
Reviewed-by: kbarrett, stefank, dholmes, jmasa
2015-05-01 10:51:00 -07:00
Jesper Wilhelmsson
ca69eddba5 Merge 2015-05-04 17:10:50 +02:00
Per Lidén
8986235472 8079148: Fix incorrect include guards
Reviewed-by: stefank, ehelin
2015-05-04 09:24:03 +02:00
Kim Barrett
0227995013 8075215: SATB buffer processing found reclaimed humongous object
Don't assume SATB buffer entries are valid objects

Reviewed-by: brutisso, ecaspole
2015-05-01 17:38:12 -04:00
Stefan Johansson
20689e5397 8078897: Clean out unused code in G1MMUTracker
Reviewed-by: brutisso, jwilhelm, drwhite
2015-04-30 10:14:26 +02:00
Eric Caspole
c120339bf0 8078405: Heap decommit failed in TestShrinkAuxiliaryData tests
Modified test so options in the code are after the options from the environment, so -ExplicitGCInvokesConcurrent is always used.

Reviewed-by: tschatzl, kbarrett
2015-04-29 15:25:41 -04:00
Dmitry Fazunenko
f10e4ec0a6 8073476: G1 logging ignores changes to PrintGC* flags via MXBeans
Reviewed-by: brutisso, jwilhelm
2015-04-29 15:32:05 +04:00
Alexander Zvegintsev
70a2e7923c 8051617: Fullscreen mode is not working properly on Xorg
Reviewed-by: alexsch, serb
2015-04-29 12:54:36 +03:00
Derek White
a9a83a919f 8076995: gc/ergonomics/TestDynamicNumberOfGCThreads.java failed with java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr
Reviewed-by: brutisso, jmasa, jwilhelm
2015-04-29 09:59:51 +02:00
Sergey Bylokhov
324b186f1b 4703110: java.awt.Canvas(GraphicaConfiguration): null reaction
Reviewed-by: azvegint, ant
2015-04-29 02:55:39 +03:00
Jesper Wilhelmsson
ab61943776 Merge 2015-04-28 23:37:11 +02:00
Laurent Bourgès
e41e267848 8078464: Path2D storage growth algorithms should be less linear
Reviewed-by: flar
2015-04-28 14:23:03 -07:00
Sangheon Kim
e207b18f10 8073204: Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: ysr, jwilhelm, tschatzl
2015-04-28 12:02:50 -07:00
Staffan Larsen
dbc0cc5b38 Merge 2015-04-28 20:02:31 +02:00
Alexander Scherbatiy
6dd76600b3 8044444: The output's 'Page-n' footer does not show completely
Reviewed-by: prr, serb
2015-04-28 19:32:50 +04:00
Sergey Bylokhov
aca583b3e9 8077267: Typo in the test on JavaBean
Reviewed-by: alexsch, malenkov
2015-04-28 16:24:04 +03:00
Katja Kantserova
6f18b7da8f 8076524: Remove jhat tests and help library from JDK
Reviewed-by: sla, alanb
2015-04-28 14:39:21 +02:00
Katja Kantserova
ba963fa58d 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:33:32 +02:00
Stefan Karlsson
6dde0580a0 Merge 2015-04-28 12:17:56 +00:00
Ingemar Åberg
62049de8e0 8074016: Add convenient way of adding custom test targets to hotspot's test makefile
Moved the line including the custom testlist to after variables are defined, allowing custom rules to use them

Reviewed-by: erikj, sla
2015-04-28 07:59:18 +02:00
Phil Race
440ee25928 Merge 2015-04-27 09:17:48 -07:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Thomas Schatzl
e08169c253 8073632: Make auxiliary data structures know their own translation factor
Auxiliary data structures should have knowledge of their own requirements for virtual memory reservations instead of getting these values directly from various places.

Reviewed-by: stefank, kbarrett
2015-04-27 10:04:26 +02:00
Stefan Karlsson
f171cd3a86 8078601: print_concurrent_locks should be guarded with INCLUDE_SERVICES
Reviewed-by: mgronlun, sla, dholmes
2015-04-27 09:51:13 +02:00
Stefan Karlsson
f7ea0b72eb 8076177: Remove usage of stack.inline.hpp functions from taskqueue.hpp
Reviewed-by: brutisso, goetz
2015-04-27 09:51:06 +02:00
Bengt Rutisson
6d5aa2af43 8078613: HAS_BEEN_MOVED has been moved
Reviewed-by: stefank, sjohanss
2015-04-27 09:08:07 +02:00
Andrew Brygin
82a710eb0f 8076455: IME Composition Window is displayed on incorrect position
Reviewed-by: serb, azvegint
2015-04-24 15:45:25 +03:00
Goetz Lindenmaier
6d705e6978 8078593: [TESTBUG] ppc: Enable jtreg tests for new features
Also fix a ppc issue in test_env.sh

Reviewed-by: kvn
2015-04-24 10:49:38 +02:00
Michael C Berg
a880f3d139 8078563: Restrict reduction optimization
Reviewed-by: kvn, twisti
2015-04-29 15:34:04 -07:00
Volker Simonis
c87659b9f2 8079280: Fix format warning/error in vm_version_ppc.cpp
Reviewed-by: stefank
2015-05-04 18:41:53 +02:00
Christian Tornqvist
c5e91d59ee Merge 2015-04-23 19:01:07 +00:00
Christian Tornqvist
05c56c176b Merge 2015-04-23 17:14:55 +00:00
Kim Barrett
9a590b01f4 Merge 2015-04-23 16:44:07 +00:00
Thomas Stuefe
301298546c 8077276: allocating heap with UseLargePages and HugeTLBFS may trash existing memory mappings (linux)
Remove MAP_FIXED from initial mapping allocation; add tests

Reviewed-by: stefank, coleenp
2015-04-23 18:00:50 +02:00
Alexander Kulyakthin
462f735dac 8067013: Rename the com.oracle.java.testlibary package
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Calvin Cheung
4c99a3031d Merge 2015-05-02 18:40:37 -07:00
Katja Kantserova
d3c1eacc93 8079120: serviceability/dcmd/gc/HeapDumpAllTest.java: compilation failed
Reviewed-by: sla
2015-05-01 09:40:08 +02:00
Thomas Stuefe
e68705a3f8 8078628: linux-zero does not build without precompiled header
Add missing includes

Reviewed-by: coleenp, stefank, sgehwolf
2015-04-30 09:09:01 +02:00
Christian Tornqvist
699feeda58 8079112: [TESTBUG] hotspot_jprt group in TEST.groups refers to non-existent groups
Reviewed-by: gtriantafill, coleenp, dholmes
2015-04-30 04:01:13 -07:00
Serguei Spitsyn
0096dd6154 8076579: Popping a stack frame after exception breakpoint sets last method param to exception
Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary

Reviewed-by: jbachorik, coleenp, twisti
2015-04-29 17:14:40 -07:00
Christian Tornqvist
e87545938c 8078558: [TESTBUG] Merge hotspot_wbapitest with existing jtreg jprt job
Reviewed-by: mikael, lfoltan, hseigel
2015-04-29 07:03:49 -07:00
Katja Kantserova
fbc3e76d86 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:36:31 +02:00
Kim Barrett
878cf5e641 8031401: Remove unused code in the reference processor
Assume pending_list uses discovered field and remove resulting dead code.

Reviewed-by: brutisso, pliden
2015-04-23 11:26:32 -04:00
Anton Nashatyrev
2c3844609c 8078165: [macosx] NPE when attempting to get image from toolkit
Reviewed-by: serb, alexp
2015-04-23 17:33:19 +03:00
Sergey Bylokhov
e75b6c9ab8 6829245: Reg test: java/awt/Component/isLightweightCrash/StubPeerCrash.java fails
Reviewed-by: azvegint, alexsch
2015-04-23 16:54:54 +03:00
Andrey Zakharov
d50c630d1b 8073669: gc/TestSoftReferencesBehaviorOnOOME.java times out in nightlies
Changed test scenario to more straight-forward one, added tricks to prevent compiler optimizations and added checks when OOME didn't thrown as expected.

Reviewed-by: tschatzl, jwilhelm
2015-04-23 15:54:47 +02:00
Christian Tornqvist
4a6024895d 8077529: [TESTBUG] Remove hotspot.internalvmtests from jprt config
Reviewed-by: mikael, sla
2015-04-22 13:58:42 -07:00
Christian Tornqvist
a6c557d66f 8077529: [TESTBUG] Remove hotspot.internalvmtests from jprt config
Reviewed-by: mikael, sla
2015-04-22 13:58:28 -07:00
Sergey Bylokhov
8941d4be24 8078115: Applets now require "modifyThread" permission to exit on windows
Reviewed-by: azvegint, alexsch
2015-04-22 20:41:37 +01:00
Michail Chernov
689d9a58b1 8071462: Remove G1ParGCAllocator::alloc_buffer_waste
Removed G1ParGCAllocator::alloc_buffer_waste, added method to obtain waste

Reviewed-by: tschatzl, sjohanss
2015-04-22 17:05:00 +02:00
Nicholas Cull
7a4694af8c 8030123: java/beans/Introspector/Test8027648.java fails
Reviewed-by: serb, alexsch
2015-04-22 15:00:50 +04:00
Alexander Scherbatiy
849e09bade 8069361: SunGraphics2D.getDefaultTransform() does not include scale factor
Reviewed-by: flar, prr, serb
2015-04-22 13:46:03 +04:00
Stefan Karlsson
7d01ef4a6e 8078345: Move PSParallelCompact::mark_and_push to ParCompactionManager
Reviewed-by: jwilhelm, brutisso
2015-04-22 10:31:15 +02:00
Stefan Karlsson
9631881fe3 8078341: Remove the unused PSParallelCompact::_updated_int_array_klass_obj
Reviewed-by: ehelin, tschatzl
2015-04-22 09:09:42 +02:00
Stefan Karlsson
4357348f6f 8078340: Remove the unused PSParallelCompact::KeepAliveClosure
Reviewed-by: ehelin, tschatzl
2015-04-22 08:29:39 +02:00
Xue-Lei Andrew Fan
b7bf7fd3fd 8076328: Enforce key exchange constraints
Reviewed-by: wetmore, igerasim, ahgross, asmotrak
2015-04-22 05:09:54 +00:00
Rob McKenna
7ee95a458c 8075738: Better multi-JVM sharing
Reviewed-by: michaelm
2015-04-21 20:33:34 +01:00
Pooja Chopra
04c0e090c9 8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
Reviewed-by: serb, alexsch
2015-04-21 20:11:59 +03:00
Phil Race
4c0f9a1943 7145508: java.awt.GraphicsDevice.get/setDisplayMode behavior is incorrect when no display is present
Reviewed-by: serb, bae
2015-04-20 10:39:30 -07:00
Vinnie Ryan
6b3eb7ab72 8075833: Straighter Elliptic Curves
Reviewed-by: mullan
2015-04-20 16:26:12 +01:00
Jesper Wilhelmsson
4ded648d54 Merge 2015-04-20 14:26:53 +02:00
Mark Sheppard
233f940f00 8076376: Enhance IIOP operations
Reviewed-by: rriggs, coffeys, ahgross, skoivu
2015-04-20 00:27:38 +01:00
Sergey Bylokhov
6230465f95 8077394: Uninitialised memory in jdk/src/java/desktop/unix/native/libfontmanager/X11FontScaler.c
Reviewed-by: azvegint, prr
2015-04-19 10:31:06 +03:00
Chris Hegarty
6716f24c45 8076405: Improve serial serialization
Reviewed-by: alanb, igerasim
2015-04-17 15:36:32 +01:00
Chris Hegarty
4799f0adcd 8076401: Serialize OIS data
Reviewed-by: alanb, igerasim
2015-04-17 15:28:44 +01:00
Sergey Bylokhov
6634445355 8074757: Remove java.awt.Toolkit methods which return peer types
Reviewed-by: alanb, prr, ant
2015-04-17 17:01:24 +03:00
Sergey Bylokhov
677097c128 8074763: Remove API references to java.awt.dnd.peer
Reviewed-by: alanb, ant, prr
2015-04-17 16:57:30 +03:00
Sergey Bylokhov
b9aead1b2c 8074028: Remove API references to java.awt.peer
Reviewed-by: alanb, ant, yan, prr
2015-04-17 16:54:13 +03:00
Phil Race
971438ead7 8075942: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo
Reviewed-by: flar, lbourges
2015-04-17 12:32:46 -07:00
Sergey Bylokhov
e79b50f322 8076264: [macosx] Launching app on MacOSX requires enclosing class
Reviewed-by: azvegint, ksrini
2015-04-16 21:55:55 +03:00
Alexey Ivanov
cde528f457 8074956: ArrayIndexOutOfBoundsException in javax.swing.text.html.parser.ContentModel.first()
Reviewed-by: alexsch, alexp
2015-04-16 14:32:33 +01:00
Vadim Pakhnushev
490c3dee9c 8077520: Morph tables into improved form
Reviewed-by: prr, srl, mschoene
2015-04-16 11:27:23 +03:00
Phil Race
041bb07b95 Merge 2015-04-15 14:28:43 -07:00
Phil Race
ca3b5f84a9 Merge 2015-04-15 14:28:27 -07:00
Jon Masamitsu
48ed80d136 7012980: PSOldGen is increased if there is no space in Metaspace
Reviewed-by: tschatzl, tbenson
2015-04-15 11:30:36 -07:00
Jon Masamitsu
bd52f0a2ef Merge 2015-07-07 18:16:06 +00:00
Sangheon Kim
3e36930486 8079555: REDO - Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: jmasa, tschatzl
2015-07-07 06:37:10 -07:00
Thomas Schatzl
c8c4924aa3 8129558: Coalesce dead objects during removal of self-forwarded pointers
To improve performance of self-forwarding fixup during evacuation failure, coalesce the work done for dead objects.

Reviewed-by: mgerdin, tbenson, tonyp
2015-07-07 14:20:08 +02:00
Daniel D. Daugherty
513b3b2ac1 Merge 2015-07-03 06:24:23 -07:00
Thomas Schatzl
0d758e4c43 8129977: TestSummarizeRSetStats.java fails: Incorrect amount of per-period RSet summaries at the end
Due to unrestrained initial heap size more garbage collections than expected could be started, confusing the test. Fix the initial heap size for the test to make them pass.

Reviewed-by: tbenson, dfazunen, dcubed
2015-07-03 09:49:41 +02:00
Ioi Lam
b959e09360 8129355: [TESTBUG] runtime FragmentMetaspaceSimple.java fails with java.lang.ClassNotFoundException: test.Empty
Avoid opening files excessively

Reviewed-by: coleenp, mseledtsov
2015-07-02 20:30:33 -07:00
Daniel D. Daugherty
9b1474b512 Merge 2015-07-02 14:20:36 -07:00
Jesper Wilhelmsson
0cd7fa860a 8130330: Quarantine gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, tschatzl
2015-07-02 18:07:42 +02:00
David Holmes
184e6f6d8b Merge 2015-07-02 12:05:19 +02:00
Dmitry Dmitriev
d8947ce1ea 8129786: Buffer overrun when passing long not existing option in JDK 9
Only make the obsolete check for valid arguments(length less than 256)

Reviewed-by: dcubed, dholmes
2015-07-02 12:25:55 +03:00
Dmitrij Pochepko
8085251389 8129430: tests that requrie G1 should be excluded from execution on embedded platfomrs where g1 is not supported
Test group definition has been fixed

Reviewed-by: tschatzl
2015-07-01 21:04:18 +03:00
Stefan Johansson
e382d8095c 8129590: TestShrinkDefragmentedHeap.java runs out of memory
Reviewed-by: jwilhelm, tschatzl
2015-07-01 16:38:14 +02:00
Bertrand Delsart
7c3f8ed01d Merge 2015-07-01 10:26:59 +00:00
Bertrand Delsart
5aec2dc9fc 8087333: Optionally Pre-Generate the HotSpot Template Interpreter
Optional support for pregenerated template interpreter

Reviewed-by: coleenp, dholmes, kvn
2015-07-01 10:53:26 +02:00
David Buck
a7f0956201 8072147: Preloading libjsig.dylib causes deadlock when signal() is called
Added check to prevent reentry of signal chaining code

Reviewed-by: dcubed, acorn, dholmes
2015-06-30 15:26:20 -07:00
Daniel D. Daugherty
503aa09100 Merge 2015-06-30 09:48:24 -07:00
Daniel D. Daugherty
7315d2ea19 8130135: backout 8087143 due to failures in 8130115
Reviewed-by: minqi, coleenp
2015-06-30 09:39:53 -07:00
Yumin Qi
037958ba9a 8087143: Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-06-29 13:48:55 -07:00
Harold Seigel
df34232add Merge 2015-06-29 17:24:52 +00:00
Harold Seigel
28effe7632 8073423: Remove LazyClassPathEntry support if no longer needed
Remove LazyClassPathEntry support and deprecate -XX:+LazyBootClassLoader

Reviewed-by: acorn, lfoltan
2015-06-29 11:48:27 -04:00
Goetz Lindenmaier
bd938df14f 8130036: Fix problems with imprecise C++ coding
Reviewed-by: dholmes, kbarrett
2015-06-29 10:16:48 +02:00
Thomas Stuefe
a88e8669c5 8080925: Make error log write timeout parameter configurable
Reviewed-by: sla, coleenp, ctornqvi, dholmes
2015-06-26 08:29:29 +02:00
Stefan Johansson
c85e4ae56f 8078901: Add trace event for G1 MMU information
Reviewed-by: ehelin, mlarsson
2015-04-30 13:33:23 +02:00
Joe Darcy
342ea6369a 8075082: Fix missing doclint warnings in the javax.swing package
Reviewed-by: serb, ant
2015-04-15 10:24:01 -07:00
Alexander Scherbatiy
0dc8a46204 8072767: DefaultCellEditor for comboBox creates ActionEvent with wrong source object
Reviewed-by: serb, azvegint
2015-04-15 14:38:13 +04:00
Artem Smotrakov
71f032b764 8043202: Prohibit RC4 cipher suites
Reviewed-by: xuelei
2015-04-15 13:15:16 +03:00
Shanliang Jiang
2bb76f5f36 8075853: Proxy for MBean proxies
Reviewed-by: dfuchs, ahgross, bmoloden
2015-04-15 11:16:25 +02:00
Joe Darcy
d617368a75 8076624: Fix missing doclint warnings in javax.swing.text
Reviewed-by: serb
2015-04-14 15:43:14 -07:00
Joe Darcy
0b622e20f7 8077095: Fix missing doclint warnings in the javax.swing.plaf.basic package
Reviewed-by: serb
2015-04-14 14:47:12 -07:00
David Dehaven
2ec458e126 Merge 2015-04-14 12:10:01 -07:00
David Dehaven
1c993f4230 Merge 2015-04-14 12:10:00 -07:00
Vladimir Ivanov
4dc0960ac2 8075838: Method for typing MethodTypes
Reviewed-by: jrose, ahgross, alanb, bmoloden
2015-04-14 19:10:28 +03:00
Hendrik Schreiber
31ec6e06ef 8076106: [macosx] Drag image of TransferHandler does not honor MultiResolutionImage
Reviewed-by: serb, alexsch
2015-04-14 14:47:40 +04:00
Dmitry Markov
b29fb12ad4 8073453: Focus doesn't move when pressing Shift + Tab keys
Reviewed-by: alexsch, ant
2015-04-14 15:24:10 +04:00
Sergey Bylokhov
95090a7507 8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may expose internal representation
Reviewed-by: azvegint, alexsch
2015-04-14 09:34:59 +03:00
Phil Race
e630663bbb 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:06:04 -07:00
Phil Race
5981b9e79b 8035302: Eliminate dependency on jdk.charsets from 2D font code
Reviewed-by: mchung, alanb, sherman, serb
2015-04-13 17:03:11 -07:00
Shobhit Gupta
609fc7915d 8076069: [macosx][TESTBUG] tests failing with Unrecognized system error
Reviewed-by: serb, azvegint, kshefov
2015-04-13 19:39:40 +03:00
Vinnie Ryan
1b7102b9ea 8077546: Restore the change to OCSPResponse in the fix for JDK-8074064
Reviewed-by: chegar
2015-04-11 18:04:10 +01:00
Vinnie Ryan
8b41866506 8075374: Responding to OCSP responses
Reviewed-by: mullan
2015-04-10 18:34:57 +01:00
Vinnie Ryan
d0be3332e5 8075378: JNDI DnsClient Exception Handling
Reviewed-by: chegar
2015-04-10 16:43:39 +01:00
Jaroslav Bachorik
e63cd605f3 8077407: Even better MBean connections
Reviewed-by: sla
2015-04-10 15:26:17 +02:00
Pooja Chopra
2fd5531d45 8076151: [TESTBUG] Test java/awt/FontClass/CreateFont/fileaccess/FontFile.java fails
Reviewed-by: alexsch, azvegint
2015-04-10 11:35:49 +03:00
Semyon Sadetsky
c959a460ad 7081580: Specification for MouseInfo.getNumberOfButtons() doesn't contain info about "awt.mouse.numButtons"
Reviewed-by: serb, ant
2015-04-09 18:09:55 +04:00
Semyon Sadetsky
7d376fd912 6866751: J2SE_Swing_Reg: the caret disappears when moving to the end of the line
Reviewed-by: serb, alexsch
2015-04-09 17:41:08 +04:00
Joe Darcy
2bc44815c5 8077094: Fix missing doclint warnings in the javax.swing.plaf package
Reviewed-by: serb
2015-04-08 10:50:50 -07:00
Joe Darcy
0b17b713ec 8076422: Fix missing doclint warnings in javax.swing.border
Reviewed-by: serb
2015-04-07 12:46:13 -07:00
Yuri Nesterenko
706496f63a 8076315: move 4 manual functional swing tests to regression suite
Reviewed-by: alexsch, serb
2015-04-07 17:34:14 +03:00
Semyon Sadetsky
23908e7eb4 7042645: Numerous api/java_awt jck tests fail - AWT Assertion Failure on fastdebug ri bundles b138 win7 x86
Reviewed-by: serb, azvegint
2015-04-07 16:07:20 +04:00
Jaroslav Bachorik
ffe4b47d20 8075926: Add a sun.management.JMXConnectorServer perf counter to track its state
Reviewed-by: duke
2015-04-03 15:39:38 +02:00
Jaroslav Bachorik
97a263953b 8076397: Better MBean connections
Reviewed-by: dfuchs, ahgross
2015-04-01 17:30:28 +02:00
Vadim Pakhnushev
1849df6c27 8074871: Adjust device table handling
Reviewed-by: prr, srl, mschoene
2015-04-07 13:37:30 +03:00
Vadim Pakhnushev
7cb6dba439 8074330: Set font anchors more solidly
Reviewed-by: prr, srl, mschoene
2015-04-07 13:37:30 +03:00
Vadim Pakhnushev
dbb2078ef0 8074335: Substitute for substitution formats
Reviewed-by: prr, srl, mschoene
2015-04-07 13:37:30 +03:00
Phil Race
4afe98d2f7 8073334: Improved font substitutions
Reviewed-by: srl, bae, mschoene
2015-04-06 15:54:29 -07:00
Valerie Peng
baceaab271 8074865: General crypto resilience changes
Replaced Arrays.equals() with MessageDigest.isEqual() when comparing sensitive values

Reviewed-by: mullan, xuelei
2015-04-06 20:24:27 +00:00
Michael Haupt
590ec77481 6900757: minor bug fixes to LogCompilation tool
Improve internal error reporting (point to XML element causing trouble); fix comparator for sorting by name and start; make tool more robust wrt. incorrect options and files not found; make inlining decision output more clear; adopt uncommon traps history printing; properly mention compiler in generated logs; add options for printing time stamps and omitting compilation IDs; add option for comparing compilation logs; overall code cleanup and API documentation

Reviewed-by: kvn, vlivanov
2015-03-31 21:46:44 +02:00
Anthony Scarpino
2c695decc2 8131078: typos in ghash cpu message
Reviewed-by: goetz, kvn
2015-07-13 13:22:21 -07:00
Peter Januschke
a5d8b8bf25 8130653: ppc: implement MultiplyToLen intrinsic
Reviewed-by: simonis
2015-07-07 10:40:09 +02:00
Vladimir Kozlov
b5284a93ce 8129920: Vectorized loop unrolling
Optimize loop opts for vectorizible loops.

Reviewed-by: kvn, roland
2015-07-10 11:59:09 -07:00
Anthony Scarpino
963c3852a3 8130341: GHASH 32bit intrinsics has AEADBadTagException
Reviewed-by: kvn, mcberg
2015-07-10 11:31:49 -07:00
Phil Race
aadda7f118 8074098: 2D_Font/Bug8067699 test fails with SIGBUS crash on Solaris Sparc
Reviewed-by: bae, srl, mschoene
2015-03-10 14:00:05 -07:00
Vadim Pakhnushev
53a74d7f41 8072887: Better font handling improvements
Reviewed-by: prr, srl, mschoene
2015-03-10 13:30:11 +03:00
Phil Race
44d6ebdeba 8071715: Tune font layout engine
Reviewed-by: srl, bae, mschoene
2015-03-09 16:44:39 -07:00
Roland Westrelin
73bc9c4c0b 8071731: Better scaling for C1
Reviewed-by: kvn, iveresov
2015-03-09 09:59:53 +01:00
Vadim Pakhnushev
ff1c62f177 8072490: Better font morphing redux
Reviewed-by: prr, srl, mschoene
2015-03-06 13:15:16 +03:00
Kumar Srinivasan
8c4275fcb7 8073773: Presume path preparedness
Reviewed-by: darcy, dholmes, ahgross
2015-03-02 08:19:11 -08:00
Artem Smotrakov
5f7a2dfec6 8043201: Deprecate RC4 in SunJSSE provider
Reviewed-by: xuelei, ahgross
2015-03-02 12:56:22 -08:00
Sean Mullan
e973af73a3 8073894: Getting to the root of certificate chains
Reviewed-by: weijun, igerasim, ahgross
2015-03-02 08:52:08 -05:00
Xue-Lei Andrew Fan
635f7a3e20 8067694: Improved certification checking
Reviewed-by: mullan, jnimeh, coffeys, robm, asmotrak, ahgross
2015-02-04 11:13:14 +00:00
Stefan Karlsson
1a534420a8 8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes
2015-01-19 11:06:08 +01:00
Jean-Francois Denise
88ff99b454 Merge 2015-06-25 20:47:46 +00:00
Poonam Bajaj
b34dec66c6 Merge 2015-06-25 18:14:54 +00:00
Jean-Francois Denise
aaac2cbb54 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02:00
Thomas Schatzl
e5a5f9beab Merge 2015-06-25 15:43:16 +00:00
Poonam Bajaj
c7612a1138 8129108: nmethod related crash in CMS
Add SO_AllCodeCache to root scanning options when not unloading classes with a CMS collection cycle

Reviewed-by: mgerdin, jwilhelm
2015-06-25 06:52:05 -07:00
Bertrand Delsart
6684a41c5d Merge 2015-06-25 13:23:36 +00:00
Bengt Rutisson
e7a2bfa767 Merge 2015-06-25 10:52:37 +00:00
David Holmes
1b1b03c99c Merge 2015-06-25 08:30:23 +00:00
Thomas Schatzl
9a06f23e99 Merge 2015-06-25 07:13:27 +00:00
Thomas Schatzl
2431e87477 8129573: CollectedHeap::fill_with_objects() needs to use multiple arrays in 32 bit mode too
In JDK-8042668 we introduced a custom fill threshold for G1. This leads to CollectedHeap::fill_with_objects create too large objects in G1 when using it in 32 bit mode, as the code to create multiple filler objects is IFDEF'ed out on 32 bit. Enable this code on 32 bit too.

Reviewed-by: tonyp, mgerdin, tbenson
2015-06-25 09:06:35 +02:00
Thomas Schatzl
def61423c2 8129604: Incorrect GPL header in README causes RE script to create wrong output
Fix up GPL headers by removing leading "#" so that the RE script works.

Reviewed-by: brutisso, coleenp
2015-06-25 09:04:28 +02:00
Bertrand Delsart
2a01bb6dda 8081406: cleanup and minor extensions of the debugging facilities in CodeStrings
Avoid issues around _defunct CodeStrings

Reviewed-by: dholmes, coleenp
2015-06-25 08:17:52 +02:00
Bengt Rutisson
5f4a67087f 8129626: G1: set_in_progress() and clear_started() needs a barrier on non-TSO platforms
Also reviewed by vitalyd@gmail.com

Reviewed-by: pliden, bpittore, bdelsart
2015-06-25 08:15:07 +02:00
Coleen Phillimore
ee01e4e88b Merge 2015-06-24 21:58:05 -04:00
Dmitry Dmitriev
fff2d77827 8129394: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failed with double option
Reviewed-by: dholmes
2015-06-24 18:21:14 -04:00
Dmitry Dmitriev
ef8ad5ea95 8078399: Deprecate -Xoss, -Xsqnopause, -Xoptimize and -Xboundthreads options in JDK 9
Reviewed-by: dholmes, coleenp
2015-06-24 18:19:09 -04:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Thomas Schatzl
f3b9da429d 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:46:26 +02:00
Weijun Wang
3e02b2dfeb 8064890: SecureClassLoader should use a ConcurrentHashMap
Reviewed-by: mullan
2014-11-20 17:52:18 +08:00
Roger Riggs
cacb730235 8086208: java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Reviewed-by: martin, dholmes
2015-06-17 16:03:49 -04:00
Sean Mullan
1534835fb7 Merge 2015-06-17 15:48:28 -04:00
Daniel Fuchs
bb207a1cc1 8072692: Improve performance of SecurityManager.checkPackageAccess
Reviewed-by: mullan, weijun
2015-06-17 15:47:12 -04:00
Konstantin Shefov
2f5dc153c2 8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option
Reviewed-by: vlivanov
2015-06-17 20:19:51 +03:00
Konstantin Shefov
b07bdeb8bd 8067005: Several java/lang/invoke tests fail due to exhausted code cache
Reviewed-by: vlivanov
2015-06-17 20:17:25 +03:00
Joe Darcy
48ea10de6b 8098790: Improve cross references and wording in java.lang.reflect.AnnotatedFoo type
Reviewed-by: lancea
2015-06-16 17:05:08 -07:00
Brian Burkhalter
0bc308ad38 8087304: (ch) java/nio/channels/DatagramChannel/EmptyBuffer.java received 4 times while expected 3
Only count datagrams received from the client within the test.

Reviewed-by: alanb, chegar
2015-06-16 14:38:51 -07:00
Bertrand Delsart
f05640eb98 8035496: G1 ARM: missing remset entry noticed by VerifyAfterGC for vm/gc/concurrent/lp50yp10rp70mr30st0
Release_store used when registering a PerRegionTable. Also reviewed-by: vitalyd@gmail.com

Reviewed-by: jmasa, tschatzl, brutisso
2014-02-24 12:49:21 +01:00
Per Lidén
4dc240f785 8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
9007 changed files with 1064941 additions and 434508 deletions

11
.hgtags
View File

@@ -306,3 +306,14 @@ da950f343762a856d69751570a4c07cfa68a415b jdk9-b59
ac3f5a39d4ff14d70c365e12cf5ec8f2abd52a04 jdk9-b61
e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
989253a902c34dcb7564695161c9200a5fbb7412 jdk9-b63
8ffdeabc7c2b9a8280bf46cae026ac46b4d31c26 jdk9-b64
4915246064b2f89d5f00c96e758686b7fdad36a6 jdk9-b65
ff3fc75f3214ad7e03595be1b0d0f38d887b6f0e jdk9-b66
56166ce66037952fa21e9f680b31bf8eb47312c0 jdk9-b67
5b500c93ce4822d47061cd518ff3f72d9d8cb5b5 jdk9-b68
d69c968463f0ae5d0b45de3fc14fe65171b23948 jdk9-b69
43d0179ee9de3bfffae3417f09e07eb6d8efc963 jdk9-b70
f66c185284727f6e6ffd27e9c45ed2dd9da0a691 jdk9-b71
61d2d0629b6dbf4c091dc86151ade1b3ef34fffe jdk9-b72
9b3a9d72f07b40c648de79961679f42283af1bb5 jdk9-b73
7c577fda1855d03c04546694d514678f596508c9 jdk9-b74

View File

@@ -306,3 +306,14 @@ f25ee9f62427a9ba27418e5531a89754791a305b jdk9-b57
ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
105d045a69174d870b69bfe471b3f2d05a9f8ecc jdk9-b62
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
82cf9aab9a83e41c8194ba01af9666afdb856cbe jdk9-b64
7c31f9d7b932f7924f1258d52885b1c7c3e078c2 jdk9-b65
dc6e8336f51bb6b67b7245766179eab5ca7720b4 jdk9-b66
f546760134eb861fcfecd4ce611b0040b0d25a6a jdk9-b67
70e4272790b6199e9ca89df2758ff9cb58ec4125 jdk9-b68
1bcfd6b8726582cff5a42dbfc75903e36f9dd4fe jdk9-b69
eed77fcd77711fcdba05f18fc22f37d86efb243c jdk9-b70
c706ef5ea5da00078dc5e4334660315f7d99c15b jdk9-b71
8582c35016fb6211b373810b6b172feccf9c483b jdk9-b72
4c2cbaae528bce970dabbb5676005d379357f4b6 jdk9-b73
57f3134853ecdd4a3ee2d4d26f22ba981d653d79 jdk9-b74

View File

@@ -436,7 +436,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(CYGPATH, cygpath)
BASIC_PATH_PROGS(READLINK, [greadlink readlink])
BASIC_PATH_PROGS(DF, df)
BASIC_PATH_PROGS(SETFILE, SetFile)
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
])
@@ -574,10 +573,11 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
)
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
# detect if Xcode is installed by running xcodebuild -version
# If a devkit has been supplied, find xcodebuild in the toolchain_path.
# If not, detect if Xcode is installed by running xcodebuild -version
# if no Xcode installed, xcodebuild exits with 1
# if Xcode is installed, even if xcode-select is misconfigured, then it exits with 0
if /usr/bin/xcodebuild -version >/dev/null 2>&1; then
if test "x$DEVKIT_ROOT" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
# We need to use xcodebuild in the toolchain dir provided by the user, this will
# fall back on the stub binary in /usr/bin/xcodebuild
AC_PATH_PROG([XCODEBUILD], [xcodebuild], [/usr/bin/xcodebuild], [$TOOLCHAIN_PATH])
@@ -705,9 +705,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# is performed.
filtered_files=`$ECHO "$files_present" \
| $SED -e 's/config.log//g' \
-e 's/confdefs.h//g' \
-e 's/fixpath.exe//g' \
-e 's/ //g' \
-e 's/configure.log//g' \
-e 's/confdefs.h//g' \
-e 's/ //g' \
| $TR -d '\n'`
if test "x$filtered_files" != x; then
AC_MSG_NOTICE([Current directory is $CURDIR.])
@@ -961,6 +961,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
AC_MSG_RESULT([yes])
fi
fi
BASIC_REQUIRE_PROGS(SETFILE, SetFile)
fi
])
@@ -1054,3 +1055,29 @@ AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
AC_SUBST(BASH_ARGS)
])
# Code to run after AC_OUTPUT
AC_DEFUN_ONCE([BASIC_POST_CONFIG_OUTPUT],
[
# Try to move config.log (generated by autoconf) to the configure-support directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Rotate our log file (configure.log)
if test -e "$OUTPUT_ROOT/configure.log.old"; then
$RM -f "$OUTPUT_ROOT/configure.log.old"
fi
if test -e "$OUTPUT_ROOT/configure.log"; then
$MV -f "$OUTPUT_ROOT/configure.log" "$OUTPUT_ROOT/configure.log.old" 2> /dev/null
fi
# Move configure.log from current directory to the build output root
if test -e ./configure.log; then
echo found it
$MV -f ./configure.log "$OUTPUT_ROOT/configure.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
])

View File

@@ -86,4 +86,11 @@ if [ "x$OUT" = x ]; then
fi
fi
# Test and fix cpu on Macosx when C preprocessor is not on the path
echo $OUT | grep i386-apple-darwin > /dev/null 2> /dev/null
if test $? = 0; then
REAL_CPU=`uname -m`
OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'`
fi
echo $OUT

View File

@@ -255,13 +255,10 @@ if test "x$conf_debug_configure" != x; then
set -x
fi
if test "x$conf_debug_configure" = xtrue; then
# Turn on logging, but don't turn on twice when called recursive
conf_debug_logfile=./debug-configure.log
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_debug_logfile 1>&2 ; exec 3>&-) | tee -a $conf_debug_logfile
else
( . $conf_script_to_run "${conf_processed_arguments[@]}" )
fi
# Now transfer control to the script generated by autoconf. This is where the
# main work is done.
conf_logfile=./configure.log
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_logfile 1>&2 ; exec 3>&-) | tee -a $conf_logfile
conf_result_code=$?
###

View File

@@ -265,15 +265,10 @@ CONFIG_STATUS="$CONFIGURESUPPORT_OUTPUTDIR/config.status"
# Create the actual output files. Now the main work of configure is done.
AC_OUTPUT
# After AC_OUTPUT, we need to do final work
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
# Try to move the config.log file to the output directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
BASIC_POST_CONFIG_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS

View File

@@ -231,7 +231,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
AC_SUBST(C_FLAG_REORDER)
AC_SUBST(CXX_FLAG_REORDER)
AC_SUBST(SHARED_LIBRARY_FLAGS)
AC_SUBST(SET_EXECUTABLE_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
AC_SUBST(SET_SHARED_LIBRARY_NAME)
@@ -339,14 +338,16 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
# no adjustment
;;
slowdebug )
# 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"
# Add runtime stack smashing and undefined behavior checks.
# Not all versions of gcc support -fstack-protector
STACK_PROTECTOR_CFLAG="-fstack-protector-all"
FLAGS_COMPILER_CHECK_ARGUMENTS([$STACK_PROTECTOR_CFLAG], [], [STACK_PROTECTOR_CFLAG=""])
CFLAGS_DEBUG_OPTIONS="$STACK_PROTECTOR_CFLAG --param ssp-buffer-size=1"
CXXFLAGS_DEBUG_OPTIONS="$STACK_PROTECTOR_CFLAG --param ssp-buffer-size=1"
;;
esac
fi
AC_SUBST(CFLAGS_DEBUG_OPTIONS)
AC_SUBST(CXXFLAGS_DEBUG_OPTIONS)
# Optimization levels
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
@@ -524,6 +525,10 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
# CXXFLAGS_JDK - C++ Compiler flags
# COMMON_CCXXFLAGS_JDK - common to C and C++
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_CPU" = xx86; then
# Force compatibility with i586 on 32 bit intel platforms.
COMMON_CCXXFLAGS="${COMMON_CCXXFLAGS} -march=i586"
fi
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
@@ -556,6 +561,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-D_WINSOCK_DEPRECATED_NO_WARNINGS \
-DWIN32 -DIAL"
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
@@ -900,6 +906,24 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
AC_ARG_ENABLE([warnings-as-errors], [AS_HELP_STRING([--disable-warnings-as-errors],
[do not consider native warnings to be an error @<:@enabled@:>@])])
AC_MSG_CHECKING([if native warnings are errors])
if test "x$enable_warnings_as_errors" = "xyes"; then
AC_MSG_RESULT([yes (explicitely set)])
WARNINGS_AS_ERRORS=true
elif test "x$enable_warnings_as_errors" = "xno"; then
AC_MSG_RESULT([no])
WARNINGS_AS_ERRORS=false
elif test "x$enable_warnings_as_errors" = "x"; then
AC_MSG_RESULT([yes (default)])
WARNINGS_AS_ERRORS=true
else
AC_MSG_ERROR([--enable-warnings-as-errors accepts no argument])
fi
AC_SUBST(WARNINGS_AS_ERRORS)
case "${TOOLCHAIN_TYPE}" in
microsoft)
DISABLE_WARNING_PREFIX="-wd"

View File

@@ -684,6 +684,7 @@ ZIP_DEBUGINFO_FILES
ENABLE_DEBUG_SYMBOLS
CFLAGS_WARNINGS_ARE_ERRORS
DISABLE_WARNING_PREFIX
WARNINGS_AS_ERRORS
COMPILER_SUPPORTS_TARGET_BITS_FLAG
ZERO_ARCHFLAG
LDFLAGS_TESTEXE_SUFFIX
@@ -717,8 +718,6 @@ C_O_FLAG_DEBUG
C_O_FLAG_NORM
C_O_FLAG_HI
C_O_FLAG_HIGHEST
CXXFLAGS_DEBUG_OPTIONS
CFLAGS_DEBUG_OPTIONS
CXXFLAGS_DEBUG_SYMBOLS
CFLAGS_DEBUG_SYMBOLS
CXX_FLAG_DEPS
@@ -727,7 +726,6 @@ SET_SHARED_LIBRARY_MAPFILE
SET_SHARED_LIBRARY_NAME
SET_SHARED_LIBRARY_ORIGIN
SET_EXECUTABLE_ORIGIN
SHARED_LIBRARY_FLAGS
CXX_FLAG_REORDER
C_FLAG_REORDER
SYSROOT_LDFLAGS
@@ -857,6 +855,7 @@ OS_VERSION_MINOR
OS_VERSION_MAJOR
PKG_CONFIG
BASH_ARGS
SETFILE
CODESIGN
XATTR
DSYMUTIL
@@ -948,7 +947,6 @@ build_vendor
build_cpu
build
CPIO
SETFILE
DF
READLINK
CYGPATH
@@ -1086,6 +1084,7 @@ with_jtreg
with_extra_cflags
with_extra_cxxflags
with_extra_ldflags
enable_warnings_as_errors
enable_debug_symbols
enable_zip_debug_info
enable_native_coverage
@@ -1168,7 +1167,6 @@ SED
CYGPATH
READLINK
DF
SETFILE
CPIO
UNZIP
ZIP
@@ -1181,6 +1179,7 @@ TIME
DSYMUTIL
XATTR
CODESIGN
SETFILE
PKG_CONFIG
JAVA
JAVAC
@@ -1852,6 +1851,9 @@ Optional Features:
--enable-rmiconnector-iiop
enable the JMX RMIConnector iiop transport
[disabled]
--disable-warnings-as-errors
do not consider native warnings to be an error
[enabled]
--disable-debug-symbols disable generation of debug symbols [enabled]
--disable-zip-debug-info
disable zipping of debug-info files [enabled]
@@ -2047,7 +2049,6 @@ Some influential environment variables:
CYGPATH Override default value for CYGPATH
READLINK Override default value for READLINK
DF Override default value for DF
SETFILE Override default value for SETFILE
CPIO Override default value for CPIO
UNZIP Override default value for UNZIP
ZIP Override default value for ZIP
@@ -2060,6 +2061,7 @@ Some influential environment variables:
DSYMUTIL Override default value for DSYMUTIL
XATTR Override default value for XATTR
CODESIGN Override default value for CODESIGN
SETFILE Override default value for SETFILE
PKG_CONFIG path to pkg-config utility
JAVA Override default value for JAVA
JAVAC Override default value for JAVAC
@@ -3496,6 +3498,9 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
# Check for support for specific options in bash
# Code to run after AC_OUTPUT
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -4359,7 +4364,7 @@ VS_SDK_PLATFORM_NAME_2013=
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1430918902
DATE_WHEN_GENERATED=1435822080
###############################################################################
#
@@ -13050,192 +13055,6 @@ $as_echo "$tool_specified" >&6; }
# Publish this variable in the help.
if test "x$SETFILE" = x; then
# The variable is not set by user, try to locate tool using the code snippet
for ac_prog in SetFile
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_SETFILE+:} false; then :
$as_echo_n "(cached) " >&6
else
case $SETFILE in
[\\/]* | ?:[\\/]*)
ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SETFILE=$ac_cv_path_SETFILE
if test -n "$SETFILE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
$as_echo "$SETFILE" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$SETFILE" && break
done
else
# The variable is set, but is it from the command line or the environment?
# Try to remove the string !SETFILE! from our list.
try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!SETFILE!/}
if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
# If it failed, the variable was not from the command line. Ignore it,
# but warn the user (except for BASH, which is always set by the calling BASH).
if test "xSETFILE" != xBASH; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of SETFILE from the environment. Use command line variables instead." >&5
$as_echo "$as_me: WARNING: Ignoring value of SETFILE from the environment. Use command line variables instead." >&2;}
fi
# Try to locate tool using the code snippet
for ac_prog in SetFile
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_SETFILE+:} false; then :
$as_echo_n "(cached) " >&6
else
case $SETFILE in
[\\/]* | ?:[\\/]*)
ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SETFILE=$ac_cv_path_SETFILE
if test -n "$SETFILE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
$as_echo "$SETFILE" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$SETFILE" && break
done
else
# If it succeeded, then it was overridden by the user. We will use it
# for the tool.
# First remove it from the list of overridden variables, so we can test
# for unknown variables in the end.
CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
# Check if the provided tool contains a complete path.
tool_specified="$SETFILE"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool SETFILE=$tool_basename" >&5
$as_echo "$as_me: Will search for user supplied tool SETFILE=$tool_basename" >&6;}
# Extract the first word of "$tool_basename", so it can be a program name with args.
set dummy $tool_basename; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_SETFILE+:} false; then :
$as_echo_n "(cached) " >&6
else
case $SETFILE in
[\\/]* | ?:[\\/]*)
ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SETFILE=$ac_cv_path_SETFILE
if test -n "$SETFILE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
$as_echo "$SETFILE" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$SETFILE" = x; then
as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool SETFILE=$tool_specified" >&5
$as_echo "$as_me: Will use user supplied tool SETFILE=$tool_specified" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SETFILE" >&5
$as_echo_n "checking for SETFILE... " >&6; }
if test ! -x "$tool_specified"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
$as_echo "not found" >&6; }
as_fn_error $? "User supplied tool SETFILE=$tool_specified does not exist or is not executable" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
$as_echo "$tool_specified" >&6; }
fi
fi
fi
# Publish this variable in the help.
@@ -15135,10 +14954,11 @@ fi
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
# detect if Xcode is installed by running xcodebuild -version
# If a devkit has been supplied, find xcodebuild in the toolchain_path.
# If not, detect if Xcode is installed by running xcodebuild -version
# if no Xcode installed, xcodebuild exits with 1
# if Xcode is installed, even if xcode-select is misconfigured, then it exits with 0
if /usr/bin/xcodebuild -version >/dev/null 2>&1; then
if test "x$DEVKIT_ROOT" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
# We need to use xcodebuild in the toolchain dir provided by the user, this will
# fall back on the stub binary in /usr/bin/xcodebuild
# Extract the first word of "xcodebuild", so it can be a program name with args.
@@ -15335,9 +15155,9 @@ $as_echo "in current directory" >&6; }
# is performed.
filtered_files=`$ECHO "$files_present" \
| $SED -e 's/config.log//g' \
-e 's/confdefs.h//g' \
-e 's/fixpath.exe//g' \
-e 's/ //g' \
-e 's/configure.log//g' \
-e 's/confdefs.h//g' \
-e 's/ //g' \
| $TR -d '\n'`
if test "x$filtered_files" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Current directory is $CURDIR." >&5
@@ -19648,6 +19468,199 @@ $as_echo "no" >&6; }
$as_echo "yes" >&6; }
fi
fi
# Publish this variable in the help.
if test "x$SETFILE" = x; then
# The variable is not set by user, try to locate tool using the code snippet
for ac_prog in SetFile
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_SETFILE+:} false; then :
$as_echo_n "(cached) " >&6
else
case $SETFILE in
[\\/]* | ?:[\\/]*)
ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SETFILE=$ac_cv_path_SETFILE
if test -n "$SETFILE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
$as_echo "$SETFILE" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$SETFILE" && break
done
else
# The variable is set, but is it from the command line or the environment?
# Try to remove the string !SETFILE! from our list.
try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!SETFILE!/}
if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
# If it failed, the variable was not from the command line. Ignore it,
# but warn the user (except for BASH, which is always set by the calling BASH).
if test "xSETFILE" != xBASH; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of SETFILE from the environment. Use command line variables instead." >&5
$as_echo "$as_me: WARNING: Ignoring value of SETFILE from the environment. Use command line variables instead." >&2;}
fi
# Try to locate tool using the code snippet
for ac_prog in SetFile
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_SETFILE+:} false; then :
$as_echo_n "(cached) " >&6
else
case $SETFILE in
[\\/]* | ?:[\\/]*)
ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SETFILE=$ac_cv_path_SETFILE
if test -n "$SETFILE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
$as_echo "$SETFILE" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$SETFILE" && break
done
else
# If it succeeded, then it was overridden by the user. We will use it
# for the tool.
# First remove it from the list of overridden variables, so we can test
# for unknown variables in the end.
CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
# Check if the provided tool contains a complete path.
tool_specified="$SETFILE"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
# A command without a complete path is provided, search $PATH.
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool SETFILE=$tool_basename" >&5
$as_echo "$as_me: Will search for user supplied tool SETFILE=$tool_basename" >&6;}
# Extract the first word of "$tool_basename", so it can be a program name with args.
set dummy $tool_basename; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_SETFILE+:} false; then :
$as_echo_n "(cached) " >&6
else
case $SETFILE in
[\\/]* | ?:[\\/]*)
ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SETFILE=$ac_cv_path_SETFILE
if test -n "$SETFILE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
$as_echo "$SETFILE" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$SETFILE" = x; then
as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool SETFILE=$tool_specified" >&5
$as_echo "$as_me: Will use user supplied tool SETFILE=$tool_specified" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SETFILE" >&5
$as_echo_n "checking for SETFILE... " >&6; }
if test ! -x "$tool_specified"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
$as_echo "not found" >&6; }
as_fn_error $? "User supplied tool SETFILE=$tool_specified does not exist or is not executable" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
$as_echo "$tool_specified" >&6; }
fi
fi
fi
if test "x$SETFILE" = x; then
as_fn_error $? "Could not find required tool for SETFILE" "$LINENO" 5
fi
fi
@@ -41761,7 +41774,6 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
@@ -41831,14 +41843,80 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
# no adjustment
;;
slowdebug )
# 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"
;;
esac
# Add runtime stack smashing and undefined behavior checks.
# Not all versions of gcc support -fstack-protector
STACK_PROTECTOR_CFLAG="-fstack-protector-all"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"$STACK_PROTECTOR_CFLAG\"" >&5
$as_echo_n "checking if compiler supports \"$STACK_PROTECTOR_CFLAG\"... " >&6; }
supports=yes
saved_cflags="$CFLAGS"
CFLAGS="$CFLAGS $STACK_PROTECTOR_CFLAG"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
else
supports=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
CFLAGS="$saved_cflags"
saved_cxxflags="$CXXFLAGS"
CXXFLAGS="$CXXFLAG $STACK_PROTECTOR_CFLAG"
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int i;
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
else
supports=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
CXXFLAGS="$saved_cxxflags"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5
$as_echo "$supports" >&6; }
if test "x$supports" = "xyes" ; then
:
else
STACK_PROTECTOR_CFLAG=""
fi
CFLAGS_DEBUG_OPTIONS="$STACK_PROTECTOR_CFLAG --param ssp-buffer-size=1"
CXXFLAGS_DEBUG_OPTIONS="$STACK_PROTECTOR_CFLAG --param ssp-buffer-size=1"
;;
esac
fi
# Optimization levels
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
@@ -42029,6 +42107,10 @@ fi
# CXXFLAGS_JDK - C++ Compiler flags
# COMMON_CCXXFLAGS_JDK - common to C and C++
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_CPU" = xx86; then
# Force compatibility with i586 on 32 bit intel platforms.
COMMON_CCXXFLAGS="${COMMON_CCXXFLAGS} -march=i586"
fi
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
case $OPENJDK_TARGET_CPU_ARCH in
@@ -42061,6 +42143,7 @@ fi
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
-DWIN32_LEAN_AND_MEAN \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
-D_WINSOCK_DEPRECATED_NO_WARNINGS \
-DWIN32 -DIAL"
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
@@ -42471,6 +42554,31 @@ $as_echo "$supports" >&6; }
# Check whether --enable-warnings-as-errors was given.
if test "${enable_warnings_as_errors+set}" = set; then :
enableval=$enable_warnings_as_errors;
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if native warnings are errors" >&5
$as_echo_n "checking if native warnings are errors... " >&6; }
if test "x$enable_warnings_as_errors" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (explicitely set)" >&5
$as_echo "yes (explicitely set)" >&6; }
WARNINGS_AS_ERRORS=true
elif test "x$enable_warnings_as_errors" = "xno"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
WARNINGS_AS_ERRORS=false
elif test "x$enable_warnings_as_errors" = "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
$as_echo "yes (default)" >&6; }
WARNINGS_AS_ERRORS=true
else
as_fn_error $? "--enable-warnings-as-errors accepts no argument" "$LINENO" 5
fi
case "${TOOLCHAIN_TYPE}" in
microsoft)
DISABLE_WARNING_PREFIX="-wd"
@@ -42853,7 +42961,7 @@ $as_echo "$as_me: WARNING: X11 is not used, so --with-x is ignored" >&2;}
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
elif test -f "$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"
@@ -54179,14 +54287,31 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
# After AC_OUTPUT, we need to do final work
# Try to move the config.log file to the output directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
# Try to move config.log (generated by autoconf) to the configure-support directory.
if test -e ./config.log; then
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
fi
# Rotate our log file (configure.log)
if test -e "$OUTPUT_ROOT/configure.log.old"; then
$RM -f "$OUTPUT_ROOT/configure.log.old"
fi
if test -e "$OUTPUT_ROOT/configure.log"; then
$MV -f "$OUTPUT_ROOT/configure.log" "$OUTPUT_ROOT/configure.log.old" 2> /dev/null
fi
# Move configure.log from current directory to the build output root
if test -e ./configure.log; then
echo found it
$MV -f ./configure.log "$OUTPUT_ROOT/configure.log" 2> /dev/null
fi
# Make the compare script executable
$CHMOD +x $OUTPUT_ROOT/compare.sh
# Finally output some useful information to the user
@@ -54280,14 +54405,20 @@ $CHMOD +x $OUTPUT_ROOT/compare.sh
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"
# Locate config.log.
if test -e "$CONFIGURESUPPORT_OUTPUTDIR/config.log"; then
CONFIG_LOG_PATH="$CONFIGURESUPPORT_OUTPUTDIR"
elif test -e "./config.log"; then
CONFIG_LOG_PATH="."
fi
fi
if test -e "$CONFIG_LOG_PATH/config.log"; then
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/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:' "$CONFIG_LOG_PATH/config.log" | $SED -e 's/^configure:[0-9]*: //'
printf "\n"
fi
fi

View File

@@ -212,7 +212,7 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
if test "x$TOOLCHAIN_VERSION" != "x"; then
print_version=" $TOOLCHAIN_VERSION"
fi
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
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"
@@ -263,14 +263,20 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
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"
# Locate config.log.
if test -e "$CONFIGURESUPPORT_OUTPUTDIR/config.log"; then
CONFIG_LOG_PATH="$CONFIGURESUPPORT_OUTPUTDIR"
elif test -e "./config.log"; then
CONFIG_LOG_PATH="."
fi
fi
if test -e "$CONFIG_LOG_PATH/config.log"; then
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/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:' "$CONFIG_LOG_PATH/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
fi
fi
])

View File

@@ -113,7 +113,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
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
elif test -f "$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"

View File

@@ -321,6 +321,9 @@ CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
# A global flag (true or false) determining if native warnings are considered errors.
WARNINGS_AS_ERRORS := @WARNINGS_AS_ERRORS@
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
# Tools that potentially need to be cross compilation aware.
@@ -394,9 +397,6 @@ STRIP:=@STRIP@
LIPO:=@LIPO@
# Command to create a shared library
SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
# Options to linker to specify a mapfile.
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@

View File

@@ -1188,28 +1188,11 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
OTHER_JDK="$OTHER/install/jdk"
OTHER_JRE="$OTHER/install/jre"
echo "Selecting install images for compare"
elif [ -d "$THIS/deploy/jdk" -o -d "$THIS/deploy/images/jdk" ] \
&& [ -d "$OTHER/deploy/jdk" -o -d "$OTHER/deploy/images/jdk" ]; then
if [ -d "$THIS/deploy/images/jdk" ]; then
THIS_JDK="$THIS/deploy/images/jdk"
THIS_JRE="$THIS/deploy/images/jre"
else
THIS_JDK="$THIS/deploy/jdk"
THIS_JRE="$THIS/deploy/jre"
fi
if [ -d "$OTHER/deploy/images/jdk" ]; then
OTHER_JDK="$OTHER/deploy/images/jdk"
OTHER_JRE="$OTHER/deploy/images/jre"
else
OTHER_JDK="$OTHER/deploy/jdk"
OTHER_JRE="$OTHER/deploy/jre"
fi
echo "Selecting deploy images for compare"
elif [ -d "$THIS/deploy/images/jdk" ] && [ -d "$OTHER/deploy/jdk" ]; then
THIS_JDK="$THIS/deploy/jdk"
THIS_JRE="$THIS/deploy/jre"
OTHER_JDK="$OTHER/deploy/jdk"
OTHER_JRE="$OTHER/deploy/jre"
elif [ -d "$THIS/images/jdk" ] && [ -d "$OTHER/deploy/images/jdk" ]; then
THIS_JDK="$THIS/images/jdk"
THIS_JRE="$THIS/images/jre"
OTHER_JDK="$OTHER/deploy/images/jdk"
OTHER_JRE="$OTHER/deploy/images/jre"
echo "Selecting deploy images for compare"
elif [ -d "$THIS/images/jdk" ] && [ -d "$OTHER/images/jdk" ]; then
THIS_JDK="$THIS/images/jdk"
@@ -1221,30 +1204,28 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
echo "No common images found."
exit 1
fi
echo " $THIS_JDK"
echo " $OTHER_JDK"
if [ -d "$THIS/deploy/jdk-bundle" -o -d "$THIS/deploy/images/jdk-bundle" ] \
&& [ -d "$OTHER/deploy/jdk-bundle" -o -d "$OTHER/deploy/images/jdk-bundle" ]; then
if [ -d "$THIS/images/jdk-bundle" -o -d "$THIS/deploy/images/jdk-bundle" ] \
&& [ -d "$OTHER/images/jdk-bundle" -o -d "$OTHER/deploy/images/jdk-bundle" ]; then
if [ -d "$THIS/deploy/images/jdk-bundle" ]; then
THIS_JDK_BUNDLE="$THIS/deploy/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/deploy/images/jre-bundle"
else
THIS_JDK_BUNDLE="$THIS/deploy/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/deploy/jre-bundle"
THIS_JDK_BUNDLE="$THIS/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/images/jre-bundle"
fi
if [ -d "$OTHER/deploy/images/jdk-bundle" ]; then
OTHER_JDK_BUNDLE="$OTHER/deploy/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/deploy/images/jre-bundle"
else
OTHER_JDK_BUNDLE="$OTHER/deploy/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/deploy/jre-bundle"
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
fi
echo "Also comparing deploy macosx bundles"
elif [ -d "$THIS/images/jdk-bundle" ] && [ -d "$OTHER/images/jdk-bundle" ]; then
THIS_JDK_BUNDLE="$THIS/images/jdk-bundle"
THIS_JRE_BUNDLE="$THIS/images/jre-bundle"
OTHER_JDK_BUNDLE="$OTHER/images/jdk-bundle"
OTHER_JRE_BUNDLE="$OTHER/images/jre-bundle"
echo "Also comparing macosx bundles"
echo " $THIS_JDK_BUNDLE"
echo " $OTHER_JDK_BUNDLE"
fi
if [ -d "$THIS/deploy/bundles" -o -d "$THIS/deploy/images/bundles" ] \
@@ -1262,19 +1243,21 @@ if [ "$SKIP_DEFAULT" != "true" ]; then
echo "Also comparing deploy javadoc bundles"
fi
if [ -d "$THIS/deploy/JavaAppletPlugin.plugin" -o -d "$THIS/deploy/images/JavaAppletPlugin.plugin" ] \
&& [ -d "$OTHER/deploy/JavaAppletPlugin.plugin" -o -d "$OTHER/deploy/images/JavaAppletPlugin.plugin" ]; then
if [ -d "$THIS/deploy/images/bundles" ]; then
if [ -d "$THIS/images/JavaAppletPlugin.plugin" ] \
&& [ -d "$OTHER/images/JavaAppletPlugin.plugin" -o -d "$OTHER/deploy/images/JavaAppletPlugin.plugin" ]; then
if [ -d "$THIS/images/JavaAppletPlugin.plugin" ]; then
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/images/JavaAppletPlugin.plugin"
else
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/deploy/images/JavaAppletPlugin.plugin"
else
THIS_DEPLOY_APPLET_PLUGIN_DIR="$THIS/deploy/JavaAppletPlugin.plugin"
fi
if [ -d "$OTHER/deploy/images/bundles" ]; then
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/images/JavaAppletPlugin.plugin"
if [ -d "$OTHER/images/JavaAppletPlugin.plugin" ]; then
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/images/JavaAppletPlugin.plugin"
else
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/JavaAppletPlugin.plugin"
OTHER_DEPLOY_APPLET_PLUGIN_DIR="$OTHER/deploy/images/JavaAppletPlugin.plugin"
fi
echo "Also comparing deploy applet image"
echo " $THIS_DEPLOY_APPLET_PLUGIN_DIR"
echo " $OTHER_DEPLOY_APPLET_PLUGIN_DIR"
fi
if [ -d "$OTHER/images" ]; then

View File

@@ -83,7 +83,6 @@ ACCEPTED_BIN_DIFF="
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
@@ -95,7 +94,6 @@ ACCEPTED_BIN_DIFF="
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool
@@ -163,7 +161,6 @@ ACCEPTED_BIN_DIFF="
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
@@ -175,7 +172,6 @@ ACCEPTED_BIN_DIFF="
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool
@@ -284,7 +280,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
@@ -296,7 +291,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool
@@ -420,7 +414,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
@@ -432,7 +425,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool
@@ -499,7 +491,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/jcmd.exe
./bin/jconsole.exe
./bin/jdb.exe
./bin/jhat.exe
./bin/jimage.exe
./bin/jinfo.exe
./bin/jjs.exe
@@ -514,7 +505,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
./bin/kinit.exe
./bin/klist.exe
./bin/ktab.exe
./bin/native2ascii.exe
./bin/orbd.exe
./bin/pack200.exe
./bin/policytool.exe
@@ -579,7 +569,6 @@ ACCEPTED_BIN_DIFF="
./bin/jcmd
./bin/jconsole
./bin/jdb
./bin/jhat
./bin/jimage
./bin/jinfo
./bin/jjs
@@ -591,7 +580,6 @@ ACCEPTED_BIN_DIFF="
./bin/jstat
./bin/jstatd
./bin/keytool
./bin/native2ascii
./bin/orbd
./bin/pack200
./bin/policytool

View File

@@ -1301,8 +1301,6 @@ jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m : jdk/src/macosx/nati
jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/com/apple/concurrent/Dispatch.m
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/tools/hat : jdk/src/share/classes/com/sun/tools/hat
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
jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver : jdk/src/share/classes/com/sun/net/httpserver
jdk/src/jdk.httpserver/share/classes/sun/net/httpserver : jdk/src/share/classes/sun/net/httpserver
@@ -1487,16 +1485,16 @@ langtools/src/java.compiler/share/classes/javax/annotation/processing : langtool
langtools/src/java.compiler/share/classes/javax/lang/model : langtools/src/share/classes/javax/lang/model
langtools/src/java.compiler/share/classes/javax/tools : langtools/src/share/classes/javax/tools
langtools/src/jdk.compiler/share/classes/com/sun/source : langtools/src/share/classes/com/sun/source
langtools/src/jdk.compiler/share/classes/com/sun/tools/classfile : langtools/src/share/classes/com/sun/tools/classfile
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint : langtools/src/share/classes/com/sun/tools/doclint
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint/resources : langtools/src/share/classes/com/sun/tools/doclint/resources
langtools/src/jdk.compiler/share/classes/com/sun/tools/javac : langtools/src/share/classes/com/sun/tools/javac
langtools/src/jdk.compiler/share/classes/com/sun/tools/javah : langtools/src/share/classes/com/sun/tools/javah
langtools/src/jdk.compiler/share/classes/com/sun/tools/javap : langtools/src/share/classes/com/sun/tools/javap
langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac : langtools/src/share/classes/com/sun/tools/sjavac
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps : langtools/src/share/classes/com/sun/tools/jdeps
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps/resources : langtools/src/share/classes/com/sun/tools/jdeps/resources
langtools/src/jdk.javadoc/share/classes/com/sun/javadoc : langtools/src/share/classes/com/sun/javadoc
langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets : langtools/src/share/classes/com/sun/tools/doclets
langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc : langtools/src/share/classes/com/sun/tools/javadoc
langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile : langtools/src/share/classes/com/sun/tools/classfile
langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap : langtools/src/share/classes/com/sun/tools/javap
langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps : langtools/src/share/classes/com/sun/tools/jdeps
langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources : langtools/src/share/classes/com/sun/tools/jdeps/resources
nashorn/src/jdk.scripting.nashorn/share/classes : nashorn/src

View File

@@ -306,3 +306,14 @@ caa330b275f39282793466529f6864766b31d9fd jdk9-b60
d690f489ca0bb95a6157d996da2fa72bcbcf02ea jdk9-b61
d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
0a5e5a7c3539e8bde73d9fe55750e49a49cb8dac jdk9-b64
afc1e295c4bf83f9a5dd539c29914edd4a754a3f jdk9-b65
44ee68f7dbacab24a45115fd6a8ccdc7eb6e8f0b jdk9-b66
4418697e56f1f43597f55c7cb6573549c6117868 jdk9-b67
8efad64f40eb8cd4df376c0a5275892eeb396bbd jdk9-b68
de8acedcb5b5870f1dc54cba575aaa5d33897ea2 jdk9-b69
e7cf01990ed366bd493080663259281e91ce223b jdk9-b70
cd39ed501fb0504554a7f58ac6cf3dd2b64afec0 jdk9-b71
f9f3706bd24c42c07cb260fe05730a749b8e52f4 jdk9-b72
29096b78d93b01a2f8882509cd40755e3d6b8cd9 jdk9-b73
622fe934e351e89107edf3c667d6b57f543f58f1 jdk9-b74

View File

@@ -2430,8 +2430,8 @@ public class IIOPInputStream
private void throwAwayData(ValueMember[] fields,
com.sun.org.omg.SendingContext.CodeBase sender)
throws InvalidClassException, StreamCorruptedException,
ClassNotFoundException, IOException
{
ClassNotFoundException, IOException {
for (int i = 0; i < fields.length; ++i) {
try {
@@ -2566,8 +2566,7 @@ public class IIOPInputStream
}
private static void setObjectField(Object o, Class c, String fieldName, Object v)
{
private static void setObjectField(Object o, Class c, String fieldName, Object v) {
try {
Field fld = c.getDeclaredField( fieldName ) ;
Class fieldCl = fld.getType();
@@ -2577,9 +2576,15 @@ public class IIOPInputStream
long key = bridge.objectFieldOffset( fld ) ;
bridge.putObject( o, key, v ) ;
} catch (Exception e) {
throw utilWrapper.errorSetObjectField( e, fieldName,
o.toString(),
v.toString() ) ;
if (o != null) {
throw utilWrapper.errorSetObjectField( e, fieldName,
o.toString(),
v.toString() ) ;
} else {
throw utilWrapper.errorSetObjectField( e, fieldName,
"null " + c.getName() + " object",
v.toString() ) ;
}
}
}
@@ -2587,12 +2592,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putBoolean( o, key, v ) ;
if ((fld != null) && (fld.getType() == Boolean.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putBoolean( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
if (o != null) {
throw utilWrapper.errorSetBooleanField( e, fieldName,
o.toString(),
new Boolean(v) ) ;
} else {
throw utilWrapper.errorSetBooleanField( e, fieldName,
"null " + c.getName() + " object",
new Boolean(v) ) ;
}
}
}
@@ -2600,12 +2615,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putByte( o, key, v ) ;
if ((fld != null) && (fld.getType() == Byte.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putByte( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetByteField( e, fieldName,
o.toString(),
new Byte(v) ) ;
if (o != null) {
throw utilWrapper.errorSetByteField( e, fieldName,
o.toString(),
new Byte(v) ) ;
} else {
throw utilWrapper.errorSetByteField( e, fieldName,
"null " + c.getName() + " object",
new Byte(v) ) ;
}
}
}
@@ -2613,12 +2638,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putChar( o, key, v ) ;
if ((fld != null) && (fld.getType() == Character.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putChar( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetCharField( e, fieldName,
o.toString(),
new Character(v) ) ;
if (o != null) {
throw utilWrapper.errorSetCharField( e, fieldName,
o.toString(),
new Character(v) ) ;
} else {
throw utilWrapper.errorSetCharField( e, fieldName,
"null " + c.getName() + " object",
new Character(v) ) ;
}
}
}
@@ -2626,12 +2661,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putShort( o, key, v ) ;
if ((fld != null) && (fld.getType() == Short.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putShort( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
if (o != null) {
throw utilWrapper.errorSetShortField( e, fieldName,
o.toString(),
new Short(v) ) ;
} else {
throw utilWrapper.errorSetShortField( e, fieldName,
"null " + c.getName() + " object",
new Short(v) ) ;
}
}
}
@@ -2639,12 +2684,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putInt( o, key, v ) ;
if ((fld != null) && (fld.getType() == Integer.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putInt( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetIntField( e, fieldName,
o.toString(),
new Integer(v) ) ;
if (o != null) {
throw utilWrapper.errorSetIntField( e, fieldName,
o.toString(),
new Integer(v) ) ;
} else {
throw utilWrapper.errorSetIntField( e, fieldName,
"null " + c.getName() + " object",
new Integer(v) ) ;
}
}
}
@@ -2652,12 +2707,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putLong( o, key, v ) ;
if ((fld != null) && (fld.getType() == Long.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putLong( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetLongField( e, fieldName,
o.toString(),
new Long(v) ) ;
if (o != null) {
throw utilWrapper.errorSetLongField( e, fieldName,
o.toString(),
new Long(v) ) ;
} else {
throw utilWrapper.errorSetLongField( e, fieldName,
"null " + c.getName() + " object",
new Long(v) ) ;
}
}
}
@@ -2665,12 +2730,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putFloat( o, key, v ) ;
if ((fld != null) && (fld.getType() == Float.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putFloat( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetFloatField( e, fieldName,
o.toString(),
new Float(v) ) ;
if (o != null) {
throw utilWrapper.errorSetFloatField( e, fieldName,
o.toString(),
new Float(v) ) ;
} else {
throw utilWrapper.errorSetFloatField( e, fieldName,
"null " + c.getName() + " object",
new Float(v) ) ;
}
}
}
@@ -2678,12 +2753,22 @@ public class IIOPInputStream
{
try {
Field fld = c.getDeclaredField( fieldName ) ;
long key = bridge.objectFieldOffset( fld ) ;
bridge.putDouble( o, key, v ) ;
if ((fld != null) && (fld.getType() == Double.TYPE)) {
long key = bridge.objectFieldOffset( fld ) ;
bridge.putDouble( o, key, v ) ;
} else {
throw new InvalidObjectException("Field Type mismatch");
}
} catch (Exception e) {
throw utilWrapper.errorSetDoubleField( e, fieldName,
o.toString(),
new Double(v) ) ;
if (o != null) {
throw utilWrapper.errorSetDoubleField( e, fieldName,
o.toString(),
new Double(v) ) ;
} else {
throw utilWrapper.errorSetDoubleField( e, fieldName,
"null " + c.getName() + " object",
new Double(v) ) ;
}
}
}

View File

@@ -65,7 +65,7 @@ import org.omg.CORBA.ValueMember;
import sun.corba.Bridge;
/**
* A ObjectStreamClass describes a class that can be serialized to a stream
* An ObjectStreamClass describes a class that can be serialized to a stream
* or a class that was serialized to a stream. It contains the name
* and the serialVersionUID of the class.
* <br>
@@ -788,9 +788,9 @@ public class ObjectStreamClass implements java.io.Serializable {
/* Compare the base class names of streamName and localName.
*
* @return Return true iff the base class name compare.
* @parameter streamName Fully qualified class name.
* @parameter localName Fully qualified class name.
* @parameter pkgSeparator class names use either '.' or '/'.
* @param streamName Fully qualified class name.
* @param localName Fully qualified class name.
* @param pkgSeparator class names use either '.' or '/'.
*
* Only compare base class name to allow package renaming.
*/

View File

@@ -656,9 +656,9 @@ public class ObjectStreamClass_1_3_1 implements java.io.Serializable {
/* Compare the base class names of streamName and localName.
*
* @return Return true iff the base class name compare.
* @parameter streamName Fully qualified class name.
* @parameter localName Fully qualified class name.
* @parameter pkgSeparator class names use either '.' or '/'.
* @param streamName Fully qualified class name.
* @param localName Fully qualified class name.
* @param pkgSeparator class names use either '.' or '/'.
*
* Only compare base class name to allow package renaming.
*/

View File

@@ -0,0 +1,97 @@
/*
* 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.
*/
package org.omg.CORBA;
/**
* This Helper class is used to facilitate the marshalling of {@code Bounds}.
* For more information on Helper files, see
* <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.
*/
abstract public class BoundsHelper
{
private static String _id = "IDL:omg.org/CORBA/Bounds:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.Bounds that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CORBA.Bounds extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CORBA.BoundsHelper.id (), "Bounds", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CORBA.Bounds read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CORBA.Bounds value = new org.omg.CORBA.Bounds ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.Bounds value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 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
@@ -52,8 +52,8 @@ public interface DynAny extends org.omg.CORBA.Object
*
* @param dyn_any the <code>DynAny</code> object whose contents
* are assigned to this <code>DynAny</code>.
* @throws Invalid if the source <code>DynAny</code> is
* invalid
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
* <code>DynAny</code> is invalid
*/
public void assign(org.omg.CORBA.DynAny dyn_any)
throws org.omg.CORBA.DynAnyPackage.Invalid;
@@ -63,8 +63,8 @@ public interface DynAny extends org.omg.CORBA.Object
* object.
*
* @param value the <code>Any</code> object.
* @throws Invalid if the source <code>Any</code> object is
* empty or bad
* @throws org.omg.CORBA.DynAnyPackage.Invalid if the source
* <code>Any</code> object is empty or bad
*/
public void from_any(org.omg.CORBA.Any value)
throws org.omg.CORBA.DynAnyPackage.Invalid;
@@ -74,8 +74,8 @@ public interface DynAny extends org.omg.CORBA.Object
* object.
*
* @return the <code>Any</code> object.
* @throws Invalid if this <code>DynAny</code> is empty or
* bad.
* @throws org.omg.CORBA.DynAnyPackage.Invalid if this
* <code>DynAny</code> is empty or bad.
* created or does not contain a meaningful value
*/
public org.omg.CORBA.Any to_any()

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 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
@@ -48,7 +48,8 @@ public interface DynArray extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
* <code>DynArray</code> object to the given array.
*
* @param value the array of <code>Any</code> objects
* @exception InvalidSeq if the sequence is bad
* @exception org.omg.CORBA.DynAnyPackage.InvalidSeq if the
* sequence is bad
* @see #get_elements
*/
public void set_elements(org.omg.CORBA.Any[] value)

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 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
@@ -65,7 +65,8 @@ public interface DynSequence extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
* array.
*
* @param value the array of <code>Any</code> objects to be set
* @exception InvalidSeq if the array of values is bad
* @exception org.omg.CORBA.DynAnyPackage.InvalidSeq if the array
* of values is bad
* @see #get_elements
*/
public void set_elements(org.omg.CORBA.Any[] value)

View File

@@ -0,0 +1,98 @@
/*
* 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.
*/
package org.omg.CORBA.ORBPackage;
/**
* This Helper class is used to facilitate the marshalling of
* {@code ORBPackage/InvalidName}.
* For more information on Helper files, see
* <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.
*/
abstract public class InvalidNameHelper
{
private static String _id = "IDL:omg.org.CORBA/ORB/InvalidName:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.ORBPackage.InvalidName that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CORBA.ORBPackage.InvalidName extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CORBA.ORBPackage.InvalidNameHelper.id (), "InvalidName", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CORBA.ORBPackage.InvalidName read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CORBA.ORBPackage.InvalidName value = new org.omg.CORBA.ORBPackage.InvalidName ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.ORBPackage.InvalidName value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -248,7 +248,7 @@ public abstract class ServerRequest {
* contain an exception will result in a BAD_PARAM system exception. Passing
* in an unlisted user exception will result in either the DIR receiving a
* BAD_PARAM system exception or in the client receiving an
* UNKNOWN_EXCEPTION system exception.
* UNKNOWN system exception.
*
* @param any the <code>Any</code> object containing the exception
* @deprecated use set_exception()
@@ -272,13 +272,13 @@ public abstract class ServerRequest {
* will cause a BAD_PARAM system exception to be thrown. Passing
* in an unlisted user exception will result in either the DIR receiving a
* BAD_PARAM system exception or in the client receiving an
* UNKNOWN_EXCEPTION system exception.
* UNKNOWN system exception.
*
* @param any the <code>Any</code> object containing the exception
* @exception BAD_PARAM if the given <code>Any</code> object does not
* contain an exception or the exception is an
* unlisted user exception
* @exception UNKNOWN_EXCEPTION if the given exception is an unlisted
* @exception UNKNOWN if the given exception is an unlisted
* user exception and the DIR did not
* receive a BAD_PARAM exception
* @see <a href="package-summary.html#unimpl"><code>CORBA</code>

View File

@@ -0,0 +1,98 @@
/*
* 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.
*/
package org.omg.CORBA.TypeCodePackage;
/**
* This Helper class is used to facilitate the marshalling of
* {@code TypeCodePackage/BadKind}.
* For more information on Helper files, see
* <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.
*/
abstract public class BadKindHelper
{
private static String _id = "IDL:omg.org.CORBA/TypeCode/BadKind:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.TypeCodePackage.BadKind that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CORBA.TypeCodePackage.BadKind extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CORBA.TypeCodePackage.BadKindHelper.id (), "BadKind", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CORBA.TypeCodePackage.BadKind read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CORBA.TypeCodePackage.BadKind value = new org.omg.CORBA.TypeCodePackage.BadKind ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.TypeCodePackage.BadKind value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -0,0 +1,98 @@
/*
* 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.
*/
package org.omg.CORBA.TypeCodePackage;
/**
* This Helper class is used to facilitate the marshalling of
* {@code TypeCodePackage/Bounds}.
* For more information on Helper files, see
* <a href="doc-files/generatedfiles.html#helper">
* "Generated Files: Helper Files"</a>.
*/
abstract public class BoundsHelper
{
private static String _id = "IDL:omg.org.CORBA/TypeCode/Bounds:1.0";
public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.TypeCodePackage.Bounds that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static org.omg.CORBA.TypeCodePackage.Bounds extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CORBA.TypeCodePackage.BoundsHelper.id (), "Bounds", _members0);
__active = false;
}
}
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static org.omg.CORBA.TypeCodePackage.Bounds read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.CORBA.TypeCodePackage.Bounds value = new org.omg.CORBA.TypeCodePackage.Bounds ();
// read and discard the repository ID
istream.read_string ();
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.TypeCodePackage.Bounds value)
{
// write the repository ID
ostream.write_string (id ());
}
}

View File

@@ -25,7 +25,7 @@
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.
-->
</head>
@@ -40,97 +40,97 @@ for the type of the <code>any</code> (code generated for the type by an IDL comp
been compiled with the object implementation). As a result, the object receiving the
<code>any</code> does not have a portable method of using it.
<P><code>DynAny</code>s enable traversal of the data value associated with an
<code>any</code> at runtime, and extraction of the primitive constituents of the data value.
This is especially helpful for writing powerful generic servers (bridges, event channels
supporting filtering). Similarly, this facility enables the construction of an
<code>any</code> at runtime, without having static knowledge of its type. This is especially
<P><code>DynAny</code>s enable traversal of the data value associated with an
<code>any</code> at runtime, and extraction of the primitive constituents of the data value.
This is especially helpful for writing powerful generic servers (bridges, event channels
supporting filtering). Similarly, this facility enables the construction of an
<code>any</code> at runtime, without having static knowledge of its type. This is especially
helpful for writing generic clients (bridges, browsers, debuggers, user interface tools).
<P><code>Any</code> values can be dynamically interpreted (traversed) and constructed through
<tt>DynAny</tt> objects. A <tt>DynAny</tt> object is associated with a data
value which corresponds to a copy of the value inserted into an <tt>Any</tt>. A
<P><code>Any</code> values can be dynamically interpreted (traversed) and constructed through
<tt>DynAny</tt> objects. A <tt>DynAny</tt> object is associated with a data
value which corresponds to a copy of the value inserted into an <tt>Any</tt>. A
<tt>DynAny</tt> object may be viewed as an ordered collection of component
<tt>DynAny</tt>s. For <tt>DynAny</tt>s representing a basic type, such as <code>long</code>,
or a type without components, such as an empty exception, the ordered collection of
components is empty.
<tt>DynAny</tt>s. For <tt>DynAny</tt>s representing a basic type, such as <code>long</code>,
or a type without components, such as an empty exception, the ordered collection of
components is empty.
<P>Each <tt>DynAny</tt> object maintains the notion of a current position into its collection
of component <tt>DynAny</tt>s. The current position is identified by an index value that runs
from 0 to n-1, where <em>n</em> is the number of components. The special index value -1
<P>Each <tt>DynAny</tt> object maintains the notion of a current position into its collection
of component <tt>DynAny</tt>s. The current position is identified by an index value that runs
from 0 to n-1, where <em>n</em> is the number of components. The special index value -1
indicates a current position that points nowhere.
For values that cannot have a current position (such as an empty exception),
the index value is fixed at -1.
If a <code>DynAny</code> is initialized with a value that has components, the index is
If a <code>DynAny</code> is initialized with a value that has components, the index is
initialized to 0.
After creation of an uninitialized <code>DynAny</code> (that is, a <code>DynAny</code> that
After creation of an uninitialized <code>DynAny</code> (that is, a <code>DynAny</code> that
has no value but a <code>TypeCode</code>
that permits components), the current position depends on the type of value represented by
the <code>DynAny</code>. (The current position is set to 0 or -1, depending on whether the
the <code>DynAny</code>. (The current position is set to 0 or -1, depending on whether the
new <code>DynAny</code>
gets default values for its components.)
<P>The iteration operations <code>rewind</code>, <code>seek</code>, and <code>next</code>
<P>The iteration operations <code>rewind</code>, <code>seek</code>, and <code>next</code>
can be used to change the current position
and the <code>current_component</code> operation returns the component at the current
and the <code>current_component</code> operation returns the component at the current
position.
The <code>component_count</code> operation returns the number of components of a
The <code>component_count</code> operation returns the number of components of a
<code>DynAny</code>.
Collectively, these operations enable iteration over the components of a
Collectively, these operations enable iteration over the components of a
<code>DynAny</code>, for example,
to (recursively) examine its contents.
<P>A constructed <code>DynAny</code> object is a <code>DynAny</code> object associated with
<P>A constructed <code>DynAny</code> object is a <code>DynAny</code> object associated with
a constructed type.
There is a different interface, inheriting from the <code>DynAny</code> interface,
There is a different interface, inheriting from the <code>DynAny</code> interface,
associated with
each kind of constructed type in IDL (fixed, enum, struct, sequence, union, array,
exception, and value type). A constructed <code>DynAny</code> object exports operations
exception, and value type). A constructed <code>DynAny</code> object exports operations
that enable the creation of new <code>DynAny</code> objects,
each of them associated with a component of the constructed data value.
As an example, a <code>DynStruct</code> is associated with a <code>struct</code> value. This
As an example, a <code>DynStruct</code> is associated with a <code>struct</code> value. This
means that the <code>DynStruct</code>
may be seen as owning an ordered collection of components, one for each structure member.
The <code>DynStruct</code> object exports operations that enable the creation of new
The <code>DynStruct</code> object exports operations that enable the creation of new
<code>DynAny</code> objects,
each of them associated with a member of the <code>struct</code>.
<P>If a <code>DynAny</code> object has been obtained from another (constructed)
<P>If a <code>DynAny</code> object has been obtained from another (constructed)
<code>DynAny</code> object,
such as a <code>DynAny</code> representing a structure member that was created from a
such as a <code>DynAny</code> representing a structure member that was created from a
<code>DynStruct</code>,
the member <code>DynAny</code> is logically contained in the <code>DynStruct</code>.
Calling an <code>insert</code> or <code>get</code> operation leaves the current position
Calling an <code>insert</code> or <code>get</code> operation leaves the current position
unchanged.
Destroying a top-level <code>DynAny</code> object (one that was not obtained as a component
Destroying a top-level <code>DynAny</code> object (one that was not obtained as a component
of another <code>DynAny</code>)
also destroys any component <code>DynAny</code> objects obtained from it.
Destroying a non-top level <code>DynAny</code> object does nothing.
Invoking operations on a destroyed top-level <code>DynAny</code> or any of its descendants
Invoking operations on a destroyed top-level <code>DynAny</code> or any of its descendants
raises OBJECT_NOT_EXIST.
If the programmer wants to destroy a <code>DynAny</code> object but still wants to
If the programmer wants to destroy a <code>DynAny</code> object but still wants to
manipulate some component
of the data value associated with it, then he or she should first create a
of the data value associated with it, then he or she should first create a
<code>DynAny</code> for the component
and, after that, make a copy of the created <code>DynAny</code> object.
<P>The behavior of <code>DynAny</code> objects has been defined in order to enable efficient
<P>The behavior of <code>DynAny</code> objects has been defined in order to enable efficient
implementations
in terms of allocated memory space and speed of access. <code>DynAny</code> objects are
in terms of allocated memory space and speed of access. <code>DynAny</code> objects are
intended to be used
for traversing values extracted from <code>any</code>s or constructing values of
for traversing values extracted from <code>any</code>s or constructing values of
<code>any</code>s at runtime.
Their use for other purposes is not recommended.
Their use for other purposes is not recommended.
<H2>Handling DynAny objects</H2>
<P><code>Insert</code> and <code>get</code> operations are necessary to handle basic
<P><code>Insert</code> and <code>get</code> operations are necessary to handle basic
<code>DynAny</code> objects
but are also helpful to handle constructed <code>DynAny</code> objects.
Inserting a basic data type value into a constructed <code>DynAny</code> object
@@ -145,9 +145,8 @@ equivalent to
the <code>TypeCode</code> contained in the <code>DynAny</code> or, if the
<code>DynAny</code> has components, is equivalent to the <code>TypeCode</code>
of the <code>DynAny</code> at the current position.
<P>Basic operations include:
<P>
<UL>
<LI>insert_boolean, get_boolean
<LI>insert_char, get_char
@@ -181,28 +180,28 @@ equivalent to
<LI>get_boxed_value
<LI>get_boxed_value_as_dyn_any
</UL>
<P><code>DynAny</code> and <code>DynAnyFactory</code> objects are intended to be local to
<P><code>DynAny</code> and <code>DynAnyFactory</code> objects are intended to be local to
the process in which they are
created and used. This means that references to <code>DynAny</code> and
created and used. This means that references to <code>DynAny</code> and
<code>DynAnyFactory</code> objects cannot be exported
to other processes, or externalized with <code>ORB.object_to_string()</code>.
If any attempt is made to do so, the offending operation will raise a MARSHAL system
If any attempt is made to do so, the offending operation will raise a MARSHAL system
exception.
Since their interfaces are specified in IDL, <code>DynAny</code> objects export operations
Since their interfaces are specified in IDL, <code>DynAny</code> objects export operations
defined in the standard
<code>org.omg.CORBA.Object</code> interface. However, any attempt to invoke operations
<code>org.omg.CORBA.Object</code> interface. However, any attempt to invoke operations
exported through the <code>Object</code>
interface may raise the standard NO_IMPLEMENT exception.
An attempt to use a <code>DynAny</code> object with the DII may raise the NO_IMPLEMENT
An attempt to use a <code>DynAny</code> object with the DII may raise the NO_IMPLEMENT
exception.
<H3>Package Specification</H3>
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
@since 1.4

View File

@@ -6,5 +6,8 @@
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/
^src/share/tools/IdealGraphVisualizer/nbplatform/
.igv.log
^.hgtip
.DS_Store
\.class$

View File

@@ -466,3 +466,14 @@ ee878f3d6732856f7725c590312bfbe2ffa52cc7 jdk9-b58
715d2da5801c410746e92f08066d53bde1496286 jdk9-b61
1eab877142cce6ca06e556e2ad0af688f993f00b jdk9-b62
2ac9b6b36689b50d1562627067c92d51781b5684 jdk9-b63
bf92b8db249cdfa5651ef954b6c0743a7e0ea4cd jdk9-b64
e7ae94c4f35e940ea423fc1dd260435df34a77c0 jdk9-b65
197e94e0dacddd16816f101d24fc0442ab518326 jdk9-b66
d47dfabd16d48eb96a451edd1b61194a39ee0eb5 jdk9-b67
11af3990d56c97b40318bc1f20608e86f051a3f7 jdk9-b68
ff0929a59ced0e144201aa05819ae2e47d6f2c61 jdk9-b69
8672e9264db30c21504063932dbc374eabc287a1 jdk9-b70
07c6b035d68b0c41b1dcd442157b50b41a2551e9 jdk9-b71
c1b2825ef47e75cb34dd18450d1c4280b7c5853c jdk9-b72
e37d432868be0aa7cb5e0f3d7caff1e825d8ead3 jdk9-b73
fff6b54e9770ac4c12c2fb4cab5aa7672affa4bd jdk9-b74

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2000, 2013, 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
@@ -58,6 +58,7 @@ 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.aarch64 \
sun.jvm.hotspot.debugger.linux.ppc64 \
sun.jvm.hotspot.debugger.linux.x86 \
sun.jvm.hotspot.debugger.posix \
@@ -65,6 +66,7 @@ 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.aarch64 \
sun.jvm.hotspot.debugger.proc.ppc64 \
sun.jvm.hotspot.debugger.proc.sparc \
sun.jvm.hotspot.debugger.proc.x86 \
@@ -79,11 +81,10 @@ sun.jvm.hotspot.debugger.windbg \
sun.jvm.hotspot.debugger.windbg.amd64 \
sun.jvm.hotspot.debugger.windbg.x86 \
sun.jvm.hotspot.debugger.x86 \
sun.jvm.hotspot.gc_implementation \
sun.jvm.hotspot.gc_implementation.g1 \
sun.jvm.hotspot.gc_implementation.parallelScavenge \
sun.jvm.hotspot.gc_implementation.shared \
sun.jvm.hotspot.gc_interface \
sun.jvm.hotspot.gc \
sun.jvm.hotspot.gc.g1 \
sun.jvm.hotspot.gc.parallel \
sun.jvm.hotspot.gc.shared \
sun.jvm.hotspot.interpreter \
sun.jvm.hotspot.jdi \
sun.jvm.hotspot.memory \
@@ -92,11 +93,13 @@ sun.jvm.hotspot.oops \
sun.jvm.hotspot.prims \
sun.jvm.hotspot.runtime \
sun.jvm.hotspot.runtime.amd64 \
sun.jvm.hotspot.runtime.aarch64 \
sun.jvm.hotspot.runtime.bsd \
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_aarch64 \
sun.jvm.hotspot.runtime.linux_ppc64 \
sun.jvm.hotspot.runtime.linux_sparc \
sun.jvm.hotspot.runtime.linux_x86 \
@@ -150,16 +153,19 @@ 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/linux/aarch64/*.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/aarch64/*.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/aarch64/*.java \
sun/jvm/hotspot/debugger/remote/ppc64/*.java \
sun/jvm/hotspot/debugger/remote/sparc/*.java \
sun/jvm/hotspot/debugger/remote/x86/*.java \
@@ -168,9 +174,9 @@ sun/jvm/hotspot/debugger/win32/coff/*.java \
sun/jvm/hotspot/debugger/windbg/*.java \
sun/jvm/hotspot/debugger/windbg/x86/*.java \
sun/jvm/hotspot/debugger/x86/*.java \
sun/jvm/hotspot/gc_implementation/g1/*.java \
sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
sun/jvm/hotspot/gc_implementation/shared/*.java \
sun/jvm/hotspot/gc/g1/*.java \
sun/jvm/hotspot/gc/parallel/*.java \
sun/jvm/hotspot/gc/shared/*.java \
sun/jvm/hotspot/interpreter/*.java \
sun/jvm/hotspot/jdi/*.java \
sun/jvm/hotspot/memory/*.java \
@@ -179,11 +185,13 @@ sun/jvm/hotspot/opto/*.java \
sun/jvm/hotspot/prims/*.java \
sun/jvm/hotspot/runtime/*.java \
sun/jvm/hotspot/runtime/amd64/*.java \
sun/jvm/hotspot/runtime/aarch64/*.java \
sun/jvm/hotspot/runtime/bsd/*.java \
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_aarch64/*.java \
sun/jvm/hotspot/runtime/linux_ppc64/*.java \
sun/jvm/hotspot/runtime/linux_sparc/*.java \
sun/jvm/hotspot/runtime/linux_x86/*.java \

View File

@@ -53,6 +53,10 @@
#include "sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext.h"
#endif
#ifdef aarch64
#include "sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext.h"
#endif
static jfieldID p_ps_prochandle_ID = 0;
static jfieldID threadList_ID = 0;
static jfieldID loadObjectList_ID = 0;
@@ -368,7 +372,7 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
#define NPRGREG sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_NPRGREG
#endif
#ifdef aarch64
#define NPRGREG 32
#define NPRGREG sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_NPRGREG
#endif
#if defined(sparc) || defined(sparcv9)
#define NPRGREG sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_NPRGREG
@@ -473,6 +477,13 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo
#define REG_INDEX(reg) sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_##reg
{
int i;
for (i = 0; i < 31; i++)
regs[i] = gregs.regs[i];
regs[REG_INDEX(SP)] = gregs.sp;
regs[REG_INDEX(PC)] = gregs.pc;
}
#endif /* aarch64 */
#ifdef ppc64

View File

@@ -53,14 +53,15 @@ $(ARCH)/LinuxDebuggerLocal.o: LinuxDebuggerLocal.c
$(JAVAH) -jni -classpath ../../../build/classes -d $(ARCH) \
sun.jvm.hotspot.debugger.x86.X86ThreadContext \
sun.jvm.hotspot.debugger.sparc.SPARCThreadContext \
sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext \
sun.jvm.hotspot.debugger.aarch64.AARCH64ThreadContext
$(GCC) $(CFLAGS) $< -o $@
$(ARCH)/sadis.o: ../../share/native/sadis.c
$(JAVAH) -jni -classpath ../../../build/classes -d $(ARCH) \
sun.jvm.hotspot.asm.Disassembler
$(GCC) $(CFLAGS) $< -o $@
$(ARCH)/%.o: %.c
$(GCC) $(CFLAGS) $< -o $@

View File

@@ -72,6 +72,7 @@ combination of ptrace and /proc calls.
#define user_regs_struct pt_regs
#endif
#if defined(aarch64)
#include <asm/ptrace.h>
#define user_regs_struct user_pt_regs
#endif

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -30,7 +30,7 @@
// Linux does not have the proc service library, though it does provide the
// thread_db library which can be used to manipulate threads without having
// to know the details of LinuxThreads or NPTL
// to know the details of NPTL
// copied from Solaris "proc_service.h"
typedef enum {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2013, 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
@@ -27,16 +27,14 @@ package sun.jvm.hotspot;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.math.*;
import javax.swing.*;
import javax.swing.tree.*;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.compiler.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
import sun.jvm.hotspot.gc_interface.*;
import sun.jvm.hotspot.gc.parallel.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.interpreter.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.oops.*;
@@ -928,8 +926,8 @@ public class HSDB implements ObjectHistogramPanel.Listener, SAListener {
boolean shouldSkipOopMaps = false;
if (curVFrame.isCompiledFrame()) {
CodeBlob cb = VM.getVM().getCodeCache().findBlob(curFrame.getPC());
OopMapSet maps = cb.getOopMaps();
if ((maps == null) || (maps.getSize() == 0)) {
ImmutableOopMapSet maps = cb.getOopMaps();
if ((maps == null) || (maps.getCount() == 0)) {
shouldSkipOopMaps = true;
}
}
@@ -977,7 +975,7 @@ public class HSDB implements ObjectHistogramPanel.Listener, SAListener {
} while (nextVFrame != null && nextFrame.equals(curFrame));
if (shouldSkipOopMaps) {
anno = anno + "\nNOTE: null or empty OopMapSet found for this CodeBlob";
anno = anno + "\nNOTE: null or empty ImmutableOopMapSet found for this CodeBlob";
}
if (curFrame.getFP() != null) {
@@ -985,19 +983,15 @@ public class HSDB implements ObjectHistogramPanel.Listener, SAListener {
curFrame.getFP(),
anno));
} else {
if (VM.getVM().getCPU().equals("x86") || VM.getVM().getCPU().equals("amd64")) {
// For C2, which has null frame pointers on x86/amd64
CodeBlob cb = VM.getVM().getCodeCache().findBlob(curFrame.getPC());
Address sp = curFrame.getSP();
if (Assert.ASSERTS_ENABLED) {
Assert.that(cb.getFrameSize() > 0, "CodeBlob must have non-zero frame size");
}
annoPanel.addAnnotation(new Annotation(sp,
sp.addOffsetTo(cb.getFrameSize()),
anno));
} else {
Assert.that(VM.getVM().getCPU().equals("ia64"), "only ia64 should reach here");
// For C2, which has null frame pointers on x86/amd64/aarch64
CodeBlob cb = VM.getVM().getCodeCache().findBlob(curFrame.getPC());
Address sp = curFrame.getSP();
if (Assert.ASSERTS_ENABLED) {
Assert.that(cb.getFrameSize() > 0, "CodeBlob must have non-zero frame size");
}
annoPanel.addAnnotation(new Annotation(sp,
sp.addOffsetTo(cb.getFrameSize()),
anno));
}
// Add interpreter frame annotations

View File

@@ -171,17 +171,17 @@ public class CodeBlob extends VMObject {
public boolean isLockedByVM() { return false; }
/** OopMap for frame; can return null if none available */
public OopMapSet getOopMaps() {
public ImmutableOopMapSet getOopMaps() {
Address oopMapsAddr = oopMapsField.getValue(addr);
if (oopMapsAddr == null) {
return null;
}
return new OopMapSet(oopMapsAddr);
return new ImmutableOopMapSet(oopMapsAddr);
}
// FIXME: not yet implementable
// void set_oop_maps(OopMapSet* p);
// void set_oop_maps(ImmutableOopMapSet* p);
public OopMap getOopMapForReturnAddress(Address returnAddress, boolean debugging) {
public ImmutableOopMap getOopMapForReturnAddress(Address returnAddress, boolean debugging) {
Address pc = returnAddress;
if (Assert.ASSERTS_ENABLED) {
Assert.that(getOopMaps() != null, "nope");

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
@@ -48,8 +48,13 @@ public class CodeCache {
Type type = db.lookupType("CodeCache");
// Get array of CodeHeaps
// Note: CodeHeap may be subclassed with optional private heap mechanisms.
Type codeHeapType = db.lookupType("CodeHeap");
VirtualBaseConstructor heapConstructor =
new VirtualBaseConstructor(db, codeHeapType, "sun.jvm.hotspot.memory", CodeHeap.class);
AddressField heapsField = type.getAddressField("_heaps");
heapArray = GrowableArray.create(heapsField.getValue(), new StaticBaseConstructor<CodeHeap>(CodeHeap.class));
heapArray = GrowableArray.create(heapsField.getValue(), heapConstructor);
scavengeRootNMethodsField = type.getAddressField("_scavenge_root_nmethods");
@@ -180,31 +185,9 @@ public class CodeCache {
public void iterate(CodeCacheVisitor visitor) {
visitor.prologue(lowBound(), highBound());
CodeBlob lastBlob = null;
for (int i = 0; i < heapArray.length(); ++i) {
CodeHeap current_heap = heapArray.at(i);
Address ptr = current_heap.begin();
while (ptr != null && ptr.lessThan(current_heap.end())) {
try {
// Use findStart to get a pointer inside blob other findBlob asserts
CodeBlob blob = findBlobUnsafe(current_heap.findStart(ptr));
if (blob != null) {
visitor.visit(blob);
if (blob == lastBlob) {
throw new InternalError("saw same blob twice");
}
lastBlob = blob;
}
} catch (RuntimeException e) {
e.printStackTrace();
}
Address next = current_heap.nextBlock(ptr);
if (next != null && next.lessThan(ptr)) {
throw new InternalError("pointer moved backwards");
}
ptr = next;
}
current_heap.iterate(visitor, this);
}
visitor.epilogue();
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright (c) 2000, 2004, 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.compiler;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
public class ImmutableOopMap extends VMObject {
private static CIntegerField countField;
private static long classSize;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static void initialize(TypeDataBase db) {
Type type = db.lookupType("ImmutableOopMap");
countField = type.getCIntegerField("_count");
classSize = type.getSize();
}
public ImmutableOopMap(Address addr) {
super(addr);
}
//--------------------------------------------------------------------------------
// Internals only below this point
//
long getCount() {
return countField.getValue(addr);
}
public Address getData() {
return addr.addOffsetTo(classSize);
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 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.compiler;
import sun.jvm.hotspot.debugger.Address;
import sun.jvm.hotspot.runtime.VM;
import sun.jvm.hotspot.types.CIntegerField;
import sun.jvm.hotspot.types.Type;
import sun.jvm.hotspot.types.TypeDataBase;
import java.util.Observable;
import java.util.Observer;
public class ImmutableOopMapPair {
private static CIntegerField pcField;
private static CIntegerField offsetField;
private static long classSize;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private final Address address;
public ImmutableOopMapPair(Address address) {
this.address = address;
}
public static long classSize() {
return classSize;
}
public int getPC() {
return (int) pcField.getValue(address);
}
public int getOffset() {
return (int) offsetField.getValue(address);
}
private static void initialize(TypeDataBase db) {
Type type = db.lookupType("ImmutableOopMapPair");
pcField = type.getCIntegerField("_pc_offset");
offsetField = type.getCIntegerField("_oopmap_offset");
classSize = type.getSize();
}
public String toString() {
return "Pair{pc_offset = " + getPC() + ", data_offset = " + getOffset() + "}";
}
}

View File

@@ -0,0 +1,338 @@
/*
* Copyright (c) 2000, 2008, 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.compiler;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
public class ImmutableOopMapSet extends VMObject {
private static final boolean DEBUG = System.getProperty("sun.jvm.hotspot.compiler.ImmutableOopMapSet.DEBUG") != null;
private static CIntegerField countField;
private static CIntegerField sizeField;
private static AddressField omDataField;
private static int REG_COUNT;
private static int SAVED_ON_ENTRY_REG_COUNT;
private static int C_SAVED_ON_ENTRY_REG_COUNT;
private static long classSize;
private static class MyVisitor implements OopMapVisitor {
private AddressVisitor addressVisitor;
public MyVisitor(AddressVisitor oopVisitor) {
setAddressVisitor(oopVisitor);
}
public void setAddressVisitor(AddressVisitor addressVisitor) {
this.addressVisitor = addressVisitor;
}
public void visitOopLocation(Address oopAddr) {
addressVisitor.visitAddress(oopAddr);
}
public void visitDerivedOopLocation(Address baseOopAddr, Address derivedOopAddr) {
if (VM.getVM().isClientCompiler()) {
Assert.that(false, "should not reach here");
} else if (VM.getVM().isServerCompiler() &&
VM.getVM().useDerivedPointerTable()) {
Assert.that(false, "FIXME: add derived pointer table");
}
}
public void visitValueLocation(Address valueAddr) {
}
public void visitNarrowOopLocation(Address narrowOopAddr) {
addressVisitor.visitCompOopAddress(narrowOopAddr);
}
}
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static void initialize(TypeDataBase db) {
Type type = db.lookupType("ImmutableOopMapSet");
countField = type.getCIntegerField("_count");
sizeField = type.getCIntegerField("_size");
classSize = type.getSize();
if (!VM.getVM().isCore()) {
REG_COUNT = db.lookupIntConstant("REG_COUNT").intValue();
if (VM.getVM().isServerCompiler()) {
SAVED_ON_ENTRY_REG_COUNT = (int) db.lookupIntConstant("SAVED_ON_ENTRY_REG_COUNT").intValue();
C_SAVED_ON_ENTRY_REG_COUNT = (int) db.lookupIntConstant("C_SAVED_ON_ENTRY_REG_COUNT").intValue();
}
}
}
public ImmutableOopMapSet(Address addr) {
super(addr);
}
/**
* Returns the number of OopMaps in this ImmutableOopMapSet
*/
public int getCount() { return (int) countField.getValue(addr); }
private Address dataStart() {
return (pairStart().addOffsetTo(ImmutableOopMapPair.classSize() * getCount()));
}
private Address pairStart() {
return addr.addOffsetTo(ImmutableOopMapSet.classSize);
}
public ImmutableOopMapPair pairAt(int index) {
Assert.that((index >= 0) && (index < getCount()), "bad index");
return new ImmutableOopMapPair(pairStart().addOffsetTo(index * ImmutableOopMapPair.classSize()));
}
/**
* returns the OopMap at a given index
*/
public ImmutableOopMap getMapAt(int index) {
if (Assert.ASSERTS_ENABLED) {
Assert.that((index >= 0) && (index <= getCount()), "bad index");
}
ImmutableOopMapPair immutableOopMapPair = pairAt(index);
return getMap(immutableOopMapPair);
}
public ImmutableOopMap findMapAtOffset(long pcOffset, boolean debugging) {
int i;
int len = getCount();
if (Assert.ASSERTS_ENABLED) {
Assert.that(len > 0, "must have pointer maps");
}
// Scan through oopmaps. Stop when current offset is either equal or greater
// than the one we are looking for.
for (i = 0; i < len; i++) {
if (pairAt(i).getPC() >= pcOffset) {
break;
}
}
if (!debugging) {
if (Assert.ASSERTS_ENABLED) {
Assert.that(i < len, "oopmap not found for pcOffset = " + pcOffset + "; len = " + len);
Assert.that(pairAt(i).getPC() == pcOffset, "oopmap not found");
}
} else {
if (i == len) {
if (DEBUG) {
System.out.println("can't find oopmap at " + pcOffset);
System.out.print("Oopmap offsets are [ ");
for (i = 0; i < len; i++) {
System.out.print(pairAt(i).getPC());
}
System.out.println("]");
}
i = len - 1;
return getMapAt(i);
}
}
ImmutableOopMap m = getMapAt(i);
return m;
}
/**
* Visitation -- iterates through the frame for a compiled method.
* This is a very generic mechanism that requires the Address to be
* dereferenced by the callee. Other, more specialized, visitation
* mechanisms are given below.
*/
public static void oopsDo(Frame fr, CodeBlob cb, RegisterMap regMap, AddressVisitor oopVisitor, boolean debugging) {
allDo(fr, cb, regMap, new MyVisitor(oopVisitor), debugging);
}
/**
* Note that there are 4 required AddressVisitors: one for oops,
* one for derived oops, one for values, and one for dead values
*/
public static void allDo(Frame fr, CodeBlob cb, RegisterMap regMap, OopMapVisitor visitor, boolean debugging) {
if (Assert.ASSERTS_ENABLED) {
CodeBlob tmpCB = VM.getVM().getCodeCache().findBlob(fr.getPC());
Assert.that(tmpCB != null && cb.equals(tmpCB), "wrong codeblob passed in");
}
ImmutableOopMapSet maps = cb.getOopMaps();
ImmutableOopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "no ptr map found");
}
// handle derived pointers first (otherwise base pointer may be
// changed before derived pointer offset has been collected)
OopMapValue omv;
{
for (OopMapStream oms = new OopMapStream(map, OopMapValue.OopTypes.DERIVED_OOP_VALUE); !oms.isDone(); oms.next()) {
if (VM.getVM().isClientCompiler()) {
Assert.that(false, "should not reach here");
}
omv = oms.getCurrent();
Address loc = fr.oopMapRegToLocation(omv.getReg(), regMap);
if (loc != null) {
Address baseLoc = fr.oopMapRegToLocation(omv.getContentReg(), regMap);
Address derivedLoc = loc;
visitor.visitDerivedOopLocation(baseLoc, derivedLoc);
}
}
}
// We want narow oop, value and oop oop_types
OopMapValue.OopTypes[] values = new OopMapValue.OopTypes[]{
OopMapValue.OopTypes.OOP_VALUE, OopMapValue.OopTypes.VALUE_VALUE, OopMapValue.OopTypes.NARROWOOP_VALUE
};
{
for (OopMapStream oms = new OopMapStream(map, values); !oms.isDone(); oms.next()) {
omv = oms.getCurrent();
Address loc = fr.oopMapRegToLocation(omv.getReg(), regMap);
if (loc != null) {
if (omv.getType() == OopMapValue.OopTypes.OOP_VALUE) {
// This assert commented out because this will be useful
// to detect in the debugging system
// assert(Universe::is_heap_or_null(*loc), "found non oop pointer");
visitor.visitOopLocation(loc);
} else if (omv.getType() == OopMapValue.OopTypes.VALUE_VALUE) {
visitor.visitValueLocation(loc);
} else if (omv.getType() == OopMapValue.OopTypes.NARROWOOP_VALUE) {
visitor.visitNarrowOopLocation(loc);
}
}
}
}
}
/**
* Update callee-saved register info for the following frame.
* Should only be called in non-core builds.
*/
public static void updateRegisterMap(Frame fr, CodeBlob cb, RegisterMap regMap, boolean debugging) {
if (Assert.ASSERTS_ENABLED) {
Assert.that(!VM.getVM().isCore(), "non-core builds only");
}
if (!VM.getVM().isDebugging()) {
if (Assert.ASSERTS_ENABLED) {
ImmutableOopMapSet maps = cb.getOopMaps();
Assert.that((maps != null) && (maps.getCount() > 0), "found null or empty ImmutableOopMapSet for CodeBlob");
}
} else {
// Hack for some topmost frames that have been found with empty
// OopMapSets. (Actually have not seen the null case, but don't
// want to take any chances.) See HSDB.showThreadStackMemory().
ImmutableOopMapSet maps = cb.getOopMaps();
if ((maps == null) || (maps.getCount() == 0)) {
return;
}
}
// Check if caller must update oop argument
regMap.setIncludeArgumentOops(cb.callerMustGCArguments());
int nofCallee = 0;
Address[] locs = new Address[2 * REG_COUNT + 1];
VMReg[] regs = new VMReg[2 * REG_COUNT + 1];
// ("+1" because REG_COUNT might be zero)
// Scan through oopmap and find location of all callee-saved registers
// (we do not do update in place, since info could be overwritten)
ImmutableOopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "no ptr map found");
}
OopMapValue omv = null;
for (OopMapStream oms = new OopMapStream(map, OopMapValue.OopTypes.CALLEE_SAVED_VALUE); !oms.isDone(); oms.next()) {
omv = oms.getCurrent();
if (Assert.ASSERTS_ENABLED) {
Assert.that(nofCallee < 2 * REG_COUNT, "overflow");
}
regs[nofCallee] = omv.getContentReg();
locs[nofCallee] = fr.oopMapRegToLocation(omv.getReg(), regMap);
nofCallee++;
}
// Check that runtime stubs save all callee-saved registers
// After adapter frames were deleted C2 doesn't use callee save registers at present
if (Assert.ASSERTS_ENABLED) {
if (VM.getVM().isServerCompiler()) {
Assert.that(!cb.isRuntimeStub() ||
(nofCallee >= SAVED_ON_ENTRY_REG_COUNT || nofCallee >= C_SAVED_ON_ENTRY_REG_COUNT),
"must save all");
}
}
// Copy found callee-saved register to reg_map
for (int i = 0; i < nofCallee; i++) {
regMap.setLocation(regs[i], locs[i]);
}
}
public ImmutableOopMapPair getPairAt(int index) {
return pairAt(index);
}
private int getSize() {
return (int) sizeField.getValue(addr);
}
public ImmutableOopMap getMap(ImmutableOopMapPair pair) {
Assert.that(pair.getOffset() < getSize(), "boundary check: this: " + this + " offset: " + pair);
return new ImmutableOopMap(dataStart().addOffsetTo(pair.getOffset()));
}
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("Set{ ")
.append("addr = ").append(addr)
.append(", count = ").append(getCount())
.append(", size = ").append(getSize())
.append(", pairs = [");
for (int i = 0; i < getCount(); ++i) {
builder.append(getPairAt(i));
}
builder.append("]");
return builder.toString();
}
}

View File

@@ -1,101 +0,0 @@
/*
* Copyright (c) 2000, 2004, 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.compiler;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
public class OopMap extends VMObject {
private static CIntegerField pcOffsetField;
private static CIntegerField omvCountField;
private static CIntegerField omvDataSizeField;
private static AddressField omvDataField;
private static AddressField compressedWriteStreamField;
// This is actually a field inside class CompressedStream
private static AddressField compressedStreamBufferField;
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static void initialize(TypeDataBase db) {
Type type = db.lookupType("OopMap");
pcOffsetField = type.getCIntegerField("_pc_offset");
omvCountField = type.getCIntegerField("_omv_count");
omvDataSizeField = type.getCIntegerField("_omv_data_size");
omvDataField = type.getAddressField("_omv_data");
compressedWriteStreamField = type.getAddressField("_write_stream");
type = db.lookupType("CompressedStream");
compressedStreamBufferField = type.getAddressField("_buffer");
}
public OopMap(Address addr) {
super(addr);
}
public long getOffset() {
return pcOffsetField.getValue(addr);
}
//--------------------------------------------------------------------------------
// Internals only below this point
//
// Accessors -- package private for now
Address getOMVData() {
return omvDataField.getValue(addr);
}
long getOMVDataSize() {
return omvDataSizeField.getValue(addr);
}
long getOMVCount() {
return omvCountField.getValue(addr);
}
CompressedWriteStream getWriteStream() {
Address wsAddr = compressedWriteStreamField.getValue(addr);
if (wsAddr == null) {
return null;
}
Address bufferAddr = compressedStreamBufferField.getValue(wsAddr);
if (bufferAddr == null) {
return null;
}
return new CompressedWriteStream(bufferAddr);
}
}

View File

@@ -1,289 +0,0 @@
/*
* Copyright (c) 2000, 2008, 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.compiler;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
public class OopMapSet extends VMObject {
private static final boolean DEBUG = System.getProperty("sun.jvm.hotspot.compiler.OopMapSet.DEBUG") != null;
private static CIntegerField omCountField;
private static CIntegerField omSizeField;
private static AddressField omDataField;
private static int REG_COUNT;
private static int SAVED_ON_ENTRY_REG_COUNT;
private static int C_SAVED_ON_ENTRY_REG_COUNT;
private static class MyVisitor implements OopMapVisitor {
private AddressVisitor addressVisitor;
public MyVisitor(AddressVisitor oopVisitor) {
setAddressVisitor(oopVisitor);
}
public void setAddressVisitor(AddressVisitor addressVisitor) {
this.addressVisitor = addressVisitor;
}
public void visitOopLocation(Address oopAddr) {
addressVisitor.visitAddress(oopAddr);
}
public void visitDerivedOopLocation(Address baseOopAddr, Address derivedOopAddr) {
if (VM.getVM().isClientCompiler()) {
Assert.that(false, "should not reach here");
} else if (VM.getVM().isServerCompiler() &&
VM.getVM().useDerivedPointerTable()) {
Assert.that(false, "FIXME: add derived pointer table");
}
}
public void visitValueLocation(Address valueAddr) {
}
public void visitNarrowOopLocation(Address narrowOopAddr) {
addressVisitor.visitCompOopAddress(narrowOopAddr);
}
}
static {
VM.registerVMInitializedObserver(new Observer() {
public void update(Observable o, Object data) {
initialize(VM.getVM().getTypeDataBase());
}
});
}
private static void initialize(TypeDataBase db) {
Type type = db.lookupType("OopMapSet");
omCountField = type.getCIntegerField("_om_count");
omSizeField = type.getCIntegerField("_om_size");
omDataField = type.getAddressField("_om_data");
if (!VM.getVM().isCore()) {
REG_COUNT = db.lookupIntConstant("REG_COUNT").intValue();
if (VM.getVM().isServerCompiler()) {
SAVED_ON_ENTRY_REG_COUNT = (int) db.lookupIntConstant("SAVED_ON_ENTRY_REG_COUNT").intValue();
C_SAVED_ON_ENTRY_REG_COUNT = (int) db.lookupIntConstant("C_SAVED_ON_ENTRY_REG_COUNT").intValue();
}
}
}
public OopMapSet(Address addr) {
super(addr);
}
/** Returns the number of OopMaps in this OopMapSet */
public long getSize() {
return omCountField.getValue(addr);
}
/** returns the OopMap at a given index */
public OopMap getMapAt(int index) {
if (Assert.ASSERTS_ENABLED) {
Assert.that((index >= 0) && (index <= getSize()),"bad index");
}
Address omDataAddr = omDataField.getValue(addr);
Address oopMapAddr = omDataAddr.getAddressAt(index * VM.getVM().getAddressSize());
if (oopMapAddr == null) {
return null;
}
return new OopMap(oopMapAddr);
}
public OopMap findMapAtOffset(long pcOffset, boolean debugging) {
int i;
int len = (int) getSize();
if (Assert.ASSERTS_ENABLED) {
Assert.that(len > 0, "must have pointer maps");
}
// Scan through oopmaps. Stop when current offset is either equal or greater
// than the one we are looking for.
for (i = 0; i < len; i++) {
if (getMapAt(i).getOffset() >= pcOffset) {
break;
}
}
if (!debugging) {
if (Assert.ASSERTS_ENABLED) {
Assert.that(i < len, "oopmap not found for pcOffset = " + pcOffset + "; len = " + len);
Assert.that(getMapAt(i).getOffset() == pcOffset, "oopmap not found");
}
} else {
if (i == len) {
if (DEBUG) {
System.out.println("can't find oopmap at " + pcOffset);
System.out.print("Oopmap offsets are [ ");
for (i = 0; i < len; i++) {
System.out.print(getMapAt(i).getOffset());
}
System.out.println("]");
}
i = len - 1;
return getMapAt(i);
}
}
OopMap m = getMapAt(i);
return m;
}
/** Visitation -- iterates through the frame for a compiled method.
This is a very generic mechanism that requires the Address to be
dereferenced by the callee. Other, more specialized, visitation
mechanisms are given below. */
public static void oopsDo(Frame fr, CodeBlob cb, RegisterMap regMap, AddressVisitor oopVisitor, boolean debugging) {
allDo(fr, cb, regMap, new MyVisitor(oopVisitor), debugging);
}
/** Note that there are 4 required AddressVisitors: one for oops,
one for derived oops, one for values, and one for dead values */
public static void allDo(Frame fr, CodeBlob cb, RegisterMap regMap, OopMapVisitor visitor, boolean debugging) {
if (Assert.ASSERTS_ENABLED) {
CodeBlob tmpCB = VM.getVM().getCodeCache().findBlob(fr.getPC());
Assert.that(tmpCB != null && cb.equals(tmpCB), "wrong codeblob passed in");
}
OopMapSet maps = cb.getOopMaps();
OopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "no ptr map found");
}
// handle derived pointers first (otherwise base pointer may be
// changed before derived pointer offset has been collected)
OopMapValue omv;
{
for (OopMapStream oms = new OopMapStream(map, OopMapValue.OopTypes.DERIVED_OOP_VALUE); !oms.isDone(); oms.next()) {
if (VM.getVM().isClientCompiler()) {
Assert.that(false, "should not reach here");
}
omv = oms.getCurrent();
Address loc = fr.oopMapRegToLocation(omv.getReg(), regMap);
if (loc != null) {
Address baseLoc = fr.oopMapRegToLocation(omv.getContentReg(), regMap);
Address derivedLoc = loc;
visitor.visitDerivedOopLocation(baseLoc, derivedLoc);
}
}
}
// We want narow oop, value and oop oop_types
OopMapValue.OopTypes[] values = new OopMapValue.OopTypes[] {
OopMapValue.OopTypes.OOP_VALUE, OopMapValue.OopTypes.VALUE_VALUE, OopMapValue.OopTypes.NARROWOOP_VALUE
};
{
for (OopMapStream oms = new OopMapStream(map, values); !oms.isDone(); oms.next()) {
omv = oms.getCurrent();
Address loc = fr.oopMapRegToLocation(omv.getReg(), regMap);
if (loc != null) {
if (omv.getType() == OopMapValue.OopTypes.OOP_VALUE) {
// This assert commented out because this will be useful
// to detect in the debugging system
// assert(Universe::is_heap_or_null(*loc), "found non oop pointer");
visitor.visitOopLocation(loc);
} else if (omv.getType() == OopMapValue.OopTypes.VALUE_VALUE) {
visitor.visitValueLocation(loc);
} else if (omv.getType() == OopMapValue.OopTypes.NARROWOOP_VALUE) {
visitor.visitNarrowOopLocation(loc);
}
}
}
}
}
/** Update callee-saved register info for the following frame.
Should only be called in non-core builds. */
public static void updateRegisterMap(Frame fr, CodeBlob cb, RegisterMap regMap, boolean debugging) {
if (Assert.ASSERTS_ENABLED) {
Assert.that(!VM.getVM().isCore(), "non-core builds only");
}
if (!VM.getVM().isDebugging()) {
if (Assert.ASSERTS_ENABLED) {
OopMapSet maps = cb.getOopMaps();
Assert.that((maps != null) && (maps.getSize() > 0), "found null or empty OopMapSet for CodeBlob");
}
} else {
// Hack for some topmost frames that have been found with empty
// OopMapSets. (Actually have not seen the null case, but don't
// want to take any chances.) See HSDB.showThreadStackMemory().
OopMapSet maps = cb.getOopMaps();
if ((maps == null) || (maps.getSize() == 0)) {
return;
}
}
// Check if caller must update oop argument
regMap.setIncludeArgumentOops(cb.callerMustGCArguments());
int nofCallee = 0;
Address[] locs = new Address[2 * REG_COUNT + 1];
VMReg [] regs = new VMReg [2 * REG_COUNT + 1];
// ("+1" because REG_COUNT might be zero)
// Scan through oopmap and find location of all callee-saved registers
// (we do not do update in place, since info could be overwritten)
OopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
if (Assert.ASSERTS_ENABLED) {
Assert.that(map != null, "no ptr map found");
}
OopMapValue omv = null;
for(OopMapStream oms = new OopMapStream(map, OopMapValue.OopTypes.CALLEE_SAVED_VALUE); !oms.isDone(); oms.next()) {
omv = oms.getCurrent();
if (Assert.ASSERTS_ENABLED) {
Assert.that(nofCallee < 2 * REG_COUNT, "overflow");
}
regs[nofCallee] = omv.getContentReg();
locs[nofCallee] = fr.oopMapRegToLocation(omv.getReg(), regMap);
nofCallee++;
}
// Check that runtime stubs save all callee-saved registers
// After adapter frames were deleted C2 doesn't use callee save registers at present
if (Assert.ASSERTS_ENABLED) {
if (VM.getVM().isServerCompiler()) {
Assert.that(!cb.isRuntimeStub() ||
(nofCallee >= SAVED_ON_ENTRY_REG_COUNT || nofCallee >= C_SAVED_ON_ENTRY_REG_COUNT),
"must save all");
}
}
// Copy found callee-saved register to reg_map
for (int i = 0; i < nofCallee; i++) {
regMap.setLocation(regs[i], locs[i]);
}
}
}

View File

@@ -28,30 +28,26 @@ import sun.jvm.hotspot.code.*;
public class OopMapStream {
private CompressedReadStream stream;
private OopMap oopMap;
private ImmutableOopMap oopMap;
private int mask;
private int size;
private int position;
private OopMapValue omv;
private boolean omvValid;
public OopMapStream(OopMap oopMap) {
public OopMapStream(ImmutableOopMap oopMap) {
this(oopMap, (OopMapValue.OopTypes[]) null);
}
public OopMapStream(OopMap oopMap, OopMapValue.OopTypes type) {
public OopMapStream(ImmutableOopMap oopMap, OopMapValue.OopTypes type) {
this(oopMap, (OopMapValue.OopTypes[]) null);
mask = type.getValue();
}
public OopMapStream(OopMap oopMap, OopMapValue.OopTypes[] types) {
if (oopMap.getOMVData() == null) {
stream = new CompressedReadStream(oopMap.getWriteStream().getBuffer());
} else {
stream = new CompressedReadStream(oopMap.getOMVData());
}
public OopMapStream(ImmutableOopMap oopMap, OopMapValue.OopTypes[] types) {
stream = new CompressedReadStream(oopMap.getData());
mask = computeMask(types);
size = (int) oopMap.getOMVCount();
size = (int) oopMap.getCount();
position = 0;
omv = new OopMapValue();
omvValid = false;

View File

@@ -0,0 +1,123 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import java.lang.annotation.Native;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
/** Specifies the thread context on aarch64 platforms; only a sub-portion
* of the context is guaranteed to be present on all operating
* systems. */
public abstract class AARCH64ThreadContext implements ThreadContext {
// Taken from /usr/include/asm/sigcontext.h on Linux/AARCH64.
// 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 R0 = 0;
public static final int R1 = 1;
public static final int R2 = 2;
public static final int R3 = 3;
public static final int R4 = 4;
public static final int R5 = 5;
public static final int R6 = 6;
public static final int R7 = 7;
public static final int R8 = 8;
public static final int R9 = 9;
public static final int R10 = 10;
public static final int R11 = 11;
public static final int R12 = 12;
public static final int R13 = 13;
public static final int R14 = 14;
public static final int R15 = 15;
public static final int R16 = 16;
public static final int R17 = 17;
public static final int R18 = 18;
public static final int R19 = 19;
public static final int R20 = 20;
public static final int R21 = 21;
public static final int R22 = 22;
public static final int R23 = 23;
public static final int R24 = 24;
public static final int R25 = 25;
public static final int R26 = 26;
public static final int R27 = 27;
public static final int R28 = 28;
public static final int FP = 29;
public static final int LR = 30;
public static final int SP = 31;
public static final int PC = 32;
public static final int NPRGREG = 33;
private long[] data;
public AARCH64ThreadContext() {
data = new long[NPRGREG];
}
public int getNumRegisters() {
return NPRGREG;
}
public String getRegisterName(int index) {
switch (index) {
case LR: return "lr";
case SP: return "sp";
case PC: return "pc";
default:
return "r" + 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,6 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -31,12 +32,14 @@ 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.aarch64.*;
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.debugger.linux.aarch64.*;
import sun.jvm.hotspot.utilities.*;
class LinuxCDebugger implements CDebugger {
@@ -106,6 +109,13 @@ class LinuxCDebugger implements CDebugger {
Address pc = context.getRegisterAsAddress(PPC64ThreadContext.PC);
if (pc == null) return null;
return new LinuxPPC64CFrame(dbg, sp, pc, LinuxDebuggerLocal.getAddressSize());
} else if (cpu.equals("aarch64")) {
AARCH64ThreadContext context = (AARCH64ThreadContext) thread.getContext();
Address fp = context.getRegisterAsAddress(AARCH64ThreadContext.FP);
if (fp == null) return null;
Address pc = context.getRegisterAsAddress(AARCH64ThreadContext.PC);
if (pc == null) return null;
return new LinuxAARCH64CFrame(dbg, fp, pc);
} else {
// Runtime exception thrown by LinuxThreadContextFactory if unknown cpu
ThreadContext context = (ThreadContext) thread.getContext();

View File

@@ -0,0 +1,86 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.aarch64.*;
import sun.jvm.hotspot.debugger.linux.*;
import sun.jvm.hotspot.debugger.cdbg.*;
import sun.jvm.hotspot.debugger.cdbg.basic.*;
final public class LinuxAARCH64CFrame extends BasicCFrame {
public LinuxAARCH64CFrame(LinuxDebugger dbg, Address fp, Address pc) {
super(dbg.getCDebugger());
this.fp = fp;
this.pc = pc;
this.dbg = dbg;
}
// 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 fp;
}
public CFrame sender(ThreadProxy thread) {
AARCH64ThreadContext context = (AARCH64ThreadContext) thread.getContext();
Address rsp = context.getRegisterAsAddress(AARCH64ThreadContext.SP);
if ((fp == null) || fp.lessThan(rsp)) {
return null;
}
// Check alignment of fp
if (dbg.getAddressValue(fp) % (2 * ADDRESS_SIZE) != 0) {
return null;
}
Address nextFP = fp.getAddressAt(0 * ADDRESS_SIZE);
if (nextFP == null || nextFP.lessThanOrEqual(fp)) {
return null;
}
Address nextPC = fp.getAddressAt(1 * ADDRESS_SIZE);
if (nextPC == null) {
return null;
}
return new LinuxAARCH64CFrame(dbg, nextFP, nextPC);
}
// package/class internals only
private static final int ADDRESS_SIZE = 8;
private Address pc;
private Address sp;
private Address fp;
private LinuxDebugger dbg;
}

View File

@@ -0,0 +1,47 @@
/*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.aarch64.*;
import sun.jvm.hotspot.debugger.linux.*;
public class LinuxAARCH64ThreadContext extends AARCH64ThreadContext {
private LinuxDebugger debugger;
public LinuxAARCH64ThreadContext(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

@@ -31,11 +31,13 @@ import java.lang.reflect.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.*;
import sun.jvm.hotspot.debugger.proc.amd64.*;
import sun.jvm.hotspot.debugger.proc.aarch64.*;
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.aarch64.*;
import sun.jvm.hotspot.debugger.sparc.*;
import sun.jvm.hotspot.debugger.x86.*;
import sun.jvm.hotspot.utilities.*;
@@ -88,6 +90,10 @@ public class ProcDebuggerLocal extends DebuggerBase implements ProcDebugger {
threadFactory = new ProcAMD64ThreadFactory(this);
pcRegIndex = AMD64ThreadContext.RIP;
fpRegIndex = AMD64ThreadContext.RBP;
} else if (cpu.equals("aarch64")) {
threadFactory = new ProcAARCH64ThreadFactory(this);
pcRegIndex = AARCH64ThreadContext.PC;
fpRegIndex = AARCH64ThreadContext.FP;
} else if (cpu.equals("ppc64")) {
threadFactory = new ProcPPC64ThreadFactory(this);
pcRegIndex = PPC64ThreadContext.PC;

View File

@@ -0,0 +1,87 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.aarch64.*;
import sun.jvm.hotspot.debugger.proc.*;
import sun.jvm.hotspot.utilities.*;
public class ProcAARCH64Thread implements ThreadProxy {
private ProcDebugger debugger;
private int id;
public ProcAARCH64Thread(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 ProcAARCH64Thread(ProcDebugger debugger, long id) {
this.debugger = debugger;
this.id = (int) id;
}
public ThreadContext getContext() throws IllegalThreadStateException {
ProcAARCH64ThreadContext context = new ProcAARCH64ThreadContext(debugger);
long[] regs = debugger.getThreadIntegerRegisterSet(id);
if (Assert.ASSERTS_ENABLED) {
Assert.that(regs.length == AARCH64ThreadContext.NPRGREG, "size mismatch");
}
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 ProcAARCH64Thread)) {
return false;
}
return (((ProcAARCH64Thread) obj).id == id);
}
public int hashCode() {
return id;
}
}

View File

@@ -0,0 +1,47 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.aarch64.*;
import sun.jvm.hotspot.debugger.proc.*;
public class ProcAARCH64ThreadContext extends AARCH64ThreadContext {
private ProcDebugger debugger;
public ProcAARCH64ThreadContext(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,45 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.proc.*;
public class ProcAARCH64ThreadFactory implements ProcThreadFactory {
private ProcDebugger debugger;
public ProcAARCH64ThreadFactory(ProcDebugger debugger) {
this.debugger = debugger;
}
public ThreadProxy createThreadWrapper(Address threadIdentifierAddr) {
return new ProcAARCH64Thread(debugger, threadIdentifierAddr);
}
public ThreadProxy createThreadWrapper(long id) {
return new ProcAARCH64Thread(debugger, id);
}
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.aarch64.*;
import sun.jvm.hotspot.debugger.remote.*;
import sun.jvm.hotspot.utilities.*;
public class RemoteAARCH64Thread extends RemoteThread {
public RemoteAARCH64Thread(RemoteDebuggerClient debugger, Address addr) {
super(debugger, addr);
}
public RemoteAARCH64Thread(RemoteDebuggerClient debugger, long id) {
super(debugger, id);
}
public ThreadContext getContext() throws IllegalThreadStateException {
RemoteAARCH64ThreadContext context = new RemoteAARCH64ThreadContext(debugger);
long[] regs = (addr != null)? debugger.getThreadIntegerRegisterSet(addr) :
debugger.getThreadIntegerRegisterSet(id);
if (Assert.ASSERTS_ENABLED) {
Assert.that(regs.length == AARCH64ThreadContext.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,47 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.aarch64.*;
import sun.jvm.hotspot.debugger.remote.*;
public class RemoteAARCH64ThreadContext extends AARCH64ThreadContext {
private RemoteDebuggerClient debugger;
public RemoteAARCH64ThreadContext(RemoteDebuggerClient 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,45 @@
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, Red Hat Inc.
* 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.aarch64;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.remote.*;
public class RemoteAARCH64ThreadFactory implements RemoteThreadFactory {
private RemoteDebuggerClient debugger;
public RemoteAARCH64ThreadFactory(RemoteDebuggerClient debugger) {
this.debugger = debugger;
}
public ThreadProxy createThreadWrapper(Address threadIdentifierAddr) {
return new RemoteAARCH64Thread(debugger, threadIdentifierAddr);
}
public ThreadProxy createThreadWrapper(long id) {
return new RemoteAARCH64Thread(debugger, id);
}
}

View File

@@ -1,7 +1,7 @@
/*
* @(#)AdaptiveFreeList.java
*
* Copyright (c) 2000, 2014, 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,7 +24,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import java.util.Observable;
import java.util.Observer;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 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
@@ -22,11 +22,12 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import java.io.*;
import java.util.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2014, 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
@@ -22,25 +22,18 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.Address;
import sun.jvm.hotspot.debugger.Debugger;
import sun.jvm.hotspot.oops.ObjectHeap;
import sun.jvm.hotspot.oops.Oop;
import sun.jvm.hotspot.runtime.VM;
import sun.jvm.hotspot.runtime.VMObjectFactory;
import sun.jvm.hotspot.types.AddressField;
import sun.jvm.hotspot.types.Type;
import sun.jvm.hotspot.types.TypeDataBase;
import sun.jvm.hotspot.utilities.Assert;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.oops.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
public class CompactibleFreeListSpace extends CompactibleSpace {
private static AddressField collectorField;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -22,11 +22,12 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,6 +1,6 @@
/*
* @(#)BinaryTreeDictionary.java
* Copyright (c) 2000, 2008, 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
@@ -23,7 +23,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import java.util.*;
import sun.jvm.hotspot.debugger.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -22,9 +22,11 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.cms;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc.serial.*;
import sun.jvm.hotspot.gc.shared.*;
public class ParNewGeneration extends DefNewGeneration {
public ParNewGeneration(Address addr) {

View File

@@ -1,4 +1,4 @@
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Observable;
import java.util.Observer;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012, 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
@@ -22,17 +22,17 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Iterator;
import java.util.Observable;
import java.util.Observer;
import sun.jvm.hotspot.debugger.Address;
import sun.jvm.hotspot.gc_interface.CollectedHeap;
import sun.jvm.hotspot.gc_interface.CollectedHeapName;
import sun.jvm.hotspot.gc.shared.CollectedHeap;
import sun.jvm.hotspot.gc.shared.CollectedHeapName;
import sun.jvm.hotspot.gc.shared.SpaceClosure;
import sun.jvm.hotspot.memory.MemRegion;
import sun.jvm.hotspot.memory.SpaceClosure;
import sun.jvm.hotspot.runtime.VM;
import sun.jvm.hotspot.runtime.VMObjectFactory;
import sun.jvm.hotspot.types.AddressField;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Iterator;
import java.util.Observable;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Observable;
import java.util.Observer;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 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
@@ -22,14 +22,14 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import sun.jvm.hotspot.debugger.Address;
import sun.jvm.hotspot.memory.CompactibleSpace;
import sun.jvm.hotspot.gc.shared.CompactibleSpace;
import sun.jvm.hotspot.memory.MemRegion;
import sun.jvm.hotspot.runtime.VM;
import sun.jvm.hotspot.types.AddressField;

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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Iterator;
import java.util.Observable;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Iterator;
import java.util.Observable;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.g1;
package sun.jvm.hotspot.gc.g1;
import java.util.Iterator;
import java.util.Observable;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.shared;
package sun.jvm.hotspot.gc.parallel;
import java.io.*;
import java.util.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_implementation.shared;
package sun.jvm.hotspot.gc.parallel;
import java.io.*;
import java.util.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -22,13 +22,12 @@
*
*/
package sun.jvm.hotspot.gc_implementation.parallelScavenge;
package sun.jvm.hotspot.gc.parallel;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_implementation.shared.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 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
@@ -22,13 +22,12 @@
*
*/
package sun.jvm.hotspot.gc_implementation.parallelScavenge;
package sun.jvm.hotspot.gc.parallel;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_implementation.shared.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

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
@@ -22,13 +22,13 @@
*
*/
package sun.jvm.hotspot.gc_implementation.parallelScavenge;
package sun.jvm.hotspot.gc.parallel;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_interface.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2008, 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
@@ -22,12 +22,13 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.serial;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2014, 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
@@ -22,12 +22,13 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.serial;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import sun.jvm.hotspot.debugger.*;

View File

@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.gc.shared;
import java.io.*;
import java.util.*;

View File

@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.gc.shared;
/** Mimics the enums in the VM under CollectedHeap::Name */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.util.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2004, 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
@@ -22,12 +22,13 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.gc.shared;
//These definitions should be kept in sync with the definitions in the HotSpot
//code.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.gc.shared;
//These definitions should be kept in sync with the definitions in the HotSpot code.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.gc.shared;
//These definitions should be kept in sync with the definitions in the HotSpot code.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.gc.shared;
//These definitions should be kept in sync with the definitions in the HotSpot code.

View File

@@ -22,13 +22,12 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_interface.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;

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
@@ -22,13 +22,14 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
/** <P> The (supported) Generation hierarchy currently looks like this: </P>
@@ -48,7 +49,6 @@ import sun.jvm.hotspot.runtime.*;
public abstract class Generation extends VMObject {
private static long reservedFieldOffset;
private static long virtualSpaceFieldOffset;
private static CIntegerField levelField;
protected static final int K = 1024;
// Fields for class StatRecord
private static Field statRecordField;
@@ -74,7 +74,6 @@ public abstract class Generation extends VMObject {
reservedFieldOffset = type.getField("_reserved").getOffset();
virtualSpaceFieldOffset = type.getField("_virtual_space").getOffset();
levelField = type.getCIntegerField("_level");
// StatRecord
statRecordField = type.getField("_stat_record");
type = db.lookupType("Generation::StatRecord");
@@ -129,14 +128,6 @@ public abstract class Generation extends VMObject {
}
}
public GenerationSpec spec() {
return ((GenCollectedHeap) VM.getVM().getUniverse().heap()).spec(level());
}
public int level() {
return (int) levelField.getValue(addr);
}
public int invocations() {
return getStatRecord().getInvocations();
}

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
@@ -22,11 +22,13 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc.cms.*;
import sun.jvm.hotspot.gc.serial.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import sun.jvm.hotspot.debugger.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.util.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import sun.jvm.hotspot.debugger.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2003, 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
@@ -22,13 +22,14 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
/** <P> A Space describes a heap area. Class Space is an abstract base
class. </P>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
public interface SpaceClosure {
public void doSpace(Space s);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.memory;
package sun.jvm.hotspot.gc.shared;
import sun.jvm.hotspot.debugger.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2004, 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
@@ -25,6 +25,7 @@
package sun.jvm.hotspot.memory;
import java.util.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
@@ -90,7 +91,7 @@ public class CodeHeap extends VMObject {
return h.getAllocatedSpace();
}
public Address nextBlock(Address ptr) {
private Address nextBlock(Address ptr) {
Address base = blockBase(ptr);
if (base == null) {
return null;
@@ -99,6 +100,31 @@ public class CodeHeap extends VMObject {
return base.addOffsetTo(block.getLength() * (1 << getLog2SegmentSize()));
}
public void iterate(CodeCacheVisitor visitor, CodeCache cache) {
CodeBlob lastBlob = null;
Address ptr = begin();
while (ptr != null && ptr.lessThan(end())) {
try {
// Use findStart to get a pointer inside blob other findBlob asserts
CodeBlob blob = cache.createCodeBlobWrapper(findStart(ptr));
if (blob != null) {
visitor.visit(blob);
if (blob == lastBlob) {
throw new InternalError("saw same blob twice");
}
lastBlob = blob;
}
} catch (RuntimeException e) {
e.printStackTrace();
}
Address next = nextBlock(ptr);
if (next != null && next.lessThan(ptr)) {
throw new InternalError("pointer moved backwards");
}
ptr = next;
}
}
//--------------------------------------------------------------------------------
// Internals only below this point
//

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* 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
@@ -22,7 +22,7 @@
*
*/
package sun.jvm.hotspot.gc_interface;
package sun.jvm.hotspot.memory;
//These definitions should be kept in sync with the definitions in the HotSpot code.

View File

@@ -27,9 +27,9 @@ package sun.jvm.hotspot.memory;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_interface.*;
import sun.jvm.hotspot.gc_implementation.g1.G1CollectedHeap;
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.gc.g1.G1CollectedHeap;
import sun.jvm.hotspot.gc.parallel.*;
import sun.jvm.hotspot.oops.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.runtime.*;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2013, 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
@@ -32,9 +32,10 @@ package sun.jvm.hotspot.oops;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.gc_interface.*;
import sun.jvm.hotspot.gc_implementation.g1.*;
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
import sun.jvm.hotspot.gc.cms.*;
import sun.jvm.hotspot.gc.shared.*;
import sun.jvm.hotspot.gc.g1.*;
import sun.jvm.hotspot.gc.parallel.*;
import sun.jvm.hotspot.memory.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;

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
@@ -26,14 +26,12 @@ package sun.jvm.hotspot.runtime;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.*;
import sun.jvm.hotspot.code.*;
import sun.jvm.hotspot.compiler.*;
import sun.jvm.hotspot.c1.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.interpreter.*;
import sun.jvm.hotspot.oops.*;
import sun.jvm.hotspot.runtime.sparc.SPARCFrame;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
@@ -359,12 +357,6 @@ public abstract class Frame implements Cloneable {
// FIXME: avoiding implementing this for now if possible
// public void interpreter_frame_set_monitor_end(BasicObjectLock* value);
// public void interpreter_frame_verify_monitor(BasicObjectLock* value) const;
//
// Tells whether the current interpreter_frame frame pointer
// corresponds to the old compiled/deoptimized fp
// The receiver used to be a top level frame
// public boolean interpreter_frame_equals_unpacked_fp(intptr_t* fp);
//--------------------------------------------------------------------------------
// Method and constant pool cache:
//
@@ -626,7 +618,7 @@ public abstract class Frame implements Cloneable {
Assert.that(cb != null, "sanity check");
}
if (cb.getOopMaps() != null) {
OopMapSet.oopsDo(this, cb, regMap, oopVisitor, VM.getVM().isDebugging());
ImmutableOopMapSet.oopsDo(this, cb, regMap, oopVisitor, VM.getVM().isDebugging());
// FIXME: add in traversal of argument oops (skipping this for
// now until we have the other stuff tested)

View File

@@ -35,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_aarch64.LinuxAARCH64JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.linux_ppc64.LinuxPPC64JavaThreadPDAccess;
import sun.jvm.hotspot.runtime.linux_sparc.LinuxSPARCJavaThreadPDAccess;
import sun.jvm.hotspot.runtime.bsd_x86.BsdX86JavaThreadPDAccess;
@@ -91,6 +92,8 @@ public class Threads {
access = new LinuxSPARCJavaThreadPDAccess();
} else if (cpu.equals("ppc64")) {
access = new LinuxPPC64JavaThreadPDAccess();
} else if (cpu.equals("aarch64")) {
access = new LinuxAARCH64JavaThreadPDAccess();
} else {
try {
access = (JavaThreadPDAccess)

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