Commit Graph

220 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
9400d2bd29 Merge 2017-01-24 00:30:25 +01:00
Dmitrij Pochepko
a1d6b9fa8b 8171149: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java failed with "Out of space in CodeCache for adapters"
Reviewed-by: kvn
2017-01-23 16:31:49 +03:00
Sean Mullan
d9d9d8701a 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:50:02 -05:00
Paul Sandoz
94d019e9ba 8172201: Replace assert of return type in VarHandle.AccessMode with test
Reviewed-by: mchung
2017-01-04 17:20:41 -08:00
Alan Bateman
1e82db676a 8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Weijun Wang
d036a1e276 8170408: LogGeneratedClassesTest.java fails with recent changes
Reviewed-by: dfuchs
2016-11-30 08:02:39 +08:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Alejandro Murillo
46babcb5b7 Merge 2016-08-22 08:27:10 -07:00
Michael Haupt
22e95f995a 8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad
2016-08-19 10:03:43 +02:00
Alejandro Murillo
284b527560 Merge 2016-08-12 14:12:56 -07:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Dmitrij Pochepko
91414d0dfc 8129523: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java timeout
Reviewed-by: kvn
2016-08-08 11:32:11 +03:00
Karen Kinnear
201f2252c2 8162340: Better class stream parsing
Check package validity

Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:33:15 -04:00
Michael Haupt
7112e19bd1 8161212: Test times out: java/lang/invoke/LoopCombinatorLongSignatureTest.java
Reviewed-by: redestad
2016-07-18 14:06:50 +02:00
Shilpi Rastogi
aec121f999 8158169: MethodHandles.dropArgumentsToMatch(...)
Reviewed-by: psandoz, mhaupt
2016-07-07 09:51:47 +02:00
Michael Haupt
d09f7620fe 8160717: MethodHandles.loop() does not check for excessive signature
Reviewed-by: psandoz, redestad
2016-07-06 17:10:36 +02:00
Alejandro Murillo
451f529750 Merge 2016-07-05 13:50:37 -07:00
Michael Haupt
a06c5e0f57 8143211: provide bytecode intrinsics for loop and try/finally executors
Reviewed-by: psandoz, redestad, vlivanov
2016-07-04 10:08:18 +02:00
Alejandro Murillo
3689909db0 Merge 2016-07-01 16:50:37 -07:00
Vladimir Kozlov
b7a4c8d92a Merge 2016-06-24 15:06:50 -07:00
Paul Sandoz
3f0273a3c4 8154737: Rename VarHandle.compareAndExchangeVolatile to VarHandle.compareAndExchange
Reviewed-by: shade
2016-06-23 13:46:48 +02:00
Paul Sandoz
734dbe4089 8158039: VarHandle float/double field/array access should support CAS/set/add atomics
Reviewed-by: shade, vlivanov, darcy
2016-06-20 17:57:19 +02:00
Aleksey Shipilev
e663206d07 8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren
2016-06-15 11:20:15 +03:00
Paul Sandoz
7dd146f072 8160439: Replace asserts in VarHandle.AccessMode with tests
Reviewed-by: vlivanov, rriggs, martin
2016-06-29 08:30:49 +02:00
Alexandre Iline
431772cea7 8158855: Fix remaining module dependences in java/lang
Reviewed-by: alanb, mchung, amlu
2016-06-15 10:25:25 -07:00
Shilpi Rastogi
389fc2ae25 8158171: MethodHandles.dropArgumentsToMatch(...) non-documented IAE
Reviewed-by: sundar, mhaupt
2016-06-06 09:13:35 +02:00
Paul Sandoz
4b1159ce76 8157239: java/lang/invoke/VarHandles/ tests fail by timeout with -Xcomp with lambda form linkage
Reviewed-by: vlivanov
2016-05-19 16:08:40 +02:00
Paul Sandoz
0bad445941 8157152: Atomic add for VarHandle byte[]/ByteBuffer views is incorrect for endian conversion
Reviewed-by: fyuan, shade, vlivanov
2016-05-18 18:46:14 +02:00
Michael Haupt
c4976196f5 8156915: introduce MethodHandle factory for array length
Reviewed-by: sundar
2016-05-18 10:42:29 +02:00
Aleksey Shipilev
33bb9220fc 8157171: Hook up Unsafe.weakCompareAndSetVolatile to VarHandles
Reviewed-by: psandoz, redestad
2016-05-17 22:28:00 +03:00
Alejandro Murillo
ffaebaa66e Merge 2016-05-17 05:38:15 -07:00
Paul Sandoz
44afe20e99 8156485: MethodHandles.varHandleExactInvoker should perform exact checks
Reviewed-by: vlivanov
2016-05-17 12:06:41 +02:00
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07:00
Alexandre Iline
114e7f30f7 8156695: Fix @modules in tests in java/lang/management
As part of JDK-8155993, tests are updated to declare dependencies on jdk.management.

Reviewed-by: mchung
2016-05-10 14:51:29 -07:00
Vladimir Ivanov
8761e88b55 Merge 2016-05-09 12:39:41 +03:00
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Aleksey Shipilev
4f53885343 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
Reviewed-by: psandoz, vlivanov, simonis
2016-05-04 17:17:28 +03:00
Alan Bateman
44790114ee Merge 2016-05-03 11:45:56 +01:00