Konstantin Shefov
8f99c7eca7
8068416: LFGarbageCollectedTest.java fails with OOME: "GC overhead limit exceeded"
...
Reviewed-by: vlivanov
2015-06-05 13:14:36 +03:00
Alejandro Murillo
f77dadee42
Merge
2015-06-04 15:38:00 -07: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
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
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
b4ff25ecc8
8081536: (process) remove unreliable ScaleTest from ProcessHandle tests
...
Reviewed-by: darcy
2015-05-29 15:17:07 -04: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
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
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
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
Alejandro Murillo
d312bbb6ed
Merge
2015-05-21 17:11:55 -07: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
Igor Ignatyev
8f509d71e6
8055269: java/lang/invoke/MethodHandles/CatchExceptionTest.java fails intermittently
...
Reviewed-by: vlivanov
2015-05-19 20:04:29 +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
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
Jaroslav Bachorik
3e2a1f00e5
8078143: java/lang/management/ThreadMXBean/AllThreadIds.java fails intermittently
...
Reviewed-by: dholmes, martin
2015-05-14 11:41:11 +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
Katja Kantserova
549731dc2f
8078896: Add @modules as needed to the jdk_svc tests
...
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Alejandro Murillo
c185e9a5bf
Merge
2015-05-01 03:56:04 -07:00
Brian Burkhalter
30e8183ee8
8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
...
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.
Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Joe Darcy
86c109e149
8078334: Mark regression tests using randomness
...
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Roger Riggs
41b36c4295
8078826: Add diagnostic info for java/lang/Runtime/exec/LotsOfOutput.java fails intermittently
...
Add debugging output for diagnose intermittent failure
Reviewed-by: chegar, joehw
2015-04-28 09:28:24 -04:00
Calvin Cheung
cd6c611521
Merge
2015-04-17 14:37:44 -07:00
Shanliang Jiang
b705686a86
8042901: Allow com.sun.management to be in a different module to java.lang.management
...
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Vladimir Kozlov
652a289f75
Merge
2015-04-16 14:06:33 -07:00
Jaroslav Bachorik
1c76dd4fbc
8077327: ThreadStackTrace.java throws exception: BlockedThread expected to have BLOCKED but got RUNNABLE
...
Reviewed-by: sspitsyn, dfuchs
2015-04-15 09:38:45 +02:00
Vladimir Ivanov
4097393258
8057919: Class.getSimpleName() should work for non-JLS compliant class names
...
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Jaroslav Bachorik
77b5a0e6c0
8076050: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java fails intermittently
...
Reviewed-by: sla
2015-04-13 09:43:12 +02:00
Daniel D. Daugherty
f4060f076d
Merge
2015-05-16 13:22:40 -07: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
Jaroslav Bachorik
4d07222b01
8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
...
Reviewed-by: mchung
2015-04-03 15:39:38 +02:00
Harold Seigel
e86e812a29
Merge
2015-03-29 09:21:15 -04:00
Katja Kantserova
2d4a9917d5
8075820: java/lang/management/ThreadMXBean/FindDeadlocks.java should be unquarantined
...
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:39:48 +01:00
Roger Riggs
a056457b52
8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
...
Implement checking for NPE in Process implementation before other conditions
Reviewed-by: martin, chegar
2015-03-23 10:13:32 -04:00
Serguei Spitsyn
40807f0a8e
8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
...
Update java/lang/instrument/RedefineMethodInBacktrace.sh test to cover the hotspot fix
Reviewed-by: coleenp, dcubed
2015-03-20 01:59:08 -07:00
Joe Darcy
2596979bfe
8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
...
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Alejandro Murillo
d9955b1c00
Merge
2015-03-12 19:51:36 -07:00
Jaroslav Bachorik
1c5857f8dd
6712222: Race condition in java/lang/management/ThreadMXBean/AllThreadIds.java
...
Reviewed-by: dholmes, dfuchs
2015-03-10 09:37:56 +01:00
Christian Tornqvist
b520218d57
Merge
2015-03-02 05:32:14 -08:00
Vladimir Ivanov
284a867adc
8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
...
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Daniel Fuchs
fc084beb84
8072645: java.util.logging should use java.time to get more precise time stamps
...
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Joel Borggrén-Franck
cdf8c27ddb
8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
...
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Serguei Spitsyn
a3c0889315
8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
...
Add new test java/lang/instrument/ManyMethodsBenchmarkAgent.java
Reviewed-by: coleenp, dcubed
2015-02-25 01:02:04 -08:00
Jeremy Manson
d1225ad485
6588467: Add isDaemon() and getPriority() to ThreadInfo
...
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Aleksey Shipilev
e0e6ce31fd
8073479: Replace obj.getClass hacks with Objects.requireNonNull
...
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Mandy Chung
db4c181844
8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
...
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Alejandro Murillo
a68e87751a
Merge
2015-02-18 09:14:48 -08:00
Staffan Larsen
f9c63b42ed
8025636: Hide lambda proxy frames in stacktraces
...
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Alejandro Murillo
5621c4a866
Merge
2015-02-16 08:47:40 -08:00
Alejandro Murillo
f245610f7f
Merge
2015-03-10 14:20:06 -07:00
Roger Riggs
367a429ff4
8058464: (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
...
Add a class level spec for null arguments throwing NPE in ProcessBuilder
Reviewed-by: martin, alanb
2015-03-10 16:44:45 -04:00
Jaroslav Bachorik
103110ad85
8069286: Unexpected count of notification in LowMemoryTest
...
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Johannes Scheerer
b856eeaa98
8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
...
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Katja Kantserova
45a6ed8315
8068613: Wrong number of objects pending finalization start
...
Repeat until expected result, instead of fail after sleep()
Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d
8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
...
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Yumin Qi
7feb08a6b4
Merge
2015-01-27 20:03:45 -08:00
Alejandro Murillo
7f85449292
Merge
2015-01-26 17:00:39 -08:00
Serguei Spitsyn
3de0140a88
8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
...
Enable the test: java/lang/instrument/IsModifiableClassAgent.java
Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -08:00
Paul Sandoz
d58ef60b88
8071477: Better Spliterator implementations for String.chars() and String.codePoints()
...
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Roger Riggs
aa6b19f38e
8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
...
Simplify source files for Unix Process implementation
Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Alejandro Murillo
8a5ab5328c
Merge
2015-01-22 22:42:33 -08:00
Jesper Wilhelmsson
ed183aea22
Merge
2015-01-22 12:26:25 +01:00
Michail Chernov
c15946fb1a
8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
...
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.
Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Yumin Qi
09a7d945d4
Merge
2015-01-18 11:50:10 -08:00
Alejandro Murillo
fd925c52da
Merge
2015-01-15 19:23:49 -08:00
Michail Chernov
cd582fa380
8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
...
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.
Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04:00
Paul Sandoz
083d9a2b61
8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
...
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Jaroslav Bachorik
6a4272d45c
8062450: Timeout in LowMemoryTest.java
...
Reviewed-by: dholmes
2015-01-12 11:01:23 +01:00
Alejandro Murillo
800c634a8a
Merge
2015-01-13 08:58:07 -08:00
Vladimir Ivanov
3b573293b8
8067344: Adjust java/lang/invoke/LFCaching/LFGarbageCollectedTest.java for recent changes in java.lang.invoke
...
Reviewed-by: psandoz
2015-01-13 07:57:51 -08:00
Alexander Kulyakthin
53664dc976
8068242: Quarantine the test IsModifiableClassAgent.java
...
Quarantine the test
Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Alejandro Murillo
f507e301d3
Merge
2014-12-19 17:01:45 -08:00
Mandy Chung
cf23b1ea4b
8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
...
Reviewed-by: alanb, hseigel
2014-12-17 12:29:20 -08:00
Alejandro Murillo
346b210c83
Merge
2014-12-16 13:10:34 -08:00
Daniel Fuchs
e580eec37c
8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible
...
This test use the jrt:/ file system to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.
Reviewed-by: coffeys, dholmes, plevart
2014-12-16 17:32:56 +01:00
Roger Riggs
ce6c1fa0fa
8067486: Add diagnostics for Exception: Read from closed pipe hang
...
Reviewed-by: lancea
2014-12-15 17:36:20 -05:00
Yumin Qi
32d6037fb4
Merge
2014-12-12 20:51:03 -08:00
Alejandro Murillo
c88778bc25
Merge
2014-12-11 23:06:14 -08:00
Konstantin Shefov
cb8bd7875b
8066798: [TEST] Make java/lang/invoke/LFCaching tests use lib/testlibrary/jdk/testlibrary/TimeLimitedRunner.java to define their number of iterations
...
Reviewed-by: iignatyev, vlivanov
2014-12-11 15:10:35 +03:00
Vladimir Ivanov
e0eba41e1c
8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
...
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Yumin Qi
3dff2ab063
Merge
2014-12-08 00:25:10 -08:00
Vladimir Ivanov
ea89dad13c
8057020: LambdaForm caches should support eviction
...
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Jaroslav Bachorik
98da47c05b
8034263: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails intermittently
...
Reviewed-by: sla
2014-12-04 10:34:55 +01:00
Chris Hegarty
43842f6349
Merge
2014-12-03 19:28:35 +00:00
Jaroslav Bachorik
8fd2fa2d03
8064441: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
...
Reviewed-by: dholmes, egahlin, sspitsyn
2014-12-03 16:44:35 +01:00
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
Yumin Qi
114dfd5a23
Merge
2014-11-26 23:49:02 +00:00
Yumin Qi
2ae66a0f29
8038468: java/lang/instrument/ParallelTransformerLoader.sh fails with ClassCircularityError
...
Add check null for loader in transform to avoid when loading a class in callback handler for boot loader, CFLH set early enough to catch classes needed during class loading, i.e. sun.misc.URLClassPath$JarLoader$2 seen in the failure.
Reviewed-by: acorn, sspitsyn
2014-11-26 15:33:43 -08:00
Jesper Wilhelmsson
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