Commit Graph

703 Commits

Author SHA1 Message Date
Vladimir Kozlov
8cfd74f76a 8302976: C2 intrinsification of Float.floatToFloat16 and Float.float16ToFloat yields different result than the interpreter
Reviewed-by: sviswanathan, jbhateja, vlivanov
2023-03-09 03:26:38 +00:00
Joe Darcy
1bb39a95eb 8302027: Port fdlibm trig functions (sin, cos, tan) to Java
Reviewed-by: bpb
2023-03-04 23:52:03 +00:00
Alan Bateman
629a9053f0 8303242: ThreadMXBean issues with virtual threads
Reviewed-by: mchung, pchilanomate
2023-03-04 07:33:33 +00:00
Raffaello Giulietti
5b2e2e4695 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
Reviewed-by: rriggs, alanb
2023-03-03 20:51:13 +00:00
Roger Riggs
379f2061aa 8303198: System and Runtime.exit() resilience to logging errors
Reviewed-by: dholmes, jpai, alanb
2023-03-03 16:14:45 +00:00
Joe Darcy
61e8867591 8302040: Port fdlibm sqrt to Java
Reviewed-by: bpb, thartmann, aturbanov
2023-02-28 18:33:53 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Eirik Bjorsnos
17e3769ed7 8302871: Speed up StringLatin1.regionMatchesCI
Reviewed-by: redestad, martin, alanb
2023-02-25 07:48:03 +00:00
Joe Darcy
fcaf871408 8302028: Port fdlibm atan2 to Java
Reviewed-by: bpb
2023-02-22 22:49:59 +00:00
Eirik Bjorsnos
ef1f7bd3b8 8302877: Speed up latin1 case conversions
Reviewed-by: naoto, redestad
2023-02-21 20:54:36 +00:00
Joe Darcy
dfce4e1943 8302800: Augment NaN handling tests of FDLIBM methods
Reviewed-by: bpb
2023-02-21 18:31:22 +00:00
Roger Riggs
10b4cc9eb4 8301627: System.exit and Runtime.exit debug logging
Reviewed-by: alanb, chegar
2023-02-21 15:37:08 +00:00
Joe Darcy
655a71277d 8301444: Port fdlibm hyperbolic transcendental functions to Java
Reviewed-by: bpb
2023-02-17 03:22:06 +00:00
Joe Darcy
3ba156082b 8302026: Port fdlibm inverse trig functions (asin, acos, atan) to Java
Reviewed-by: bpb
2023-02-15 22:16:30 +00:00
Mandy Chung
9c202a5a8f 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Reviewed-by: alanb, psandoz
2023-02-14 21:15:14 +00:00
Tagir F. Valeev
94e7cc8587 8301226: Add clamp() methods to java.lang.Math and to StrictMath
Reviewed-by: qamai, darcy
2023-02-14 05:39:07 +00:00
Varada M
cb8107303e 8300139: [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
Reviewed-by: dholmes, stuefe
2023-02-13 11:12:36 +00:00
Joe Darcy
8049e59a5c 8301833: Add wide-ranging tests for FDLIBM porting
Reviewed-by: bpb, alanb
2023-02-12 17:45:55 +00:00
Joe Darcy
919a6da2a7 8301202: Port fdlibm log to Java
Reviewed-by: bpb
2023-02-11 02:15:46 +00:00
Mandy Chung
c8cc7b67db 8301704: Shorten the number of GCs in UnloadingTest.java to verify a class loader not being unloaded
Reviewed-by: rriggs
2023-02-09 00:38:08 +00:00
Alan Bateman
ecf21a9a24 8301767: Convert virtual thread tests to JUnit
Reviewed-by: cstein, lancea, jpai
2023-02-08 14:56:28 +00:00
Joe Darcy
34493248c0 8301396: Port fdlibm expm1 to Java
Reviewed-by: bpb
2023-02-04 00:48:26 +00:00
Joe Darcy
ee0f5b5ed0 8301392: Port fdlibm log1p to Java
Reviewed-by: bpb
2023-02-02 20:36:34 +00:00
Joe Darcy
63bb2ce8de 8301205: Port fdlibm log10 to Java
Reviewed-by: bpb
2023-01-30 20:33:01 +00:00
Mandy Chung
7aaf76c529 8300924: Method::invoke throws wrong exception type when passing wrong number of arguments to method with 4 or more parameters
Reviewed-by: rriggs
2023-01-27 17:13:54 +00:00
Mandy Chung
86fed79670 8300693: Lower the compile threshold and reduce the iterations of warmup loop in VarHandles tests
Reviewed-by: jvernee, dholmes, psandoz
2023-01-23 17:58:53 +00:00
Claes Redestad
e37078f5bb 8282664: Unroll by hand StringUTF16 and StringLatin1 polynomial hash loops
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: vlivanov, sviswanathan, luhenry
2023-01-17 21:06:22 +00:00
Alan Bateman
fb147aaea1 8300228: ModuleReader.find on exploded module throws if resource name maps to invalid file path
Reviewed-by: jpai, chegar, cstein
2023-01-17 16:25:11 +00:00
Mandy Chung
a86b6f6fde 8299183: Invokers.checkExactType passes parameters to create WMTE in opposite order
Reviewed-by: iris, jpai
2023-01-10 17:05:33 +00:00
Alan Bateman
11fd651ab1 8298875: A module requiring "java.base" with flags ACC_SYNTHETIC should be rejected
Reviewed-by: jpai, mchung
2022-12-27 07:51:04 +00:00
Jesper Wilhelmsson
c5a4a7a679 Merge 2022-12-20 11:40:56 +00:00
Daniel D. Daugherty
f07acfc166 8298699: java/lang/reflect/IllegalArgumentsTest.java times out with slowdebug bits
Reviewed-by: iris
2022-12-19 23:08:56 +00:00
Alan Bateman
2c69c41d48 8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and threw OutOfMemoryError
Reviewed-by: eosterlund
2022-12-19 18:06:19 +00:00
Sergey Bylokhov
2bb727c4ea 8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86
Reviewed-by: jpai, phh
2022-12-16 00:43:56 +00:00
Alan Bateman
d35e840024 8297295: Remove ThreadGroup.allowThreadSuspension
Reviewed-by: jpai, smarks, chegar, darcy
2022-12-08 18:17:58 +00:00
Jaikiran Pai
2f426cd68b 8298375: Bad copyright header in test/jdk/java/lang/Character/Supplementary.java
Reviewed-by: alanb
2022-12-08 11:02:21 +00:00
Sergey Tsypanov
b9346e149e 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check
Reviewed-by: rriggs
2022-12-08 10:21:56 +00:00
Alan Bateman
1166c8e2c0 8296896: Change virtual Thread.yield to use external submit
Reviewed-by: jpai, rpressler
2022-12-08 07:37:32 +00:00
Daniel Jeliński
27bbe7be2c 8297976: Remove sun.net.ProgressMonitor and related classes
8240275: Occasional errors in HttpURLConnection due to race with GC

Reviewed-by: jpai, dfuchs, michaelm
2022-12-07 08:56:10 +00:00
Yude Lin
f5ad515db0 8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1
Reviewed-by: tschatzl, ayang
2022-12-06 07:16:27 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Daniel D. Daugherty
6e5470525d 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest
8297367: disable TestRedirectLinks.java in slowdebug mode
8297369: disable Fuzz.java in slowdebug mode

Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik
2022-12-02 22:29:21 +00:00
Jie Fu
11ba7591df 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview
Reviewed-by: darcy
2022-12-02 06:04:10 +00:00
Joe Darcy
770ff5a812 8297215: Update libs tests to use @enablePreview
Reviewed-by: alanb, sspitsyn
2022-12-01 20:38:16 +00:00
Jaikiran Pai
0ce182723b 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: alanb, lancea, dfuchs
2022-11-30 00:37:31 +00:00
Ryan Ernst
50f9043c69 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread
Reviewed-by: chegar, alanb
2022-11-26 20:04:59 +00:00
Claes Redestad
87d1097d9b 8297530: java.lang.IllegalArgumentException: Negative length on strings concatenation
Reviewed-by: enikitin, alanb
2022-11-24 17:40:30 +00:00
Matthias Baesken
bcc6b12b71 8296945: PublicMethodsTest is slow due to dependency verification with debug builds
Reviewed-by: mchung, thartmann
2022-11-21 07:41:11 +00:00
Joe Darcy
6fd1442123 8296743: Tighten Class.getModifiers spec for array classes
Reviewed-by: rriggs, mchung, heidinga
2022-11-18 21:51:55 +00:00
Roger Riggs
9c39932672 8294899: Process.waitFor() throws IllegalThreadStateException when a process on Windows returns an exit code of 259
Reviewed-by: alanb, jpai
2022-11-14 14:17:46 +00:00
Adam Sotona
e802b124b7 8296196: Class.getEnumConstants() throws undocumented ClassCastException and NullPointerException
Reviewed-by: darcy
2022-11-10 06:20:57 +00:00
Smita Kamath
07946aa49c 8289552: Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: kvn, sviswanathan, jbhateja
2022-10-11 17:06:19 +00:00
Alex Menkov
c1166a304d 8289561: java/lang/instrument/NativeMethodPrefixAgent.java fails with "ERROR: Injection failure: java.lang.UnsupportedOperationException: Records requires ASM8"
Reviewed-by: lmesnik, cjplummer, sspitsyn
2022-10-07 17:13:30 +00:00
Alan Bateman
1fda8421b9 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system
Reviewed-by: sspitsyn, cjplummer
2022-10-07 08:14:43 +00:00
Alan Bateman
0ad6803ac2 8293810: Remove granting of RuntimePermission("stopThread") from tests
Reviewed-by: dfuchs, mullan, mchung, chegar
2022-10-07 06:15:38 +00:00
Alan Bateman
ad7b7d40ce 8294697: java/lang/Thread/virtual/ThreadAPI.testGetStackTrace2 failed with non-empty stack trace
Reviewed-by: dfuchs, jpai
2022-10-06 07:59:43 +00:00
Alan Bateman
b8f9a915a2 8293940: Some tests for virtual threads take too long
Reviewed-by: dfuchs
2022-09-30 16:41:33 +00:00
Alan Bateman
1abf971b93 8249627: Degrade Thread.suspend and Thread.resume
Reviewed-by: cjplummer, sspitsyn, dholmes, jpai
2022-09-27 11:43:59 +00:00
Roger Riggs
5ae6bc23e8 8234262: Unmask SIGQUIT in a child process
Reviewed-by: bpb, dholmes, vtewari, stuefe, alanb
2022-09-26 15:55:22 +00:00
Aleksey Shipilev
0b56b82243 8293991: java/lang/Float/Binary16ConversionNaN.java fails on silent NaN conversions
Reviewed-by: darcy
2022-09-23 09:03:18 +00:00
Alan Bateman
acd5bcfc88 8289610: Degrade Thread.stop
Reviewed-by: rriggs, cjplummer, jpai, mchung, prr, mullan
2022-09-23 07:55:29 +00:00
Adam Sotona
0fa7d9e8cd 8278863: Add method ClassDesc::ofInternalName
Reviewed-by: jvernee
2022-09-20 07:50:03 +00:00
Joe Darcy
1dc5039fed 8293626: AccessFlag::locations(ClassFileFormatVersion cffv) does not throw NPEx when parameter is null
8293627: AccessFlag::locations(ClassFileFormatVersion cffv) and locations() results are inconsistent

Reviewed-by: mchung
2022-09-13 16:51:01 +00:00
Roger Riggs
0c61bf109f 8293282: LoadLibraryUnloadTest.java fails with "Too few cleared WeakReferences"
Reviewed-by: mchung, jpai
2022-09-12 13:26:15 +00:00
Alan Bateman
68da02c7b5 8292240: CarrierThread.blocking not reset when spare not activated
Reviewed-by: dfuchs
2022-09-10 06:15:48 +00:00
Vicente Romero
46e6e41b9a 8293051: Further refactor javac after removal of -source/-target/--release 7
Reviewed-by: darcy, mcimadamore
2022-09-08 14:36:19 +00:00
Bill Huang
032be168b5 8292066: Convert TestInputArgument.sh and TestSystemLoadAvg.sh to java version
Reviewed-by: lmesnik, amenkov
2022-09-01 21:29:24 +00:00
Joe Darcy
2d18dda3f2 8173605: Remove support for source and target 1.7 option in javac
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Roger Riggs
2d10d4f54e 8291651: CleanerTest.java fails with "Cleanable was cleaned"
Reviewed-by: jpai, dfuchs
2022-09-01 14:02:06 +00:00
Aleksey Shipilev
6e6202c14d 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures
Reviewed-by: yadongwang, fyang, vkempik, psandoz
2022-09-01 09:22:56 +00:00
Roger Riggs
4e457acda0 8291760: PipelineLeaksFD.java still fails: More or fewer pipes than expected
Reviewed-by: jpai, alanb
2022-08-26 19:06:29 +00:00
Daniel D. Daugherty
8a0c3e53d5 8292261: adjust timeouts in JLI GetObjectSizeIntrinsicsTest.java
Reviewed-by: cjplummer
2022-08-22 19:29:58 +00:00
Aleksey Shipilev
e8bc87956a 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases
Reviewed-by: psandoz
2022-08-17 18:13:49 +00:00
Ao Qi
e61f6fc394 8292362: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on some platforms
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb
2022-08-17 08:32:19 +00:00
Joe Darcy
e44e3f0c19 8289106: Add model of class file versions to core reflection
Reviewed-by: rriggs
2022-08-16 18:43:58 +00:00
Jaikiran Pai
4cc6cb9d9d 8290041: ModuleDescriptor.hashCode is inconsistent
Reviewed-by: alanb
2022-08-16 08:31:36 +00:00
Bill Huang
7ea9ba1f6c 8292064: Convert java/lang/management/MemoryMXBean shell tests to java version
Reviewed-by: lmesnik, sspitsyn
2022-08-11 14:34:01 +00:00
Joe Darcy
68af7c1365 8291734: Return accurate ACC_SUPER access flag for classes
Reviewed-by: mchung
2022-08-10 19:55:57 +00:00
David Schlosnagle
9825c33560 8291641: Optimize StackTraceElement.toString()
Reviewed-by: rriggs, mchung
2022-08-10 16:22:19 +00:00
David Holmes
87cda21c5d Merge 2022-08-05 22:35:24 +00:00
Alan Bateman
5963300c0c 8290562: ThreadMXBean.getThread{Cpu,User}Time fails with -XX:-VMContinuations
Reviewed-by: sspitsyn, kevinw, mchung
2022-08-05 07:39:43 +00:00
Roger Riggs
226b8e680a 8290885: java/lang/ProcessBuilder/PipelineLeaksFD.java fail: More or fewer pipes than expected
Reviewed-by: bpb, naoto, jpai
2022-08-01 13:44:21 +00:00
Roger Riggs
c1040897cd 8290848: LoadLibraryUnload.java still fails with "Too few cleared WeakReferences"
Reviewed-by: mchung, jpai
2022-07-27 14:47:17 +00:00
Joe Darcy
7318b22209 8289551: Conversions between bit representations of half precision values and floats
Reviewed-by: psandoz, jrose
2022-07-26 16:54:32 +00:00
Roger Riggs
620c8a045f 8289643: File descriptor leak with ProcessBuilder.startPipeline
Reviewed-by: alanb, jpai, lancea
2022-07-21 18:57:23 +00:00
Ryan Ernst
80bd8c3549 8290504: Close streams returned by ModuleReader::list
Reviewed-by: mchung, chegar
2022-07-21 18:01:25 +00:00
Roger Riggs
e02627ca0a 8290397: LoadLibraryUnload.java failed with "Too few cleared WeakReferences"
Reviewed-by: mchung
2022-07-19 11:51:28 +00:00
Roger Riggs
0184f46bdf 8289919: [test] LoadLibraryUnloadTest.java failed with "Failed to unload native library"
Reviewed-by: mchung
2022-07-15 18:27:44 +00:00
Alan Bateman
f528124f57 8289284: jdk.tracePinnedThreads output confusing when pinned due to native frame
Reviewed-by: jpai, mchung
2022-07-13 15:03:37 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Xue-Lei Andrew Fan
82a8bd7e92 8287596: Reorg jdk.test.lib.util.ForceGC
Reviewed-by: rriggs
2022-07-06 14:23:44 +00:00
Matthias Baesken
0dff3276e8 8289569: [test] java/lang/ProcessBuilder/Basic.java fails on Alpine/musl
Reviewed-by: clanger
Backport-of: a8edd7a12f
2022-07-04 14:45:48 +00:00
Matthias Baesken
a8edd7a12f 8289569: [test] java/lang/ProcessBuilder/Basic.java fails on Alpine/musl
Reviewed-by: clanger, alanb, stuefe
2022-07-04 08:56:35 +00:00
Harold Seigel
09b4032f8b 8289534: Change 'uncomplicated' hotspot runtime options
Reviewed-by: coleenp, dholmes
2022-07-01 14:31:30 +00:00
Jesper Wilhelmsson
d4b040f42d Merge 2022-06-27 18:25:53 +00:00
Alan Bateman
7e13cdb799 8289079: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed with "RuntimeException: Test failed"
Reviewed-by: dholmes, mcimadamore
2022-06-27 10:22:04 +00:00
Joe Darcy
de7467146f 8266670: Better modeling of access flags in core reflection
Reviewed-by: mchung, rriggs, asotona
2022-06-25 19:09:43 +00:00
Naoto Sato
a716f7934b 8288589: Files.readString ignores encoding errors for UTF-16
Backport-of: 2728770e3d
2022-06-23 17:07:58 +00:00
Naoto Sato
2728770e3d 8288589: Files.readString ignores encoding errors for UTF-16
Reviewed-by: rriggs, iris, alanb
2022-06-23 15:49:43 +00:00