Commit Graph

554 Commits

Author SHA1 Message Date
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Jan Lahoda
56d2ce25a9 8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:12:40 +01:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Igor Ignatyev
7abe24d3ea 8039953: [TESTBUG] Timeout java/lang/invoke/MethodHandles/CatchExceptionTest.java
Reviewed-by: vlivanov, psandoz
2014-12-01 21:58:46 +03:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Jesper Wilhelmsson
dcff994c52 Merge 2014-11-26 17:41:08 +01:00
Konstantin Shefov
758644082b 8059070: [TESTBUG] java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed - timeout
Reviewed-by: psandoz, vlivanov
2014-11-25 14:16:55 +04:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Alejandro Murillo
2e75649af2 Merge 2014-11-21 08:00:31 -08:00
Evgeniya Stepanova
71a33bf064 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
Reviewed-by: brutisso, dholmes
2014-11-19 17:51:06 +03:00
Alejandro Murillo
e70f855944 Merge 2014-11-13 16:11:01 -08:00
Roger Riggs
4401923a82 8043477: java/lang/ProcessBuilder/Basic.java failed with: java.lang.AssertionError: Some tests failed
Reviewed-by: martin
2014-11-13 12:29:54 -05:00
Staffan Larsen
47ac075518 Merge 2014-11-13 08:02:38 +01:00
Eric McCorkle
935c33a50c 8062556: Add jdk tests for JDK-8058322 and JDK-8058313
Add tests for two hotspot reflection fixes.

Reviewed-by: dholmes
2014-11-10 15:06:13 -05:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Martin Buchholz
84e99bc48e 8062771: Core reflection should use final fields whenever possible
Reviewed-by: psandoz, darcy
2014-11-06 13:18:44 -08:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Jaroslav Bachorik
543d65a194 8062896: TEST_BUG: java/lang/Thread/ThreadStateTest.java can't compile with change for 8058506
Reviewed-by: dholmes, sla
2014-11-05 09:49:20 +01:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Mattias Tobiasson
7abf72a2dc 8061960: java/lang/instrument/DaemonThread/TestDaemonThread.java regularly fails due to exceeded timeout
Move timeout parameter to correct place on command line

Reviewed-by: jbachorik
2014-10-28 11:45:31 +01:00
Jaroslav Bachorik
53a4f4cd62 8058506: ThreadMXBeanStateTest throws exception
Reviewed-by: egahlin, dholmes
2014-10-23 11:42:20 +02:00
Vladimir Ivanov
0c95b0fb5f 8060483: NPE with explicitCastArguments unboxing null
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Jaroslav Bachorik
c603f42b91 8056143: interrupted java/lang/management/MemoryMXBean/LowMemoryTest.java leaves running process
Reviewed-by: sla, dholmes
2014-10-17 10:53:30 +02:00
Martin Buchholz
5e65c0f984 8063147: Class.getFields spec should state that fields are inherited from superinterfaces
Reviewed-by: psandoz, chegar
2014-11-06 13:29:36 -08:00
Konstantin Shefov
30f7d127ad 8058733: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
Reviewed-by: darcy, vlivanov
2014-10-10 21:28:35 +04:00
Konstantin Shefov
8bef42ee6a 8058695: [TESTBUG] Reinvokers with arity >253 can't be cached
Reviewed-by: iignatyev, vlivanov
2014-10-03 12:44:30 +04:00
Alejandro Murillo
9e10c63840 Merge 2014-09-26 01:40:33 -07:00
Alejandro Murillo
7268eec14e Merge 2014-09-19 08:55:47 -07:00
Sandipan Razzaque
24028df237 8043740: Doubles with large exponents overflow to Infinity incorrectly
Modify test of exponent overflow to account for subsequent decrement.

Reviewed-by: darcy
2014-09-22 10:41:45 -07:00
Konstantin Shefov
72e770ad77 8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods
Reviewed-by: vlivanov, iignatyev, psandoz
2014-09-19 16:49:08 +04:00
Tobias Hartmann
37bfec7de8 8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.

Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:04:31 +02:00
Amy Lu
6f7645f43c 8058569: Update java/lang/invoke/lambda tests to eliminate dependency on sun.tools.jar.Main
Reviewed-by: dholmes, alanb
2014-09-17 23:27:59 -04:00
Vladimir Ivanov
21e3c51138 8058584: Ignore java/lang/invoke/LFCaching/LFGarbageCollectedTest until 8057020 is fixed
Reviewed-by: darcy, alanb
2014-09-16 23:04:13 +04:00
John Rose
da56d3f6d1 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
Claes Redestad
1dc4b5e2f8 8055251: Re-examine Integer.parseInt and Long.parseLong methods
Reviewed-by: alanb
2014-09-10 13:51:17 +01:00
Stefan Karlsson
a85101b24e 8057174: MemoryMXBean tests -- TEST FAILED: chunkSize: 6291456 is less than YOUNG_GEN_SIZE: 8388608
Reviewed-by: jbachorik, jwilhelm, dfuchs
2014-09-04 13:20:27 +02:00
Andrej Golovnin
fe519e6845 5043030: (reflect) unnecessary object creation in reflection
Use valueOf() instead of new for primitive wrappers.

Reviewed-by: jfranck
2014-09-09 12:04:31 +02:00
Joel Borggrén-Franck
febacf5319 8054987: (reflect) Add sharing of annotations between instances of Executable
Reviewed-by: darcy, plevart
2014-09-09 10:48:01 +02:00
Konstantin Shefov
881fa79cfe 8057719: Develop new tests for LambdaForm Reduction and Caching feature
Reviewed-by: iignatyev, vlivanov, psandoz
2014-09-12 22:33:09 +04:00
Konstantin Shefov
9e30841d28 8057707: TEST library enhancement in lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java
Reviewed-by: iignatyev, vlivanov
2014-09-12 22:33:09 +04:00
Jaroslav Bachorik
82dd03274a 8037082: java/lang/instrument/NativeMethodPrefixAgent.java failing
Reviewed-by: sla
2014-08-25 18:17:24 +02:00
Amy Lu
10489a3c6c 8055852: Add test/java/lang/Math/DoubleConsts.java and FloatConsts.java
Reviewed-by: mchung, darcy
2014-08-22 18:54:20 -07:00
Amy Lu
ff93fd2cce 8042003: Update java/lang/Math tests to eliminate dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts
Reviewed-by: mchung, darcy
2014-08-22 14:56:09 -07:00
Evgeniya Stepanova
cd181f5b09 8055393: [Testbug] Some tests are being executed and fail under profiles
Reviewed-by: mchung, dholmes
2014-08-21 22:07:14 -07:00
Staffan Larsen
cde8258b65 8055677: java/lang/instrument/RedefineBigClass.sh RetransformBigClass.sh start failing after JDK-8055012
Write dcmd output to separate files so it does not confuse the output.

Reviewed-by: ctornqvi, mgronlun
2014-08-21 13:09:28 +02:00
Stefan Karlsson
73e818fea9 8035939: java/lang/management/MemoryMXBean/MemoryManagement.java timed out on Linux-amd64
Reviewed-by: sla, brutisso, mgerdin
2014-08-19 12:18:09 +02:00