Compare commits

...

3388 Commits

Author SHA1 Message Date
Jonathan Gibbons
6f492e8005 8309686: inconsistent URL for https://www.unicode.org/reports/tr35
Reviewed-by: naoto
2023-06-08 22:16:42 +00:00
Stefan Karlsson
c4e6542514 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: aboldtch, dcubed
2023-06-08 19:41:26 +00:00
Jonathan Gibbons
34f0a6ec6a 8305593: Add @spec tags in java.desktop
Reviewed-by: prr
2023-06-08 19:00:19 +00:00
Jim Laskey
0be39054a6 8309595: Allow javadoc to process unnamed classes
Reviewed-by: hannesw
2023-06-08 17:51:11 +00:00
Alan Bateman
b2a5271e74 8309196: Remove Thread.countStackFrames
Reviewed-by: rriggs, mchung, dholmes, jpai, iris
2023-06-08 17:28:04 +00:00
Tom Rodriguez
bb966827ac 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: dnsimon, kvn
2023-06-08 16:11:33 +00:00
Joe Darcy
5a706fb403 8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22
8306586: Add source 22 and target 22 to javac

Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
2023-06-08 16:02:21 +00:00
Stefan Karlsson
bb377b2673 8306841: Generational ZGC: NMT reports Java heap size larger than max heap size
Reviewed-by: eosterlund, stuefe
2023-06-08 14:06:27 +00:00
Chen Liang
ac3ce2bf75 8304425: ClassHierarchyResolver from Reflection
Reviewed-by: asotona
2023-06-08 07:29:56 +00:00
Aggelos Biboudis
79a4ac791c 8309235: Unnamed Variables (_) can't be used in JShell
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: asotona
2023-06-08 07:25:25 +00:00
Nagata-Haruhito
9d64a9d220 8306431: File.listRoots method description should be re-examined
Reviewed-by: bpb, alanb
2023-06-08 07:03:29 +00:00
Serguei Spitsyn
5af9d2a0ac 8309602: update JVMTI history table for jdk 21
Reviewed-by: alanb, iris
2023-06-08 04:04:05 +00:00
David Holmes
6646272a05 8308764: Reporting errors from create_vm may crash
Reviewed-by: stuefe, coleenp, kbarrett
2023-06-08 03:30:11 +00:00
Sergey Bylokhov
73dd03cc5a 8308152: PropertyDescriptor should work with overridden generic getter method
Reviewed-by: azvegint
2023-06-08 02:51:36 +00:00
Martin Balao
760cb04a2e 8309569: sun/security/pkcs11/Signature/TestRSAKeyLength.java fails after JDK-8301553
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Reviewed-by: valeriep
2023-06-08 01:24:26 +00:00
Mandy Chung
e8a59843f2 8309630: Clean up tests that reference deploy modules
Reviewed-by: bchristi
2023-06-08 01:00:44 +00:00
Raffaello Giulietti
90027ff204 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()
Reviewed-by: rriggs
2023-06-07 21:39:53 +00:00
Alexey Ivanov
ea41907396 8297923: java.awt.ScrollPane broken after multiple scroll up/down
Reviewed-by: honkar, prr, serb
2023-06-07 21:18:50 +00:00
Yudi Zheng
99749c597b 8309562: [JVMCI] Export symbols used by VirtualThread notifyJvmti intrinsics to JVMCI compilers.
Reviewed-by: dnsimon, kvn
2023-06-07 21:18:03 +00:00
Eric Nothum
92beb85510 8309474: [IR Framework] Wrong @ForceCompile link in README
Reviewed-by: chagedorn, thartmann
2023-06-07 20:16:51 +00:00
Daniel D. Daugherty
6402004852 8256302: releasing oopStorage when deflating allows for faster deleting
Reviewed-by: dholmes, rehn, coleenp
2023-06-07 19:59:13 +00:00
Mandy Chung
02bce0b145 8309532: java/lang/Class/getDeclaredField/FieldSetAccessibleTest should filter modules that depend on JVMCI
Reviewed-by: alanb, dfuchs
2023-06-07 18:44:27 +00:00
Joe Darcy
4ffc8cc216 8309574: Improve core reflection tests for JEP 445
Reviewed-by: mchung
2023-06-07 18:11:56 +00:00
Chris Plummer
e3f3ac0825 8309420: com/sun/jdi/StepTest.java fails with virtual thread wrapper
Reviewed-by: sspitsyn, amenkov
2023-06-07 18:03:49 +00:00
Chris Plummer
c38abbfcaa 8309510: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java no longer needs to override startUp() method
Reviewed-by: sspitsyn, amenkov
2023-06-07 17:57:23 +00:00
Joe Darcy
c24b0bada2 8309503: Improve javax.lang.model tests for JEP 445
Reviewed-by: jlahoda, jjg, jlaskey
2023-06-07 17:55:47 +00:00
Chris Plummer
a54f4d4ab9 8309509: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java fails with virtual test thread factory
Reviewed-by: sspitsyn, amenkov
2023-06-07 17:49:05 +00:00
Daniel D. Daugherty
33bb64f24f 8309614: [BACKOUT] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: azvegint
2023-06-07 15:17:43 +00:00
JoKern65
5b147eb5e4 8308288: Fix xlc17 clang warnings and build errors in hotspot
Reviewed-by: goetz, mbaesken
2023-06-07 13:44:42 +00:00
JoKern65
89f5bacaf6 8309225: Fix xlc17 clang 15 warnings in security and servicability
Reviewed-by: goetz, mdoerr, clanger
2023-06-07 13:42:42 +00:00
JoKern65
6eddbe26dd 8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
2023-06-07 13:42:03 +00:00
Serguei Spitsyn
177e8327d6 8307153: JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: amenkov, cjplummer
2023-06-07 13:16:40 +00:00
Aleksey Shipilev
f0236edfba 8309543: Micro-optimize x86 assembler UseCondCardMark
Reviewed-by: kvn, mdoerr
2023-06-07 13:11:32 +00:00
Alexander Zvegintsev
9d7bf5329e 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots
Reviewed-by: prr, kizune, psadhukhan
2023-06-07 13:08:11 +00:00
Frederic Thevenet
a1ab377d99 8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Reviewed-by: stuefe, mgronlun
2023-06-07 12:58:57 +00:00
Jorn Vernee
c49129f545 8308445: Linker should check that capture state segment is big enough
Reviewed-by: mcimadamore
2023-06-07 12:25:28 +00:00
Jorn Vernee
fa791119f0 8308031: Linkers should reject unpromoted variadic parameters
Reviewed-by: mcimadamore
2023-06-07 12:14:55 +00:00
Jim Laskey
16ebf47fe3 8309594: Cleanup naming in JavacParser related to unnamed classes
Reviewed-by: jlahoda
2023-06-07 11:54:50 +00:00
Stefan Karlsson
5722903d53 8307374: Add a JFR event for tracking RSS
Reviewed-by: stuefe, rcastanedalo
2023-06-07 11:41:20 +00:00
Eric Nothum
1de40f360f 8302145: ddepth should be uint in PhaseIdealLoop::register_node()
Reviewed-by: chagedorn, thartmann
2023-06-07 11:39:31 +00:00
Jim Laskey
a6726b66db 8309568: javac crashes attempting to -Xprint on a class file of an unnamed class
Reviewed-by: darcy, jlahoda
2023-06-07 11:34:23 +00:00
Boris Ulasevich
8cdd95e8a2 8305959: x86: Improve itable_stub
Reviewed-by: phh, shade, aph
2023-06-07 11:27:52 +00:00
Matthias Baesken
9233dcc838 8309297: Adjust ShenandoahHeap print_heap_regions_on
Reviewed-by: ysr, mdoerr
2023-06-07 10:51:10 +00:00
Dhamoder Nalla
749d480193 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Reviewed-by: dfuchs
2023-06-07 09:50:08 +00:00
Jaikiran Pai
3ccb3c0e09 8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
Reviewed-by: djelinski, dfuchs
2023-06-07 09:44:14 +00:00
Serguei Spitsyn
a25b7b8b55 8295976: GetThreadListStackTraces returns wrong state for blocked VirtualThread
Reviewed-by: cjplummer, amenkov
2023-06-07 07:51:37 +00:00
Daniel Jeliński
fadcd65018 8309527: Improve test proxy performance
Reviewed-by: dfuchs, jpai
2023-06-07 07:51:05 +00:00
Christian Hagedorn
0ed4af76c0 8309472: IGV: Add dump_igv(custom_name) for improved debugging
Reviewed-by: roland, thartmann
2023-06-07 07:38:21 +00:00
Alan Bateman
f1c7afcc3f 8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)

Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: psandoz, dfuchs, mchung
2023-06-07 06:41:09 +00:00
Ichiroh Takiguchi
a08c5cb3f1 8307953: [AIX] C locale's font setting was changed by JEP 400
Reviewed-by: naoto, prr
2023-06-06 22:20:03 +00:00
Daniel D. Daugherty
0ceb43227d 8309570: ProblemList sun/security/pkcs11/Signature/TestRSAKeyLength.java
Reviewed-by: jjg, darcy
2023-06-06 22:08:43 +00:00
Chris Plummer
65bdbc7a8c 8309396: com/sun/jdi/JdbMethodExitTest.java fails with virtual threads due to a bug in determining the main thread id
Reviewed-by: amenkov, sspitsyn
2023-06-06 21:57:18 +00:00
Martin Balao
4a75fd462c 8301553: Support Password-Based Cryptography in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep
2023-06-06 19:39:34 +00:00
Hannes Wallnöfer
0a4f9ad637 8292157: Incorrect error: "block element not allowed within inline element <a>"
Reviewed-by: jjg
2023-06-06 19:33:35 +00:00
Chris Plummer
16ab7bfe22 8309505: com/sun/jdi/MethodEntryExitEvents.java due to finding wrong main thread
Reviewed-by: amenkov, sspitsyn
2023-06-06 18:34:18 +00:00
Joe Darcy
d82436e4e3 8295071: Spec Clarification : ClassFileFormatVersion: System property java.class.version | Java class format version number
Reviewed-by: iris, alanb, rriggs
2023-06-06 18:33:42 +00:00
Chris Plummer
571fbdc311 8309506: com/sun/jdi/MultiBreakpointsTest.java fails with virtual test thread factory
Reviewed-by: amenkov, sspitsyn
2023-06-06 18:17:47 +00:00
Joe Darcy
7d1147ee5c 8309554: Update descriptions in SourceVersion
Reviewed-by: jlaskey, jjg, rriggs
2023-06-06 18:16:44 +00:00
Stuart Marks
9526190863 8307840: SequencedMap view method specification and implementation adjustments
Reviewed-by: darcy, alanb
2023-06-06 17:02:32 +00:00
Mandy Chung
74dc50b7f0 8301721: lookup.findSpecial fails on Object method call from interface
Reviewed-by: alanb
2023-06-06 16:19:46 +00:00
Doug Simon
0f0fda7abc 8309542: compiler/jvmci/TestEnableJVMCIProduct.java fails with "JVMCI compiler 'graal' specified by jvmci.Compiler not found"
Reviewed-by: kvn, never
2023-06-06 16:12:37 +00:00
Chen Liang
38cef2adbd 8309413: Improve the performance of MethodTypeDesc::descriptorString
8304932: MethodTypeDescImpl can be mutated by argument passed to MethodTypeDesc.of

Reviewed-by: mchung
2023-06-06 15:56:36 +00:00
Tom Rodriguez
7edd0540e0 8309501: Remove workaround in bin/idea.sh for non standard JVMCI file layout
Reviewed-by: dnsimon, erikj
2023-06-06 15:53:54 +00:00
Brian Burkhalter
9188142698 8309216: Cast from jchar* to char* in test java/io/GetXSpace.java
Reviewed-by: rriggs, naoto
2023-06-06 15:15:32 +00:00
Brian Burkhalter
d709c25cbf 8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists
Reviewed-by: alanb
2023-06-06 15:14:57 +00:00
Jim Laskey
ca6f07f9ab 8309534: @JEP(number=430, title="String Templates") should use default status
Reviewed-by: alanb
2023-06-06 13:01:04 +00:00
Rudi Horn
8f0839bc55 8308748: JNU_GetStringPlatformChars may write to String's internal memory array
Reviewed-by: dholmes, rriggs, alanb
2023-06-06 12:58:24 +00:00
Pavel Rappo
01455a07a7 8304878: ConcurrentModificationException in javadoc tool
Reviewed-by: jjg
2023-06-06 10:06:52 +00:00
Gui Cao
7d25bf7722 8309419: RISC-V: Relax register constraint for AddReductionVF & AddReductionVD nodes
Reviewed-by: fyang, luhenry, yzhu
2023-06-06 09:19:27 +00:00
Dingli Zhang
5146a58249 8309418: RISC-V: Make use of vl1r.v & vfabs.v pseudo-instructions where appropriate
Reviewed-by: fyang, luhenry, gcao
2023-06-06 09:07:39 +00:00
Maxim Kartashev
41bf2ad159 8308875: java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java failed with 'Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null'
Reviewed-by: avu, prr
2023-06-06 08:26:01 +00:00
quadhier
a7a0913005 8309346: Extend hs_err logging for all VM operations deriving from VM_GC_Operation
Reviewed-by: tschatzl, stefank
2023-06-06 07:29:25 +00:00
Matthias Baesken
3b85f84f02 8309340: Provide sctpHandleSocketErrorWithMessage
Reviewed-by: clanger
2023-06-06 07:08:10 +00:00
Alan Bateman
2e9eff5641 8309406: Change jdk.trackAllThreads to default to true
Reviewed-by: rpressler, mchung, cjplummer
2023-06-06 06:01:38 +00:00
Stuart Marks
6d155a47f1 8308167: SequencedMap::firstEntry throws NPE when first entry has null key or value
Reviewed-by: bchristi
2023-06-06 00:19:50 +00:00
Serguei Spitsyn
4b1534989b 8304438: jcmd JVMTI.agent_load should obey EnableDynamicAgentLoading
Reviewed-by: cjplummer, alanb, amenkov
2023-06-06 00:00:11 +00:00
Doug Simon
b3c9d6785e 8309136: [JVMCI] add -XX:+UseGraalJIT flag
Reviewed-by: dholmes, kvn
2023-06-05 20:47:50 +00:00
Jim Laskey
98b53c06cf 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Calvin Cheung
e970ddbc60 8309170: CDS archive heap is always relocated for larger heap
Reviewed-by: stuefe, iklam
2023-06-05 18:33:54 +00:00
Adam Sotona
4b8922f576 8308842: Consolidate exceptions thrown from Class-File API
Reviewed-by: briangoetz
2023-06-05 18:25:51 +00:00
Joe Darcy
2b38343e4d 8309416: Misstatement in semantics of methods in javax.lang.model.ElementFilter
Reviewed-by: prappo
2023-06-05 16:36:19 +00:00
Alexander Zvegintsev
73352b68c4 8280994: [XWayland] Drag and Drop does not work in java -> wayland app direction
Reviewed-by: prr, psadhukhan
2023-06-05 16:34:45 +00:00
Antonios Printezis
5cd8af7622 8308726: RISC-V: avoid unnecessary slli in the vectorized arraycopy stubs for bytes
Reviewed-by: fyang, luhenry
2023-06-05 15:40:10 +00:00
Antonios Printezis
80232b7e75 8308969: make test-prebuilt doesn't return the correct exit code
Reviewed-by: erikj
2023-06-05 15:35:42 +00:00
changpeng1997
6d511f1376 8309129: AArch64: guarantee(T != T2S) failed: "incorrect arrangement" after JDK-8307795
Reviewed-by: thartmann, xgong, eastigeevich
2023-06-05 11:32:53 +00:00
Jan Lahoda
9be5769a68 8291966: SwitchBootstrap.typeSwitch could be faster
Reviewed-by: asotona
2023-06-05 10:48:25 +00:00
Hannes Wallnöfer
db0857ddd8 8306578: Report error if no label given in @see and {@link} when no default is available
Reviewed-by: jjg
2023-06-05 09:39:19 +00:00
Prasanta Sadhukhan
8c9d21e519 8296920: Regression Test DialogOrient.java fails on MacOS
Reviewed-by: honkar, dnguyen, achung, jdv
2023-06-05 09:15:13 +00:00
Christoph Langer
ac41c03003 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Reviewed-by: mbaesken, weijun
2023-06-05 08:36:47 +00:00
David Leopoldseder
11fb5b2209 8309104: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement test asserts wrong values with Graal
Reviewed-by: dnsimon, thartmann
2023-06-05 07:54:42 +00:00
Vladimir Kempik
a02d8001fa 8309405: RISC-V: is_deopt may produce unaligned memory read
Reviewed-by: fyang, luhenry
2023-06-05 07:30:28 +00:00
Roberto Castañeda Lozano
3fa776d66a 8302673: [SuperWord] MaxReduction and MinReduction should vectorize for int
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: epeter, kvn
2023-06-05 07:08:33 +00:00
Emanuel Peter
22a9a86be0 8309268: C2: "assert(in_bb(n)) failed: must be" after JDK-8306302
Reviewed-by: rcastanedalo, kvn, thartmann
2023-06-05 06:43:13 +00:00
Jan Lahoda
b6c9232b8b 8305225: A service broken error despite annotation processor generating it if directives listed
Reviewed-by: asotona
2023-06-05 06:30:44 +00:00
Jan Lahoda
05fb6c6648 8309336: Incorrect switch in enum not reported properly
Reviewed-by: vromero
2023-06-05 06:25:00 +00:00
Gui Cao
08c91c2212 8309332: RISC-V: Improve PrintOptoAssembly output of vector nodes
Reviewed-by: yzhu, fyang
2023-06-05 00:18:51 +00:00
Chris Plummer
ecb17532dc 8309334: ProcessTools.main() does not properly set thread names when using the virtual thread wrapper
Reviewed-by: amenkov, lmesnik, sspitsyn, alanb
2023-06-04 18:18:11 +00:00
Jaikiran Pai
ac1597bcc7 8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Reviewed-by: dfuchs
2023-06-04 09:48:11 +00:00
Chris Plummer
fdb5893bf0 8309391: Remove non-failing tests from test/jdk/ProblemList-Virtual.txt
Reviewed-by: dcubed, lmesnik
2023-06-03 20:26:46 +00:00
Guoxiong Li
6edd786bf6 8309265: Serial: Remove the code related to GC overheap limit
Reviewed-by: ayang, tschatzl
2023-06-03 03:45:21 +00:00
Dingli Zhang
61bb014a86 8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V
Reviewed-by: luhenry, yzhu, fyang, fjiang
2023-06-03 02:27:18 +00:00
Alex Menkov
62c935d4fa 8308978: regression with a deadlock involving FollowReferences
Reviewed-by: sspitsyn, lmesnik
2023-06-02 22:02:04 +00:00
Joe Wang
aff9cea054 8303530: Redefine JAXP Configuration File
Reviewed-by: naoto, lancea, alanb, smarks
2023-06-02 20:09:44 +00:00
Chris Plummer
1bb037bdc6 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit
Reviewed-by: sspitsyn, lmesnik, amenkov
2023-06-02 19:09:56 +00:00
Mandy Chung
a23bbea959 8309241: ClassForNameLeak fails intermittently as the class loader hasn't been unloaded
Reviewed-by: dnsimon, bchristi
2023-06-02 18:12:19 +00:00
Daniel Fuchs
931913fbb2 8309200: java/net/httpclient/ExecutorShutdown fails intermittently, if connection closed during upgrade
Reviewed-by: jpai, djelinski
2023-06-02 14:34:54 +00:00
Andrew Haley
dc21e8aa83 8296411: AArch64: Accelerated Poly1305 intrinsics
Reviewed-by: redestad, adinn
2023-06-02 14:28:44 +00:00
Poonam Bajaj
59d9d9fcb9 8303215: Make thread stacks not use huge pages
Reviewed-by: stuefe, dholmes
2023-06-02 13:32:22 +00:00
Albert Mingkun Yang
cb1e5e3f0f 8309286: G1: Remove unused G1HeapRegionAttr::is_valid_gen
Reviewed-by: tschatzl
2023-06-02 12:47:17 +00:00
Stefan Karlsson
e8268d9163 8309210: Extend VM Operations hs_err logging
Reviewed-by: dholmes, stuefe, eosterlund, sjohanss
2023-06-02 12:06:31 +00:00
Christian Hagedorn
7dbdad50a6 8308892: Bad graph detected in build_loop_late after JDK-8305635
Reviewed-by: rcastanedalo, roland, thartmann
2023-06-02 12:00:11 +00:00
Severin Gehwolf
dc8bc6c98c 8308090: Add container tests for on-the-fly resource quota updates
Reviewed-by: dholmes, mseledtsov
2023-06-02 08:58:20 +00:00
Jan Kratochvil
73e7af9e28 8309287: Add fontconfig requirement to building.md for Debian
Reviewed-by: erikj
2023-06-02 08:41:28 +00:00
Sibabrata Sahoo
aeb53e67f9 8308711: Develop additional Tests for KEM implementation
Reviewed-by: weijun
2023-06-02 08:13:12 +00:00
JoKern65
dcd9590fed 8309224: Fix xlc17 clang 15 warnings in java.desktop
Reviewed-by: prr, goetz
2023-06-02 07:34:24 +00:00
Erik Österlund
8f1ce78907 8308752: Generational ZGC: Avoid final marking through stack chunks
Reviewed-by: stefank, aboldtch
2023-06-02 06:54:20 +00:00
Axel Boldt-Christmas
7b0a33600e 8308387: CLD created and unloading list sharing _next node pointer leads to concurrent YC missing CLD roots
Reviewed-by: stefank, coleenp, dholmes, eosterlund
2023-06-02 06:35:24 +00:00
Roberto Castañeda Lozano
60f3b87d96 8309295: C2: MaxNode::signed_min() returns nullptr for int operands
Reviewed-by: thartmann
2023-06-02 06:34:15 +00:00
Aggelos Biboudis
8007599756 8309093: Underscore with brackets
Reviewed-by: jlahoda
2023-06-02 06:14:57 +00:00
Alan Bateman
5bd2af26e6 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents
Reviewed-by: sspitsyn, cjplummer
2023-06-02 05:57:01 +00:00
Tejesh R
325940b091 8307105: JFileChooser InvalidPathException when selecting some system folders on Windows
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-06-02 04:29:33 +00:00
Matias Saavedra Silva
101bf2290d 8308891: TestCDSVMCrash.java needs @requires vm.cds
Reviewed-by: dcubed
2023-06-01 20:37:21 +00:00
Doug Simon
2bb1972483 8308954: [JVMCI] code installation increments decompile_count for call_site_target_value failures
Reviewed-by: never
2023-06-01 19:24:07 +00:00
Martin Doerr
0ab09630c6 8308469: [PPC64] Implement alternative fast-locking scheme
Reviewed-by: rrich, lucy
2023-06-01 17:24:50 +00:00
Zdenek Zambersky
ec55539534 8309138: Fix container tests for jdks with symlinked conf dir
Reviewed-by: sgehwolf
2023-06-01 16:25:53 +00:00
Chris Plummer
e8271649e0 8309146: extend JDI StackFrame.setValue() and JDWP StackFrame.setValues minimal support for virtual threads
Reviewed-by: sspitsyn, alanb
2023-06-01 15:33:20 +00:00
Chen Liang
be36096a19 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe
Reviewed-by: stsypanov, redestad
2023-06-01 15:31:51 +00:00
Chris Plummer
c6f20db945 8308232: nsk/jdb tests don't pass -verbose flag to the debuggee
Reviewed-by: sspitsyn, lmesnik
2023-06-01 15:28:58 +00:00
Mark Powers
d987176412 8307794: Test for HSS/LMS Signature Verification
Reviewed-by: mullan
2023-06-01 14:09:36 +00:00
Ferenc Rakoczi
050425b141 8298127: HSS/LMS Signature Verification
Reviewed-by: weijun, mullan
2023-06-01 12:31:07 +00:00
Adam Sotona
a6109bf1ea 8308856: jdk.internal.classfile.impl.EntryMap::nextPowerOfTwo math problem
Reviewed-by: jlahoda
2023-06-01 11:50:20 +00:00
Jan Lahoda
6adc242cf3 8308943: jdk.internal.le build fails on AIX
Reviewed-by: asotona
2023-06-01 11:14:12 +00:00
Volker Simonis
39f6d807db 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Reviewed-by: stuefe, rriggs
2023-06-01 10:56:31 +00:00
Aleksey Shipilev
4460429d7a 8308803: Improve java/util/UUID/UUIDTest.java
Reviewed-by: jpai, rriggs
2023-06-01 08:55:56 +00:00
Christian Hagedorn
dfd3da3f52 8307683: Loop Predication should not hoist range checks with trap on success projection by negating their condition
Reviewed-by: thartmann, roland
2023-06-01 08:04:45 +00:00
Thomas Schatzl
96ed1392d1 8308766: TLAB initialization may cause div by zero
Reviewed-by: shade, ayang
2023-06-01 06:57:45 +00:00
Yanhong Zhu
6c7225f819 8303417: RISC-V: Merge vector instructs with similar match rules
Reviewed-by: fyang, rehn, dzhang
2023-06-01 02:44:08 +00:00
Hao Sun
a46b5acc15 8308503: AArch64: SIGILL when running with -XX:UseBranchProtection=pac-ret on hardware without PAC feature
Reviewed-by: aph, ngasson, dlong
2023-05-31 23:49:13 +00:00
Sandhya Viswanathan
f9ad7df4da 8300865: C2: product reduction in ProdRed_Double is not vectorized
Reviewed-by: fgao, epeter, kvn
2023-05-31 22:39:54 +00:00
Justin King
8eda97dc8d 8305320: DbgStrings and AsmRemarks are leaking
Reviewed-by: coleenp, fparain
2023-05-31 21:41:46 +00:00
Jonathan Gibbons
09514745fc 8309150: Need to escape " inside attribute values
Reviewed-by: prappo
2023-05-31 21:20:05 +00:00
David Holmes
0119969816 8309171: Test vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java fails after JDK-8308341
Reviewed-by: dcubed, gziemski
2023-05-31 21:13:30 +00:00
Dean Long
f8a924a749 8308975: Fix signed integer overflow in compiler code, part 2
Reviewed-by: aph, coleenp, kvn
2023-05-31 20:51:53 +00:00
Chris Plummer
5531f6ba1b 8308819: add JDWP and JDI virtual thread support for ThreadReference.ForceEarlyReturn
Reviewed-by: sspitsyn, alanb
2023-05-31 20:50:22 +00:00
Daniel D. Daugherty
e42a4b659a 8309236: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC and Generational ZGC again
Reviewed-by: bpb, azvegint
2023-05-31 20:41:11 +00:00
Brian Burkhalter
8dbd384003 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
2023-05-31 19:40:23 +00:00
Roger Riggs
c3cd481a9a 8304914: Use OperatingSystem, Architecture, and Version in jpackage
Reviewed-by: asemenyuk
2023-05-31 19:32:21 +00:00
Chris Plummer
eae1f59da9 8309159: Some minor comment and code cleanup in jdk/com/sun/jdi/PopFramesTest.java
Reviewed-by: sspitsyn, lmesnik
2023-05-31 17:38:18 +00:00
Daniel D. Daugherty
45473ef235 8309230: ProblemList jdk/incubator/vector/Float64VectorTests.java on aarch64
8309231: ProblemList vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java

Reviewed-by: darcy
2023-05-31 16:50:09 +00:00
Chen Liang
78aa5f3fc1 8299505: findVirtual on array classes incorrectly restricts the receiver type
Reviewed-by: mchung
2023-05-31 16:28:26 +00:00
Xue-Lei Andrew Fan
42ca6e6942 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
2023-05-31 16:26:48 +00:00
Naoto Sato
1264902517 8308316: Default decomposition mode in Collator
Reviewed-by: rriggs
2023-05-31 15:56:40 +00:00
Matthias Baesken
70670b4af6 8308872: enhance logging and some exception in krb5/Config.java
Reviewed-by: weijun
2023-05-31 14:43:07 +00:00
Matias Saavedra Silva
024d9b131d 8308910: Allow executeAndLog to accept running process
Reviewed-by: ccheung, iklam
2023-05-31 13:50:04 +00:00
Emanuel Peter
25b9803056 8308917: C2 SuperWord::output: assert before bailout with CountedLoopReserveKit
Reviewed-by: kvn, thartmann
2023-05-31 13:17:45 +00:00
Yadong Wang
d66b6d8fd2 8308765: RISC-V: Expand size of stub routines for zgc only
Reviewed-by: fjiang, fyang
2023-05-31 13:13:20 +00:00
Daniel Fuchs
4aea7dab15 8309120: java/net/httpclient/AsyncShutdownNow.java fails intermittently
Reviewed-by: jpai
2023-05-31 10:49:20 +00:00
Albert Mingkun Yang
a990322429 8309111: Removing unused constructor of PerfLongCounter and PerfLongVariable
Reviewed-by: dholmes
2023-05-31 10:19:58 +00:00
Aggelos Biboudis
4f3a95af2f 8309054: Parsing of erroneous patterns succeeds
Reviewed-by: jlahoda
2023-05-31 09:37:58 +00:00
Johan Sjölen
4f16161607 8309044: Replace NULL with nullptr, final sweep of hotspot code
Reviewed-by: stefank, dholmes, kvn, amitkumar
2023-05-31 09:19:47 +00:00
Leo Korinth
88236263dc 8309048: Remove malloc locker test case
Reviewed-by: dholmes, tschatzl, coleenp, lmesnik
2023-05-31 08:53:47 +00:00
Kim Barrett
927a9ed683 8240774: [REDO] G1DirtyCardQueue destructor has useless flush
Reviewed-by: dholmes, ayang, tschatzl
2023-05-31 01:52:05 +00:00
Dingli Zhang
119994f3ce 8308997: RISC-V: Sign extend when comparing 32-bit value with zero instead of testing the sign bit
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fjiang, fyang
2023-05-31 01:31:50 +00:00
Leonid Mesnik
327733c93d 8308986: Disable svc tests failing with virtual thread factory
Reviewed-by: dholmes, dcubed, sspitsyn
2023-05-31 00:11:05 +00:00
David Holmes
1e6770fb97 8308341: JNI_GetCreatedJavaVMs returns a partially initialized JVM
Reviewed-by: jsjolen, gziemski
2023-05-30 22:46:06 +00:00
Joe Darcy
cb40db052c 8309134: Augment test/langtools/tools/javac/versions/Versions.java for JDK 21 language changes
Reviewed-by: jjg
2023-05-30 21:58:50 +00:00
Mandy Chung
de7fd1c306 8307944: ClassFileDumper should only load java.nio.file.Path if enabled
Reviewed-by: rriggs
2023-05-30 21:01:12 +00:00
Valerie Peng
7891de331a 8297885: misc sun/security/pkcs11 tests timed out
Reviewed-by: xuelei
2023-05-30 17:50:53 +00:00
Roger Riggs
323d6ceda6 8308960: Decouple internal Version and OperatingSystem classes
Reviewed-by: mchung
2023-05-30 17:07:02 +00:00
Joe Darcy
1b8e6bf31c 8308987: Update java.lang.Class to use javadoc snippets
Reviewed-by: alanb
2023-05-30 16:47:02 +00:00
Daniel Fuchs
04b0e785f6 8307648: java/net/httpclient/ExpectContinueTest.java timed out
Reviewed-by: djelinski
2023-05-30 16:32:11 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Brian Burkhalter
21af8bae38 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end
Reviewed-by: rriggs
2023-05-30 16:16:45 +00:00
Jorn Vernee
804f198c73 8308992: New test TestHFA fails with zero
Reviewed-by: mcimadamore
2023-05-30 15:28:40 +00:00
Jasmine Karthikeyan
fb0b1f0c23 8051725: Improve expansion of Conv2B nodes in the middle-end
Reviewed-by: thartmann, qamai, sviswanathan
2023-05-30 14:11:12 +00:00
Paul Hohensee
3eced01f9e 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Reviewed-by: dholmes, mchung
2023-05-30 13:44:02 +00:00
Jie Fu
15e028530a 8309110: Build failure after JDK-8307795 due to warnings in micro-benchmark StoreMaskTrueCount.java
Reviewed-by: thartmann
2023-05-30 13:43:14 +00:00
Antonios Printezis
4526282266 8308977: gtest:codestrings fails on riscv
Reviewed-by: fyang
2023-05-30 13:08:15 +00:00
changpeng1997
f600d0369a 8307795: AArch64: Optimize VectorMask.truecount() on Neon
Reviewed-by: aph, eliu
2023-05-30 12:45:33 +00:00
Renjith
07f2070411 8309095: Remove UTF-8 character from TaskbarPositionTest.java
Reviewed-by: aivanov
2023-05-30 12:11:34 +00:00
Maurizio Cimadamore
2b186e246e 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads
Reviewed-by: jvernee
2023-05-30 10:24:10 +00:00
Erik Österlund
78aac241b8 8308881: Strong CLD oop handle roots are demoted to non-roots concurrently
Reviewed-by: stefank, coleenp
2023-05-30 07:29:46 +00:00
Emanuel Peter
1f1f604071 8302670: use-after-free related to PhaseIterGVN interaction with Unique_Node_List and Node_Stack
Co-authored-by: Justin King <jcking@openjdk.org>
Reviewed-by: thartmann, chagedorn, jcking
2023-05-30 07:14:50 +00:00
Tobias Hartmann
d35a550f6d 8309077: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: chagedorn
2023-05-30 05:36:46 +00:00
Gui Cao
457e1cb827 8308817: RISC-V: Support VectorTest node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fjiang, fyang
2023-05-30 00:39:53 +00:00
Ioi Lam
7508d9f9e0 8308906: Make CIPrintCompilerName a diagnostic flag
Reviewed-by: kvn, stuefe
2023-05-29 20:25:57 +00:00
Prasanta Sadhukhan
a4bae3a9e2 8309060: Compilation Error in javax/swing/event/FocusEventCauseTest.java
Reviewed-by: abhiscxk, aivanov
2023-05-29 18:25:19 +00:00
Renjith
d73fc70ea2 8289547: Update javax/swing/Popup/TaskbarPositionTest.java
Reviewed-by: aivanov, dmarkov, honkar
2023-05-29 12:52:15 +00:00
Markus Grönlund
7cf6eecdc8 8307488: Incorrect weight of the first ObjectAllocationSample JFR event
Reviewed-by: egahlin
2023-05-29 10:53:08 +00:00
Doug Simon
a5d8d59469 8308930: [JVMCI] TestUncaughtErrorInCompileMethod times out
Reviewed-by: never
2023-05-29 10:04:31 +00:00
Prasanta Sadhukhan
70130d3b16 8306119: Many components respond to a mouse event by requesting focus without supplying the MOUSE_EVENT cause
Reviewed-by: jdv
2023-05-29 08:40:13 +00:00
Albert Mingkun Yang
6360b49931 8308948: Remove unimplemented ThreadLocalAllocBuffer::reset
Reviewed-by: tschatzl
2023-05-29 08:06:41 +00:00
Dingli Zhang
e21f865d84 8308915: RISC-V: Improve temporary vector register usage avoiding the use of v0
Reviewed-by: yzhu, fyang
2023-05-29 01:03:01 +00:00
Christian Stein
547a8b40b3 8306560: Add TOOLING.jsh load file
Reviewed-by: jlahoda
2023-05-28 08:14:37 +00:00
Gerard Ziemski
ca54f4e007 8306428: RunThese30M.java crashed with assert(early->flag() == current->flag() || early->flag() == mtNone)
Reviewed-by: jsjolen, stuefe
2023-05-27 18:28:49 +00:00
Erik Gahlin
5fdb22f911 8308876: JFR: Deserialization of EventTypeInfo uses incorrect attribute names
Reviewed-by: mgronlun
2023-05-27 06:18:26 +00:00
Serguei Spitsyn
bd113ee048 8308814: extend SetLocalXXX minimal support for virtual threads
Reviewed-by: cjplummer
2023-05-27 02:43:50 +00:00
Hannes Wallnöfer
a92363461d 8286470: Support searching for sections in class/package javadoc
Reviewed-by: jjg
2023-05-26 18:36:45 +00:00
Calvin Cheung
55d297fdda 8308594: Use atomic bitset function for PackageEntry::_defined_by_cds_in_class_path
Reviewed-by: coleenp, lfoltan
2023-05-26 18:04:01 +00:00
Xue-Lei Andrew Fan
c72b547425 8308801: update for deprecated sprintf for libnet in java.base
Reviewed-by: djelinski, rriggs
2023-05-26 16:47:39 +00:00
Erik Gahlin
77c5adb09e 8308935: jdk.management.jfr.RecordingInfo.toString() lacks test coverage
Reviewed-by: mgronlun
2023-05-26 16:00:12 +00:00
Ashutosh Mehra
ce5251aff7 8308657: ReplayInline is not availabe in production build
Reviewed-by: kvn, roland, thartmann
2023-05-26 14:48:14 +00:00
Stefan Karlsson
cc0976bf7f 8308589: gc/cslocker/TestCSLocker.java timed out
Reviewed-by: eosterlund
2023-05-26 13:51:31 +00:00
Kevin Walls
17ef8a44a9 8299665: /proc/self/stat parsing in libmanagement broken by execname with spaces
Reviewed-by: sspitsyn, amenkov
2023-05-26 10:51:39 +00:00
Tejesh R
c494770ca0 8306812: Open source several AWT Miscellaneous tests
Reviewed-by: psadhukhan
2023-05-26 10:50:49 +00:00
Erik Österlund
d3b9b364da 8308009: Generational ZGC: OOM before clearing all SoftReferences
Reviewed-by: stefank, aboldtch
2023-05-26 10:12:50 +00:00
Roland Westrelin
bac02b6e9d 8305189: C2 failed "assert(_outcnt==1) failed: not unique"
Reviewed-by: chagedorn, thartmann
2023-05-26 09:04:31 +00:00
Johan Sjölen
62537d200f 8299974: Replace NULL with nullptr in share/adlc/
Reviewed-by: dlong, kvn
2023-05-26 08:44:01 +00:00
Doug Simon
f09345b3a4 8308931: Problemlist compiler/jvmci/TestUncaughtErrorInCompileMethod.java
Reviewed-by: thartmann
2023-05-26 08:14:26 +00:00
Stefan Karlsson
7c072dbd9d 8308844: ProblemList gc/z/TestHighUsage.java with Generational ZGC on windows x64
Reviewed-by: aboldtch, tschatzl
2023-05-26 07:52:53 +00:00
Tejesh R
4becb7bcb6 8306137: Open source several AWT ScrollPane related tests
Reviewed-by: aivanov
2023-05-26 07:50:10 +00:00
Roland Westrelin
199b1bf500 8308583: SIGSEGV in GraphKit::gen_checkcast
Reviewed-by: thartmann, kvn, never
2023-05-26 07:03:35 +00:00
Justin Lu
46c4da7fdd 8159023: Engineering notation of DecimalFormat does not work as documented
Reviewed-by: naoto
2023-05-25 21:54:58 +00:00
Daniel D. Daugherty
ee321c70e5 8308907: ProblemList java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java on linux-x64
8308908: ProblemList javax/sound/sampled/Clip/ClipIsRunningAfterStop.java on linux-x64
8308909: ProblemList sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java on linux-x64

Reviewed-by: mikael
2023-05-25 21:35:50 +00:00
Calvin Cheung
dc7683a051 8308073: ClassLoaderExt::append_boot_classpath should handle dynamic archive
Reviewed-by: iklam, matsaave
2023-05-25 21:26:54 +00:00
Erik Gahlin
4870234552 8304375: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Expected at least some events to be out of order! Reuse = false"
Reviewed-by: mgronlun
2023-05-25 21:01:37 +00:00
Ashutosh Mehra
7d2a7ce240 8308672: Add version number in the replay file generated by DumpInline
Reviewed-by: kvn
2023-05-25 18:31:56 +00:00
Naoto Sato
27ba8bd4ed 8308108: Support Unicode extension for collation settings
Reviewed-by: iris, rriggs, jlu, alanb
2023-05-25 17:20:02 +00:00
Doug Simon
89b3c375ac 8307125: compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java hits assert(!Continuation::is_frame_in_continuation(thread(), fr())) failed: No support for deferred values in continuations
Reviewed-by: never
2023-05-25 16:26:26 +00:00
Erik Gahlin
98acce13d5 8306703: JFR: Summary views
Reviewed-by: mgronlun
2023-05-25 15:39:45 +00:00
Maurizio Cimadamore
534de6d8ae 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Tyler Steele
48d21bd089 8286597: Implement PollerProvider on AIX
Reviewed-by: mdoerr, alanb, vtewari
2023-05-25 14:59:11 +00:00
Michael McMahon
e7edf8d145 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto
2023-05-25 14:57:29 +00:00
Erik Gahlin
90e57fd5a9 8308335: JFR: Remove @Experimental from Virtual Threads events
Reviewed-by: alanb, mgronlun
2023-05-25 12:19:38 +00:00
Albert Mingkun Yang
7e2e05d836 8308098: G1: Remove redundant checks in G1ObjectCountIsAliveClosure
Reviewed-by: tschatzl, iwalulya
2023-05-25 11:59:01 +00:00
Coleen Phillimore
2599ada152 8308655: Narrow types of ConstantPool and ConstMethod returns
Reviewed-by: fparain, matsaave
2023-05-25 11:52:40 +00:00
Roberto Castañeda Lozano
5a0a238f67 8308746: C2 IR test failures for TestFpMinMaxReductions.java with SSE2
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: chagedorn, thartmann
2023-05-25 11:07:10 +00:00
Pavel Rappo
38367d3c3a 8308735: Typos in parameter names
Reviewed-by: naoto, iris, bpb
2023-05-25 10:22:41 +00:00
Christian Hagedorn
4f096eb7c9 8305635: Replace Parse Predicate IfNode with new ParsePredicateNode and route predicate queries through dedicated classes
Reviewed-by: thartmann, kvn
2023-05-25 09:40:19 +00:00
Sergey Bylokhov
f27bc59f85 8307132: Cleanup the code of sun.java2d.cmm.lcms package
Reviewed-by: prr
2023-05-25 09:36:12 +00:00
Jaikiran Pai
426ebf4fe9 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible
Reviewed-by: lmesnik
2023-05-25 09:23:48 +00:00
Axel Boldt-Christmas
8d8153e98a 8307958: Metaspace verification is slow causing extreme class unloading times
Reviewed-by: stuefe, coleenp
2023-05-25 09:03:30 +00:00
Christian Stein
d87713440a 8144891: ToolBox should use java.nio.file.Path internally, instead of java.io.File
Reviewed-by: jjg
2023-05-25 08:56:42 +00:00
Leo Korinth
aaa61899c9 8308506: Reduce testing time by removing combinations tested
Reviewed-by: tschatzl, lmesnik
2023-05-25 08:56:07 +00:00
Aggelos Biboudis
4500bb7a67 8308727: Compiler should accept final unnamed variables in try-with-resources
Reviewed-by: jlahoda
2023-05-25 08:10:02 +00:00
Hannes Wallnöfer
3272e2597a 8305710: Line breaks in search tags cause invalid JSON in index file
Reviewed-by: jjg
2023-05-25 07:40:44 +00:00
Hannes Wallnöfer
3f4abff59c 8305958: Use links instead of buttons for auto-generated header links
Reviewed-by: jjg
2023-05-25 07:30:03 +00:00
Adam Sotona
bfcae68ed1 8308549: Classfile API should fail to generate over-sized Code attribute
Reviewed-by: mchung
2023-05-25 07:13:33 +00:00
Vladimir Kempik
2a18e537d6 8308656: RISC-V: vstring_compare doesnt manifest usage of all vector registers
Reviewed-by: yzhu, fyang
2023-05-25 05:08:39 +00:00
Guoxiong Li
a291f002cd 8288619: Unexpected parsing for @see
Reviewed-by: jjg
2023-05-25 03:25:50 +00:00
Serguei Spitsyn
89b99143ac 8308400: add ForceEarlyReturn support for virtual threads
Reviewed-by: alanb, lmesnik
2023-05-25 02:29:22 +00:00
Chen Liang
1451ac1770 8307652: sealed class hierarchy graph doesn't distinguish non-sealed classes
Reviewed-by: pminborg, jjg
2023-05-24 21:03:47 +00:00
Alex Menkov
207fbcb083 8299414: JVMTI FollowReferences should support references from VirtualThread stack
Reviewed-by: sspitsyn, kevinw
2023-05-24 20:26:10 +00:00
Jim Laskey
b44fa365ca 8308040: Evaluate new public types in non-public classes
Reviewed-by: rriggs, darcy
2023-05-24 19:08:39 +00:00
Tom Rodriguez
ac89e3045b 8308291: compiler/jvmci/meta/ProfilingInfoTest.java fails with -XX:TieredStopAtLevel=1
Reviewed-by: kvn, chagedorn
2023-05-24 18:39:30 +00:00
Coleen Phillimore
bacf652311 8297887: Update Siphash
Reviewed-by: lfoltan
2023-05-24 18:07:03 +00:00
Chris Plummer
89f2d458a2 8308237: add JDWP and JDI virtual thread support for ThreadReference.PopFrames
8308481: JDI TestScaffold does not support passing app arguments to the debuggee
8305632: Test com/sun/jdi/PopAndInvokeTest.java fails with OpaqueFrameException

Reviewed-by: alanb, sspitsyn, lmesnik
2023-05-24 16:54:05 +00:00
Erik Gahlin
d10467e27b 8307738: JFR: EventStream.openRepository() drops events
Reviewed-by: mgronlun
2023-05-24 16:38:50 +00:00
Daniel Fuchs
736b90d54b 8308310: HttpClient: Avoid logging or locking from within synchronized blocks
Reviewed-by: jpai
2023-05-24 14:23:24 +00:00
Martin Doerr
7764f46e9e 8308761: New test TestHFA needs adaptation for JDK-8308276
Reviewed-by: mcimadamore, mbaesken
2023-05-24 13:45:57 +00:00
Maxim Kartashev
d7245f70e7 8305578: X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions
Reviewed-by: avu, serb
2023-05-24 12:48:37 +00:00
Viktor Klang
544978cb76 8298066: java/util/concurrent/locks/Lock/OOMEInAQS.java timed out
Reviewed-by: alanb
2023-05-24 12:41:27 +00:00
Thomas Schatzl
65c8dbe693 8171221: Remove -XX:+CheckMemoryInitialization
Reviewed-by: ayang, shade
2023-05-24 12:02:04 +00:00
Xiaolin Zheng
2d4d850813 8308091: Remove unused iRegIHeapbase() matching operand
Reviewed-by: fyang, thartmann
2023-05-24 09:42:26 +00:00
Emanuel Peter
b7a84b0fd7 8308758: Problemlist compiler/c2/irTests/TestVectorConditionalMove.java
Reviewed-by: chagedorn
2023-05-24 09:38:45 +00:00
Martin Doerr
20f15352a3 8303040: linux PPC64le: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: jvernee, rrich
2023-05-24 08:38:34 +00:00
Tobias Holenstein
466ec300fc 8302736: Major performance regression in Math.log on aarch64
Reviewed-by: thartmann, dlong, aph
2023-05-24 07:29:25 +00:00
Doug Simon
05c095cf39 8308151: [JVMCI] capture JVMCI exceptions in hs-err
Reviewed-by: never
2023-05-24 07:15:12 +00:00
Emanuel Peter
beb75e651f 8306302: C2 Superword fix: use VectorMaskCmp and VectorBlend instead of CMoveVF/D
Reviewed-by: fgao, jbhateja
2023-05-24 07:00:27 +00:00
Jamil Nimeh
2836c34b64 8179502: Enhance OCSP, CRL and Certificate Fetch Timeouts
Reviewed-by: mullan
2023-05-23 21:32:28 +00:00
Chen Liang
8ffa264cf0 8306698: Add overloads to MethodTypeDesc::of
Reviewed-by: mchung
2023-05-23 21:26:25 +00:00
Valerie Peng
6b27dad76e 8301154: SunPKCS11 KeyStore deleteEntry results in dangling PrivateKey entries
Reviewed-by: weijun, hchao
2023-05-23 21:11:38 +00:00
Daniel D. Daugherty
ed0e956fc2 8308716: ProblemList java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java with genzgc on windows-x64
8308718: ProblemList three mlvm/indy/func/jvmti tests on windows-x64 in Xcomp mode
8308720: ProblemList java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java on macosx-x64

Reviewed-by: azvegint, darcy
2023-05-23 20:43:20 +00:00
Afshin Zafari
bddf48380e 8303942: os::write should write completely
Reviewed-by: coleenp, iklam, dholmes, mgronlun
2023-05-23 17:08:08 +00:00
Quan Anh Mai
ab241b3428 8306706: Support out-of-line code generation for MachNodes
Reviewed-by: thartmann, kvn
2023-05-23 17:06:25 +00:00
Brian Burkhalter
710453c676 8308016: Use snippets in java.io package
Reviewed-by: rriggs
2023-05-23 16:00:40 +00:00
Axel Boldt-Christmas
e9320f31dc 8308116: jdk.test.lib.compiler.InMemoryJavaCompiler.compile does not close files
Reviewed-by: lmesnik, stefank, jlahoda
2023-05-23 15:33:08 +00:00
changpeng1997
97d3b2731e 8307523: [vectorapi] Optimize MaskFromLongBenchmark.java
Reviewed-by: qamai, xgong, ngasson
2023-05-23 14:46:55 +00:00
Jamil Nimeh
bb0ff48aa9 8305091: Change ChaCha20 cipher init behavior to match AES-GCM
Reviewed-by: djelinski, ascarpino
2023-05-23 14:31:08 +00:00
Jan Kratochvil
c0c4d77192 8308544: Fix compilation regression from JDK-8306983 on musl libc
Reviewed-by: bpb, stuefe
2023-05-23 13:50:58 +00:00
Daniel Fuchs
9e196b3631 8308565: HttpClient: Sanitize logging while stopping
Reviewed-by: jpai
2023-05-23 12:07:23 +00:00
Daniel Fuchs
582ddeb2b2 8308545: java/net/httpclient/ShutdownNow.java fails with "stream 1 cancelled"
Reviewed-by: jpai
2023-05-23 12:02:58 +00:00
Jan Lahoda
1cfb265bef 8307814: In the case of two methods with Record Patterns, the second one contains a line number from the first method
Reviewed-by: vromero, godin
2023-05-23 11:47:00 +00:00
Per Minborg
eb11508eff 8308281: Java snippets in the FFM API need to be updated
Reviewed-by: mcimadamore
2023-05-23 11:29:05 +00:00
Emanuel Peter
26227a6ff8 8305073: Fix VerifyLoopOptimizations - step 2 - verify idom
Reviewed-by: chagedorn, thartmann, kvn
2023-05-23 11:25:01 +00:00
Aggelos Biboudis
80d7de7074 8305582: Compiler crash when compiling record patterns with var
Reviewed-by: vromero, jlahoda
2023-05-23 11:18:55 +00:00
Axel Boldt-Christmas
e55961331e 8308500: ZStatSubPhase::register_start should not call register_gc_phase_start if ZAbort::should_abort()
Reviewed-by: stefank, eosterlund
2023-05-23 10:45:01 +00:00
Emanuel Peter
bdd240283e 8260943: C2 SuperWord: Remove dead vectorization optimization added by 8076284
Reviewed-by: kvn, thartmann
2023-05-23 09:51:19 +00:00
Amit Kumar
4f0f776187 8308403: [s390x] separate remaining_cargs from z_abi_160
Reviewed-by: mdoerr, lucy
2023-05-23 08:32:27 +00:00
Emanuel Peter
06b0a5e038 8302652: [SuperWord] Reduction should happen after loop, when possible
Reviewed-by: kvn, pli, jbhateja, sviswanathan
2023-05-23 08:05:13 +00:00
Matthias Baesken
69f508a2ac 8308300: enhance exceptions in MappedMemoryUtils.c
Reviewed-by: alanb, clanger, bpb
2023-05-23 07:43:14 +00:00
Adam Sotona
c4408278d1 8308093: Disable language preview features use in JDK
Reviewed-by: liach, erikj, alanb, darcy
2023-05-23 07:23:37 +00:00
Doug Simon
422128b70a 8306992: [JVMCI] mitigate more against JVMCI related OOME causing VM to exit
Reviewed-by: never
2023-05-23 07:20:00 +00:00
Alan Bateman
fe8c689eee 8308038: java/util/concurrent/ThreadPerTaskExecutor/ThreadPerTaskExecutorTest.java timed out
Reviewed-by: dfuchs, jpai
2023-05-23 07:05:44 +00:00
Alan Bateman
ada416e66c 8308235: ThreadContainer registry accumulates weak refs
Reviewed-by: jpai
2023-05-23 07:05:07 +00:00
Ichiroh Takiguchi
5d8ba938be 8308046: Move Solaris related charsets from java.base to jdk.charsets module
Reviewed-by: naoto
2023-05-23 00:41:59 +00:00
Thomas Stuefe
878162b362 8306507: [linux] Print number of memory mappings in error reports
Reviewed-by: adinn, sgehwolf
2023-05-22 19:59:02 +00:00
Johan Sjölen
90d5041b6a 8300086: Replace NULL with nullptr in share/c1/
Reviewed-by: thartmann, chagedorn
2023-05-22 19:41:59 +00:00
Yi-Fan Tsai
8474e693b4 8308465: Reduce memory accesses in AArch64 MD5 intrinsic
Reviewed-by: aph, phh
2023-05-22 16:53:23 +00:00
quadhier
f99ad11dd1 8302218: CHeapBitMap::free frees with incorrect size
Reviewed-by: aboldtch, iklam, tschatzl
2023-05-22 16:51:20 +00:00
Joe Darcy
d77a41033a 8308388: Update description of SourceVersion.RELEASE_21
Reviewed-by: iris
2023-05-22 16:30:37 +00:00
Matias Saavedra Silva
3f4cfbdd36 8307190: Refactor ref_at methods in Constant Pool
Reviewed-by: coleenp, iklam
2023-05-22 16:27:17 +00:00
Jiangli Zhou
491bdeaa90 8308458: Windows build failure with disassembler.cpp(792): warning C4267: '=': conversion from 'size_t' to 'int'
Reviewed-by: jiefu
2023-05-22 16:24:45 +00:00
Calvin Cheung
b58980b73d 8308034: Some CDS tests need to use @requires vm.flagless
Reviewed-by: iklam
2023-05-22 15:53:04 +00:00
George Adams
29b8d3d9e7 8307573: Implementation of JEP 449: Deprecate the Windows 32-bit x86 Port for Removal
Reviewed-by: erikj
2023-05-22 15:44:52 +00:00
Maurizio Cimadamore
5fc9b5787d 8308276: Change layout API to work with bytes, not bits
Reviewed-by: psandoz, pminborg
2023-05-22 14:57:00 +00:00
Maurizio Cimadamore
91aeb5de58 8287834: Add SymbolLookup::or method
Reviewed-by: psandoz
2023-05-22 14:51:09 +00:00
Thomas Obermeier
4f88437b7f 8307908: [ppc] Add failing RTM tests to ProblemList until 8307907 is fixed.
Reviewed-by: clanger, goetz
2023-05-22 12:37:43 +00:00
Andrew Leonard
dc30e68651 8308407: libjvm library not reproducibly comparable between vendors
Co-authored-by: Simon Tooke <stooke@openjdk.org>
Reviewed-by: andrew, dholmes
2023-05-22 12:23:45 +00:00
Matthew Donovan
18e2446420 8301381: Verify DTLS 1.0 cannot be negotiated
Reviewed-by: xuelei
2023-05-22 12:03:13 +00:00
Prasanta Sadhukhan
b3cb82b859 8307311: Timeouts on one macOS 12.6.1 host of two Swing JTableHeader tests
Reviewed-by: dnguyen, azvegint
2023-05-22 11:42:11 +00:00
Alexander Zvegintsev
3d550f7485 8280993: [XWayland] Popup is not closed on click outside of area controlled by XWayland
Reviewed-by: prr
2023-05-22 11:37:12 +00:00
Darragh Clarke
05e99db466 7065228: To interpret case-insensitive string locale independently
Reviewed-by: dfuchs, naoto, djelinski, jpai, michaelm
2023-05-22 10:53:59 +00:00
Jan Lahoda
a9705196ce 8306983: Do not invoke external programs when switch terminal to raw mode on selected platforms
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: erikj, vromero, bpb
2023-05-22 10:39:26 +00:00
Andrey Turbanov
6b65e5754c 8305785: Avoid redundant HashMap.containsKey call in java.util.regex
Reviewed-by: stsypanov, jpai
2023-05-22 10:27:13 +00:00
Erik Österlund
8011ba74a2 8308181: Generational ZGC: Remove CLDG_lock from old gen root scanning
Reviewed-by: ayang, aboldtch
2023-05-22 10:20:45 +00:00
Aggelos Biboudis
8aa50288a1 8302344: Compiler Implementation for Unnamed patterns and variables (Preview)
8307444: java.lang.AssertionError when using unnamed patterns
8307482: Compiler should accept var _ in nested patterns in switch case
8307007: Implementation for javax.lang.model for unnamed variables (Preview)
8308312: Compiler should fail when a local variable declaration does not include an Identifier and does not have an initializer
8308309: Compiler should accept mixed masked and unmasked variables in lambda parameters

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, darcy
2023-05-22 08:52:36 +00:00
Leo Korinth
b588797900 8307804: Reorganize ArrayJuggle test cases
Reviewed-by: dholmes, lmesnik
2023-05-22 08:17:53 +00:00
Serguei Spitsyn
928fcf9751 8308000: add PopFrame support for virtual threads
Reviewed-by: lmesnik, alanb
2023-05-22 07:34:35 +00:00
Emanuel Peter
41beb448d2 8308084: C2 fix idom bug in PhaseIdealLoop::create_new_if_for_predicate
Reviewed-by: chagedorn, thartmann, kvn
2023-05-22 06:26:55 +00:00
Emanuel Peter
b6a9f5c304 8307619: C2 failed: Not monotonic (AndI CastII LShiftI) in TestShiftCastAndNotification.java
Reviewed-by: chagedorn, thartmann
2023-05-22 06:23:19 +00:00
Jan Lahoda
eaa80ad08c 8300543: Compiler Implementation for Pattern Matching for switch
8300545: Compiler Implementation for Record Patterns

Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, mcimadamore
2023-05-22 04:24:06 +00:00
Ioi Lam
5ccc962942 8308342: Remove MetaspaceClosure::Ref::keep_after_pushing()
Reviewed-by: ccheung
2023-05-21 05:32:36 +00:00
Daniel D. Daugherty
a0f4a948bb 8307783: runtime/reflect/ReflectOutOfMemoryError.java timed out
8308468: ProblemList containers/docker/TestMemoryAwareness.java on linux-x64
8308470: ProblemList javax/management/remote/mandatory/connection/BrokenConnectionTest.java on linux-all
8308471: ProblemList javax/management/remote/mandatory/loading/MissingClassTest.java on windows-x64 w/ loom
8308472: ProblemList javax/management/remote/mandatory/loading/RMIDownloadTest.java on windows-x64 w/ loom
8308473: ProblemList java/lang/instrument/NativeMethodPrefixAgent.java with loom

Reviewed-by: lmesnik
2023-05-20 16:40:05 +00:00
Kevin Walls
939344b843 8304685: Fix whitespace parsing in libjdwp
Reviewed-by: cjplummer, amenkov, sspitsyn
2023-05-19 18:57:55 +00:00
Leonid Mesnik
241455fcd1 8307962: Exclude gc/g1/TestSkipRebuildRemsetPhase.java fails with virtual test thread factory
Reviewed-by: sspitsyn
2023-05-19 18:42:23 +00:00
Justin Lu
34468e1c91 8308021: Update IANA Language Subtag Registry to Version 2023-05-11
Reviewed-by: lancea, naoto
2023-05-19 18:22:50 +00:00
Weijun Wang
f0aebc8141 8305972: Update XML Security for Java to 3.0.2
Reviewed-by: mullan
2023-05-19 17:46:41 +00:00
Coleen Phillimore
265f40b4f7 8308396: Fix offset_of conversion warnings in runtime code
Reviewed-by: amitkumar, jsjolen, fparain
2023-05-19 17:16:04 +00:00
Brian Burkhalter
a5343fa605 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Reviewed-by: jpai, rriggs
2023-05-19 15:37:37 +00:00
Maurizio Cimadamore
44218b1c9e 8308248: Revisit alignment of layout constants on 32-bit platforms
Reviewed-by: psandoz, pminborg
2023-05-19 14:28:14 +00:00
Adam Sotona
80ef5c228b 8308410: broken compilation of test\jdk\tools\launcher\exeJliLaunchTest.c
Reviewed-by: alanb
2023-05-19 13:11:41 +00:00
Kick-it11
326d778ccf 8306057: False arguments calling dispatch_base for aarch64
Reviewed-by: aph, fyang
2023-05-19 12:59:46 +00:00
Jie Fu
690d3969b8 8308408: Build failure with -Werror=maybe-uninitialized in libjli/java.c with GCC8
Reviewed-by: alanb
2023-05-19 11:13:37 +00:00
Adam Sotona
fa14314853 8303669: SelectVersion indexes past the end of the argv array
Reviewed-by: vromero
2023-05-19 08:09:37 +00:00
Raffaello Giulietti
25868b95ee 8132995: Matcher$ImmutableMatchResult should be optimized to reduce space usage
Reviewed-by: redestad, smarks
2023-05-19 08:04:32 +00:00
Aleksey Shipilev
6765761075 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey
Reviewed-by: xuelei
2023-05-19 06:53:50 +00:00
Dingli Zhang
97ade57fb2 8307609: RISC-V: Added support for Extract, Compress, Expand and other nodes for Vector API
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, fjiang
2023-05-19 03:09:13 +00:00
Feilong Jiang
e520cdc882 8308277: RISC-V: Improve vectorization of Match.sqrt() on floats
Reviewed-by: fyang
2023-05-19 00:49:28 +00:00
Leonid Mesnik
42948c04b9 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks
Reviewed-by: sspitsyn, cjplummer
2023-05-18 23:57:10 +00:00
Chris Plummer
4a6d6d5a59 8308187: jdi/EventSet/resume/resume008 failed with "EventHandler> Unexpected event: ThreadStartEvent in thread resume008-thread0"
Reviewed-by: dcubed
2023-05-18 22:08:10 +00:00
Weijun Wang
148df533af 8308010: X509Key and PKCS8Key allows garbage bytes at the end
Reviewed-by: mullan
2023-05-18 21:23:29 +00:00
Ashutosh Mehra
d3feedf511 8308192: Error in parsing replay file when staticfield is an array of single dimension
Reviewed-by: thartmann, kvn
2023-05-18 19:50:05 +00:00
Alexander Zvegintsev
02dc95e6b9 8308370: Fix build failures related to the java.awt.Robot documentation
Reviewed-by: dcubed
2023-05-18 18:51:46 +00:00
Alexander Zvegintsev
21aa057faf 8307779: Relax the java.awt.Robot specification
Reviewed-by: mkartashev, prr
2023-05-18 18:14:05 +00:00
Joe Darcy
42ecc8a37f 8308245: Add -proc:full to describe current default annotation processing policy
Reviewed-by: vromero
2023-05-18 17:05:28 +00:00
Calvin Cheung
bb24c36759 8279993: Assert that a shared class is not loaded more than once
Reviewed-by: iklam, stuefe
2023-05-18 16:02:55 +00:00
Alisen Chung
1b154e4fd3 8307083: Open source some drag and drop tests 3
Reviewed-by: prr, serb
2023-05-18 15:45:12 +00:00
Jasmine Karthikeyan
cc5c9b5da2 8305787: Wrong debugging information printed with TraceOptoOutput
Reviewed-by: thartmann, kvn
2023-05-18 15:09:45 +00:00
Thomas Stuefe
808dc1b047 8308350: Increase buffer size for jspawnhelper arguments
Reviewed-by: rriggs
2023-05-18 14:01:08 +00:00
Amit Kumar
a58e0ca9d2 8308347: [s390x] build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
2023-05-18 13:51:34 +00:00
bobpengxie
bfc3ccd90d 8308283: Build failure with GCC12 & GCC13
Reviewed-by: erikj, jiefu
2023-05-18 12:26:45 +00:00
Jan Kratochvil
57b8ed1398 8308290: Add fontconfig requirement to building.md
Reviewed-by: erikj
2023-05-18 08:48:16 +00:00
Chen Liang
3c9ec26370 8306457: Classfile API components implementations should not be exposed
Reviewed-by: asotona
2023-05-18 06:54:01 +00:00
Adam Sotona
f4f5542f8d 8306842: Classfile API performance improvements
Reviewed-by: redestad
2023-05-18 06:02:47 +00:00
Thomas Stuefe
95da499ef2 8308285: Assert on -Xshare:dump when running with -Xlog:cds=trace
Reviewed-by: ccheung, iklam
2023-05-18 05:47:23 +00:00
Ioi Lam
6f75dd8741 8308236: Remove SystemDictionaryShared::clone_dumptime_tables()
Reviewed-by: vlivanov, ccheung
2023-05-18 04:10:49 +00:00
Boris Ulasevich
83c096d6e2 8308270: ARM32 build broken after JDK-8304913
Reviewed-by: stuefe, rriggs
2023-05-18 03:14:38 +00:00
Jiangli Zhou
902585bec1 8308110: Resolve multiple definition of 'JNI_OnLoad_jsound' linking error
Reviewed-by: alanb, rasbold
2023-05-17 21:04:34 +00:00
Eric Caspole
6073edf3cd 8307483: New micros for j.u.c.LockSupport
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: shade, redestad
2023-05-17 20:39:26 +00:00
Patricio Chilano Mateo
24094482f0 8307365: JvmtiStressModule hit SIGSEGV in JvmtiEventControllerPrivate::recompute_thread_enabled
Reviewed-by: sspitsyn, dcubed, lmesnik
2023-05-17 20:16:21 +00:00
Alisen Chung
950c5df859 8307299: Move more DnD tests to open
Reviewed-by: prr, serb
2023-05-17 18:57:59 +00:00
Leonid Mesnik
8bedf2efd7 8308292: Problemlist vmTestbase/nsk/jvmti/AttachOnDemand/attach020/TestDescription.java
Reviewed-by: sspitsyn
2023-05-17 17:24:38 +00:00
Brian Burkhalter
6d4782bc73 8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
Reviewed-by: alanb
2023-05-17 16:04:08 +00:00
Joe Darcy
f57c78337e 8308239: Tighten up accessibility of nested classes in java.lang.invoke
Reviewed-by: alanb
2023-05-17 15:31:03 +00:00
Martin Doerr
64f6681cc7 8308246: PPC64le build broken after JDK-8304913
Reviewed-by: shade, mbaesken
2023-05-17 15:10:46 +00:00
Adam Sotona
5763be7267 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Reviewed-by: erikj, liach
2023-05-17 12:45:19 +00:00
JoKern65
c7951cf674 8306304: Fix xlc17 clang warnings in ppc and aix code
Reviewed-by: erikj, tsteele, mbaesken
2023-05-17 11:48:56 +00:00
Erik Österlund
285c833ffa 8308043: Deadlock in TestCSLocker.java due to blocking GC while allocating
Reviewed-by: stefank, ayang, tschatzl
2023-05-17 11:47:30 +00:00
Jaikiran Pai
1a6f9810cd 8308185: Update Http2TestServerConnection to use SSLSocket.startHandshake()
Reviewed-by: djelinski
2023-05-17 10:06:22 +00:00
Aleksey Shipilev
b300e73a4a 8308088: Improve class check in CollectedHeap::is_oop
Reviewed-by: zgu, tschatzl, ayang, stuefe
2023-05-17 09:19:08 +00:00
Axel Boldt-Christmas
e34ecc97e6 8296469: Instrument VMError::report with reentrant iteration step for register and stack printing
Reviewed-by: eosterlund, stuefe
2023-05-17 07:07:41 +00:00
Matthias Baesken
5a92aae1d9 8308156: VerifyCACerts.java misses blank in error output
Reviewed-by: mullan, rhalade
2023-05-17 06:42:19 +00:00
Guoxiong Li
2f1c65486b 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
Reviewed-by: cjplummer, kevinw
2023-05-17 03:07:56 +00:00
Ashutosh Mehra
d3e5065284 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive
Reviewed-by: coleenp, iklam
2023-05-16 22:36:44 +00:00
Leonid Mesnik
563152f32d 8308223: failure handler missed jcmd.vm.info command
Reviewed-by: stefank
2023-05-16 19:44:38 +00:00
Erik Helin
cb8b8cdd68 8307458: Add periodic heap usage JFR events
Reviewed-by: stefank, aboldtch
2023-05-16 18:53:58 +00:00
Naoto Sato
f9a785e855 8307547: Support variant collations
Reviewed-by: srl, jlu, alanb
2023-05-16 18:00:45 +00:00
Justin Lu
4e92991809 8300794: Use @snippet in java.util:i18n
Reviewed-by: naoto, lancea
2023-05-16 17:10:21 +00:00
Chris Plummer
64d5157116 8306467: Fix nsk/jdb/kill/kill001 to work with new JVMTI StopThread support for virtual threads.
Reviewed-by: sspitsyn, amenkov
2023-05-16 17:02:12 +00:00
Coleen Phillimore
488330d53b 8307533: Use atomic bitset functions for metadata flags
Reviewed-by: ccheung, kbarrett
2023-05-16 16:46:09 +00:00
Stefan Karlsson
60ab1358da 8308097: Generational ZGC: Update constructor syntax
Reviewed-by: eosterlund, aboldtch
2023-05-16 16:13:58 +00:00
Stefan Karlsson
599fa774b8 8308092: Replace NULL with nullptr in gc/x
Reviewed-by: eosterlund, aboldtch, tschatzl, dholmes
2023-05-16 16:12:20 +00:00
Stefan Karlsson
682359cb48 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Reviewed-by: kbarrett, tschatzl
2023-05-16 16:04:18 +00:00
Johan Sjölen
9d5bab11f0 8300081: Replace NULL with nullptr in share/asm/
Reviewed-by: coleenp
2023-05-16 15:40:39 +00:00
Amit Kumar
41ee125a0f 8278411: Implement UseHeavyMonitors consistently, s390 port
Reviewed-by: mdoerr, stuefe, lucy
2023-05-16 15:25:19 +00:00
Stefan Karlsson
316bc79e0e 8308188: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC on all platforms
Reviewed-by: dcubed
2023-05-16 14:48:46 +00:00
Calvin Cheung
8686a36b40 8307315: Missing ResourceMark in CDS and JVMTI code
Reviewed-by: coleenp, iklam
2023-05-16 14:42:33 +00:00
Christoph Dreis
23cbb2d170 8306860: Avoid unnecessary allocation in List.map() when list is empty
Reviewed-by: vromero
2023-05-16 14:22:40 +00:00
Leonid Mesnik
be54b54fb3 8307369: Add execution of all svc tests in CI
Reviewed-by: cjplummer, sspitsyn
2023-05-16 13:39:04 +00:00
Christian Hagedorn
19c8c30d1c 8305634: Renaming predicates, simple cleanups, and adding summary about current predicates
Reviewed-by: epeter, thartmann, roland
2023-05-16 13:30:07 +00:00
Daniel Fuchs
72294c5402 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
Reviewed-by: djelinski, michaelm
2023-05-16 09:13:17 +00:00
Doug Simon
c9b6bb5bd7 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
Reviewed-by: thartmann
2023-05-16 08:50:22 +00:00
Kevin Walls
0790f704fd 8306806: JMX agent with JDP enabled won't start when PerfData is disabled
Reviewed-by: dholmes, cjplummer
2023-05-16 08:28:53 +00:00
Serguei Spitsyn
c2ef302468 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
Reviewed-by: cjplummer, lmesnik
2023-05-16 07:20:01 +00:00
Jaikiran Pai
d22bcc813e 8307403: java/util/zip/DeInflate.java timed out
Reviewed-by: simonis, lancea
2023-05-16 05:06:46 +00:00
Jayathirth D V
2210e06788 8306638: Open source some AWT tests related to datatransfer and Toolkit
Reviewed-by: prr, serb, dnguyen
2023-05-16 04:09:08 +00:00
Ioi Lam
05b51c75b9 8307567: Avoid relocating global roots to metaspaceObjs in CDS dump
Reviewed-by: matsaave, ccheung
2023-05-16 01:40:07 +00:00
Justin Lu
316837226e 8306597: Improve string formatting in EquivMapsGenerator.java
Reviewed-by: naoto
2023-05-15 23:19:02 +00:00
Joe Darcy
7b0b9b570b 8308049: Refactor nested class declarations in FdLibm.java
Reviewed-by: smarks
2023-05-15 20:09:12 +00:00
Chris Plummer
cc80ada739 8306593: Fix nsk/jdi/stop/stop001 for virtual threads and remove from problem list
Reviewed-by: lmesnik, sspitsyn
2023-05-15 18:59:08 +00:00
Yi-Fan Tsai
43c8c650af 8307555: Reduce memory reads in x86 MD5 intrinsic
Reviewed-by: simonis, phh
2023-05-15 18:41:53 +00:00
Roger Riggs
01892f9c6e 8304913: Use OperatingSystem, Architecture, and Version in jlink
Reviewed-by: jpai, alanb, mchung
2023-05-15 18:03:24 +00:00
Roger Riggs
0f7b1c549f 8299340: CreateProcessW lpCommandLine must be mutable
Reviewed-by: naoto
2023-05-15 18:02:43 +00:00
Ioi Lam
57e7a3fbea 8307959: Remove explicit type casts from SerializeClosure::do_xxx() calls
Reviewed-by: matsaave, ccheung
2023-05-15 16:33:37 +00:00
Stefan Karlsson
97b2ca3de7 8307997: gtest:ZIndexDistributorTest fails on PPC64
Reviewed-by: mdoerr
2023-05-15 13:52:34 +00:00
Aleksey Shipilev
ffab1ea9e7 8308086: GHA: x86_32 host configuration failing with unmet dependencies
Reviewed-by: stuefe
2023-05-15 13:51:04 +00:00
Tobias Hartmann
ad348a8cec 8303512: Race condition when computing is_loaded property of TypePtr::InterfaceSet
Reviewed-by: roland, qamai, kvn
2023-05-15 11:06:20 +00:00
gaogao-mem
911cc7cb07 8305819: LogConfigurationTest intermittently fails on AArch64
Reviewed-by: aph, dholmes, xliu
2023-05-15 09:16:32 +00:00
Tobias Hartmann
8d49ba9e8d 8308072: [BACKOUT] update for deprecated sprintf for src/utils
Reviewed-by: iris
2023-05-15 05:42:23 +00:00
Julian Waters
0ee196bef1 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows
Reviewed-by: stuefe
2023-05-14 13:57:42 +00:00
Vladimir Kempik
3709344166 8291550: RISC-V: jdk uses misaligned memory access when AvoidUnalignedAccess enabled
Co-authored-by: Xiaolin Zheng <xlinzheng@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fjiang, fyang
2023-05-14 06:56:03 +00:00
Kim Barrett
646747fd7c 8307926: Support byte-sized atomic bitset operations
Reviewed-by: aboldtch, coleenp
2023-05-13 23:03:06 +00:00
Daniel D. Daugherty
f030937a51 8305670: Performance regression in LockSupport.unpark with lots of idle threads
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: rehn, dholmes
2023-05-13 14:44:57 +00:00
Daniel D. Daugherty
ceca198ef2 8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList
Reviewed-by: dholmes, rehn, apangin
2023-05-13 14:41:19 +00:00
Daniel D. Daugherty
5e26e64cbf 8307067: remove broken EnableThreadSMRExtraValidityChecks option
Reviewed-by: coleenp, dholmes, sspitsyn, rehn
2023-05-13 14:39:58 +00:00
Thomas Stuefe
e54051ae9e 8307935: Class space argument processing can be simplified
Reviewed-by: stefank, coleenp
2023-05-13 06:35:17 +00:00
Valerie Peng
46e3d24a6f 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
Reviewed-by: mullan
2023-05-12 23:00:00 +00:00
Alisen Chung
3bf3876185 8307297: Move some DnD tests to open
Reviewed-by: prr, serb
2023-05-12 21:23:25 +00:00
Chen Liang
d8afc7beeb 8300204: Sealed-class hierarchy graph missing nodes
Reviewed-by: jjg
2023-05-12 20:59:31 +00:00
Chris Plummer
38838b344a 8307480: Improve SA "transported core" documentation for windows
Reviewed-by: sspitsyn, kevinw, poonam
2023-05-12 20:36:38 +00:00
Jonathan Gibbons
9842ff4129 8306607: Apply 80-column output to javac supported version output
Reviewed-by: darcy
2023-05-12 20:29:06 +00:00
Chris Plummer
d809823fe4 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()
Reviewed-by: sspitsyn, alanb
2023-05-12 20:05:21 +00:00
Justin Lu
4441a2306f 6714245: [Col] Collator - Faster Comparison for identical strings.
Reviewed-by: rriggs, naoto
2023-05-12 19:58:37 +00:00
Sergey Chernyshev
a284920b34 8168469: Memory leak in JceSecurity
Reviewed-by: valeriep
2023-05-12 19:24:45 +00:00
Jonathan Gibbons
7455bb23c1 8308015: Syntax of "import static" is incorrect in com.sun.source.tree.ImportTree.java
Reviewed-by: jlaskey, darcy
2023-05-12 17:18:37 +00:00
Maurizio Cimadamore
6ebea8973f 8307911: javadoc for MemorySegment::reinterpret has duplicate restricted method paragraph
Reviewed-by: jvernee
2023-05-12 16:18:00 +00:00
Daniel Fuchs
3c68c352fc 8307535: java.util.logging.Handlers should be more VirtualThread friendly
Reviewed-by: jpai
2023-05-12 15:24:11 +00:00
Brian Burkhalter
9fa8b9a4a6 8307409: Refactor usage examples to use @snippet in the java.nio packages
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Thomas Schatzl
e512a20679 8306541: Refactor collection set candidate handling to prepare for JDK-8140326
Reviewed-by: iwalulya, ayang
2023-05-12 15:07:48 +00:00
Xue-Lei Andrew Fan
4b0f4213a5 8307855: update for deprecated sprintf for src/utils
Reviewed-by: thartmann
2023-05-12 14:52:28 +00:00
Afshin Zafari
39dc40fed4 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
Reviewed-by: coleenp, thartmann
2023-05-12 14:25:46 +00:00
Albert Mingkun Yang
f7bbbc6590 8307808: G1: Remove partial object-count report after gc
Reviewed-by: tschatzl, iwalulya
2023-05-12 13:13:34 +00:00
Maurizio Cimadamore
13a3fce29e 8307961: java/foreign/enablenativeaccess/TestEnableNativeAccess.java fails with ShouldNotReachHere
Reviewed-by: jvernee
2023-05-12 10:38:27 +00:00
Kim Barrett
f09a0f5ca7 8307806: Rename Atomic::fetch_and_add and friends
Reviewed-by: stefank, dholmes
2023-05-12 09:50:52 +00:00
Yasumasa Suenaga
b6bcbc0cbc 8305770: os::Linux::available_memory() should refer MemAvailable in /proc/meminfo
Reviewed-by: stuefe, sgehwolf, rcastanedalo, dholmes
2023-05-12 08:48:29 +00:00
Afshin Zafari
e1e758a7b4 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests
Reviewed-by: coleenp, dholmes
2023-05-12 07:32:46 +00:00
Thomas Schatzl
1ce1611ead 8307518: Remove G1 workaround in jstat about zero sized generation sizes
Reviewed-by: kbarrett, ayang
2023-05-12 07:23:28 +00:00
Xiaolin Zheng
e32de7efd6 8306667: RISC-V: Fix storeImmN0 matching rule by using zr register
Reviewed-by: shade, gli, fyang
2023-05-12 07:10:53 +00:00
Matthias Baesken
f3bd031ccd 8307891: ProblemList gtest/NMTGtest.java subtests on aix
Reviewed-by: mdoerr, lucy
2023-05-12 07:06:45 +00:00
JoKern65
5f1f9460d7 8307520: set minimum supported CPU architecture to Power8 on AIX
Reviewed-by: mbaesken, erikj
2023-05-12 07:02:45 +00:00
Jie Fu
ccb4dd6144 8307969: [zgc] Missing includes in gc/z/zTracer.cpp
Reviewed-by: stefank
2023-05-12 06:31:09 +00:00
Abhishek Kumar
73491fa452 8306996: Open source Swing MenuItem related tests
Reviewed-by: dnguyen, honkar, psadhukhan
2023-05-12 02:52:43 +00:00
Ningsheng Jian
33d9a85730 8307572: AArch64: Vector registers are clobbered by some macroassemblers
Reviewed-by: aph, adinn
2023-05-12 02:05:18 +00:00
Daniel D. Daugherty
9a7b4431ec 8307966: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-x64
Reviewed-by: naoto, lmesnik
2023-05-12 00:51:49 +00:00
Chris Plummer
54c06d2d91 8307559: Add better checking in com/sun/jdi tests for debuggee exiting unexpectedly with an exception
Reviewed-by: kevinw, lmesnik
2023-05-11 23:16:22 +00:00
Jie Fu
ce5907727e 8307945: Build of Client VM is broken after JDK-8307058
Reviewed-by: kvn
2023-05-11 22:35:40 +00:00
Matias Saavedra Silva
a667213ec5 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java
Reviewed-by: ccheung, iklam
2023-05-11 19:37:16 +00:00
Joe Darcy
29b8242e07 8307954: Update string template regression tests to be robust on release updates
Reviewed-by: jlaskey
2023-05-11 18:22:10 +00:00
Guoxiong Li
4f355c3525 8307653: Adjust delay time and gc log argument in TestAbortOnVMOperationTimeout
Reviewed-by: dholmes, dcubed
2023-05-11 18:21:30 +00:00
Xue-Lei Andrew Fan
15358636cf 8307848: update for deprecated sprintf for jdk.attach
Reviewed-by: sspitsyn, cjplummer
2023-05-11 18:09:43 +00:00
Xue-Lei Andrew Fan
cbecf422df 8307850: update for deprecated sprintf for jdk.jdi
Reviewed-by: cjplummer
2023-05-11 18:07:54 +00:00
Dean Long
7fcb0fdcd4 8307139: Fix signed integer overflow in compiler code, part 1
Reviewed-by: thartmann, rcastanedalo, kvn
2023-05-11 18:06:43 +00:00
Robert Toyonaga
5d6cce0f85 8307298: JFR: Ensure jdk.jfr.internal.TypeLibrary is initialized only once
Reviewed-by: sgehwolf, egahlin
2023-05-11 18:05:58 +00:00
Serguei Spitsyn
51b8f3cfb9 8306034: add support of virtual threads to JVMTI StopThread
Reviewed-by: cjplummer
2023-05-11 17:48:39 +00:00
Chris Plummer
489658dbd2 8307885: com/sun/jdi/ConnectedVMs.java fails with "Invalid debuggee exitValue: 0"
Reviewed-by: kevinw, sspitsyn
2023-05-11 17:07:27 +00:00
Daniel Fuchs
9ad38cbeaf 8307626: java/net/httpclient/FlowAdapter* tests should close the HttpClient instances
Reviewed-by: aefimov, jpai
2023-05-11 16:31:04 +00:00
Fredrik Bredberg
2bf7ac58b7 8297657: name demangling intermittently fails
Reviewed-by: stefank, coleenp
2023-05-11 14:02:54 +00:00
Stefan Karlsson
d20034b09c 8307058: Implementation of Generational ZGC
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Erik Helin <ehelin@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: eosterlund, aboldtch, rcastanedalo
2023-05-11 13:59:37 +00:00
Yudi Zheng
0cbfbc400a 8307813: [JVMCI] Export markWord::lock_mask_in_place to JVMCI compilers.
Reviewed-by: dnsimon, kvn, never
2023-05-11 10:38:28 +00:00
Maurizio Cimadamore
ba9714d44c 8307610: Linker::nativeLinker should not be restricted (mainline)
Reviewed-by: jvernee
2023-05-11 09:45:45 +00:00
Thomas Stuefe
ecc1d85dbe 8307869: Remove unnecessary log statements from arm32 fastlocking code
Reviewed-by: shade
2023-05-11 09:24:30 +00:00
JoKern65
08fa269886 8307349: Support xlc17 clang toolchain on AIX
Reviewed-by: erikj, mbaesken
2023-05-11 07:40:38 +00:00
Thomas Stuefe
8ac7186331 8305416: runtime/Thread/TestAlwaysPreTouchStacks.java failed with "Did not find expected NMT output"
Reviewed-by: dholmes, gziemski
2023-05-11 04:50:37 +00:00
Thomas Stuefe
984fbbbcab 8307810: Consistently use LockingMode instead of UseHeavyMonitors
Reviewed-by: dcubed, mdoerr, dholmes, amitkumar
2023-05-11 04:47:14 +00:00
Feilong Jiang
39f4e4d3c3 8307758: RISC-V: Improve bit test code introduced by JDK-8291555
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang
2023-05-11 01:32:29 +00:00
David Holmes
3cb606ef5b 8306965: osThread allocation failures should not abort the VM
Reviewed-by: lfoltan
2023-05-11 00:51:15 +00:00
Justin Lu
4795c395e9 8281103: Give example for Locale that is English and follows the ISO standards
Reviewed-by: rriggs, lancea, naoto
2023-05-10 23:57:48 +00:00
Jonathan Gibbons
958d4a7505 8307563: make most fields final in JavacTrees
Reviewed-by: vromero
2023-05-10 22:23:04 +00:00
Jonathan Gibbons
f250ab2c2a 8307377: Remove use of tagName from TagletWriterImpl.linkSeeReferenceOutput
Reviewed-by: hannesw
2023-05-10 22:05:58 +00:00
Ashutosh Mehra
cc9f7ad9ce 8307765: DynamicArchiveHeader contents are missing in CDS mapfile
Reviewed-by: iklam, ccheung
2023-05-10 21:51:36 +00:00
Daniel D. Daugherty
edc4adb77e 8307860: [BACKOUT] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj
2023-05-10 21:08:28 +00:00
Daniel D. Daugherty
df90df298e 8307857: validate-source fails after JDK-8306758
Reviewed-by: rriggs, cjplummer
2023-05-10 19:38:24 +00:00
Chris Plummer
268836482d 8306758: com/sun/jdi/ConnectedVMs.java fails with "Non-zero debuggee exitValue: 143"
Reviewed-by: amenkov, sspitsyn
2023-05-10 19:09:24 +00:00
Jiangli Zhou
1964954da9 8307194: Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Reviewed-by: erikj, sgehwolf
2023-05-10 17:26:02 +00:00
Kevin Walls
9af1787ebe 8307244: Remove redundant class RMIIIOPServerImpl
Reviewed-by: sspitsyn, dfuchs, alanb
2023-05-10 16:44:49 +00:00
Viktor Klang
8a95020ab6 8151531: Add notes to BaseStream.spliterator/iterator docs regarding them being escape hatches
Reviewed-by: psandoz
2023-05-10 16:29:34 +00:00
Archie Cobbs
0198afca3a 8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
Reviewed-by: alanb, bpb
2023-05-10 16:24:00 +00:00
Daniel D. Daugherty
1bca05eace 8307799: Newly added java/awt/dnd/MozillaDnDTest.java has invalid jtreg @requires clause
Reviewed-by: rriggs, azvegint
2023-05-10 14:40:56 +00:00
Johan Sjölen
cc396895e5 8300245: Replace NULL with nullptr in share/jfr/
Reviewed-by: mgronlun, coleenp
2023-05-10 12:35:21 +00:00
Coleen Phillimore
4251b56214 8306843: JVMTI tag map extremely slow after JDK-8292741
Reviewed-by: sspitsyn, iklam
2023-05-10 12:32:06 +00:00
Afshin Zafari
ab34cb98c8 8305082: Remove finalize() from test/hotspot/jtreg/runtime/linkResolver/InterfaceObjectTest.java
Reviewed-by: coleenp, dholmes
2023-05-10 12:20:00 +00:00
Johannes Bechberger
0da48f19cb 8307732: build-test-lib is broken
Reviewed-by: erikj, djelinski
2023-05-10 12:13:22 +00:00
Jim Laskey
4aa65cbeef 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Aleksei Efimov
da2c930262 8302845: Replace finalizer usage in JNDI DNS provider with Cleaner
Reviewed-by: alanb, dfuchs, djelinski
2023-05-10 09:39:00 +00:00
Oli Gillespie
540c706bbc 8307348: Parallelize heap walk for ObjectCount(AfterGC) JFR event collection
Reviewed-by: shade, ayang, tschatzl
2023-05-10 08:54:18 +00:00
Fredrik Bredberg
d993432d44 8306930: Incorrect assert in BitMap::count_one_bits
Reviewed-by: stefank, tschatzl, kbarrett
2023-05-10 07:55:11 +00:00
Tobias Hotz
4b4c80bb31 8307351: (CmpI/L(AndI/L reg1 reg2)) on x86 can be optimized
Reviewed-by: sviswanathan, qamai, thartmann
2023-05-10 05:48:02 +00:00
Feilong Jiang
d3e6d04e3e 8307651: RISC-V: stringL_indexof_char instruction has wrong format string
Reviewed-by: fyang
2023-05-10 03:10:31 +00:00
Serguei Spitsyn
2be1f10fec 8307399: get rid of compatibility ThreadStart/ThreadEnd events for virtual threads
Reviewed-by: alanb, pchilanomate, cjplummer
2023-05-10 01:48:03 +00:00
Alex Menkov
f5a6b7f7c0 8306027: Clarify JVMTI heap functions spec about virtual thread stack.
Reviewed-by: alanb, sspitsyn
2023-05-09 21:14:17 +00:00
Leonid Mesnik
a1c3adb88d 8307370: Add tier1 testing with thread factory in CI
Reviewed-by: sspitsyn
2023-05-09 21:03:25 +00:00
Roger Riggs
356667f155 8307466: java.time.Instant calculation bug in until and between methods
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: scolebourne, naoto
2023-05-09 20:51:33 +00:00
Alisen Chung
723582c524 8306881: Update FreeType to 2.13.0
Reviewed-by: prr, dnguyen
2023-05-09 19:30:50 +00:00
Alisen Chung
98294242a9 8307128: Open source some drag and drop tests 4
Reviewed-by: prr
2023-05-09 19:14:12 +00:00
Leonid Mesnik
7f05f6f7c7 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes
Reviewed-by: alanb
2023-05-09 18:06:40 +00:00
Thiago Henrique Hüpner
dde557e312 8304148: Remapping a class with Invokedynamic constant loses static bootstrap arguments
Reviewed-by: asotona
2023-05-09 17:33:27 +00:00
Justin Lu
82bcee76ea 8159337: Introduce a method in Locale class to return the language tags as per RFC 5646 convention
Reviewed-by: naoto, rriggs
2023-05-09 17:15:06 +00:00
Leonid Mesnik
3aff5eacbd 8307486: ProcessTools.java should wait until vthread is completed before checking exceptions
Reviewed-by: dholmes, alanb
2023-05-09 16:36:21 +00:00
Xue-Lei Andrew Fan
44fa12e751 8303830: update for deprecated sprintf for jdk.accessibility
Reviewed-by: kizune
2023-05-09 15:49:28 +00:00
Viktor Klang
fdbfc8a73b 8133773: clarify specification of Spliterator.tryAdvance
Reviewed-by: psandoz, tvaleev, rriggs
2023-05-09 15:37:23 +00:00
Matthew Donovan
5842fd5beb 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
2023-05-09 14:25:40 +00:00
Axel Boldt-Christmas
672bade522 8306738: Select num workers for safepoint ParallelCleanupTask
Reviewed-by: shade, coleenp, tschatzl
2023-05-09 14:04:26 +00:00
Adam Sotona
a05560d993 8305990: Stripping debug info of ASM 9.5 fails
Reviewed-by: mcimadamore
2023-05-09 13:13:17 +00:00
Josef Eisl
040cb7b5a9 8307588: [JVMCI] HotSpotConstantPool#lookupBootstrapMethodInvocation broken by JDK-8301995
Reviewed-by: dnsimon, never, kvn
2023-05-09 12:29:27 +00:00
Maurizio Cimadamore
f92d095e16 8307411: Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
Reviewed-by: jvernee
2023-05-09 11:11:15 +00:00
Maurizio Cimadamore
7a3bea1f6a 8307629: FunctionDescriptor::toMethodType should allow sequence layouts (mainline)
Reviewed-by: jvernee
2023-05-09 11:09:39 +00:00
Roland Westrelin
d2b3eef0f2 8307131: C2: assert(false) failed: malformed control flow
Reviewed-by: kvn, chagedorn, thartmann
2023-05-09 09:54:22 +00:00
Chen Liang
cd5d0ff5b2 8304031: Classfile API cannot encode Primitive Class as Condy
Reviewed-by: asotona
2023-05-09 09:14:18 +00:00
Sean Coffey
07f55c5ea2 8305950: Have -XshowSettings option display tzdata version
Reviewed-by: rriggs
2023-05-09 06:05:58 +00:00
Damon Nguyen
d9052b9466 8307130: Open source few Swing JMenu tests
Reviewed-by: prr
2023-05-08 22:29:48 +00:00
Tom Rodriguez
5e1fe43080 8299229: [JVMCI] add support for UseZGC
Reviewed-by: eosterlund, kvn
2023-05-08 18:40:18 +00:00
Damon Nguyen
14df5c130e 8307165: java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java timed out
Reviewed-by: prr
2023-05-08 17:56:27 +00:00
Roman Kennke
7f6358a8b5 8291555: Implement alternative fast-locking scheme
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: dcubed, stuefe, shade, dholmes, dlong
2023-05-08 17:51:39 +00:00
Volker Simonis
4116b109f0 8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Reviewed-by: shade, rriggs
2023-05-08 14:56:05 +00:00
Raffaello Giulietti
93ee19f58a 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
2023-05-08 14:51:35 +00:00
Conor Cleary
ad90fb6da3 8293786: HttpClient will not send more than 64 kb of data from the 2nd request in http2
Reviewed-by: dfuchs, djelinski
2023-05-08 14:49:43 +00:00
Fredrik Bredberg
5a259d875e 8303153: Native interpreter frame missing mirror
Reviewed-by: coleenp, fyang
2023-05-08 14:44:54 +00:00
Darragh Clarke
4b02956d42 8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
Reviewed-by: djelinski, dfuchs
2023-05-08 14:33:44 +00:00
Tyler Steele
9f34e4f8d9 8304434: [AIX] Update minimum xlclang version
Reviewed-by: erikj, mbaesken
2023-05-08 14:29:51 +00:00
Matthias Baesken
d2e0e534d7 8307604: gcc12 based Alpine build broken build after JDK-8307301
Reviewed-by: lucy, mdoerr, erikj
2023-05-08 14:16:08 +00:00
Zhengyu Gu
e91f0d3dba 8307571: Remove unused SomeConstants in WatcherThread class
Reviewed-by: dholmes
2023-05-08 14:10:14 +00:00
Dingli Zhang
26755a9686 8306408: Fix the format of several tables in building.md
Reviewed-by: erikj
2023-05-08 14:00:05 +00:00
Jie Fu
64c0962866 8307569: Build with gcc8 is broken after JDK-8307301
Reviewed-by: erikj
2023-05-08 13:56:45 +00:00
Matthias Baesken
bb3e44d8b6 8307603: [AIX] Broken build after JDK-8307301
Reviewed-by: mdoerr
2023-05-08 12:24:41 +00:00
Arno Zeller
5c7ede94ae 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Reviewed-by: stuefe, cjplummer
2023-05-08 08:36:52 +00:00
Albert Mingkun Yang
89b7d07597 8307100: Remove ReferentBasedDiscovery reference discovery policy
Reviewed-by: kbarrett, dholmes, tschatzl
2023-05-08 08:31:04 +00:00
Hannes Wallnöfer
f6ea89795b 8306285: Missing file in search test
Reviewed-by: jjg
2023-05-08 08:03:49 +00:00
Stefan Karlsson
33245d6b38 8307517: Add VMErrorCallback infrastructure to extend hs_err dumping
Reviewed-by: eosterlund, aboldtch, dholmes, stuefe
2023-05-08 07:58:06 +00:00
Stefan Karlsson
7a1cb64bc1 8293547: Add relaxed add_and_fetch for macos aarch64 atomics
Reviewed-by: dholmes, eosterlund
2023-05-08 07:54:08 +00:00
Stefan Karlsson
68f385c1ca 8307428: jstat tests doesn't tolerate dash in the O column
Reviewed-by: kevinw, cjplummer
2023-05-08 07:52:25 +00:00
Amit Kumar
8bbd264c6e 8307423: [s390x] Represent Registers as values
Reviewed-by: mdoerr, lucy
2023-05-08 07:51:29 +00:00
Stefan Karlsson
959e62ca3e 8307521: Introduce check_oop infrastructure to check oops in the oop class
Reviewed-by: eosterlund, aboldtch, coleenp
2023-05-08 07:48:45 +00:00
Emanuel Peter
ad0e5a99ca 8304720: SuperWord::schedule should rebuild C2-graph from SuperWord dependency-graph
Reviewed-by: kvn, fgao
2023-05-08 06:09:10 +00:00
Gui Cao
495f2688d6 8306966: RISC-V: Support vector cast node for Vector API
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: fyang, fjiang
2023-05-08 01:15:12 +00:00
changpeng1997
0dca573ca5 8301739: AArch64: Add optimized rules for vector compare with immediate for SVE
Reviewed-by: aph, eliu
2023-05-06 07:20:20 +00:00
Alexander Zvegintsev
3d3eaed913 8306941: Open source several datatransfer and dnd AWT tests
Reviewed-by: prr
2023-05-06 02:16:32 +00:00
Feilong Jiang
1f57ce0a06 8307446: RISC-V: Improve performance of floating point to integer conversion
Reviewed-by: fyang, vkempik, gli
2023-05-06 01:23:40 +00:00
Ioi Lam
4e4828eaff 8307553: Remove dead code MetaspaceClosure::push_method_entry
Reviewed-by: coleenp, ccheung
2023-05-06 01:20:03 +00:00
Alexander Zvegintsev
7d58978f62 8280031: Deprecate GTK2 for removal
Reviewed-by: prr
2023-05-05 20:16:26 +00:00
Weijun Wang
b5922c3b86 8305846: Support compilation in Proc test utility
Reviewed-by: valeriep
2023-05-05 20:03:11 +00:00
Oli Gillespie
73ac710533 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: alanb
2023-05-05 19:36:35 +00:00
Leonid Mesnik
e2b1013f11 8306326: [BACKOUT] 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann, kvn
2023-05-05 18:57:33 +00:00
Harshitha Onkar
4386d42d31 8307381: Open Source JFrame, JIF related Swing Tests
Reviewed-by: dnguyen, kizune
2023-05-05 18:12:48 +00:00
Matias Saavedra Silva
27764e6035 8306583: Add JVM crash check in CDSTestUtils.executeAndLog
Reviewed-by: iklam, ccheung
2023-05-05 18:06:19 +00:00
Rajat Mahajan
6c71859ac2 6176679: Application freezes when copying an animated gif image to the system clipboard
Reviewed-by: aivanov, dmarkov
2023-05-05 18:03:58 +00:00
Calvin Cheung
65a54883b3 8306712: CDS DeterministicDump.java test fails with -XX:+UseStringDeduplication
Reviewed-by: iklam, matsaave
2023-05-05 17:39:40 +00:00
Harshitha Onkar
d8b230c384 8307301: Update HarfBuzz to 7.2.0
Reviewed-by: prr
2023-05-05 17:33:25 +00:00
Damon Nguyen
b5a48277ab 8306871: Open source more AWT Drag & Drop tests
Reviewed-by: prr
2023-05-05 16:28:03 +00:00
Maurizio Cimadamore
47422be2d1 8307375: Alignment check on layouts used as sequence element is not correct
Reviewed-by: jvernee
2023-05-05 15:59:13 +00:00
Roman Kennke
3968ab5db5 8307395: Add missing STS to Shenandoah
Reviewed-by: shade
2023-05-05 15:56:10 +00:00
Roman Kennke
12d6ec66a6 8307236: Rendezvous GC threads under STS for monitor deflation
Reviewed-by: eosterlund, shade
2023-05-05 14:35:33 +00:00
Matias Saavedra Silva
6fe959c62d 8307306: Change some ConstantPool::name_ref_at calls to uncached_name_ref_at
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: coleenp, fparain
2023-05-05 14:24:40 +00:00
Matthew Donovan
3f6a3545a2 8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
Reviewed-by: ssahoo, jnimeh
2023-05-05 14:17:00 +00:00
Afshin Zafari
f143bf7c45 8305084: Remove the removal warnings for finalize() from test/hotspot/jtreg/serviceability/dcmd/gc/FinalizerInfoTest.java and RunFinalizationTest.java
Reviewed-by: dholmes, cjplummer
2023-05-05 13:22:01 +00:00
Weibing Xiao
746f8d1333 8305714: Add an extra test for JDK-8292755
Reviewed-by: coffeys
2023-05-05 13:19:20 +00:00
Afshin Zafari
1a1ce66dc9 8305080: Suppress the 'removal' warning for finalize() from test/hotspot/jtreg/compiler/jvmci/common/testcases that used in compiler/jvmci/compilerToVM/ tests
Reviewed-by: dnsimon, coleenp
2023-05-05 13:12:19 +00:00
Adam Sotona
3b430b9f73 8250596: Update remaining manpage references from "OS X" to "macOS"
Reviewed-by: mullan, cjplummer, dholmes, sspitsyn
2023-05-05 08:54:53 +00:00
Johan Sjölen
948f3b3c24 8301493: Replace NULL with nullptr in cpu/aarch64
Reviewed-by: tschatzl, gziemski, dholmes
2023-05-05 08:54:05 +00:00
Andrew Dinn
f94f957734 8307331: Correctly update line maps when class redefine rewrites bytecodes
Reviewed-by: sspitsyn
2023-05-05 07:50:21 +00:00
Thomas Schatzl
302bc2fd7f 8307421: Fix comment in g1CollectionSetChooser.hpp after JDK-8306836
Reviewed-by: shade
2023-05-05 06:36:08 +00:00
Kim Barrett
e19cf26d65 8307196: Dangling pointer warning for MetadataAllocationRequest
Reviewed-by: dholmes, eosterlund
2023-05-05 06:20:32 +00:00
William Kemper
1b143ba787 8307378: Allow collectors to provide specific values for GC notifications' actions
Reviewed-by: kdnilsen, stefank
2023-05-05 05:43:05 +00:00
Leonid Mesnik
a44e8908a1 8307308: Add serviceability_ttf_virtual group to exclude jvmti tests developed for virtual threads
Reviewed-by: sspitsyn
2023-05-05 00:43:59 +00:00
Eric Liu
46df171d53 8304948: [vectorapi] C2 crashes when expanding VectorBox
Reviewed-by: thartmann, qamai
2023-05-05 00:34:12 +00:00
Daniel D. Daugherty
111858f3ff 8307489: ProblemList jdk/incubator/vector/LoadJsvmlTest.java on windows-x64
8307490: ProblemList sun/security/pkcs11/Cipher/TestKATForGCM.java on linux-x64 and macosx-x64
8307491: ProblemList sanity/client/SwingSet/src/EditorPaneDemoTest.java on linux-x64

Reviewed-by: darcy
2023-05-04 21:32:35 +00:00
Kevin Driver
197d0cc603 8294983: SSLEngine throws ClassCastException during handshake
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: wetmore, xuelei
2023-05-04 19:25:01 +00:00
Coleen Phillimore
a87262efb2 8307295: Add warning to not create new ACC flags
Reviewed-by: dholmes, fparain
2023-05-04 17:42:14 +00:00
Markus Grönlund
0c6529d2d3 8307156: native_thread not protected by TLH
Reviewed-by: coleenp, dcubed
2023-05-04 17:26:31 +00:00
Phil Race
5ca0b08a75 8307133: Open source some JTable jtreg tests
Reviewed-by: serb
2023-05-04 16:44:24 +00:00
Alexander Zvegintsev
2adb3b409e 8306943: Open source several dnd AWT tests
Reviewed-by: prr, serb
2023-05-04 15:39:08 +00:00
Chen Liang
dc4096ce13 8304937: BufferedFieldBuilder.Model missing writeTo(DirectClassBuilder)
Reviewed-by: asotona
2023-05-04 13:24:08 +00:00
Stefan Johansson
29233e0a00 8307448: Test RedefineSharedClassJFR fail due to wrong assumption
Reviewed-by: eosterlund, coleenp
2023-05-04 12:48:56 +00:00
Stefan Johansson
408cec516b 8306929: Avoid CleanClassLoaderDataMetaspaces safepoints when previous versions are shared
Reviewed-by: coleenp, sspitsyn
2023-05-04 11:00:44 +00:00
Maurizio Cimadamore
cecf817f5e 8307181: MemoryLayout.structLayout uses undocumented strict alignment constraints
Reviewed-by: jvernee
2023-05-04 09:44:31 +00:00
Oli Gillespie
3f1927a7f3 8307346: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code
Reviewed-by: tschatzl, shade, ayang
2023-05-04 09:19:19 +00:00
Kevin Walls
e206d57bfc 8307362: Remove test com/sun/jdi/JdbLastErrorTest.java
Reviewed-by: dcubed
2023-05-04 06:31:15 +00:00
Abhishek Kumar
82a8e91ef7 8306489: Open source AWT List related tests
Reviewed-by: prr, serb
2023-05-04 06:08:31 +00:00
Tejesh R
465bdd9e41 8307091: A few client tests intermittently throw ConcurrentModificationException
Reviewed-by: prr, dnguyen
2023-05-04 04:52:00 +00:00
Leonid Mesnik
caee1beaaf 8307305: Update debugger tests to support JTREG_TEST_THREAD_FACTORY mode
Reviewed-by: cjplummer
2023-05-04 03:51:24 +00:00
Kim Barrett
3599448ad8 8307147: [x86] Dangling pointer warning for Assembler::_attributes
Reviewed-by: dholmes, aph
2023-05-04 02:08:07 +00:00
Leonid Mesnik
64ac9a05e8 8306946: jdk/test/lib/process/ProcessToolsStartProcessTest.java fails with "wrong number of lines in OutputAnalyzer output"
Reviewed-by: dholmes
2023-05-04 01:10:54 +00:00
Jiangli Zhou
03030d47eb 8307134: Add GTS root CAs
Co-authored-by: Andy Warner <awarner@google.com>
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Reviewed-by: mullan, rhalade
2023-05-03 21:09:22 +00:00
jeremy
63cd0a36da 4200096: OffScreenImageSource.removeConsumer NullPointerException
Reviewed-by: prr, serb
2023-05-03 20:48:07 +00:00
Kevin Driver
db8b3cd084 8305963: Typo in java.security.Security.getProperty
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Reviewed-by: coffeys, wetmore
2023-05-03 20:47:23 +00:00
Martin Desruisseaux
dcb2f3f502 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface
Reviewed-by: prr
2023-05-03 20:45:57 +00:00
Harshitha Onkar
14874779ee 8305815: Update Libpng to 1.6.39
Reviewed-by: prr
2023-05-03 19:39:12 +00:00
Matthew Donovan
705ad7d829 8306014: Update javax.net.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Reviewed-by: xuelei
2023-05-03 18:00:10 +00:00
Jonathan Gibbons
3930709af4 8068925: Add @Override in javax.tools classes
Reviewed-by: darcy, iris
2023-05-03 17:32:24 +00:00
Thomas Schatzl
fc76687c2f 8306836: Remove pinned tag for G1 heap regions
Reviewed-by: ayang, cjplummer, sspitsyn
2023-05-03 13:50:02 +00:00
Roland Westrelin
ccf91f881c 8306933: C2: "assert(false) failed: infinite loop" failure
Reviewed-by: chagedorn, thartmann
2023-05-03 11:14:53 +00:00
Emanuel Peter
e9807a4b0f 8306042: C2: failed: Missed optimization opportunity in PhaseCCP (adding LShift->Cast->Add notification)
Reviewed-by: thartmann, chagedorn, kvn
2023-05-03 10:45:30 +00:00
Aleksey Shipilev
fcb280a48b 8305092: Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
Reviewed-by: dholmes, alanb
2023-05-03 09:39:57 +00:00
Albert Mingkun Yang
891530fbc9 8307005: Make CardTableBarrierSet::initialize non-virtual
Reviewed-by: dholmes
2023-05-03 09:26:27 +00:00
Roland Westrelin
e0774bed2d 8306997: C2: "malformed control flow" assert due to missing safepoint on backedge with a switch
Reviewed-by: thartmann, kvn
2023-05-03 08:29:01 +00:00
Erik Österlund
462b1df758 8307106: Allow concurrent GCs to walk CLDG without ClassLoaderDataGraph_lock
Reviewed-by: stefank, aboldtch, coleenp, dholmes
2023-05-03 08:16:15 +00:00
Adam Sotona
c8f37564bf 8306729: Add nominal descriptors of modules and packages to Constants API
Reviewed-by: mchung
2023-05-03 06:34:58 +00:00
Feilong Jiang
0b5b6429a0 8307150: RISC-V: Remove remaining StoreLoad barrier with UseCondCardMark for Serial/Parallel GC
Reviewed-by: shade, fyang
2023-05-03 02:23:41 +00:00
Damon Nguyen
418a82551a 8306466: Open source more AWT Drag & Drop related tests
Reviewed-by: prr
2023-05-02 23:45:44 +00:00
Eamonn McManus
74667e3d56 8303919: Instant.ofEpochMilli says it can throw an exception that it can't
Reviewed-by: rriggs
2023-05-02 23:26:01 +00:00
Harshitha Onkar
76991c8129 8282232: [Win] GetMousePositionWithPopup test fails due to wrong mouse position
Reviewed-by: prr
2023-05-02 23:22:17 +00:00
Stuart Marks
05b9b5821d 8302496: Runtime.exit incorrectly says it never throws an exception
Reviewed-by: alanb
2023-05-02 23:19:30 +00:00
Kim Barrett
8a70664e52 8293117: Add atomic bitset functions
Reviewed-by: shade, coleenp, dholmes
2023-05-02 21:27:01 +00:00
Liam Miller-Cushon
8c106b0c8e 8303784: no-@Target annotations should be applicable to type parameter declarations
Reviewed-by: vromero
2023-05-02 18:19:03 +00:00
Jonathan Gibbons
b76f320e76 8307123: Fix deprecation warnings in DPrinter
Reviewed-by: vromero
2023-05-02 16:54:39 +00:00
Jorn Vernee
a8bf2acb7d 8304888: Add dedicated VMProps for linker and fallback linker
Reviewed-by: alanb, mcimadamore
2023-05-02 13:56:32 +00:00
Johan Sjölen
75a4edca6b 8301223: Replace NULL with nullptr in share/gc/g1/
Reviewed-by: tschatzl, kbarrett
2023-05-02 13:04:14 +00:00
Yoshiki Sato
544bd260b6 8305505: NPE in javazic compiler
Reviewed-by: naoto
2023-05-02 12:42:15 +00:00
Thomas Stuefe
ea9201f420 8306510: Print number of threads and stack sizes in error reports
Reviewed-by: gziemski, dholmes
2023-05-02 12:18:23 +00:00
Fredrik Bredberg
a8d16dea8e 8300197: Freeze/thaw an interpreter frame using a single copy_to_chunk() call
Reviewed-by: rrich, pchilanomate, fyang
2023-05-02 12:14:12 +00:00
Jorn Vernee
1532a1b0bd 8307164: TestSegmentCopy times out (mainline)
Reviewed-by: mcimadamore
2023-05-02 10:42:49 +00:00
Martin Doerr
860bf9b35f 8307104: [AIX] VM crashes with UseRTMLocking on Power10
Reviewed-by: clanger, lucy
2023-05-02 09:19:49 +00:00
Alan Bateman
86f97fe70c 8305919: java/lang/Thread/virtual/HoldsLock.java#id0 failed, ThreadInfo.getLockInfo() return null
Reviewed-by: jpai
2023-05-02 07:20:19 +00:00
Joe Wang
2179a8f2d6 8298087: XML Schema Validation reports an required attribute twice via ErrorHandler
Reviewed-by: naoto
2023-05-02 03:12:06 +00:00
Serguei Spitsyn
1227a275a1 8306028: separate ThreadStart/ThreadEnd events posting code in JVMTI VTMS transitions
8304444: Reappearance of NULL in jvmtiThreadState.cpp

Reviewed-by: pchilanomate, lmesnik
2023-05-02 02:40:50 +00:00
Vicente Romero
35e75c131d 8301455: comments in TestTypeAnnotations still refer to resolved JDK-8068737
Reviewed-by: jjg
2023-05-01 20:28:50 +00:00
Sergey Tsypanov
561ec9c5a0 8300818: Reduce complexity of padding with DateTimeFormatter
Reviewed-by: redestad, rriggs
2023-05-01 18:24:07 +00:00
Chris Plummer
ae5f678fba 8282384: [LOOM] Need test for ThreadReference.interrupt() on a vthread
Reviewed-by: lmesnik, sspitsyn
2023-05-01 18:13:11 +00:00
Rajan Halade
c7e1df8328 8304760: Add 2 Microsoft TLS roots
Reviewed-by: mullan
2023-05-01 18:03:54 +00:00
Roger Riggs
6acf032db8 8306678: Replace use of os.version with an internal Version record
Reviewed-by: mchung
2023-05-01 17:56:04 +00:00
Roger Riggs
f00a748bc5 8304915: Create jdk.internal.util.Architecture enum and apply
Reviewed-by: erikj, mdoerr, amitkumar
2023-05-01 15:22:07 +00:00
Jorn Vernee
7d07d19523 8305201: Improve error message for GroupLayouts that are too large on SysV
Reviewed-by: mcimadamore
2023-05-01 14:12:51 +00:00
Jorn Vernee
67dd841432 8305093: Linker cache should not take layout names into account
Reviewed-by: mcimadamore
2023-05-01 13:41:00 +00:00
Archie Cobbs
d437c61f5b 8305672: Surprising definite assignment error after JDK-8043179
Reviewed-by: kcr, vromero
2023-05-01 13:23:37 +00:00
Jorn Vernee
b39a9bffda 8301703: java.base jdk.internal.foreign.abi.BindingSpecializer uses ASM to generate classes
Reviewed-by: mcimadamore, asotona
2023-05-01 13:15:16 +00:00
Jorn Vernee
1de1a38859 8303002: Reject packed structs from linker
8300784: Specify exactly how padding should be presented to the linker
8304803: NPE thrown during downcall classification under Linux/x64
8303524: Check FunctionDescriptor byte order when linking

Reviewed-by: mcimadamore
2023-05-01 13:00:41 +00:00
Coleen Phillimore
316d303c1d 8306851: Move Method access flags
Reviewed-by: cjplummer, dholmes, dnsimon, matsaave, fparain
2023-05-01 11:33:22 +00:00
Aleksey Shipilev
a6b4f25bd5 8306825: Monitor deflation might be accidentally disabled by zero intervals
Reviewed-by: dcubed, eastigeevich, phh
2023-05-01 07:56:07 +00:00
Prasanta Sadhukhan
2d7c50791b 8305778: javax/swing/JTableHeader/6884066/bug6884066.java: Unexpected header's value; index = 4 value = E
Reviewed-by: serb, jdv
2023-05-01 04:49:40 +00:00
Prasanta Sadhukhan
e1b06eac72 8305780: javax/swing/JTable/7068740/bug7068740.java fails on Ubunutu 20.04
Reviewed-by: serb, tr
2023-05-01 04:45:38 +00:00
Prasanta Sadhukhan
b54c4a33c6 8299713: Test javax/swing/JTableHeader/6889007/bug6889007.java failed: Wrong type of cursor
Reviewed-by: serb, tr
2023-05-01 04:41:22 +00:00
Hannes Greule
b3dbf28bc0 8292275: javac does not emit SYNTHETIC and MANDATED flags for parameters by default
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: vromero, jwaters
2023-04-30 07:34:09 +00:00
Alexander Zuev
6d6d00b69c 8306954: Open source five Focus related tests
Reviewed-by: prr
2023-04-29 18:19:11 +00:00
Lance Andersen
bb7608bacc 8307088: Allow the jdbc.drivers system property to be searchable
Reviewed-by: naoto, joehw
2023-04-29 14:37:13 +00:00
SirYwell
a2d3fc83b0 8304837: Classfile API throws IOOBE for MethodParameters attribute without parameter names
Reviewed-by: asotona, jwaters, vromero
2023-04-29 07:48:14 +00:00
Sergey Bylokhov
d43a5a289f 8307135: java/awt/dnd/NotReallySerializableTest/NotReallySerializableTest.java failed
Reviewed-by: jiefu, prr
2023-04-29 01:29:13 +00:00
Phil Race
1f689241cf 8306955: Open source several JComboBox jtreg tests
Reviewed-by: kizune
2023-04-28 22:42:11 +00:00
Phil Race
b8de39431d 8307080: Open source some more JComboBox jtreg tests
Reviewed-by: kizune
2023-04-28 22:39:17 +00:00
Jorn Vernee
4818c798bc 8307110: zero build broken after JDK-8304265
Reviewed-by: erikj
2023-04-28 21:43:33 +00:00
Stuart Marks
da9efee1c2 8296935: Arrays.asList() can return a List that throws undocumented ArrayStoreException
Reviewed-by: rriggs, lancea
2023-04-28 19:45:29 +00:00
Damon Nguyen
05af487a2d 8306681: Open source more AWT DnD related tests
Reviewed-by: prr, serb
2023-04-28 19:20:16 +00:00
Damon Nguyen
ec5c7926f3 8306133: Open source few AWT Drag & Drop related tests
Reviewed-by: prr, psadhukhan
2023-04-28 19:16:12 +00:00
Alexander Zuev
6d6f726b74 8307078: Opensource and clean up five more AWT Focus related tests
Reviewed-by: serb, prr
2023-04-28 18:46:48 +00:00
Phil Race
89711f3767 8307079: Update test java/awt/Choice/DragOffNoSelect.java
Reviewed-by: azvegint, serb
2023-04-28 18:17:24 +00:00
Weijun Wang
9ff555083a 8307077: Convert CRLF to LF in java.xml.crypto
Reviewed-by: mullan
2023-04-28 16:24:50 +00:00
Madjosz
f83e7302c1 8302983: ZoneRulesProvider.registerProvider() twice will remove provider
Reviewed-by: naoto
2023-04-28 16:23:13 +00:00
Rajan Halade
82ccfe3a21 8305975: Add TWCA Global Root CA
Reviewed-by: mullan
2023-04-28 16:18:02 +00:00
Dean Long
a177152f22 8306331: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Reviewed-by: thartmann, chagedorn
2023-04-28 15:48:39 +00:00
Calvin Cheung
e1196584d5 8303475: potential null pointer dereference in filemap.cpp
Reviewed-by: dholmes
2023-04-28 15:45:44 +00:00
Coleen Phillimore
cf799ba232 8306950: [REDO] JDK-8305252 make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dholmes, matsaave, iklam
2023-04-28 15:14:30 +00:00
Tejesh R
485a0691f4 8306432: Open source several AWT Text Component related tests
Reviewed-by: prr
2023-04-28 14:35:16 +00:00
Tejesh R
169a7c27a7 8306640: Open source several AWT TextArea related tests
Reviewed-by: prr, serb
2023-04-28 14:27:38 +00:00
JoKern65
5d9baa2f93 8306672: support offset in dll_address_to_library_name on AIX
Reviewed-by: stuefe, clanger, mbaesken
2023-04-28 13:07:53 +00:00
Antonios Printezis
83a98c66f1 8307063: When cross-compiling with hsdis/binutils, buildjdk creation fails
Reviewed-by: erikj
2023-04-28 12:31:48 +00:00
Jie Fu
452cb8432f 8307103: Two TestMetaspaceAllocationMT tests fail after JDK-8306696
Reviewed-by: dholmes
2023-04-28 12:27:16 +00:00
Amit Kumar
fee02f0668 8299748: java/util/zip/Deinflate.java failing on s390x
Reviewed-by: jpai, lancea, simonis, aturbanov
2023-04-28 11:55:59 +00:00
Aleksei Voitylov
60a29a668c 8305387: JDK-8301995 breaks arm 32-bit
Reviewed-by: shade, matsaave
2023-04-28 09:41:55 +00:00
Matthias Baesken
3d9d84b742 8307006: ProblemList gtest/NMTGtest.java on aix
Reviewed-by: mdoerr
2023-04-28 06:50:06 +00:00
Afshin Zafari
84df74ca39 8305079: Remove finalize() from compiler/c2/Test719030
Reviewed-by: thartmann, coleenp
2023-04-28 06:32:25 +00:00
Thomas Stuefe
0b5c504ad0 8306696: Remove MetaspaceReclaimPolicy=aggressive and obsolete MetaspaceReclaimPolicy
Reviewed-by: dholmes, rkennke, coleenp
2023-04-28 06:08:24 +00:00
Richard Reingruber
eb3af8abe9 8306901: Macro offset_of confuses Eclipse CDT
Reviewed-by: stuefe, kbarrett
2023-04-28 06:06:56 +00:00
Kim Barrett
d3abfec8b7 8305566: Change StringDedup thread to derive from JavaThread
Reviewed-by: stefank, cjplummer, tschatzl
2023-04-28 03:11:00 +00:00
Justin Lu
f3c90f0445 8306711: Improve diagnosis of IntlTest framework
Reviewed-by: naoto, lancea
2023-04-28 00:16:29 +00:00
Roger Riggs
b827ce8334 8298993: (process) java/lang/ProcessBuilder/UnblockSignals.java fails
Reviewed-by: bchristi
2023-04-27 20:36:40 +00:00
Jonathan Gibbons
7871390930 8306952: improve generic signature of internal DCInlineTag class
Reviewed-by: iris
2023-04-27 19:13:03 +00:00
Naoto Sato
6983d05b73 8306927: Collator treats "v" and "w" as the same letter for Swedish language locale.
Reviewed-by: jlu, iris, joehw
2023-04-27 18:12:41 +00:00
Brian Burkhalter
80fae514b1 8306959: (bf) CharBuffer.append(CharSequence,int,int) throws BufferOverflowException where IndexOutOfBoundsException expected
Reviewed-by: alanb
2023-04-27 17:20:08 +00:00
Raffaello Giulietti
eb358619df 8205592: BigDecimal.doubleValue() is depressingly slow
Reviewed-by: darcy
2023-04-27 17:01:56 +00:00
Abhishek Kumar
41ba05e450 8306850: Open source AWT Model related tests
Reviewed-by: serb, azvegint
2023-04-27 15:59:42 +00:00
Jiangli Zhou
fed262a9cf 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher
Reviewed-by: alanb
2023-04-27 15:57:51 +00:00
Albert Mingkun Yang
96cdf93b42 8306833: Change CardTable::_covered to static array
Reviewed-by: tschatzl, kbarrett
2023-04-27 11:40:50 +00:00
Roberto Castañeda Lozano
1be80a4445 8287087: C2: perform SLP reduction analysis on-demand
Reviewed-by: epeter, jbhateja, thartmann
2023-04-27 09:39:53 +00:00
bobpengxie
ba43649530 8306976: UTIL_REQUIRE_SPECIAL warning on grep
Reviewed-by: clanger, mbaesken
2023-04-27 09:19:13 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Daniel Fuchs
41d58533ac 8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close
Reviewed-by: jpai, djelinski
2023-04-27 08:25:40 +00:00
Thomas Schatzl
d94ce6566d 8306858: Remove some remnants of CMS from SA agent
Reviewed-by: shade, cjplummer, kbarrett, ysr
2023-04-27 07:28:06 +00:00
Thomas Stuefe
a83c02fe2c 8306654: Disable NMT location_printing_cheap_dead_xx tests again
Reviewed-by: dholmes
2023-04-27 07:26:34 +00:00
Dmitry Cherepanov
de0c05da07 6995195: Static initialization deadlock in sun.java2d.loops.Blit and GraphicsPrimitiveMgr
Reviewed-by: serb, aivanov
2023-04-27 07:06:24 +00:00
Axel Boldt-Christmas
748476fd80 8306732: TruncatedSeq::predict_next() attempts linear regression with only one data point
Reviewed-by: tschatzl, kbarrett
2023-04-27 06:56:22 +00:00
Thomas Stuefe
27c5c1070a 8306883: Thread stacksize is reported with wrong units in os::create_thread logging
Reviewed-by: shade
2023-04-27 04:57:29 +00:00
David Holmes
9ebcda2165 8229147: Linux os::create_thread() overcounts guardpage size with newer glibc (>=2.27)
Reviewed-by: shade, stuefe
2023-04-26 22:47:54 +00:00
Archie Cobbs
1e4eafb4fe 8071693: Introspector ignores default interface methods
Reviewed-by: prr, aivanov, serb
2023-04-26 22:45:10 +00:00
Ioi Lam
750bece0c2 8305771: SA ClassWriter.java fails to skip overpass methods
Reviewed-by: kevinw, cjplummer
2023-04-26 20:54:39 +00:00
Coleen Phillimore
b81c9c8442 8306951: [BACKOUT] JDK-8305252 make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dcubed
2023-04-26 20:03:47 +00:00
Abhishek Kumar
732179ca84 8306409: Open source AWT KeyBoardFocusManger, LightWeightComponent related tests
Reviewed-by: psadhukhan, tr, serb
2023-04-26 19:07:25 +00:00
Chris Plummer
38cc0391f3 8306705: com/sun/jdi/PopAndInvokeTest.java fails with NativeMethodException
Reviewed-by: lmesnik, amenkov, sspitsyn
2023-04-26 17:32:05 +00:00
Weijun Wang
01b8512911 8302182: Update Public Suffix List to 88467c9
Reviewed-by: mullan
2023-04-26 17:30:22 +00:00
Justin Lu
8e36c05d6c 8305853: java/text/Format/DateFormat/DateFormatRegression.java fails with "Uncaught exception thrown in test method Test4089106"
Reviewed-by: naoto, lancea
2023-04-26 16:53:43 +00:00
Brian Burkhalter
d0e8aec041 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int])
Reviewed-by: liach, alanb
2023-04-26 16:37:18 +00:00
Amit Kumar
a18191fee8 8302328: [s390x] Simplify asm_assert definition
Reviewed-by: lucy, mdoerr
2023-04-26 16:06:55 +00:00
Jiangli Zhou
9bc6a212f7 8306033: Resolve multiple definition of 'throwIOException' and friends when statically linking with JDK native libraries
Reviewed-by: alanb
2023-04-26 16:04:48 +00:00
Xin Liu
35e802374c 8306872: Rename Node_Array::Size()
Reviewed-by: kvn, thartmann, shade
2023-04-26 16:02:53 +00:00
Leonid Mesnik
2e340e855b 8233725: ProcessTools.startProcess() has output issues when using an OutputAnalyzer at the same time
Reviewed-by: cjplummer, sspitsyn
2023-04-26 14:53:33 +00:00
Amit Kumar
35e7bc21d3 8306855: [s390x] fix difference in abi sizes
Reviewed-by: mdoerr, lucy
2023-04-26 11:12:42 +00:00
Aleksey Shipilev
9ad6dc881d 8306774: Make runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java more reliable
Reviewed-by: stuefe, dcubed
2023-04-26 11:11:54 +00:00
Albert Mingkun Yang
c5910fa065 8306749: Make CardTable::invalidate non-virtual
Reviewed-by: tschatzl
2023-04-26 10:58:50 +00:00
Ivan Walulya
86f41a4c42 8306735: G1: G1FullGCScope remove unnecessary member _explicit_gc
Reviewed-by: ayang, tschatzl
2023-04-26 10:09:56 +00:00
Martin Doerr
d74769826d 8306823: Native memory leak in SharedRuntime::notify_jvmti_unmount/mount.
Reviewed-by: pchilanomate, sspitsyn
2023-04-26 08:29:06 +00:00
Roberto Castañeda Lozano
8d899925dc 8298189: Regression in SPECjvm2008-MonteCarlo for pre-Cascade Lake Intel processors
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Reviewed-by: shade, thartmann, kvn
2023-04-26 08:25:11 +00:00
Tejesh R
44d9f55d0b 8306072: Open source several AWT MouseInfo related tests
Reviewed-by: serb, psadhukhan
2023-04-26 05:44:13 +00:00
Emanuel Peter
cc894d849a 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
Reviewed-by: roland, kvn, chagedorn, thartmann
2023-04-26 05:42:26 +00:00
Abhishek Kumar
ed1ebd242a 8306652: Open source AWT MenuItem related tests
Reviewed-by: prr, psadhukhan
2023-04-26 05:17:48 +00:00
Prasanta Sadhukhan
f3e8bd1d11 8306755: Open source few Swing JComponent and AbstractButton tests
Reviewed-by: prr
2023-04-26 03:13:56 +00:00
Dingli Zhang
1c1a73f715 8302908: RISC-V: Support masked vector arithmetic instructions for Vector API
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, fjiang, yzhu
2023-04-26 02:24:49 +00:00
Chen Liang
adf62febe6 8304918: Remove unused decl field from AnnotatedType implementations
Reviewed-by: stsypanov, darcy
2023-04-25 23:24:08 +00:00
Justin Lu
00b1eacad6 8306031: Update IANA Language Subtag Registry to Version 2023-04-13
Reviewed-by: naoto
2023-04-25 20:32:24 +00:00
Alexander Zvegintsev
88d9ebf8e8 8306752: Open source several container and component AWT tests
Reviewed-by: prr
2023-04-25 20:27:34 +00:00
Alexander Zvegintsev
1c2dadc31e 8306683: Open source several clipboard and color AWT tests
Reviewed-by: prr
2023-04-25 20:26:45 +00:00
Alexander Zvegintsev
b372f28ad4 8306753: Open source several container AWT tests
Reviewed-by: prr
2023-04-25 20:25:16 +00:00
Brian Burkhalter
e3ccaa6541 8306623: (bf) CharBuffer::allocate throws unexpected exception type with some CharSequences
Reviewed-by: alanb, lancea
2023-04-25 20:18:19 +00:00
Joe Darcy
d819debaa5 8304423: Refactor FdLibm.java
Reviewed-by: bpb
2023-04-25 19:33:22 +00:00
Aleksey Shipilev
28829f308f 8306734: Shenandoah: Missing barriers on deoptimization path
Reviewed-by: eosterlund, rkennke
2023-04-25 18:46:55 +00:00
Alexander Zuev
9beae21864 8306718: Optimize and opensource some old AWT tests
Reviewed-by: prr
2023-04-25 18:32:03 +00:00
Phil Race
36d61c3106 8306765: Some client related jtreg problem list entries are malformed
Reviewed-by: iris
2023-04-25 18:10:52 +00:00
Zhengyu Gu
5f4965d422 8306687: Relax memory ordering constraints on metaspace atomic counters
Reviewed-by: shade, minqi
2023-04-25 17:55:57 +00:00
Valerie Peng
33d6614150 8304845: Update PCSC-Lite for Suse Linux to 1.9.9 and fix incomplete license wording
Reviewed-by: manc, mullan
2023-04-25 17:48:42 +00:00
Eirik Bjorsnos
c92883a3d5 8306772: Remove sun.security.x509.CertException, sun.security.x509.CertParseError
Reviewed-by: mullan
2023-04-25 16:33:24 +00:00
Quan Anh Mai
0ff3a2784e 8306008: Several Vector API tests fail for client VM after JDK-8304450
Reviewed-by: psandoz
2023-04-25 16:13:45 +00:00
Quan Anh Mai
e8f62de1cf 8304676: [vectorapi] x86_32: Crash in Assembler::kmovql(Address, KRegister)
Reviewed-by: shade, thartmann, jbhateja
2023-04-25 16:13:03 +00:00
Daniel Fuchs
98e8616a0c 8301169: java/net/httpclient/ThrowingSubscribersAsInputStream.java,ThrowingSubscribersAsInputStreamAsync.java, and other httpclient tests failing on windows: Unable to establish loopback connection
Reviewed-by: aefimov, djelinski
2023-04-25 15:48:12 +00:00
Prasanta Sadhukhan
07ea445b43 8306838: GetGraphicsTest needs to be headful
Reviewed-by: jiefu, dcubed
2023-04-25 15:29:28 +00:00
Stuart Marks
17ce0976e4 8266571: Sequenced Collections
Reviewed-by: alanb
2023-04-25 15:19:08 +00:00
Christoph Langer
bad6aa68e4 8289735: UTIL_LOOKUP_PROGS fails on pathes with space
Reviewed-by: erikj, mbaesken
2023-04-25 14:20:50 +00:00
Roger Riggs
5f50e991ca 8306770: (fs) Remove obsolete os.version check from sun.nio.fs.BsdFileStore.supportsFileAttributeView
Reviewed-by: bpb, iris, lancea, alanb
2023-04-25 14:07:28 +00:00
Albert Mingkun Yang
9d1fe6565c 8306740: G1: Change G1CardSetHashTableScan to lambda
Reviewed-by: kbarrett, tschatzl
2023-04-25 13:35:38 +00:00
Thomas Schatzl
a4a5385831 8306733: Remove template parameter of G1DetermineCompactionQueueClosure::free_pinned_region
Reviewed-by: ayang, iwalulya
2023-04-25 10:39:45 +00:00
Ivan Walulya
a98f58756d 8306766: Reduce heap size for TestJNICriticalStressTest
Reviewed-by: ayang, tschatzl
2023-04-25 10:27:22 +00:00
Prasanta Sadhukhan
d53a5eed0f 8306067: Open source AWT Graphics,GridBagLayout related tests
Reviewed-by: serb
2023-04-25 08:55:00 +00:00
Dmitry Cherepanov
f968da97a5 8305352: updateIconImages may lead to deadlock after JDK-8276849
Reviewed-by: aivanov, serb
2023-04-25 06:56:32 +00:00
Aleksey Shipilev
2985738f15 8306773: Problemlist jdk/incubator/vector/ShortMaxVectorTests.java on x86_32
Reviewed-by: kvn
2023-04-25 05:59:09 +00:00
Prasanta Sadhukhan
31a73b0d70 8306714: Open source few Swing event and AbstractAction tests
Reviewed-by: serb, prr
2023-04-25 04:54:56 +00:00
Kim Barrett
8063aa2e4a 8306695: Divide by zero in G1Policy::logged_cards_processing_time
Reviewed-by: iwalulya, tschatzl
2023-04-25 04:19:32 +00:00
Christian Stein
2471919020 8304036: Use CommandLine class from shared module
Reviewed-by: jjg, mchung
2023-04-25 04:16:58 +00:00
Phil Race
f39641ccbd 8306682: Open source a few more AWT Choice tests
Reviewed-by: serb
2023-04-25 02:46:13 +00:00
Phil Race
b5362dadc5 8306484: Open source several AWT Choice jtreg tests
Reviewed-by: serb
2023-04-25 02:45:22 +00:00
Coleen Phillimore
2ea62c1369 8303276: Secondary assertion failure in AdapterHandlerLibrary::contains during crash reporting
Reviewed-by: iklam, stuefe
2023-04-24 21:23:56 +00:00
Tyler Steele
0dc03c9d54 8305922: [aix,linux] Avoid comparing 'this' to nullptr
Reviewed-by: mdoerr, dholmes
2023-04-24 20:32:49 +00:00
Daniel D. Daugherty
328e512d12 8306780: ProblemList java/lang/Thread/virtual/HoldsLock.java#id0 in Xcomp
Reviewed-by: darcy
2023-04-24 19:35:51 +00:00
Aleksey Shipilev
937dd3456c 8306775: Problemlist runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java
Reviewed-by: dcubed
2023-04-24 19:29:42 +00:00
Michael McMahon
314db55f6d 8304818: Prune HttpURLConnection cache when corresponding Authenticator is garbage collected
Reviewed-by: dfuchs, djelinski
2023-04-24 17:25:32 +00:00
Aleksey Shipilev
6b81342c22 8305994: Guarantee eventual async monitor deflation
Reviewed-by: simonis, stuefe, dcubed
2023-04-24 17:02:59 +00:00
Kevin Walls
41d6be4d80 8301065: Handle control characters in java_lang_String::print
Reviewed-by: iklam, dholmes
2023-04-24 16:33:54 +00:00
Daniel D. Daugherty
4b23bef51d 8301377: adjust timeout for JLI GetObjectSizeIntrinsicsTest.java subtest again
8302607: increase timeout for ContinuousCallSiteTargetChange.java
8305502: adjust timeouts in three more M&M tests

Reviewed-by: naoto, lmesnik, thartmann
2023-04-24 16:10:44 +00:00
Naoto Sato
f32adaf89f 8304836: Make MALLOC_MIN4 macro more robust
Reviewed-by: bchristi
2023-04-24 15:37:35 +00:00
Christian Stein
2763cf14e6 8304896: Update to use jtreg 7.2
Reviewed-by: erikj, lmesnik, iris
2023-04-24 15:36:19 +00:00
Johan Sjölen
b2ccc9731e 8306444: Don't leak memory in PhaseChaitin::PhaseChaitin
Reviewed-by: kvn, roland
2023-04-24 15:13:24 +00:00
Christoph Langer
d980cb4879 8306658: GHA: MSVC installation could be optional since it might already be pre-installed
Reviewed-by: shade, goetz
2023-04-24 15:00:09 +00:00
Matias Saavedra Silva
62acc882bf 8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread
Reviewed-by: ccheung
2023-04-24 14:13:53 +00:00
Coleen Phillimore
7400aff3b8 8305252: make_method_handle_intrinsic may call java code under a lock
Reviewed-by: dholmes, matsaave, iklam
2023-04-24 12:55:15 +00:00
Vladimir Kempik
f239695b56 8305056: Avoid unaligned access in emit_intX methods if it's unsupported
Reviewed-by: aph
2023-04-24 11:31:49 +00:00
Alexander Zvegintsev
136dad7197 8306566: Open source several clipboard AWT tests
Reviewed-by: serb
2023-04-24 10:56:50 +00:00
Albert Mingkun Yang
30fa50d158 8305062: Refactor CardTable::resize_covered_region
Reviewed-by: tschatzl, iwalulya
2023-04-24 10:27:16 +00:00
Ivan Walulya
4a9f8efa86 8057586: Explicit GC ignored if GCLocker is active
Reviewed-by: tschatzl, ayang
2023-04-24 08:47:23 +00:00
Leo Korinth
ce493dda90 8306435: Juggle04/TestDescription.java should be a booleanArr test and not a byteArr one
Reviewed-by: tschatzl, lmesnik, shade
2023-04-24 08:02:40 +00:00
Prasanta Sadhukhan
f7d45b85a5 8306076: Open source AWT misc tests
Reviewed-by: serb
2023-04-24 07:51:47 +00:00
Ramkumar Sunderbabu
4900517479 8306636: Disable compiler/c2/Test6905845.java with -XX:TieredStopAtLevel=3
Reviewed-by: kvn
2023-04-24 02:19:10 +00:00
Afshin Zafari
0f51e63263 8305590: Remove nothrow exception specifications from operator new
Reviewed-by: coleenp, kbarrett
2023-04-23 15:20:18 +00:00
Alexander Zuev
8d696aea9e 8306575: Clean up and open source four Dialog related tests
Reviewed-by: prr
2023-04-22 00:14:51 +00:00
Harshitha Onkar
9ed456fac8 8306634: Open source AWT Event related tests
Reviewed-by: prr, serb
2023-04-21 23:56:04 +00:00
Calvin Cheung
b2240bf870 8304696: Duplicate class names in dynamicArchive tests can lead to test failure
Reviewed-by: iklam
2023-04-21 22:11:40 +00:00
Mikael Vidstedt
cb158ffb8a 8296153: Bump minimum boot jdk to JDK 20
Reviewed-by: erikj, darcy, iris
2023-04-21 20:51:50 +00:00
Sergey Bylokhov
117c5b116b 8279216: Investigate implementation of premultiplied alpha in the Little-CMS 2.13
Reviewed-by: prr
2023-04-21 19:17:39 +00:00
Ioi Lam
723037a79d 8298048: Combine CDS archive heap into a single block
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: matsaave, tschatzl
2023-04-21 15:29:45 +00:00
Thomas Schatzl
d518dbf726 8306440: Rename PSS:_num_optional_regions to _max_num_optional_regions
Reviewed-by: ayang, iwalulya
2023-04-21 14:16:34 +00:00
Thomas Schatzl
9cd5741c14 8306436: Rename PSS*:_n_workers to PSS*:_num_workers
Reviewed-by: ayang, iwalulya
2023-04-21 14:05:16 +00:00
Johan Sjölen
6e77e14fdb 8306456: Don't leak _worklist's memory in PhaseLive::compute
Reviewed-by: kvn, dlong
2023-04-21 13:36:36 +00:00
Leonid Mesnik
be6031b87d 8303703: Add support of execution tests using virtual thread factory jtreg plugin
Reviewed-by: erikj, jpai
2023-04-21 13:31:45 +00:00
Christoph Langer
5a00617b1b 8306543: GHA: MSVC installation is failing
Reviewed-by: shade, mdoerr
2023-04-21 11:34:36 +00:00
Oli Gillespie
3da987adac 8306075: Micro-optimize Enum.hashCode
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: redestad, shade, rriggs, liach, apangin, jvernee
2023-04-21 09:51:36 +00:00
Doug Simon
fdaabd6eec 8306581: JVMCI tests failed when run with -XX:TypeProfileLevel=222 after JDK-8303431
Reviewed-by: never, kvn
2023-04-21 07:13:50 +00:00
Jayathirth D V
36ec05d52a 8306430: Open source some AWT tests related to TextComponent and Toolkit
Reviewed-by: serb
2023-04-21 05:38:17 +00:00
Prasanta Sadhukhan
8346ae2bc1 8305942: Open source several AWT Focus related tests
Reviewed-by: prr
2023-04-21 02:51:12 +00:00
Prasanta Sadhukhan
9a68d1d952 8306060: Open source few AWT Insets related tests
Reviewed-by: serb, prr
2023-04-21 02:42:55 +00:00
sunguoyun
2c70828e7d 8305236: Some LoadLoad barriers in the interpreter are unnecessary after JDK-8220051
Reviewed-by: dholmes, fyang, aph
2023-04-21 00:47:24 +00:00
Justin Lu
ffb2494de4 8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
2023-04-20 21:20:08 +00:00
Justin Lu
174c1a6d53 4737887: (cal) API: Calendar methods taking field should document exceptions
Reviewed-by: naoto
2023-04-20 21:11:00 +00:00
Coleen Phillimore
f63362310e 8306474: Move InstanceKlass read-only flags
Reviewed-by: jrose, dholmes
2023-04-20 19:20:03 +00:00
Coleen Phillimore
afd2501fcc 8306482: Remove unused Method AccessFlags
Reviewed-by: dholmes, matsaave
2023-04-20 19:13:14 +00:00
Harshitha Onkar
d6cf4aa155 8305874: Open source AWT Key, Text Event related tests
Reviewed-by: azvegint
2023-04-20 18:34:19 +00:00
Xin Liu
9412c0a2ca 8297302: gtest/AsyncLogGtest.java fails AsyncLogTest.stdoutOutput_vm
Reviewed-by: dholmes, shade
2023-04-20 17:02:53 +00:00
Peter Hofer
20b1d19d26 8305746: InitializeEncoding should cache Charset object instead of charset name
Reviewed-by: naoto
2023-04-20 16:11:29 +00:00
Brian Burkhalter
955abcae55 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName
Reviewed-by: alanb
2023-04-20 15:38:11 +00:00
Lance Andersen
c6a288dcd6 8305945: (zipfs) Opening a directory to get input stream produces incorrect exception message
Reviewed-by: naoto, cstein
2023-04-20 14:09:25 +00:00
Albert Mingkun Yang
73018b39cd 8306284: G1: Remove assertion in G1ScanHRForRegionClosure::do_claimed_block
Reviewed-by: kbarrett, tschatzl
2023-04-20 13:02:36 +00:00
Zixian Cai
33a7978e85 8306538: Zero variant build failure after JDK-8257967
Reviewed-by: shade, dholmes
2023-04-20 12:41:50 +00:00
Amit Kumar
9c2e5b3871 8306459: s390x: Replace NULL to nullptr
Reviewed-by: mdoerr
2023-04-20 12:28:26 +00:00
Stefan Karlsson
6a7dff30ed 8305880: Loom: Avoid putting stale object pointers in oops
Reviewed-by: eosterlund, aboldtch
2023-04-20 09:18:28 +00:00
Matthias Baesken
310aa93478 8304291: [AIX] Broken build after JDK-8301998
Reviewed-by: mdoerr, tsteele, prr
2023-04-20 07:07:00 +00:00
Prasanta Sadhukhan
64ed816ad9 8305943: Open source few AWT Focus related tests
Reviewed-by: prr, serb
2023-04-20 02:35:05 +00:00
Jaikiran Pai
b8f0a668dd 8041676: remove the java.compiler system property
Reviewed-by: dholmes, alanb, rriggs, iris
2023-04-20 01:49:31 +00:00
Phil Race
781d6d793a 8306372: Open source AWT CardLayout and Checkbox tests
Reviewed-by: serb, honkar
2023-04-19 20:53:51 +00:00
Alexander Zvegintsev
d03128d0e5 8306280: Open source several choice AWT tests
Reviewed-by: jdv, prr, serb
2023-04-19 18:55:13 +00:00
Aleksey Shipilev
e764e9b740 8306452: Fix Amazon copyright in JDK-8305425 test
Reviewed-by: simonis
2023-04-19 18:36:07 +00:00
William Kemper
ed34e7f5ae 8306321: Add an accessor for the top of a PLAB
Reviewed-by: shade, ysr
2023-04-19 18:32:48 +00:00
Phil Race
fdb4bafa31 8306134: Open source some AWT tests relating to Button and a few other classes
Reviewed-by: azvegint
2023-04-19 17:37:16 +00:00
Alexander Zuev
4ad3ac6317 8306135: Clean up and open source some AWT tests
Reviewed-by: azvegint
2023-04-19 16:56:00 +00:00
Naoto Sato
85de01e676 8306323: Update license files in CLDR v43
Reviewed-by: lancea, srl, iris
2023-04-19 16:04:58 +00:00
Doug Simon
48fd4f2bd3 8303431: [JVMCI] libgraal annotation API
Reviewed-by: kvn, never, darcy
2023-04-19 16:01:57 +00:00
Oliver Kopp
c57af319f6 8306038: SystemModulesPlugin generates code that doesn't pop when return value not used
Reviewed-by: alanb, mchung
2023-04-19 15:56:34 +00:00
Fredrik Bredberg
a31a11f44a 8306006: strace001.java fails due to unknown methods on stack
Reviewed-by: rehn, alanb, dholmes
2023-04-19 15:04:27 +00:00
Coleen Phillimore
ddb86469e0 8306123: Move InstanceKlass writeable flags
Reviewed-by: iklam, fparain
2023-04-19 14:06:02 +00:00
Coleen Phillimore
1a41e12c22 8306310: Move is_shared Klass flag
Reviewed-by: iklam, fparain
2023-04-19 14:04:19 +00:00
Markus Grönlund
c738c8ea3e 8306278: jvmtiAgentList.cpp:253 assert(offset >= 0) failed: invariant occurs on AIX after JDK-8257967
Reviewed-by: sspitsyn, dholmes, mbaesken
2023-04-19 10:59:10 +00:00
William Kemper
9fb53adfe0 8305716: Enhancements for printing age tables
Reviewed-by: kdnilsen, ysr, tschatzl
2023-04-19 07:43:36 +00:00
Matthias Baesken
ebba42ac52 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Reviewed-by: alanb
2023-04-19 07:22:56 +00:00
Richard Reingruber
42b7260e8b 8306111: PPC64: RT call after thaw with exception requires larger ABI section
Reviewed-by: mdoerr
2023-04-19 07:18:26 +00:00
Ioi Lam
c7faf60201 8305757: Call Method::compute_has_loops_flag() when creating CDS archive
Reviewed-by: coleenp, ccheung
2023-04-19 02:53:02 +00:00
Aleksei Efimov
eb8d8cdddd 8299129: Enhance NameService lookups
Reviewed-by: ahgross, michaelm, rhalade, dfuchs
2023-04-18 23:21:21 +00:00
Kevin Walls
77df3152c8 8296692: Improve String platform support
Reviewed-by: rhalade, amenkov, michaelm
2023-04-18 23:21:21 +00:00
Sean Mullan
f098b490f1 8298310: Enhance TLS session negotiation
Reviewed-by: rhalade, mschoene, weijun, ascarpino
2023-04-18 23:21:21 +00:00
Prasanta Sadhukhan
9e56d100df 8296832: Improve Swing platform support
Reviewed-by: skoivu, kizune, rhalade, prr
2023-04-18 23:21:21 +00:00
Joe Wang
2e5700a92c 8288436: Improve Xalan supports
Reviewed-by: smarks, ahgross, rhalade, lancea, naoto
2023-04-18 23:21:21 +00:00
Kevin Walls
b1c34c03d7 8296684: Improve String platform support
Reviewed-by: amenkov, michaelm, rhalade
2023-04-18 23:21:20 +00:00
Jamil Nimeh
14aad787a8 8294474: Better AES support
Reviewed-by: ahgross, ascarpino
2023-04-18 23:21:20 +00:00
Brian Burkhalter
a0f7ae1a95 8298667: Improved path handling
Reviewed-by: rhalade, alanb
2023-04-18 23:21:20 +00:00
Michael McMahon
ec119716e5 8296676: Improve String platform support
Reviewed-by: aefimov, dfuchs
2023-04-18 23:21:20 +00:00
Naoto Sato
5ec0120152 8297371: Improve UTF8 representation redux
Reviewed-by: rhalade, bchristi
2023-04-18 23:21:20 +00:00
Ian Graves
3656939a6a 8295304: Runtime support improvements
Reviewed-by: rhalade, rriggs, bchristi
2023-04-18 23:21:20 +00:00
Daniel Jeliński
c06135b5a6 8287404: Improve ping times
Reviewed-by: alanb, dfuchs, rhalade
2023-04-18 23:21:20 +00:00
Calvin Cheung
1b5d35ad2c 8306059: improve the reliability of TestSerialGCWithCDS.java and ArchiveRelocationTest.java tests
Reviewed-by: iklam
2023-04-18 21:23:42 +00:00
Markus Grönlund
0f3828dddd 8306282: Build failure linux-arm32-open-cmp-baseline after JDK-8257967
Reviewed-by: egahlin, iklam
2023-04-18 16:00:40 +00:00
Aleksey Shipilev
803680f17a 8306289: 32-bit build failures after JDK-8303422
Reviewed-by: jiefu, zgu
2023-04-18 15:33:39 +00:00
Daniel Jeliński
e97fe081ad 8306279: Build failure after JDK-8299592
Reviewed-by: thartmann
2023-04-18 12:55:14 +00:00
Matthias Baesken
3c7ab80501 8304054: Linux: NullPointerException from FontConfiguration.getVersion in case no fonts are installed
Reviewed-by: lucy, aivanov
2023-04-18 11:10:57 +00:00
Daniel Jeliński
3bba899574 8299592: Fix and reenable warnings in java.desktop native code compilation
Reviewed-by: ihse, aivanov
2023-04-18 09:43:08 +00:00
Johan Sjölen
896207de14 8306077: Replace NEW_ARENA_ARRAY with NEW_RESOURCE_ARRAY when applicable in opto
Reviewed-by: thartmann
2023-04-18 09:00:20 +00:00
Johan Sjölen
54f7b6ca34 8301497: Replace NULL with nullptr in cpu/s390
Reviewed-by: amitkumar, coleenp
2023-04-18 08:59:31 +00:00
Roland Westrelin
8ecb5dfa34 8305781: compiler/c2/irTests/TestVectorizationMultiInvar.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, kvn
2023-04-18 08:54:55 +00:00
Guoxiong Li
49726ee3a9 8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Reviewed-by: kvn, thartmann
2023-04-18 08:01:32 +00:00
Richard Reingruber
445ebef437 8305668: PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2
Reviewed-by: mdoerr
2023-04-18 06:59:51 +00:00
Matias Saavedra Silva
e3ece365ce 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors
Reviewed-by: iklam, coleenp, fparain
2023-04-17 21:38:46 +00:00
Brent Christian
bb1a7bb3e1 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
Reviewed-by: kbarrett, alanb, bpb
2023-04-17 20:40:47 +00:00
Brian Burkhalter
8858d54342 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
Reviewed-by: alanb
2023-04-17 20:17:23 +00:00
Jonathan Gibbons
525a91e3fa 8305673: Convert DocCommentParser to use enhanced switch
Reviewed-by: hannesw
2023-04-17 19:04:31 +00:00
Phil Race
6831f9db8b 8278583: Open source SwingMark - Swing performance benchmark
Reviewed-by: serb, aghaisas, avu
2023-04-17 18:03:29 +00:00
Tom Rodriguez
497f9e760d 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
Reviewed-by: eosterlund, dnsimon
2023-04-17 16:45:56 +00:00
Naoto Sato
4ed933cf77 8296248: Update CLDR to Version 43.0
Reviewed-by: joehw
2023-04-17 16:35:36 +00:00
Patricio Chilano Mateo
7360960454 8305625: Stress test crashes with SEGV in Deoptimization::deoptimize_frame_internal(JavaThread*, long*, Deoptimization::DeoptReason)
Reviewed-by: rrich, rehn
2023-04-17 14:40:29 +00:00
Albert Mingkun Yang
cc60f2ff3f 8305060: G1: Refactor G1ScanHRForRegionClosure::scan_heap_roots
Reviewed-by: tschatzl, iwalulya
2023-04-17 12:27:13 +00:00
Albert Mingkun Yang
fb58d77e92 8305192: serial GC fails "assert(Universe::on_page_boundary(bottom) && Universe::on_page_boundary(end)) failed: invalid space boundaries"
Reviewed-by: iwalulya, tschatzl
2023-04-17 12:23:17 +00:00
Kirill A. Korinsky
7551529854 8305995: Footprint regression from JDK-8224957
Reviewed-by: kvn, thartmann
2023-04-17 12:22:26 +00:00
Erik Österlund
02347d0cec 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Reviewed-by: kvn, rcastanedalo, aph, mdoerr
2023-04-17 12:14:57 +00:00
Erik Österlund
2240c7ec2f 8305543: Ensure GC barriers for arraycopy on AArch64 use caller saved neon temp registers
Reviewed-by: rcastanedalo, aph
2023-04-17 12:13:12 +00:00
Albert Mingkun Yang
1958f0e8bd 8305233: G1: Refactor G1ClearCardTableTask
Reviewed-by: tschatzl, iwalulya
2023-04-17 12:00:01 +00:00
Albert Mingkun Yang
dbd2b5f89f 8305892: G1: Fix G1MMUTracker::when_sec documentation
Reviewed-by: iwalulya, tschatzl
2023-04-17 11:59:11 +00:00
Emanuel Peter
c0b4957fcc 8305740: C2: add print statements to assert: Can't determine return type.
Reviewed-by: kvn, thartmann
2023-04-17 10:32:32 +00:00
Markus Grönlund
5c95bb1c51 8257967: JFR: Events for loaded agents
Reviewed-by: dholmes, sspitsyn
2023-04-17 10:25:36 +00:00
Varada M
2a062f1654 8305089: Implement missing socket options on AIX
Reviewed-by: erikj, jpai, vtewari, djelinski, dfuchs
2023-04-17 07:30:23 +00:00
Eirik Bjorsnos
7f56de8f78 8306036: Use @apiNote in String.toLowerCase, String.toUpperCase
Reviewed-by: alanb, jpai
2023-04-17 05:24:50 +00:00
Valerie Peng
e575924131 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex
Reviewed-by: mpowers, weijun
2023-04-17 04:47:40 +00:00
Kim Barrett
caa841d9a5 8306029: ProblemList runtime/ErrorHandling/TestDwarf.java on linux
Reviewed-by: stuefe
2023-04-15 05:15:10 +00:00
Jiangli Zhou
314bad3613 8305935: Resolve multiple definition of 'jmm_<interface|version>' when statically linking with JDK native libraries
Reviewed-by: dholmes
2023-04-14 21:13:11 +00:00
William Kemper
793da60ee8 8305403: Shenandoah evacuation workers may deadlock
Reviewed-by: rkennke, ysr
2023-04-14 20:37:35 +00:00
Afshin Zafari
2cc4bf1a9d 8305085: Suppress removal warning for finalize() from test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineFinalizer.java
Reviewed-by: cjplummer, dholmes
2023-04-14 17:52:17 +00:00
Julian Waters
5a7886575e 8304930: Enable Link Time Optimization as an option for Visual C++
Reviewed-by: erikj
2023-04-14 17:18:28 +00:00
Roger Riggs
30a140b5a2 8304912: Use OperatingSystem enum in java.desktop module
Reviewed-by: bpb, prr, aturbanov
2023-04-14 16:42:18 +00:00
Coleen Phillimore
1fd400608e 8305405: Compile_lock not needed in Universe::genesis()
Reviewed-by: dholmes, fparain
2023-04-14 15:34:29 +00:00
Coleen Phillimore
ebeee6dce8 8305404: Compile_lock not needed for InstanceKlass::implementor()
Reviewed-by: eosterlund, fparain
2023-04-14 15:32:51 +00:00
Johan Sjölen
d2ce04bb10 8301496: Replace NULL with nullptr in cpu/riscv
Reviewed-by: dholmes, fyang
2023-04-14 09:53:46 +00:00
Viktor Klang
54bf370079 8170945: Collectors$Partition should override more Map methods
Reviewed-by: smarks
2023-04-14 09:16:16 +00:00
Johan Sjölen
0826ceee65 8301495: Replace NULL with nullptr in cpu/ppc
Reviewed-by: rrich, mdoerr, tsteele
2023-04-14 08:54:53 +00:00
Leo Korinth
c0c31224db 8305618: Move gcold out of tier1
Reviewed-by: lmesnik, shade
2023-04-14 08:50:31 +00:00
sunguoyun
3651b92229 8305944: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: stefank, tschatzl
2023-04-14 08:48:44 +00:00
Richard Reingruber
12358e6c94 8305934: PPC64: Disable VMContinuations on Big Endian
Reviewed-by: mdoerr, tsteele
2023-04-14 06:42:55 +00:00
Sergey Tsypanov
287bb06def 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Reviewed-by: alanb, bpb
2023-04-14 06:21:39 +00:00
David Holmes
8a1639d49b 8305936: JavaThread::create_system_thread_object has unused is_visible argument
Reviewed-by: alanb, kbarrett
2023-04-13 23:10:18 +00:00
Matthew Donovan
76cda9f44a 8255548: Missing coverage for javax.xml.crypto.dom.DOMCryptoContext
Reviewed-by: rhalade, mullan
2023-04-13 20:37:39 +00:00
Kevin Driver
b60604e8eb 8305794: Unused interface sun.security.util.PermissionFactory can be removed
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: mullan, aturbanov
2023-04-13 18:46:21 +00:00
Leonid Mesnik
92521b100f 8305875: Test TraceVirtualThreadLocals should be run with continuations only
Reviewed-by: alanb
2023-04-13 16:39:25 +00:00
Leonid Mesnik
00eb348a52 8305937: com/sun/jdi/SetLocalWhileThreadInNative.java fails with -XX:+TieredCompilation
Reviewed-by: dcubed
2023-04-13 16:02:17 +00:00
Daniel D. Daugherty
1385c3d2f1 8305966: ProblemList com/sun/jdi/JdbLastErrorTest.java on windows-x64
Reviewed-by: alanb
2023-04-13 15:50:24 +00:00
Daniel Fuchs
90b4006bce 8305847: Improve diagnosability and resilience of HttpClient::close tests
Reviewed-by: jpai, djelinski
2023-04-13 15:27:45 +00:00
Harshitha Onkar
d7dc474a5a 8305712: [MacOS] Deprecated Cocoa-NSEvent names
Reviewed-by: dmarkov, prr
2023-04-13 15:26:47 +00:00
Archie L. Cobbs
e0620b8e05 8296420: javac has long lines in its command-line help
Reviewed-by: jjg
2023-04-13 15:08:55 +00:00
Jonathan Dowland
6b9b7d1d92 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0
Reviewed-by: stuefe
2023-04-13 12:02:14 +00:00
Jim Laskey
2060c8ea14 8305688: jdk build --with-memory-size=1024 broken by JDK-8305100
Reviewed-by: martin
2023-04-13 11:42:00 +00:00
Jaikiran Pai
646b666a26 8305900: Use loopback IP addresses in security policy files of httpclient tests
Reviewed-by: dfuchs
2023-04-13 09:41:01 +00:00
Thomas Stuefe
fb9a29d732 8305414: gtest/NMTGtests.java is failing various sub-tests
Reviewed-by: rkennke, adinn
2023-04-13 07:47:34 +00:00
Quan Anh Mai
e846a1d700 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, xgong, jbhateja, vlivanov
2023-04-13 07:02:28 +00:00
Jaikiran Pai
3f36dd811e 8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
Reviewed-by: dfuchs, djelinski, michaelm
2023-04-13 01:30:00 +00:00
Eirik Bjorsnos
425ef0685c 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries
Reviewed-by: lancea, alanb
2023-04-12 21:44:21 +00:00
Jiangli Zhou
2bbbff209d 8305858: Resolve multiple definition of 'handleSocketError' when statically linking with JDK native libraries
Reviewed-by: alanb
2023-04-12 20:42:05 +00:00
Leonid Mesnik
bc15163386 8304834: Fix wrapper insertion in TestScaffold.parseArgs(String args[])
Reviewed-by: cjplummer, dholmes
2023-04-12 17:44:38 +00:00
quadhier
19380d74e4 8305324: C2: Wrong execution of vectorizing Interger.reverseBytes
Reviewed-by: kvn, pli
2023-04-12 17:08:26 +00:00
Bill Huang
87017b5199 8295859: Update Manual Test Groups
Reviewed-by: msheppar
2023-04-12 16:08:34 +00:00
Quan Anh Mai
99a9dbc8f1 8305783: x86_64: Optimize AbsI and AbsL
Reviewed-by: jkarthikeyan, thartmann
2023-04-12 13:48:52 +00:00
Johannes Bechberger
d8af7a6014 8304725: AsyncGetCallTrace can cause SIGBUS on M1
Reviewed-by: dholmes, stuefe, mbaesken
2023-04-12 06:49:10 +00:00
Pengfei Li
b9bdbe9ab3 8305524: AArch64: Fix arraycopy issue on SVE caused by matching rule vmask_gen_sub
Reviewed-by: aph, xgong
2023-04-12 03:15:39 +00:00
Xin Liu
82e8b0332b 8305203: Simplify trimming operation in Region::Ideal
Reviewed-by: thartmann, kvn
2023-04-12 00:37:15 +00:00
Bill Huang
27cf63853c 8300912: Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only
Reviewed-by: msheppar
2023-04-11 21:39:03 +00:00
Justin King
42fa000a7d 8305484: Compiler::init_c1_runtime unnecessarily uses an Arena that lives for the lifetime of the process
Reviewed-by: thartmann, kvn
2023-04-11 19:50:01 +00:00
Brian Burkhalter
475e9a7cad 8305809: (fs) Review obsolete Linux kernel dependency on os.version (Unix kernel 2.6.39)
Reviewed-by: rriggs, alanb
2023-04-11 16:59:11 +00:00
Alexey Semenyuk
1de772cd89 8294806: jpackaged-app ignores splash screen from jar file
Reviewed-by: almatvee
2023-04-11 16:16:07 +00:00
Thomas Schatzl
d9db90636f 8305368: G1 remset chunk claiming may use relaxed memory ordering
Reviewed-by: ayang, iwalulya
2023-04-11 16:06:10 +00:00
Thomas Schatzl
c789d24039 8305370: Inconsistent use of for_young_only_phase parameter in G1 predictions
Reviewed-by: iwalulya, kbarrett
2023-04-11 16:04:12 +00:00
Aleksei Voitylov
c6d7cf6b48 8305663: Wrong iteration order of pause array in g1MMUTracker
Reviewed-by: ayang, tschatzl
2023-04-11 16:03:13 +00:00
Jiangli Zhou
ce4b995556 8305761: Resolve multiple definition of 'jvm' when statically linking with JDK native libraries
Reviewed-by: alanb, kevinw
2023-04-11 15:05:44 +00:00
Tom Rodriguez
12946f5748 8305419: JDK-8301995 broke building libgraal
Reviewed-by: matsaave, dnsimon, thartmann
2023-04-11 14:55:55 +00:00
Mark Powers
9486969bd3 8302696: Revert API signature changes made in JDK-8285504 and JDK-8285263
Reviewed-by: mullan
2023-04-11 14:42:44 +00:00
Matias Saavedra Silva
628a3f173a 8304738: UnregisteredClassesTable_lock never created
Reviewed-by: iklam, jcking, dholmes
2023-04-11 14:03:10 +00:00
Leonid Mesnik
7a5597c34f 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: kvn, sspitsyn
2023-04-11 13:55:20 +00:00
Chen Liang
e5ce7d9e43 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc
Reviewed-by: mchung
2023-04-11 13:40:56 +00:00
Julian Waters
cd7d53c88c 8304717: Declaration aliasing between boolean and jboolean is wrong
Reviewed-by: dholmes
2023-04-11 06:52:34 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Matthew Donovan
39398075b7 8182621: JSSE should reject empty TLS plaintexts
Reviewed-by: xuelei
2023-04-11 04:21:17 +00:00
Feilong Jiang
137513025d 8305728: RISC-V: Use bexti instruction to do single-bit testing
Reviewed-by: fyang, yzhu
2023-04-11 03:00:54 +00:00
Eirik Bjorsnos
4485737e9b 8304501: Remove orphaned demo netbeans projects
Reviewed-by: serb
2023-04-11 00:17:02 +00:00
Chen Liang
0ff2ff6789 8305807: Spurious right brace in ConstantDescs field Javadocs
Reviewed-by: mchung, iris
2023-04-10 22:54:32 +00:00
Justin Lu
2aeb0e5267 6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
2023-04-10 21:47:16 +00:00
Justin Lu
42965d390c 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.
Reviewed-by: naoto
2023-04-10 21:46:31 +00:00
Mandy Chung
a43a17c8ea 8305808: Typo in javadoc of ConstantDescs::BSM_VARHANDLE_STATIC_FIELD
Reviewed-by: rriggs, iris
2023-04-10 20:50:50 +00:00
Roger Riggs
ba90dc7795 8304911: Use OperatingSystem enum in some modules
Reviewed-by: naoto, lancea, iris, jpai
2023-04-10 15:51:01 +00:00
Lance Andersen
76975da59e 8305758: Update the JAR tool man page to indicate -i/--generate-file is deprecated
Reviewed-by: alanb, jpai
2023-04-10 14:11:51 +00:00
Eirik Bjorsnos
0d45a524b3 8302819: Remove JAR Index
Reviewed-by: mchung, alanb, lancea, jpai
2023-04-10 11:23:21 +00:00
Vladimir Petko
0243da2e4a 8305481: gtest is_first_C_frame failing on ARM
Reviewed-by: stuefe
2023-04-10 09:21:23 +00:00
Eirik Bjorsnos
a8e3a2dd2f 8205129: Remove java.lang.Compiler
Reviewed-by: alanb, jpai
2023-04-10 08:32:19 +00:00
Prasanta Sadhukhan
db174a15d1 4825182: DefaultBoundedRangeModel.setMinimum() changes extent unnecessarily
Reviewed-by: prr
2023-04-10 07:21:23 +00:00
Ajit Ghaisas
969a6b9fd7 8304825: MacOS metal pipeline - window isn't painted if created during display sleep
Reviewed-by: kcr, avu, prr
2023-04-10 04:52:35 +00:00
Weijun Wang
97276859ab 8305310: Calculate PublicKey from PrivateKey
Reviewed-by: mullan
2023-04-10 00:55:16 +00:00
Andrey Turbanov
50d7335206 8305696: (zipfs) Avoid redundant LinkedHashMap.containsKey call ZipFileSystem.makeParentDirs
Reviewed-by: alanb, jpai, lancea
2023-04-09 11:21:48 +00:00
Jaikiran Pai
ec9d816abf 6441827: Documentation mentions nonexistent NullReferenceException
Reviewed-by: iris
2023-04-09 01:30:47 +00:00
Joshua Cao
9e20382311 8305721: add make compile-commands artifacts to .gitignore
Reviewed-by: erikj, jwaters
2023-04-08 13:17:33 +00:00
Ioi Lam
f45b01f883 8305766: ProblemList runtime/CompressedOops/CompressedClassPointers.java
Reviewed-by: cjplummer
2023-04-08 03:29:27 +00:00
Jonathan Gibbons
a8871f5d26 8305407: ExternalSpecsWriter should ignore white-space differences in spec titles
Reviewed-by: hannesw
2023-04-07 14:15:46 +00:00
Roland Westrelin
6b2a86a65e 8300257: C2: vectorization fails on some simple Memory Segment loops
Reviewed-by: kvn, thartmann
2023-04-07 12:51:44 +00:00
Nikita Gubarkov
dc81603cbf 8305666: Add system property for fair AWT lock
Reviewed-by: prr
2023-04-07 10:06:51 +00:00
Thomas Stuefe
c67bbcea92 8305711: Arm: C2 always enters slowpath for monitorexit
Reviewed-by: shade, kvn
2023-04-07 05:57:16 +00:00
Guoxiong Li
ce6e7461dc 8305118: Add RISC-V related content to building.md
Reviewed-by: erikj
2023-04-07 00:58:36 +00:00
Joshua Cao
314e9b3dcc 8300829: Make CtwRunner available as an independent tool
Reviewed-by: xliu, phh
2023-04-07 00:28:04 +00:00
Kevin Walls
0a34018797 8305680: Remove Permissions from jcmd help output
Reviewed-by: cjplummer, sspitsyn
2023-04-06 21:09:56 +00:00
Kevin Walls
8db1dd0258 8305622: Remove Permission details from jcmd man page
Reviewed-by: cjplummer, sspitsyn
2023-04-06 21:09:08 +00:00
Chris Plummer
1d517afbd4 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table
Reviewed-by: sspitsyn, lmesnik
2023-04-06 19:13:27 +00:00
Viktor Klang
08fbb7bb5e 8272119: Typo in JDK documentation (a -> an)
Reviewed-by: dfuchs, mchung, iris
2023-04-06 15:50:13 +00:00
Quan Anh Mai
536ad9df1a 8305461: [vectorapi] Add VectorMask::xor
Reviewed-by: psandoz
2023-04-06 15:33:16 +00:00
Leonid Mesnik
ddd50d0db3 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"
Reviewed-by: cjplummer, sspitsyn
2023-04-06 14:11:40 +00:00
Matias Saavedra Silva
ce10460e94 8274166: Some CDS tests ignore -Dtest.cds.runtime.options
Reviewed-by: dholmes, iklam, aturbanov
2023-04-06 13:59:08 +00:00
Sergey Tsypanov
e52a2aeeac 8304745: Lazily initialize byte[] in java.io.BufferedInputStream
Reviewed-by: liach, bpb, jpai
2023-04-06 11:17:21 +00:00
Daniel Fuchs
6580c4e631 8267140: Support closing the HttpClient by making it auto-closable
Reviewed-by: jpai
2023-04-06 10:05:20 +00:00
Tingjun Yuan
b5ea140dff 8269843: typo in LinkedHashMap::removeEldestEntry spec
Reviewed-by: martin
2023-04-06 06:35:19 +00:00
Vladimir Petko
a6a3cf485d 8305480: test/hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java failing on 32 bit arm
Reviewed-by: stuefe, dholmes
2023-04-06 05:06:15 +00:00
Leonid Mesnik
35d22930bb 8305607: Remove some unused test parameters in com/sun/jdi tests
Reviewed-by: sspitsyn, amenkov, cjplummer
2023-04-06 03:32:12 +00:00
Serguei Spitsyn
5764119024 8303563: GetCurrentThreadCpuTime and GetThreadCpuTime need further clarification for virtual threads
Reviewed-by: dholmes, alanb
2023-04-06 01:30:31 +00:00
Mandy Chung
312702567a 8305600: java/lang/invoke/lambda/LogGeneratedClassesTest.java fails after JDK-8304846 and JDK-8202110
Reviewed-by: jvernee
2023-04-05 22:40:55 +00:00
David Holmes
35cb303a2c 8305425: Thread.isAlive0 doesn't need to call into the VM
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, coleenp, alanb
2023-04-05 21:54:38 +00:00
Daniel D. Daugherty
b5d204c3a4 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp
8305679: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java on linux-aarch64 with ZGC

Reviewed-by: mikael
2023-04-05 21:24:55 +00:00
Brian Burkhalter
507c49a3ab 8305664: [BACKOUT] (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
2023-04-05 20:17:07 +00:00
Brian Burkhalter
39f12a88e7 8305596: (fc) Two java/nio/channels tests fail after JDK-8303260
Reviewed-by: alanb
2023-04-05 20:16:13 +00:00
Naoto Sato
44f33ad1a9 8304982: Emit warning for removal of COMPAT provider
Reviewed-by: alanb
2023-04-05 16:06:23 +00:00
Naoto Sato
ee3023359c 8305107: Emoji related binary properties in RegEx
Reviewed-by: iris, rriggs, jpai
2023-04-05 16:04:27 +00:00
Jonathan Gibbons
5919fad1f4 8305591: Cleanup use of newline flag in DocCommentParser
Reviewed-by: hannesw
2023-04-05 15:36:25 +00:00
Jonathan Gibbons
022290bdbd 8305620: Missing break in DocCommentParser inlineWord()
Reviewed-by: iris
2023-04-05 14:39:51 +00:00
Daniel D. Daugherty
2e59d21e56 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads
Reviewed-by: thartmann
2023-04-05 14:04:08 +00:00
Nikita Gubarkov
f69d88c57f 8301616: Drag & maximize to another monitor places window incorrectly (Windows)
Reviewed-by: avu, aivanov, serb
2023-04-05 13:41:51 +00:00
Matthias Baesken
a3137c750f 8305646: compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
Reviewed-by: alanb, shade
2023-04-05 13:27:16 +00:00
Adam Sotona
78ff454f19 8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors
Reviewed-by: cjplummer, fparain
2023-04-05 13:19:27 +00:00
Tobias Holenstein
9f587d272f 8305644: IGV: Node text not updated when switching from/to CFG view
Reviewed-by: rcastanedalo, chagedorn
2023-04-05 12:09:27 +00:00
Jan Lahoda
4bf1987856 8296454: System.console() shouldn't return null in jshell
Reviewed-by: vromero
2023-04-05 10:35:01 +00:00
Jan Lahoda
2aec910ea4 8304883: Record Deconstruction causes bytecode error
Reviewed-by: vromero
2023-04-05 10:29:22 +00:00
Tobias Holenstein
0e0c022b1f 8305356: Fix ignored bad CompileCommands in tests
Reviewed-by: thartmann, chagedorn
2023-04-05 09:35:45 +00:00
Prasanta Sadhukhan
b659c35395 8068824: Exception thrown in JTableHeader after clicking on popupmenu opened with right-click on header
Reviewed-by: abhiscxk, aghaisas
2023-04-05 05:41:30 +00:00
Emanuel Peter
83a924a100 8304042: C2 SuperWord: schedule must remove packs with cyclic dependencies
Reviewed-by: kvn, thartmann
2023-04-05 04:52:11 +00:00
Abhishek Kumar
0ec3d2e363 7124527: [macosx] SwingSet2, label is not read by VoiceOver when focus is on textfield for Internalframe and Table demo.
Reviewed-by: asemenov, serb
2023-04-05 04:28:00 +00:00
Yoshiki Sato
ed9592c6e8 8305113: (tz) Update Timezone Data to 2023c
Reviewed-by: naoto, andrew, serb
2023-04-05 01:19:00 +00:00
Kevin Walls
15fa78e6e7 8305237: CompilerDirectives DCmds permissions correction
Reviewed-by: cjplummer, sspitsyn
2023-04-04 22:16:50 +00:00
Justin Lu
7cf24d1c06 8305400: ISO 4217 Amendment 175 Update
Reviewed-by: naoto
2023-04-04 21:02:33 +00:00
Justin Lu
a324fa2639 8225641: Calendar.roll(int field) does not work correctly for WEEK_OF_YEAR
Reviewed-by: naoto
2023-04-04 21:01:24 +00:00
Mandy Chung
3399fbf9fa 8305602: ProblemList java/lang/invoke/lambda/LogGeneratedClassesTest.java
Reviewed-by: dcubed
2023-04-04 19:10:44 +00:00
Brian Burkhalter
94a05e0caa 8305599: (fc) Temporarily problem-list java/nio/channels/{AsyncCloseAndInterrupt.java, FileChannel/Transfer.java}
Reviewed-by: alanb
2023-04-04 18:23:31 +00:00
Raffaello Giulietti
7c650489d2 8305343: BigDecimal.fractionOnly() erroneously returns true for large scale value
Reviewed-by: darcy
2023-04-04 18:09:04 +00:00
Mandy Chung
dd59471798 8304846: Provide a shared utility to dump generated classes defined via Lookup API
Reviewed-by: jvernee
2023-04-04 18:07:02 +00:00
Coleen Phillimore
2ee4245105 8305509: C1 fails "assert(k != nullptr) failed: illegal use of unloaded klass"
Reviewed-by: dcubed
2023-04-04 16:31:21 +00:00
Brian Burkhalter
7baccd9ee2 8303260: (fc) FileChannel::transferFrom should support position > size()
Reviewed-by: alanb
2023-04-04 15:57:56 +00:00
Brian Burkhalter
3ef834fc6f 8298619: java/io/File/GetXSpace.java is failing
Reviewed-by: rriggs
2023-04-04 15:56:51 +00:00
Leonid Mesnik
c59411929d 8305511: Remove ignore from com/sun/jdi/PopAndInvokeTest.java
Reviewed-by: cjplummer, sspitsyn
2023-04-04 14:39:56 +00:00
Amit Kumar
62bd2ebac4 8303147: [s390x] fast & slow debug builds are broken
Reviewed-by: mdoerr
2023-04-04 14:28:09 +00:00
Deepa Kumari
f9ed825266 8303082: [AIX] Missing C++ name demangling with XLClang++
Reviewed-by: tsteele, mdoerr, stuefe
2023-04-04 14:26:24 +00:00
Jonathan Gibbons
73a084c24e 8305504: stutter typo in java.compiler files
Reviewed-by: darcy, iris
2023-04-04 14:08:30 +00:00
Thomas Stuefe
7b922104f5 8305525: Problemlist runtime/ErrorHandling/TestDwarf on x86
Reviewed-by: shade
2023-04-04 13:11:53 +00:00
Coleen Phillimore
5881b099f6 8305500: SystemDictionary::find_placeholder/find_class declared but not used
Reviewed-by: iklam, dholmes
2023-04-04 12:14:06 +00:00
Markus Grönlund
7ca2aec34c 8304033: JFR: Missing thread
Reviewed-by: egahlin, dholmes
2023-04-04 10:55:21 +00:00
Markus Grönlund
ac01e24eaf 8305242: Remove non-invariant assert(EventThreadDump::is_enabled())
Reviewed-by: egahlin
2023-04-04 10:53:46 +00:00
Jie Fu
a663d5d694 8305520: ToggleNotifyJvmtiTest.java fails with release VMs
Reviewed-by: sspitsyn
2023-04-04 07:33:21 +00:00
Emanuel Peter
24c6af0637 8173709: Fix VerifyLoopOptimizations - step 1 - minimal infrastructure
Reviewed-by: kvn, chagedorn, thartmann
2023-04-04 06:28:57 +00:00
David Holmes
a7546b3a16 8304996: Add missing HandleMarks
Reviewed-by: coleenp, shade, iklam
2023-04-04 02:04:47 +00:00
Eric Liu
ac898e9051 8303278: Imprecise bottom type of ExtractB/UB
Reviewed-by: qamai, thartmann
2023-04-04 01:18:10 +00:00
Serguei Spitsyn
a1a9ec6e46 8297286: runtime/vthread tests crashing after JDK-8296324
Reviewed-by: lmesnik, pchilanomate, cjplummer
2023-04-04 00:46:43 +00:00
Jonathan Gibbons
c6bd489cc8 8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Joe Darcy
ccbb0e8d89 8303798: REDO - Remove fdlibm C sources
Reviewed-by: alanb, iris, jwaters, erikj, kvn, dholmes
2023-04-03 23:57:01 +00:00
Ioi Lam
9ce5fdc962 8305421: Work around JDK-8305420 in CDSJDITest.java
Reviewed-by: cjplummer
2023-04-03 22:28:58 +00:00
Coleen Phillimore
b062b1bd81 8304743: Compile_lock and SystemDictionary updates
Reviewed-by: vlivanov, dholmes, dlong
2023-04-03 20:25:36 +00:00
Joe Darcy
df819cfa5a 8304945: StringBuilder and StringBuffer should implement Appendable explicitly
Reviewed-by: alanb, rriggs
2023-04-03 17:19:44 +00:00
Thomas Stuefe
312bbe7d75 8305485: Problemlist runtime/Thread/TestAlwaysPreTouchStacks.java
Reviewed-by: shade
2023-04-03 16:58:54 +00:00
Sergey Tsypanov
50e31e06d7 8305442: (bf) Direct and view implementations of CharBuffer.toString(int, int) do not need to catch SIOBE
Reviewed-by: alanb, bpb
2023-04-03 16:16:05 +00:00
Eirik Bjorsnos
85e3974470 8304014: Convert test/jdk/java/util/zip/ZipFile/CorruptedZipFiles.java to junit
Reviewed-by: lancea
2023-04-03 16:11:37 +00:00
Markus KARG
40aea04680 8278268: (ch) InputStream returned by Channels.newInputStream should have fast path for FileChannel targets
Reviewed-by: bpb
2023-04-03 15:45:29 +00:00
Jim Laskey
9b9b5a7a5c 8302323: Add repeat methods to StringBuilder/StringBuffer
Reviewed-by: tvaleev, redestad
2023-04-03 15:29:21 +00:00
Daniel D. Daugherty
dd7ca757a7 8305478: [REDO] disable gtest/NMTGtests.java sub-tests failing due to JDK-8305414
Reviewed-by: stuefe
2023-04-03 15:04:08 +00:00
Daniel Jeliński
f9827ad172 8288109: HttpExchangeImpl.setAttribute does not allow null value after JDK-8266897
Reviewed-by: dfuchs, jpai
2023-04-03 14:57:03 +00:00
Daniel D. Daugherty
6010de0f1d 8305417: disable gtest/NMTGtests.java sub-tests failing due to JDK-8305414
Reviewed-by: alanb
2023-04-03 13:52:14 +00:00
Matias Saavedra Silva
127afd3445 8241613: Suspicious calls to MacroAssembler::null_check(Register, offset)
Reviewed-by: dholmes, coleenp, fparain, adinn
2023-04-03 12:59:02 +00:00
Fredrik Bredberg
33d09e587a 8305247: On RISC-V generate_fixed_frame() sometimes generate a relativized locals value which is way too large
Reviewed-by: fyang, rehn
2023-04-03 12:38:13 +00:00
Jim Laskey
790acedaab 8305100: [REDO] Clean up JavadocTokenizer
Reviewed-by: jjg
2023-04-03 11:40:21 +00:00
Hannes Wallnöfer
2e91585ac9 8303123: Add line break opportunity to single type parameters
Reviewed-by: jjg
2023-04-03 10:39:56 +00:00
Hannes Wallnöfer
094e03de6a 8299718: JavaDoc: Buttons to copy specific documentation URL are not accessible
Reviewed-by: jjg
2023-04-03 10:37:19 +00:00
Martin Doerr
4de24cdbe6 8303210: [linux, Windows] Make UseSystemMemoryBarrier available as product flag
Reviewed-by: dholmes, rehn
2023-04-03 09:37:16 +00:00
Erik Gahlin
336a23e70a 8303229: JFR: Preserve disk repository after exit
Reviewed-by: dholmes, mgronlun
2023-04-03 08:55:45 +00:00
Abhishek Kumar
ecec611af6 8283404: [macos] a11y : Screen magnifier does not show JMenu name
Reviewed-by: serb
2023-04-03 05:36:04 +00:00
Julian Waters
aa762102e9 8304893: Link Time Optimization with gcc can be faster
Reviewed-by: dholmes, erikj
2023-04-02 06:54:09 +00:00
Thomas Stuefe
b8c748dbe4 8294266: Add a way to pre-touch java thread stacks
Reviewed-by: rehn, gziemski
2023-04-02 06:21:30 +00:00
Thomas Stuefe
41a3db267d 8304815: Use NMT for more precise hs_err location printing
Reviewed-by: jsjolen, rkennke
2023-04-02 06:19:07 +00:00
Joshua Cao
34e66ce1ef 8304295: harfbuzz build fails with GCC 7 after JDK-8301998
Reviewed-by: shade, erikj, serb, jwaters
2023-04-01 14:36:52 +00:00
Afshin Zafari
a19b28ab3e 8297539: Use PrimitiveConversions::cast for local uses of the int<->float union conversion trick
Reviewed-by: coleenp, kbarrett, dholmes
2023-04-01 01:02:05 +00:00
Archie L. Cobbs
8eb4e7e07e 8277501: Revisit PathFileObject.getCharContent and friends
Reviewed-by: vromero, jjg
2023-03-31 23:17:56 +00:00
Joe Darcy
abfb900829 8304028: Port fdlibm IEEEremainder to Java
Reviewed-by: bpb
2023-03-31 19:48:03 +00:00
Martin Buchholz
a565be4dc5 8297605: improve DelayQueue removal method javadoc
Reviewed-by: alanb
2023-03-31 18:11:53 +00:00
Chen Liang
cccb0191a3 8304928: Optimize ClassDesc.resolveConstantDesc
Reviewed-by: mchung
2023-03-31 17:45:54 +00:00
Chen Liang
bdbf8fc61d 8303930: Fix ConstantUtils.skipOverFieldSignature void case return value
Reviewed-by: mchung
2023-03-31 17:14:44 +00:00
Amit Kumar
4a5d7ca7d9 8305227: [s390x] build broken after JDK-8231349
Reviewed-by: shade, lucy, kvn
2023-03-31 16:57:46 +00:00
Erik Gahlin
dae1ab3aad 8304844: JFR: Missing disk parameter in ActiveRecording event
Reviewed-by: mgronlun
2023-03-31 15:50:33 +00:00
Doug Simon
e012685051 8305066: [JVMCI] guarantee(ik->is_initialized()) failed: java/lang/Long$LongCache must be initialized
Reviewed-by: never, iveresov
2023-03-31 15:23:45 +00:00
Justin King
fe42312f9b 8304820: Statically allocate ObjectSynchronizer mutexes
Reviewed-by: dcubed, dholmes
2023-03-31 14:28:22 +00:00
Daniel Fuchs
2f36eb0121 8305323: Update java/net/httpclient/ContentLengthHeaderTest.java to use new HttpTestServer factory methods
Reviewed-by: jpai
2023-03-31 13:48:20 +00:00
Tobias Holenstein
049b953f8f 8305223: IGV: mark osr compiled graphs with [OSR] in the name
Reviewed-by: thartmann, rcastanedalo, eliu
2023-03-31 12:10:21 +00:00
Roberto Castañeda Lozano
345669c29d 8302738: IGV: refine 'Simplify graph' filter
Reviewed-by: tholenstein, chagedorn
2023-03-31 12:03:47 +00:00
Fei Gao
dea9db2d0a 8305055: IR check fails on some aarch64 platforms
Reviewed-by: epeter, thartmann
2023-03-31 09:15:24 +00:00
Richard Reingruber
c8f3a97d46 8305171: PPC: Should use IMA::load_resolved_indy_entry() in TIG::generate_return_entry_for()
Reviewed-by: mdoerr
2023-03-31 08:59:02 +00:00
Amit Kumar
7fe5bd2bec 8305174: disable dtrace for s390x builds
Reviewed-by: erikj, lucy, mbaesken
2023-03-31 07:46:50 +00:00
Jaikiran Pai
787832a586 8304988: unnecessary dash in @param gives double-dash in docs
Reviewed-by: alanb, cjplummer
2023-03-31 04:59:53 +00:00
Dingli Zhang
a144c713b7 8305008: RISC-V: Factor out immediate checking functions from assembler_riscv.inline.hpp
Reviewed-by: fjiang, fyang
2023-03-31 01:22:54 +00:00
Justin Lu
d8158897c3 8304993: bad sentence break in DateFormat
Reviewed-by: rriggs, naoto, lancea, iris
2023-03-30 22:34:42 +00:00
Justin Lu
5f7b4b8e75 8305111: Locale.lookupTag has typo in parameter
Reviewed-by: lancea, iris, naoto
2023-03-30 22:33:59 +00:00
Xin Liu
83cf28f996 8305142: Can't bootstrap ctw.jar
Reviewed-by: shade, phh
2023-03-30 16:53:33 +00:00
Brian Burkhalter
05cc02b243 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
Reviewed-by: alanb
2023-03-30 16:44:01 +00:00
Sergey Bylokhov
d2df36b073 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null)
Reviewed-by: prr
2023-03-30 16:12:25 +00:00
Mandy Chung
1d7bb1ffa0 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE
Reviewed-by: darcy, jpai, alanb
2023-03-30 16:07:47 +00:00
Per Minborg
9df2060059 8305157: The java.util.Arrays class should be declared final
Reviewed-by: alanb, rriggs, bpb
2023-03-30 09:24:35 +00:00
Ilya Korennoy
b261e6c43f 8304445: Remaining uses of NULL in ciInstanceKlass.cpp
Reviewed-by: thartmann
2023-03-30 08:57:25 +00:00
Tobias Holenstein
2c38e67b29 8302644: IGV: Apply filters per graph tab and not globally
Reviewed-by: rcastanedalo, chagedorn, thartmann
2023-03-30 08:12:10 +00:00
Severin Gehwolf
f0dba218ac 8304871: Use default visibility for static library builds
Reviewed-by: erikj, dholmes
2023-03-30 08:01:36 +00:00
Emanuel Peter
77811fa39b 8305222: Change unique_ctrl_out_or_null to unique_ctrl_out in PhaseCFG::convert_NeverBranch_to_Goto
Reviewed-by: kvn, thartmann
2023-03-30 07:26:38 +00:00
Daniel Jeliński
2d607c9cd1 8262294: java/net/httpclient/ProxyAuthDisabledSchemes.java fails with HTTP/1.1 parser received no bytes
Reviewed-by: dfuchs, jpai
2023-03-30 05:15:19 +00:00
Kim Barrett
b3ff8d1c89 8303805: [REDO] JDK-8302189 and JDK-8302799
Reviewed-by: dholmes, coleenp
2023-03-29 23:45:03 +00:00
Ioi Lam
b524a74165 8301106: Allow archived Java strings to be moved by GC
Reviewed-by: dholmes
2023-03-29 23:42:52 +00:00
Chris Plummer
9643f654da 8304436: com/sun/jdi/ThreadMemoryLeakTest.java fails with "OutOfMemoryError: Java heap space" with ZGC
8304449: com/sun/jdi/ThreadMemoryLeakTest.java times out

Reviewed-by: lmesnik, dcubed
2023-03-29 23:29:30 +00:00
Daniel Fuchs
69152c3b18 8305202: Fix Copyright Header in ZonedDateTimeFormatterBenchmark
Reviewed-by: rriggs, naoto, dcubed
2023-03-29 19:12:02 +00:00
Sergey Tsypanov
438c969b7b 8304976: Optimize DateTimeFormatterBuilder.ZoneTextPrinterParser.getTree()
Reviewed-by: naoto
2023-03-29 18:32:14 +00:00
Roger Riggs
d063b8964f 8303392: Runtime.exec and ProcessBuilder.start should use System logger
Reviewed-by: stuefe, alanb, mullan
2023-03-29 17:32:46 +00:00
SUN Guoyun
be764a711c 8302814: Delete unused CountLoopEnd instruct with CmpX
Reviewed-by: kvn, fjiang
2023-03-29 17:18:59 +00:00
Kim Barrett
34f4d7f4ad 8304759: Add BitMap iterators
Reviewed-by: stefank, aboldtch, tschatzl
2023-03-29 17:18:16 +00:00
Harshitha Onkar
42df1a99b7 8304991: Redundant hyphen in @param results in double-dash in javadocs
Reviewed-by: psadhukhan
2023-03-29 16:50:24 +00:00
Naoto Sato
e3855d0054 8304840: Dangling CharacterCodingException in a few javadoc descriptions
Reviewed-by: alanb, iris, rriggs, jpai
2023-03-29 16:19:44 +00:00
Bhavana Kilambi
67274906ae 8303161: [vectorapi] VectorMask.cast narrow operation returns incorrect value with SVE
Reviewed-by: eliu, xgong, ngasson
2023-03-29 16:12:56 +00:00
Naoto Sato
f07decb74b 8272613: CharsetDecoder.decode(ByteBuffer) throws IllegalArgumentException
Reviewed-by: alanb, bpb
2023-03-29 16:08:57 +00:00
Thomas Schatzl
014c658708 8305086: G1 Redirty Cards phase printed twice
Reviewed-by: ayang, kbarrett
2023-03-29 15:21:02 +00:00
Lance Andersen
2fa09333ef 8304990: unnecessary dash in @param gives double-dash in docs
Reviewed-by: bpb, naoto
2023-03-29 14:52:11 +00:00
Daniel Fuchs
e56bcb04b1 8305095: Update java/net/httpclient/CustomRequestPublisher.java to use new HttpTestServer factory methods
Reviewed-by: jpai
2023-03-29 09:46:15 +00:00
Xiaolin Zheng
09852884cc 8304681: compiler/sharedstubs/SharedStubToInterpTest.java fails after JDK-8304387
Reviewed-by: eastigeevich, kvn, shade
2023-03-29 08:29:03 +00:00
Matthias Baesken
ff368d504e 8304867: Explicitly disable dtrace for ppc builds
Reviewed-by: erikj, shade, lucy
2023-03-29 06:55:51 +00:00
Xiaolin Zheng
96fa2751e8 8305112: RISC-V: Typo fix for RVC description
Reviewed-by: dholmes
2023-03-29 02:53:58 +00:00
Jonathan Gibbons
7239150f8a 8305094: typo (missing *) in doc comment
Reviewed-by: iris
2023-03-28 20:58:57 +00:00
Matias Saavedra Silva
3fbbfd1749 8301995: Move invokedynamic resolution information out of ConstantPoolCacheEntry
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Dingli Zhang <dzhang@openjdk.org>
Co-authored-by: Gui Cao <gcao@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: coleenp, dnsimon, fparain, gcao, aph, fyang, amitkumar, lucy
2023-03-28 19:50:38 +00:00
Daniel Fuchs
50a995f03a 8304927: Update java/net/httpclient/BasicAuthTest.java to check basic auth over HTTP/2
Reviewed-by: jpai
2023-03-28 18:58:29 +00:00
Raffaello Giulietti
ca745cb426 8291598: Matcher.appendReplacement should not create new StringBuilder instances
Reviewed-by: rriggs
2023-03-28 17:55:23 +00:00
Jim Laskey
1683a63a7d 8305098: [Backout] JDK-8303912 Clean up JavadocTokenizer
Reviewed-by: jjg, mcimadamore
2023-03-28 17:48:59 +00:00
Jan Lahoda
fab23577ab 8304498: JShell does not switch to raw mode when there is no /bin/test
Reviewed-by: coffeys, vromero
2023-03-28 16:56:28 +00:00
Jim Laskey
1fc218c58b 8303912: Clean up JavadocTokenizer
Reviewed-by: vromero, jjg
2023-03-28 16:36:07 +00:00
Archie L. Cobbs
c1f5ca115d 8303623: Compiler should disallow non-standard UTF-8 string encodings
Reviewed-by: vromero
2023-03-28 16:14:37 +00:00
Martin Doerr
695683b5b1 8304880: [PPC64] VerifyOops code in C1 doesn't work with ZGC
Reviewed-by: shade
2023-03-28 15:45:34 +00:00
Jonathan Gibbons
83ce65e12c 8305004: add @spec tags to langtools modules
Reviewed-by: iris
2023-03-28 14:52:22 +00:00
Justin King
32ef452132 8304884: Update Bytecodes data to be mostly compile time constants
Reviewed-by: coleenp, dholmes
2023-03-28 14:17:03 +00:00
Per Minborg
927e674c12 8300977: Retire java.io.ExpiringCache
Reviewed-by: alanb, jpai
2023-03-28 13:15:19 +00:00
Jaikiran Pai
c90699eae7 8304989: unnecessary dash in @param gives double-dash in docs
Reviewed-by: lancea
2023-03-28 12:02:27 +00:00
Sergey Tsypanov
395a4ce0dd 8304591: (fs) UnixPath.stringValue need not be volatile
Reviewed-by: alanb, bpb, shade
2023-03-28 11:14:09 +00:00
Per Minborg
60640a216d 8300979: Lazily initialize (byte, char)arr in java.io.DataInputStream
Reviewed-by: alanb
2023-03-28 10:58:52 +00:00
Daniel Jeliński
cddaf686e1 8304962: sun/net/www/http/KeepAliveCache/B5045306.java: java.lang.RuntimeException: Failed: Initial Keep Alive Connection is not being reused
Reviewed-by: jpai
2023-03-28 08:57:02 +00:00
nbauma109
a06f46196a 8303214: Typo in java.util.Collections#synchronizedNavigableMap javadoc
Reviewed-by: martin, smarks, aturbanov
2023-03-28 08:47:55 +00:00
Albert Mingkun Yang
7987ad427b 8304412: Serial: Refactor old generation cards update after Full GC
Reviewed-by: tschatzl, kbarrett
2023-03-28 07:24:33 +00:00
Daniel Jeliński
3c4cd50e3c 8304963: HttpServer closes connection after processing HEAD after JDK-7026262
Reviewed-by: dfuchs
2023-03-28 06:12:30 +00:00
Eirik Bjorsnos
4f625c0b9a 8304543: Modernize debugging jvm args in test/hotspot/jtreg/vmTestbase/nsk/jdi/Argument/value/value004.java
Reviewed-by: dholmes, cjplummer, alanb
2023-03-28 04:21:15 +00:00
Archie L. Cobbs
426025aab4 8303526: Changing "arbitrary" Name.compareTo() ordering breaks the regression suite
Reviewed-by: vromero
2023-03-28 03:39:29 +00:00
Matias Saavedra Silva
6aec6f3a84 8304931: vm/concepts/methods/methods001/methods00101m1/methods00101m1 failures with already pending exception
Reviewed-by: coleenp, dholmes
2023-03-27 22:12:36 +00:00
David Holmes
63ce88b5fb 8304147: JVM crash during shutdown when dumping dynamic archive
Reviewed-by: ccheung, matsaave, coleenp
2023-03-27 22:05:23 +00:00
Serguei Spitsyn
554bccf046 8304448: Kitchensink failed: assert(!thread->is_in_any_VTMS_transition()) failed: class prepare events are not allowed in any VTMS transition
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: rpressler, alanb
2023-03-27 21:44:48 +00:00
Justin Lu
3b88b2a9f8 8304761: Update IANA Language Subtag Registry to Version 2023-03-22
Reviewed-by: naoto
2023-03-27 21:37:16 +00:00
Justin Lu
f8e8fc7e29 8177352: Calendar.getDisplayName(s) in non-lenient mode inconsistent, does not match spec
Reviewed-by: naoto
2023-03-27 21:36:14 +00:00
Archie L. Cobbs
14b970dc9e 8296656: java.lang.NoClassDefFoundError exception on running fully legitimate code
8287885: Local classes cause ClassLoader error if the type names are similar but not same

Reviewed-by: vromero
2023-03-27 21:33:01 +00:00
Damon Nguyen
80e2d52f76 8302558: Editable JComboBox's popup blocks user from seeing characters in Aqua look and feel
Reviewed-by: psadhukhan, azvegint
2023-03-27 19:03:56 +00:00
Roger Riggs
6c3b10fb1d 8303485: Replacing os.name for operating system customization
Reviewed-by: naoto, erikj, alanb
2023-03-27 17:45:20 +00:00
Damon Nguyen
87b314a985 7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color
Reviewed-by: honkar, kizune, psadhukhan
2023-03-27 17:04:20 +00:00
Jonathan Gibbons
2f34687ec1 8304689: Add hidden option to disable external spec page
Reviewed-by: erikj, hannesw
2023-03-27 15:42:10 +00:00
Julian Waters
6b2f34f88a 8304718: GetIntArrayElements should not be passed JNI_FALSE
Reviewed-by: serb
2023-03-27 15:12:20 +00:00
Jan Lahoda
138cdc9283 8304694: Runtime exception thrown when break stmt is missing
Reviewed-by: vromero
2023-03-27 15:01:45 +00:00
Eirik Bjorsnos
46b0602376 8304547: Remove checking of -Djava.compiler in src/jdk.jdi/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java
Reviewed-by: dholmes, cjplummer, alanb
2023-03-27 14:32:41 +00:00
Justin King
8d423f7305 8304723: Statically allocate global mutexes
8304736: Heap_lock is created twice

Reviewed-by: coleenp, dholmes, tschatzl
2023-03-27 14:12:58 +00:00
Justin King
20830883df 8304828: Lots of constant static data not declared static const in cpu/x86
Reviewed-by: dholmes, kvn
2023-03-27 14:03:04 +00:00
Prasanta Sadhukhan
0712adc2dd 7169951: SwingSet2 throws NullPointerException with Nimbus L&F
Reviewed-by: abhiscxk, jdv
2023-03-27 10:17:27 +00:00
Bhavana Kilambi
de1c12ed63 8301012: [vectorapi]: Intrinsify CompressBitsV/ExpandBitsV and add the AArch64 SVE backend implementation
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: ngasson, eliu, thartmann
2023-03-27 08:50:05 +00:00
Thomas Schatzl
10fa7d1f9b 8304804: Remove develop flag G1VerifyCTCleanup
Reviewed-by: ayang, kbarrett
2023-03-27 08:33:57 +00:00
Thomas Schatzl
4acf20df7b 8304809: Remove develop flag G1ExitOnExpansionFailure
Reviewed-by: ayang, kbarrett
2023-03-27 08:17:43 +00:00
Daniel Jeliński
a5ffa079a0 7026262: HttpServer: improve handling of finished HTTP exchanges
Reviewed-by: dfuchs, michaelm
2023-03-27 05:22:45 +00:00
Eirik Bjorsnos
65e01da925 8304013: Add a fast, non-manual alternative to test/jdk/java/util/zip/ZipFile/TestTooManyEntries
Reviewed-by: lancea, martin
2023-03-26 23:00:15 +00:00
Quan Anh Mai
38e17148fa 8304258: x86: Improve the code generation of VectorRearrange with int and float
Reviewed-by: kvn, jbhateja, sviswanathan
2023-03-25 05:30:16 +00:00
Weijun Wang
765a94258d 8304136: Match allocation and free in sspi.cpp
Reviewed-by: djelinski
2023-03-24 18:40:07 +00:00
Ian Graves
3f59b75bd8 8304898: Fix Copyright Headers for JLink Source Files
Reviewed-by: iris, mchung
2023-03-24 18:32:27 +00:00
Kim Barrett
501b606816 8298725: Add BitMap support for reverse iteration
Reviewed-by: stefank, aboldtch, tschatzl
2023-03-24 18:17:45 +00:00
Abhishek Kumar
97649489d0 8273986: JEditorPane HTML Demo - Accessibility issues
Reviewed-by: kizune, serb
2023-03-24 16:16:16 +00:00
Zdenek Zambersky
57276101df 8304353: Add lib-test tier1 testing in GHA
Reviewed-by: shade, ihse
2023-03-24 16:04:16 +00:00
Matias Saavedra Silva
d8ba227aa4 8304069: ClassFileParser has ad-hoc hashtables
Reviewed-by: coleenp, dholmes
2023-03-24 15:45:18 +00:00
Brian Burkhalter
9a8a60f7d6 8304833: (fc) Remove dead code in sun.nio.ch.FileChannelImpl::implCloseChannel
Reviewed-by: alanb
2023-03-24 14:52:58 +00:00
Archie L. Cobbs
f96aee7401 8291154: Create a non static nested class without enclosing class throws VerifyError
Reviewed-by: vromero
2023-03-24 14:13:21 +00:00
Coleen Phillimore
4ec720db9f 8297977: vmTestbase/nsk/stress/except/except012.java fails with unexpected Exception
Reviewed-by: mseledtsov, lmesnik
2023-03-24 13:23:40 +00:00
Thomas Schatzl
13dd19aac2 8304802: After JDK-8297639 the flag G1UsePreventiveGC needs to be added to the obsoletion table
Reviewed-by: ayang, dholmes
2023-03-24 12:04:23 +00:00
Jatin Bhateja
d61de141eb 8303508: Vector.lane() gets wrong value on x86
Reviewed-by: eliu, thartmann
2023-03-24 11:19:07 +00:00
Fei Gao
941a7ac7da 8304301: Remove the global option SuperWordMaxVectorSize
Reviewed-by: sviswanathan, kvn
2023-03-24 07:47:44 +00:00
Archie L. Cobbs
ac6af6a640 7176515: ExceptionInInitializerError for an enum with multiple switch statements
8299760: ExceptionInInitializerError for an enum with multiple switch statements, follow-up

Reviewed-by: vromero
2023-03-23 21:17:47 +00:00
Justin Lu
dd23ee9e87 8303917: Update ISO 639 language codes table
Reviewed-by: naoto
2023-03-23 21:15:40 +00:00
Viktor Klang
6f67abd352 8304557: java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out
Reviewed-by: jpai
2023-03-23 20:43:45 +00:00
Thomas Schatzl
568dd57d0d 8304716: Clean up G1Policy::calc_max_old_cset_length()
Reviewed-by: ayang, iwalulya
2023-03-23 19:38:24 +00:00
Ian Graves
af0504e3f3 8304691: Remove jlink --post-process-path option
Reviewed-by: mchung
2023-03-23 19:17:07 +00:00
Vladimir Kozlov
3859faf183 8231349: Move intrinsic stubs generation to compiler runtime initialization code
Reviewed-by: redestad, vlivanov
2023-03-23 19:15:34 +00:00
Thomas Schatzl
f37674a8f7 8304711: Combine G1 root region abort and wait into a single method
Reviewed-by: ayang, iwalulya
2023-03-23 19:14:24 +00:00
Thomas Schatzl
7f9e691630 8304712: Only pass total number of regions into G1Policy::calc_min_old_cset_length
Reviewed-by: ayang, iwalulya
2023-03-23 19:13:28 +00:00
Brian Burkhalter
51035a75e4 8294137: Review running times of java.math tests
Reviewed-by: darcy
2023-03-23 18:01:12 +00:00
Brian Burkhalter
46cca1a4c5 4842457: (bf spec) Clarify meaning of "(optional operation)"
Reviewed-by: alanb
2023-03-23 18:00:07 +00:00
Archie L. Cobbs
6fa25cc134 8184444: The compiler error "variable not initialized in the default constructor" is not apt in case of static final variables
Reviewed-by: vromero
2023-03-23 16:06:47 +00:00
Archie L. Cobbs
4b8f7db6be 8027682: javac wrongly accepts semicolons in package and import decls
Reviewed-by: vromero
2023-03-23 16:04:35 +00:00
Archie L. Cobbs
c00d0885ae 8043179: Lambda expression can mutate final field
Reviewed-by: vromero
2023-03-23 15:59:51 +00:00
Daniel Jeliński
147f3473d4 8219083: java/net/MulticastSocket/SetGetNetworkInterfaceTest.java failed in same binary run on windows x64
Reviewed-by: dfuchs
2023-03-23 15:45:14 +00:00
Coleen Phillimore
bf917ba6af 8304687: Move add_to_hierarchy
Reviewed-by: dholmes, fparain
2023-03-23 13:47:06 +00:00
Jan Lahoda
63d4afbeb1 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
Reviewed-by: vromero, darcy
2023-03-23 08:35:25 +00:00
Prasanta Sadhukhan
e2cfcfbfa9 6817009: Action.SELECTED_KEY not toggled when using key binding
Reviewed-by: tr, jdv
2023-03-23 07:50:57 +00:00
Emanuel Peter
af4d5600e3 8303951: Add asserts before record_method_not_compilable where possible
Reviewed-by: kvn, thartmann
2023-03-23 07:44:18 +00:00
Prasanta Sadhukhan
c4338620b7 6245410: javax.swing.text.html.CSS.Attribute: BACKGROUND_POSITION is not w3c spec compliant
Reviewed-by: aivanov
2023-03-23 02:58:01 +00:00
Archie L. Cobbs
91f407d6fe 8029301: Confusing error message for array creation method reference
Reviewed-by: vromero
2023-03-22 21:00:27 +00:00
Leonid Mesnik
e73411a235 8304376: Rename t1/t2 classes in com/sun/jdi/CLETest.java to avoid class duplication error in IDE
Reviewed-by: sspitsyn, cjplummer
2023-03-22 18:25:41 +00:00
Chen Liang
a2d8f634de 8288730: Add type parameter to Lookup::accessClass and Lookup::ensureInitialized
Reviewed-by: mchung
2023-03-22 16:19:34 +00:00
Jan Kratochvil
37774556da 8302191: Performance degradation for float/double modulo on Linux
Reviewed-by: dholmes, sviswanathan
2023-03-22 15:55:57 +00:00
Justin King
760c0128a4 8304683: Memory leak in WB_IsMethodCompatible
Reviewed-by: thartmann
2023-03-22 15:28:44 +00:00
Ludvig Janiuk
75168eaca3 8304134: jib bootstrapper fails to quote filename when checking download filetype
Reviewed-by: erikj
2023-03-22 14:58:34 +00:00
Johan Sjölen
4154a980ca 8301498: Replace NULL with nullptr in cpu/x86
Reviewed-by: dholmes, kvn
2023-03-22 14:18:40 +00:00
Coleen Phillimore
ddf1e34c1a 8304089: Convert TraceDependencies to UL
Reviewed-by: vlivanov, dholmes
2023-03-22 12:33:00 +00:00
Adam Sotona
358c61b58d 8294972: Convert jdk.jlink internal plugins to use the Classfile API
Reviewed-by: mchung, alanb
2023-03-22 12:12:14 +00:00
Albert Mingkun Yang
c74507eeb3 8304657: G1: Rename set_state_empty to set_state_untracked
Reviewed-by: tschatzl
2023-03-22 10:12:38 +00:00
Albert Mingkun Yang
ca94287d2b 8304144: G1: Remove unnecessary is_survivor check in G1ClearCardTableTask
Reviewed-by: tschatzl, ysr
2023-03-22 10:11:55 +00:00
Daniel Jeliński
eda0065107 8304286: java/net/SocketOption/OptionsTest.java failing after JDK-8302659
Reviewed-by: dfuchs
2023-03-22 08:42:39 +00:00
Wang Haomin
c039d26603 8303804: Fix some errors of If-VectorTest and CMove-VectorTest
Reviewed-by: qamai, thartmann
2023-03-22 07:36:11 +00:00
Adam Sotona
0156909ab3 8304502: Classfile API class hierarchy makes assumptions when class is not resolved
Reviewed-by: jpai
2023-03-22 06:13:34 +00:00
Chris Plummer
0deb648985 8290200: com/sun/jdi/InvokeHangTest.java fails with "Debuggee appears to be hung"
Reviewed-by: amenkov, lmesnik, sspitsyn, dcubed
2023-03-21 18:00:35 +00:00
Chen Liang
019fcd819c 8304139: Add <init> and <clinit> method constants to ConstantDescs
Reviewed-by: mchung
2023-03-21 16:16:08 +00:00
Christian Hagedorn
d6f20e2fbf 8304680: Problemlist compiler/sharedstubs/SharedStubToInterpTest.java
Reviewed-by: thartmann
2023-03-21 16:05:42 +00:00
Chen Liang
d788a1bb80 8304180: Constant Descriptors for MethodHandles::classData and classDataAt
Reviewed-by: jvernee, mchung
2023-03-21 14:55:17 +00:00
Coleen Phillimore
bbde2158d1 8299494: Test vmTestbase/nsk/stress/except/except011.java failed: ExceptionInInitializerError: target class not found
Reviewed-by: dholmes, dcubed
2023-03-21 13:18:44 +00:00
Xiaolin Zheng
1c04686cd6 8304387: Fix positions of shared static stubs / trampolines
Reviewed-by: adinn, fyang
2023-03-21 11:27:54 +00:00
Matthias Baesken
c65bb2c58e 8304334: java/awt/color/ICC_ColorSpace/ToFromCIEXYZRoundTrip.java times out on slow platforms
Reviewed-by: lucy, serb, prr
2023-03-21 09:13:01 +00:00
Raffaello Giulietti
4bf1fbb06d 8303648: Add String.indexOf(String str, int beginIndex, int endIndex)
Reviewed-by: rriggs
2023-03-21 08:43:23 +00:00
Jan Lahoda
c4df9b5f17 8304537: Ant-based langtools build fails after JDK-8015831 Add lint check for calling overridable methods from a constructor
Reviewed-by: vromero, erikj
2023-03-21 07:33:56 +00:00
Jasmine K
a6b72f56f5 8304230: LShift ideal transform assertion
Reviewed-by: thartmann
2023-03-21 06:03:05 +00:00
Varada M
a72ba38347 8303948: HsErrFileUtils.checkHsErrFileContent() fails to check the last pattern.
Reviewed-by: dholmes, stuefe
2023-03-21 05:45:58 +00:00
Mandy Chung
bbca7c3ede 8304542: Convert use of internal VM::classFileVersion to ClassFileFormatVersion
Reviewed-by: alanb
2023-03-20 23:24:49 +00:00
Naoto Sato
f593a6b52e 8303018: Unicode Emoji Properties
Reviewed-by: prr, erikj, rriggs
2023-03-20 20:20:19 +00:00
Serguei Spitsyn
bc0ed730f2 8304303: implement VirtualThread class notifyJvmti methods as C2 intrinsics
Reviewed-by: vlivanov, lmesnik
2023-03-20 19:55:16 +00:00
Kim Barrett
2d0d057d66 8304016: Add BitMap find_last suite of functions
Reviewed-by: stefank, aboldtch
2023-03-20 19:23:38 +00:00
Maurizio Cimadamore
42723dcb18 8304420: Regression ~11% with Javac-Generates on all platforms in b14
Reviewed-by: vromero
2023-03-20 18:44:20 +00:00
Julian Waters
19f2edd9b7 8304541: Modules THROW_MSG_ should return nullptr instead of JNI_FALSE
Reviewed-by: coleenp
2023-03-20 18:13:05 +00:00
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Tyler Steele
4c8c9935eb 8304364: [AIX] Build erroneously determines build disk is non-local when using GNU-utils df on AIX
Reviewed-by: erikj
2023-03-20 17:13:35 +00:00
Thomas Schatzl
4ed7350573 8304393: Provide method to iterate over regions of humongous object in G1
Reviewed-by: iwalulya, ayang
2023-03-20 16:25:53 +00:00
Matias Saavedra Silva
eb73fa833c 8301715: CDS should be disabled in exploded JDK
Reviewed-by: ccheung, coleenp
2023-03-20 15:21:10 +00:00
Jonathan Gibbons
80e979720a 8304433: cleanup sentence breaker code in DocTreeMaker
Reviewed-by: hannesw
2023-03-20 15:14:25 +00:00
Archie L. Cobbs
c396f1ed8b 8304443: bootcycle builds fail after JDK-8015831
Reviewed-by: vromero
2023-03-20 14:33:16 +00:00
Viktor Klang
ded6a81319 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Reviewed-by: jpai, alanb
2023-03-20 13:55:47 +00:00
Albert Mingkun Yang
652bda0af8 8304411: Remove unused CardTable::clear
Reviewed-by: tschatzl
2023-03-20 11:15:29 +00:00
Daniel Jeliński
450567031e 8304174: Remove delays from httpserver tests
Reviewed-by: jpai, dfuchs
2023-03-20 09:31:33 +00:00
Feilong Jiang
c09f83ec25 8304293: RISC-V: JDK-8276799 missed atomic intrinsic support for C1
Reviewed-by: fyang, yzhu
2023-03-20 00:53:52 +00:00
Archie L. Cobbs
e339e183c1 7016187: javac -h could generate conflict .h for inner class and class name with '_'
Reviewed-by: vromero
2023-03-18 17:32:00 +00:00
Chris Plummer
033c0b17cb 8304437: ProblemList com/sun/jdi/ThreadMemoryLeadTest.java with ZGC
Reviewed-by: jpai, dcubed
2023-03-18 17:08:00 +00:00
Yudi Zheng
7503ecc0f1 8304138: [JVMCI] Test FailedSpeculation existence before appending.
Reviewed-by: kvn, dnsimon
2023-03-18 09:41:39 +00:00
Chris Plummer
f8482c20f4 8297638: Memory leak in case of many started-dead threads
Reviewed-by: amenkov, sspitsyn
2023-03-18 00:23:58 +00:00
Alexander Matveev
c56f011baa 8298995: tools/jpackage/share/AddLauncherTest.java#id1 failed "AddLauncherTest.test; checks=53"
Reviewed-by: asemenyuk
2023-03-18 00:02:23 +00:00
Archie L. Cobbs
254288a518 8014021: TreeMaker.Params behaves inconsistently when the owning method has the same number of parameters as the number of parameter types requested
Reviewed-by: vromero, jlahoda
2023-03-17 22:12:09 +00:00
Archie L. Cobbs
8f5bb538ab 8015831: Add lint check for calling overridable methods from a constructor
6557145: Warn about calling abstract methods in constructors

Reviewed-by: ihse, vromero, mcimadamore
2023-03-17 22:05:50 +00:00
Archie L. Cobbs
b085ab9316 8180387: com.sun.source.util.JavacTask should have a protected constructor.
Reviewed-by: vromero
2023-03-17 20:52:38 +00:00
Frederic Parain
bfb812a8ff 8292818: replace 96-bit representation for field metadata with variable-sized streams
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dholmes, coleenp, cjplummer, dnsimon
2023-03-17 20:18:36 +00:00
Coleen Phillimore
932be3542d 8298469: Obsolete legacy parallel class loading workaround for non-parallel-capable class loaders
Reviewed-by: dholmes, fparain
2023-03-17 18:56:05 +00:00
Alex Menkov
02a4ee206a 8303921: serviceability/sa/UniqueVtableTest.java timed out
Reviewed-by: cjplummer, sspitsyn
2023-03-17 18:23:03 +00:00
Naoto Sato
4486f1b720 8304367: jlink --include-locales=* attempts to parse non .class resource files with classfile reader
Reviewed-by: mchung, lancea, jpai
2023-03-17 15:44:38 +00:00
Leonid Mesnik
8d2ebf248e 8303697: ProcessTools doesn't print last line of process output
Reviewed-by: dholmes, stuefe
2023-03-17 13:45:41 +00:00
Leonid Mesnik
d5a150706e 8304314: StackWalkTest.java fails after CODETOOLS-7903373
Reviewed-by: alanb, mchung
2023-03-17 13:43:54 +00:00
Damon Fenacci
384a8b85a7 8303069: Memory leak in CompilerOracle::parse_from_line
Reviewed-by: thartmann, jcking
2023-03-17 13:24:55 +00:00
Afshin Zafari
6dd6c15ed4 8301684: Fix test code to not get finalizer deprecation warnings
Reviewed-by: coleenp, dholmes
2023-03-17 13:21:47 +00:00
Afshin Zafari
cb4ae1922d 8292059: Do not inline InstanceKlass::allocate_instance()
Reviewed-by: coleenp, stefank
2023-03-17 13:20:58 +00:00
Adam Sotona
b2639e1d62 8304164: jdk/classfile/CorpusTest.java still fails after JDK-8303910
Reviewed-by: jpai
2023-03-17 11:47:11 +00:00
Johan Sjölen
620564ac61 8304130: Add runtime/StackGuardPages/TestStackGuardPagesNative.java to ProblemList.txt
Reviewed-by: dcubed
2023-03-17 10:07:37 +00:00
Richard Reingruber
9d518c528b 8299375: [PPC64] GetStackTraceSuspendedStressTest tries to deoptimize frame with invalid fp
Reviewed-by: mdoerr
2023-03-17 08:45:17 +00:00
Matthias Baesken
ebac7eec8e 8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH
Reviewed-by: asemenyuk, almatvee
2023-03-17 07:55:55 +00:00
Kosta Stojiljkovic
36995c5a75 8304242: CPUInfoTest fails because "serialize" CPU feature is not known
Reviewed-by: kvn, sviswanathan, thartmann
2023-03-17 06:20:24 +00:00
Prasanta Sadhukhan
6b42275461 7154070: in SwingSet2, switching between LaFs it's easy to lose JTable dividers
6788475: Changing to Nimbus LAF and back doesn't reset look and feel of JTable completely

Reviewed-by: tr, abhiscxk, honkar, jdv
2023-03-17 03:35:01 +00:00
Pavel Rappo
8eed7dea7b 8304146: Refactor VisibleMemberTable (LocalMemberTable)
Reviewed-by: jjg
2023-03-16 22:23:41 +00:00
David Holmes
a487a270dc 8303150: DCmd framework unnecessarily creates a DCmd instance on registration
Reviewed-by: fparain, stuefe, kevinw
2023-03-16 21:00:21 +00:00
Chen Liang
2e987d798a 8304360: Test to ensure ConstantDescs fields work
Reviewed-by: mchung, jvernee
2023-03-16 20:55:29 +00:00
Jaikiran Pai
2f23c80e0d 8304225: Remove javax/script/Test7.java from ProblemList
Reviewed-by: naoto
2023-03-16 15:33:31 +00:00
Ivan Walulya
96889bf3e4 8191565: Last-ditch Full GC should also move humongous objects
Reviewed-by: tschatzl, sjohanss
2023-03-16 14:15:39 +00:00
Albert Mingkun Yang
f629152021 8304055: G1: Remove OldGCAllocRegion::release
Reviewed-by: iwalulya, tschatzl
2023-03-16 13:16:32 +00:00
Albert Mingkun Yang
b5108b4f37 8303749: Serial: Use more strict card table API
Reviewed-by: tschatzl, iwalulya
2023-03-16 13:15:46 +00:00
Chen Liang
7dbab81d3c 8304161: Add TypeKind.from to derive from TypeDescriptor.OfField
Reviewed-by: jvernee
2023-03-16 12:31:01 +00:00
Jorn Vernee
d4eb395335 8303684: Lift upcall sharing mechanism to AbstractLinker (mainline)
Reviewed-by: mcimadamore
2023-03-16 12:27:25 +00:00
Per Minborg
dfc7214a3e 8304283: Modernize the switch statements in jdk.internal.foreign
Reviewed-by: mcimadamore
2023-03-16 12:11:10 +00:00
Ilya Korennoy
7277bb19f1 8293324: ciField.hpp has two methods to return field's offset
Reviewed-by: thartmann
2023-03-16 08:38:22 +00:00
Damon Fenacci
b7945bc9e5 8303154: Investigate and improve instruction cache flushing during compilation
Reviewed-by: thartmann, kvn
2023-03-16 08:28:55 +00:00
Abhishek Kumar
eefbaa2956 8283400: [macos] a11y : Screen magnifier does not reflect JRadioButton value change
Reviewed-by: serb, asemenov
2023-03-16 05:00:40 +00:00
changpeng1997
42dd9077a0 8302906: AArch64: Add SVE backend support for vector unsigned comparison
Reviewed-by: aph, eliu
2023-03-16 04:16:04 +00:00
Jorn Vernee
2b81faeb35 8303022: "assert(allocates2(pc)) failed: not in CodeBuffer memory" When linking downcall handle
Reviewed-by: kvn, vlivanov
2023-03-15 23:43:18 +00:00
Weijun Wang
be08a256ab 8304264: Debug messages always show up for NativeGSS
Reviewed-by: mullan
2023-03-15 21:22:53 +00:00
Daniel Jeliński
1ae69e3e91 8304287: Problemlist java/net/SocketOption/OptionsTest.java
Reviewed-by: dfuchs
2023-03-15 20:51:22 +00:00
Vladimir Kozlov
116627dfb0 8304267: JDK-8303415 missed change in Zero Interpreter
Reviewed-by: dcubed
2023-03-15 18:08:10 +00:00
Matthew Donovan
824a5e4c60 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Reviewed-by: rhalade
2023-03-15 17:39:11 +00:00
Leonid Mesnik
7ad48ea3ad 8300317: vmTestbase/nsk/stress/strace/strace* tests fail with "ERROR: wrong lengths of stack traces"
Reviewed-by: dholmes, mseledtsov
2023-03-15 17:15:51 +00:00
Rich DiCroce
35a2969057 8302659: Modernize Windows native code for NetworkInterface
Reviewed-by: ihse, djelinski, alanb, michaelm
2023-03-15 17:06:32 +00:00
Emanuel Peter
01e6920581 8298935: fix independence bug in create_pack logic in SuperWord::find_adjacent_refs
Reviewed-by: kvn, jbhateja
2023-03-15 14:02:45 +00:00
Julian Waters
3d77e217b2 8301308: Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP
Reviewed-by: kbarrett, dholmes
2023-03-15 13:34:48 +00:00
Johan Sjölen
e3777b0c49 8270865: Print process ID with -Xlog:os
Reviewed-by: dholmes, ccheung
2023-03-15 10:46:51 +00:00
Arno Zeller
349139b2cc 8304030: Configure call fails on AIX when using --with-gtest option.
Reviewed-by: mbaesken, erikj
2023-03-15 07:55:07 +00:00
Adam Sotona
714b5f036f 8294962: Convert java.base/jdk.internal.module package to use the Classfile API to modify and write module-info.class
Reviewed-by: alanb, mchung
2023-03-15 07:09:55 +00:00
Alexandre Iline
065d3e0d58 8304171: Fix layout of JCov instrumented bundle on Mac OS
Reviewed-by: erikj
2023-03-14 23:36:57 +00:00
Leonid Mesnik
cd41c69d44 8303705: Field sleeper.started should be volatile JdbLockTestTarg.java
Reviewed-by: dholmes
2023-03-14 21:52:34 +00:00
Harshitha Onkar
f5c8b68c1c 8301998: Update HarfBuzz to 7.0.1
Reviewed-by: erikj, prr
2023-03-14 20:18:44 +00:00
Daniel D. Daugherty
617c15f5a1 8304172: ProblemList serviceability/sa/UniqueVtableTest.java
8304175: ProblemList compiler/vectorapi/VectorLogicalOpIdentityTest.java on 2 platforms

Reviewed-by: azvegint
2023-03-14 20:09:51 +00:00
Pavel Rappo
f81e1def8f 8303882: Refactor some iterators in jdk.compiler
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore
2023-03-14 18:36:46 +00:00
Julian Waters
45809fd0c0 8295884: Implement IDE support for Eclipse
Reviewed-by: erikj
2023-03-14 17:32:25 +00:00
Daniel Jeliński
baf11e734f 8303814: getLastErrorString should avoid charset conversions
Reviewed-by: naoto, cjplummer, rriggs
2023-03-14 17:18:56 +00:00
Calvin Cheung
830fd41346 8302795: Shared archive failed on old version class with jsr bytecode
Reviewed-by: minqi, matsaave
2023-03-14 17:15:19 +00:00
Kevin Walls
4e631fa43f 8298966: Deprecate JMX Subject Delegation and the method JMXConnector.getMBeanServerConnection(Subject) for removal.
Reviewed-by: mchung, dfuchs
2023-03-14 16:59:27 +00:00
Alexey Bakhtin
10f1674625 8303809: Dispose context in SPNEGO NegotiatorImpl
Reviewed-by: dfuchs, weijun
2023-03-14 16:41:09 +00:00
Hannes Wallnöfer
9f9ab02ff6 8303895: Simplify and clean up LinkFactory code
Reviewed-by: prappo
2023-03-14 16:20:35 +00:00
Thomas Stuefe
a00f5d24d3 8303861: Error handling step timeouts should never be blocked by OnError and others
Reviewed-by: dholmes, rkennke
2023-03-14 15:51:20 +00:00
Jamil Nimeh
da044dd569 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
2023-03-14 15:42:47 +00:00
Christian Hagedorn
c466cdf973 8299546: C2: MulLNode::mul_ring() wrongly returns bottom type due to casting errors with large numbers
Reviewed-by: iveresov, kvn, qamai
2023-03-14 14:57:47 +00:00
Coleen Phillimore
55aa122462 8304059: Use InstanceKlass in dependencies
Reviewed-by: vlivanov, thartmann
2023-03-14 13:27:55 +00:00
Vladimir Kozlov
ec1eb00ed3 8303415: Add VM_Version::is_intrinsic_supported(id)
Reviewed-by: thartmann, dholmes
2023-03-14 12:20:14 +00:00
Eirik Bjorsnos
31680b2bcf 8303410: Remove ContentSigner APIs and jarsigner -altsigner and -altsignerpath options
Reviewed-by: weijun
2023-03-14 11:48:59 +00:00
Ivan Walulya
0cc0f063e2 8304015: G1: Metaspace-induced GCs should not trigger maximal compaction
Reviewed-by: ayang, tschatzl
2023-03-14 10:46:16 +00:00
Adam Sotona
43eca1dcb1 8303910: jdk/classfile/CorpusTest.java failed 1 of 6754 tests
Reviewed-by: jpai
2023-03-14 08:36:05 +00:00
Matthias Baesken
b6d70f2c49 8303973: Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
Reviewed-by: chagedorn
2023-03-14 08:08:28 +00:00
Julian Waters
2bb990edde 8301244: Tidy up compiler specific warnings files
Reviewed-by: kbarrett, dholmes
2023-03-14 07:24:18 +00:00
Alisen Chung
c073ef2ed5 8303482: Update LCMS to 2.15
Reviewed-by: serb, prr, dnguyen
2023-03-14 04:04:19 +00:00
Feilong Jiang
49181b81dd 8303955: RISC-V: Factor out the tmp parameter from copy_memory and copy_memory_v
Reviewed-by: fyang, yzhu
2023-03-14 00:55:21 +00:00
Pavel Rappo
7bbc5e0efb 8300517: Refactor VisibleMemberTable (method members)
Reviewed-by: jjg
2023-03-13 20:53:52 +00:00
Patricio Chilano Mateo
a8f662ecb2 8303908: Add missing check in VTMS_transition_disable_for_all() for suspend mode
Reviewed-by: sspitsyn, dholmes
2023-03-13 20:15:23 +00:00
Ilarion Nakonechnyy
5685107579 8302491: NoClassDefFoundError omits the original cause of an error
Reviewed-by: coleenp, dholmes
2023-03-13 17:26:25 +00:00
Justin King
671a45219f 8303606: Memory leaks in Arguments::parse_each_vm_init_arg
Reviewed-by: dholmes, fparain
2023-03-13 16:23:34 +00:00
Adam Sotona
a95bc7acd0 8294974: Convert jdk.jshell/jdk.jshell.execution.LocalExecutionControl to use the Classfile API to instrument classes
Reviewed-by: jlahoda
2023-03-13 15:53:01 +00:00
Alexey Ivanov
f835aaafc7 8300727: java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java failed with "List wasn't garbage collected"
Reviewed-by: prr, tr, serb
2023-03-13 15:05:15 +00:00
Daniel Fuchs
466ffebcae 8303965: java.net.http.HttpClient should reset the stream if response headers contain malformed header fields
Reviewed-by: jpai
2023-03-13 14:24:56 +00:00
Andrey Turbanov
431e702b67 8303213: Avoid AtomicReference in TextComponentPrintable
Reviewed-by: serb, aivanov
2023-03-13 13:08:52 +00:00
Albert Mingkun Yang
4cf4c599b9 8303824: Parallel: Use more strict card table API
Reviewed-by: tschatzl, iwalulya, ysr
2023-03-13 11:30:52 +00:00
Jasmine K
8e41bf222f 8303238: Create generalizations for existing LShift ideal transforms
Reviewed-by: redestad, thartmann
2023-03-13 11:10:42 +00:00
Thomas Schatzl
805a4e6806 8303883: Confusing parameter name in G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes
Reviewed-by: ayang, iwalulya
2023-03-13 11:06:20 +00:00
Adam Sotona
25e7ac226a 8294966: Convert jdk.jartool/sun.tools.jar.FingerPrint to use the ClassFile API to parse JAR entries
Reviewed-by: mchung
2023-03-13 10:13:45 +00:00
Thomas Schatzl
3018b4705e 8303969: Limit printed failures within an object during G1 heap verification
Reviewed-by: ayang, iwalulya
2023-03-13 09:57:24 +00:00
Thomas Schatzl
b575e54bc9 8303963: Replace various encodings of UINT/SIZE_MAX in gc code
Reviewed-by: ayang, kbarrett
2023-03-13 09:56:40 +00:00
Robbin Ehn
c183fce954 8300926: Several startup regressions ~6-70% in 21-b6 all platforms
Reviewed-by: eosterlund, dcubed, coleenp
2023-03-13 09:34:00 +00:00
Tomas Zezula
31e1e3975b 8303646: [JVMCI] Add possibility to lookup ResolvedJavaType from jclass.
Reviewed-by: never
2023-03-13 08:41:40 +00:00
Tomas Zezula
1148a659a8 8303678: [JVMCI] Add possibility to convert object JavaConstant to jobject.
Reviewed-by: never
2023-03-13 08:40:12 +00:00
Daniel Skantz
d20bde29f2 8294715: Add IR checks to the reduction vectorization tests
Reviewed-by: rcastanedalo, epeter
2023-03-13 07:33:46 +00:00
Eirik Bjorsnos
c313e1ac7b 8303922: build-test-lib target is broken
Reviewed-by: erikj, jwaters
2023-03-11 18:44:47 +00:00
Daniel D. Daugherty
fbc76c2c78 8304017: ProblemList com/sun/jdi/InvokeHangTest.java on windows-x64 in vthread mode
8304018: ProblemList javax/swing/JColorChooser/Test6827032.java on windows-x64
8304019: ProblemList java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java on windows-x64

Reviewed-by: stuefe
2023-03-11 17:38:47 +00:00
Julian Waters
a06426a52f 8274400: HotSpot Style Guide should permit use of alignof
Reviewed-by: kbarrett, kvn, dholmes, dcubed
2023-03-11 14:36:56 +00:00
Feilong Jiang
98a7a60fcb 8303863: RISC-V: TestArrayStructs.java fails after JDK-8303604
Reviewed-by: jvernee, fyang
2023-03-11 04:48:06 +00:00
Alexander Matveev
0a4d54f7ce 8299779: Test tools/jpackage/share/jdk/jpackage/tests/MainClassTest.java timed out
Reviewed-by: asemenyuk
2023-03-11 01:04:13 +00:00
Kim Barrett
2116928528 8303900: Rename BitMap search functions
Reviewed-by: stefank, aboldtch
2023-03-10 21:16:56 +00:00
Daniel D. Daugherty
d7f4221bfe 8304005: ProblemList serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java on linux-x64 in Xcomp mode
Reviewed-by: rriggs
2023-03-10 20:10:50 +00:00
Stuart Marks
94de0a73de 8302513: remove sun.awt.util.IdentityLinkedList
Reviewed-by: serb, prr, aivanov
2023-03-10 18:58:44 +00:00
Man Cao
bf16b5b988 8303937: Corrupted heap dumps due to missing retries for os::write()
Reviewed-by: cjplummer, dholmes
2023-03-10 18:14:09 +00:00
Justin Lu
6f54eda4a4 8299088: ClassLoader::defineClass2 throws OOME but JNI exception pending thrown by getUTF
Reviewed-by: mchung, naoto
2023-03-10 17:40:10 +00:00
Justin Lu
a3358b10ca 8303853: Update ISO 3166 country codes table
Reviewed-by: naoto
2023-03-10 17:39:13 +00:00
Matias Saavedra Silva
206661d45f 8281941: Change CDS warning messages to use Unified Logging
Reviewed-by: dholmes, ccheung
2023-03-10 17:11:48 +00:00
Erik Gahlin
9dd7b87997 8303674: JFR: TypeLibrary class not thread safe
Reviewed-by: mgronlun
2023-03-10 17:09:56 +00:00
Matias Saavedra Silva
c26e1d0148 8303495: Unused path parameter in ClassLoader::add_to_app_classpath_entries(JavaThread* current, char* path, ...)
Reviewed-by: ccheung, dholmes
2023-03-10 16:31:41 +00:00
Matias Saavedra Silva
548d552bc1 8303548: Arguments::get_default_shared_archive_path() should cache the result for future use
Reviewed-by: ccheung, dholmes
2023-03-10 16:30:48 +00:00
Viktor Klang
f2a36b4b52 8302666: Replace CHM with VarHandle in ForeachOrderedTask
Reviewed-by: psandoz
2023-03-10 16:01:12 +00:00
Matthias Baesken
a32ee5dd8b 8303949: gcc10 warning Linux ppc64le - note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
Reviewed-by: erikj, mdoerr
2023-03-10 15:57:30 +00:00
Tobias Holenstein
01312a002b 8300821: UB: Applying non-zero offset to non-null pointer 0xfffffffffffffffe produced null pointer
Reviewed-by: kvn, thartmann
2023-03-10 15:39:45 +00:00
Jorn Vernee
6d30bbe62c 8303001: Add test for re-entrant upcalls
Reviewed-by: mcimadamore
2023-03-10 14:42:54 +00:00
Matthew Donovan
de9f3b6aac 8296400: pointCrlIssuers might be null in DistributionPointFetcher::verifyURL
Reviewed-by: weijun
2023-03-10 14:10:41 +00:00
Maurizio Cimadamore
b9951dd639 8303820: Simplify type metadata
Reviewed-by: vromero
2023-03-10 13:12:50 +00:00
Hannes Wallnöfer
75d630621c 8303349: Simplify link format for generic types in index pages
Reviewed-by: jjg
2023-03-10 11:07:14 +00:00
Adam Sotona
b1d89f3066 8294971: jdk.jlink jdk.tools.jimage.JImageTask is using ASM to verify classes
Reviewed-by: mchung
2023-03-10 10:15:37 +00:00
Matthias Baesken
0f26d09da8 8303822: gtestMain should give more helpful output
Reviewed-by: lmesnik
2023-03-10 08:27:19 +00:00
David Holmes
e26cc52600 8303624: The java.lang.Thread.FieldHolder can be null for JNI attaching threads
Reviewed-by: alanb, dcubed
2023-03-10 03:08:26 +00:00
Viktor Klang
d06308c54a 8302360: Atomic*.compareAndExchange Javadoc unclear
Reviewed-by: martin, dholmes
2023-03-10 00:31:04 +00:00
Patricio Chilano Mateo
8b740b4609 8302779: HelidonAppTest.java fails with "assert(_cb == CodeCache::find_blob(pc())) failed: Must be the same" or SIGSEGV
Reviewed-by: coleenp, sspitsyn
2023-03-09 22:53:44 +00:00
Christoph Langer
562c8fc668 8303691: Fedora based devkit build should load more packages from archive location
Reviewed-by: mbaesken, erikj
2023-03-09 21:59:12 +00:00
Alex Menkov
e930b63a8f 8303924: ProblemList serviceability/sa/UniqueVtableTest.java on Linux
Reviewed-by: dcubed
2023-03-09 21:57:15 +00:00
Chris Plummer
af0ca78a8f 8303609: ProblemList serviceability/sa/TestSysProps.java with ZGC
Reviewed-by: dcubed
2023-03-09 21:56:08 +00:00
Chris Plummer
8b0eb7299a 8289765: JDI EventSet/resume/resume008 failed with "ERROR: suspendCounts don't match for : VirtualThread-unparker"
Reviewed-by: sspitsyn, kevinw
2023-03-09 21:55:15 +00:00
Johan Sjölen
5726d31e56 8301074: Replace NULL with nullptr in share/opto/
Reviewed-by: kvn, jwilhelm
2023-03-09 20:28:26 +00:00
Justin King
a9dba56568 8300783: Consolidate byteswap implementations
Reviewed-by: kbarrett, kvn
2023-03-09 19:39:07 +00:00
Adam Sotona
769e740181 8303915: javadoc build failure after JDK-8294959
Reviewed-by: jjg
2023-03-09 19:24:50 +00:00
Alex Menkov
f9aadb943c 8303489: Add a test to verify classes in vmStruct have unique vtables
Reviewed-by: cjplummer, sspitsyn
2023-03-09 19:13:02 +00:00
Adam Sotona
595645c76d 8294959: java.base java.lang.Module uses ASM to load module-info.class
Reviewed-by: mchung
2023-03-09 18:12:35 +00:00
Thomas Schatzl
68b5eef44f 8303334: Further improve liveness/remembered set verification for G1
Reviewed-by: ayang, iwalulya
2023-03-09 16:59:46 +00:00
Julian Waters
3227b49a7a 8303760: Visual Studio should use the primary variant in the IDE
Reviewed-by: erikj
2023-03-09 16:07:16 +00:00
Leonid Mesnik
cdcf5c1ed8 8303702: Provide ThreadFactory to create platform/virtual threads for com/sun/jdi tests
Reviewed-by: cjplummer, sspitsyn
2023-03-09 15:44:03 +00:00
Adam Sotona
4655b790d0 8294982: Implementation of Classfile API
Reviewed-by: ihse, psandoz, mcimadamore
2023-03-09 15:23:03 +00:00
Pavel Rappo
1e9942aa11 8303881: Mixed, minor cleanup in jdk.compiler
Reviewed-by: mcimadamore
2023-03-09 13:43:36 +00:00
Albert Mingkun Yang
7e01534590 8303467: Serial: Refactor reference processor
Reviewed-by: tschatzl, iwalulya
2023-03-09 13:40:10 +00:00
Jatin Bhateja
713def0bf2 8303105: LoopRangeStrideTest fails IR verification on x86
Reviewed-by: thartmann
2023-03-09 12:05:29 +00:00
Ahmed Muhsin
34a92466a6 8274264: Not all of G1 young collection verification honors the verification type
Reviewed-by: ayang, tschatzl
2023-03-09 09:39:39 +00:00
Matthias Baesken
a7e308ab6e 8303576: addIdentitiesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Reviewed-by: weijun
2023-03-09 08:36:24 +00:00
Alan Bateman
dd79410824 8303509: Socket setTrafficClass does not work for IPv4 connections when IPv6 enabled
Reviewed-by: djelinski, michaelm
2023-03-09 08:13:57 +00:00
Roland Westrelin
dc523a58a6 8300258: C2: vectorization fails on simple ByteBuffer loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, kvn
2023-03-09 08:00:24 +00:00
Roland Westrelin
5e232cf0a9 8303564: C2: "Bad graph detected in build_loop_late" after a CMove is wrongly split thru phi
Reviewed-by: kvn, thartmann
2023-03-09 07:59:32 +00:00
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
Justin Lu
02875e77fd 8171156: Class java.util.LocaleISOData has outdated information for country Code NP
Reviewed-by: naoto
2023-03-09 00:09:39 +00:00
Doug Simon
ad326fc62b 8299570: [JVMCI] Insufficient error handling when CodeBuffer is exhausted
Reviewed-by: never, adinn, aph
2023-03-08 22:33:42 +00:00
Eirik Bjorsnos
05ceb37a2c 8303833: java.util.LocaleISOData has wrong comments for 'Norwegian Bokmål' and 'Volapük'
Reviewed-by: naoto
2023-03-08 21:25:21 +00:00
Daniel D. Daugherty
25de2228ac 8303839: [BACKOUT] JDK-8302799 and JDK-8302189
Reviewed-by: dholmes
2023-03-08 21:23:28 +00:00
Rajan Halade
5b43804b79 8282201: Consider removal of expiry check in VerifyCACerts.java test
Reviewed-by: xuelei, mullan
2023-03-08 21:09:44 +00:00
Vladimir Kozlov
f813dc7183 8302508: Add timestamp to the output TraceCompilerThreads
Reviewed-by: thartmann
2023-03-08 18:23:39 +00:00
Hannes Wallnöfer
404d5bddb9 8302161: Upgrade jQuery UI to version 1.13.2
Reviewed-by: jjg
2023-03-08 17:15:43 +00:00
Xue-Lei Andrew Fan
d287a5e9d8 8303617: update for deprecated sprintf for jdk.jdwp.agent
Reviewed-by: cjplummer, sspitsyn
2023-03-08 16:07:04 +00:00
Justin King
ddcb369cea 8303605: Memory leaks in Metaspace gtests
Reviewed-by: stuefe, dholmes
2023-03-08 15:38:39 +00:00
Daniel Fuchs
56512cfe1f 8303682: Simplify HttpClient DebugLogger
Reviewed-by: jpai
2023-03-08 13:52:52 +00:00
Matthias Baesken
8eaf84f094 8303575: adjust Xen handling on Linux aarch64
Reviewed-by: lucy, mdoerr
2023-03-08 11:38:37 +00:00
Tobias Holenstein
d988252378 8303443: IGV: Syntax highlighting and resizing for filter editor
Reviewed-by: rcastanedalo, thartmann
2023-03-08 10:52:05 +00:00
Kevin Walls
afda8fbf0b 8303136: MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded005 failed with "isCollectionUsageThresholdExceeded() returned true, while threshold = 1 and used = 0"
Reviewed-by: cjplummer, sspitsyn
2023-03-08 08:20:27 +00:00
Andrey Turbanov
1d071d0817 8303690: Prefer ArrayList to LinkedList in com.sun.jmx.mbeanserver.Introspector
Reviewed-by: stsypanov, kevinw, cjplummer, sspitsyn
2023-03-08 07:20:21 +00:00
Prasanta Sadhukhan
09d469e5ad 8252255: Blurry rendering of SwingNode with HiDPI scaling in JavaFX
Reviewed-by: kcr, aghaisas
2023-03-08 06:55:17 +00:00
David Holmes
21a6ab1e3e 8303799: [BACKOUT] JDK-8302801 Remove fdlibm C sources
Reviewed-by: darcy, bpb
2023-03-08 02:39:14 +00:00
Kim Barrett
5fa9bd4582 8302189: Mark assertion failures noreturn
8302799: Refactor Debugging variable usage for noreturn crash reporting

Reviewed-by: dholmes, coleenp
2023-03-08 02:37:06 +00:00
Erik Gahlin
9b10c69475 8303622: JFR: Missing message with Objects.requireNonNull
Reviewed-by: mgronlun
2023-03-07 23:32:09 +00:00
David Holmes
d7298245d6 8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: kbarrett, djelinski
2023-03-07 22:56:33 +00:00
David Holmes
5f1108f8f0 8303151: DCmd framework cleanups
Reviewed-by: jsjolen, stuefe, yyang
2023-03-07 22:54:07 +00:00
Erik Gahlin
32f4d8b5ea 8303681: JFR: RemoteRecordingStream::setMaxAge() should accept null
Reviewed-by: mgronlun
2023-03-07 22:32:45 +00:00
Ravali Yatham
9f9d678591 8302791: Add specific ClassLoader object to Proxy IllegalArgumentException message
Reviewed-by: alanb, mchung
2023-03-07 22:31:50 +00:00
Joe Darcy
b5b5cba7fe 8302801: Remove fdlibm C sources
Reviewed-by: bpb, dholmes, alanb, kvn
2023-03-07 22:28:12 +00:00
Yudi Zheng
4d4eadeae3 8302452: [JVMCI] Export _poly1305_processBlocks, JfrThreadLocal fields to JVMCI compiler.
Reviewed-by: dnsimon, never
2023-03-07 18:44:01 +00:00
Justin Lu
f1f4e1de44 6453901: (cal) clean up sun.util.calendar classes
Reviewed-by: naoto, lancea
2023-03-07 18:30:28 +00:00
Justin Lu
acf899612f 8303275: Use {@Return and @linkplain in Locale and related classes
Reviewed-by: naoto
2023-03-07 18:18:59 +00:00
Ian Graves
ac3ab5b007 8217496: Matcher.group() can return null after usePattern
Reviewed-by: smarks
2023-03-07 17:20:04 +00:00
Pavel Rappo
45a616a891 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
2023-03-07 15:31:42 +00:00
Johan Sjölen
43288bbd68 8301477: Replace NULL with nullptr in os/aix
Reviewed-by: stuefe, coleenp, tsteele
2023-03-07 13:16:34 +00:00
Kim Barrett
008c5eb4dd 8303621: BitMap::iterate should support lambdas and other function objects
Reviewed-by: aboldtch, tschatzl, stefank
2023-03-07 12:59:26 +00:00
Amit Kumar
52d3008773 8303497: [s390x] ProblemList TestUnreachableInnerLoop.java
Reviewed-by: thartmann
2023-03-07 08:57:27 +00:00
Roland Westrelin
3f2d929dc3 8303511: C2: assert(get_ctrl(n) == cle_out) during unrolling
Reviewed-by: kvn, thartmann
2023-03-07 08:37:37 +00:00
Albert Mingkun Yang
7fbfc884f0 8303534: Merge CompactibleSpace into ContiguousSpace
Reviewed-by: cjplummer, tschatzl
2023-03-07 08:12:26 +00:00
Johan Sjölen
97c25df4b8 8204550: NMT: RegionIterator does not need to keep _current_size
Reviewed-by: stuefe, gziemski
2023-03-07 07:24:54 +00:00
Tobias Hartmann
94eda53d98 8201516: DebugNonSafepoints generates incorrect information
Reviewed-by: kvn, roland
2023-03-07 06:59:23 +00:00
Mat Carter
c51d40cfeb 8303607: SunMSCAPI provider leaks memory and keys
Reviewed-by: weijun
2023-03-07 02:12:30 +00:00
Jonathan Gibbons
f64ed09e9a 8303540: Eliminate unnecessary reference to javac internal class
Reviewed-by: hannesw
2023-03-06 22:13:52 +00:00
Matthew Donovan
ccfe1675a2 8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.sh to jtreg java test
Reviewed-by: dfuchs, smarks
2023-03-06 19:18:45 +00:00
Naoto Sato
cfb0a25a4e 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Reviewed-by: iris, jpai, rriggs, lancea
2023-03-06 17:22:52 +00:00
Weijun Wang
a97271e3b5 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded
Reviewed-by: mullan
2023-03-06 16:20:14 +00:00
Doug Simon
cac81ddc92 8303577: [JVMCI] OOME causes crash while translating exceptions
Reviewed-by: kvn, never
2023-03-06 16:10:02 +00:00
Leonid Mesnik
877ab659b9 8303264: Refactor nsk/stress/strace to extract shared and remove redundant code
Reviewed-by: mseledtsov, dholmes
2023-03-06 15:33:55 +00:00
Leonid Mesnik
ae8730fd62 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
2023-03-06 15:32:01 +00:00
Jorn Vernee
5977f266d0 8303604: Passing by-value structs whose size is not power of 2 doesn't work on all platforms (mainline)
Reviewed-by: mcimadamore
2023-03-06 15:18:39 +00:00
Jorn Vernee
dccfe8a2ee 8303582: Reduce duplication in jdk/java/foreign tests
Reviewed-by: mcimadamore
2023-03-06 14:52:04 +00:00
Afshin Zafari
8e2014527e 8300654: Remove JVMFlag::flag_error_str as it is unused
Reviewed-by: dholmes, fparain
2023-03-06 12:46:18 +00:00
Erik Österlund
bdffe460cd 8301222: Generalize check_release_entry in OopStorage
Reviewed-by: tschatzl, kbarrett
2023-03-06 11:14:32 +00:00
Albert Mingkun Yang
ec4e8aa4f7 8303244: G1: call CardTable::clear_MemRegion directly
Reviewed-by: ysr, kbarrett
2023-03-06 10:46:16 +00:00
Prasanta Sadhukhan
5753ab5c47 8297454: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to show opaque button"
Reviewed-by: tr, jdv
2023-03-06 10:20:23 +00:00
Andrey Turbanov
fa1cebedb5 8303266: Prefer ArrayList to LinkedList in JImageTask
Reviewed-by: jlaskey
2023-03-06 08:42:41 +00:00
Erik Österlund
5f153e056b 8302780: Add support for vectorized arraycopy GC barriers
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: ayang, fyang, rcastanedalo, aph
2023-03-06 07:58:23 +00:00
Alexander Scherbatiy
d00a767047 8295737: macOS: Print content cut off when width > height with portrait orientation
Reviewed-by: prr
2023-03-06 07:48:37 +00:00
Alexander Scherbatiy
15c76e4c02 8301254: UNIX sun/font coding does not detect SuSE in openSUSE Leap distribution
Reviewed-by: prr
2023-03-06 07:40:38 +00:00
Chris Plummer
3eff1a0225 8303630: Move nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java back to general problem list
Reviewed-by: dholmes
2023-03-06 07:16:18 +00:00
Yi Yang
10d6a8e66a 8299518: HotSpotVirtualMachine shared code across different platforms
Reviewed-by: cjplummer, dholmes
2023-03-06 02:02:29 +00:00
Fei Yang
148900c2dc 8303562: Remove obsolete comments in os::pd_attempt_reserve_memory_at
Reviewed-by: stuefe
2023-03-06 00:33:46 +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
Doug Simon
9fdbf3cfc4 8303588: [JVMCI] make JVMCI source directories conform with standard layout
Reviewed-by: kvn
2023-03-04 21:52:06 +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
Matias Saavedra Silva
cd4b88d0d2 8292269: Replace FileMapInfo::fail_continue() with Unified Logging
Reviewed-by: iklam, dholmes, ccheung
2023-03-03 19:00:27 +00:00
Brian Burkhalter
ae290541d1 8303175: (fs) Deprecate com.sun.nio.file.SensitivityWatchEventModifier for removal
Reviewed-by: lancea, alanb
2023-03-03 18:38:13 +00:00
Brian Burkhalter
a04b1049ff 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
2023-03-03 18:33:58 +00:00
Roger Riggs
99443142cc 8303587: Remove VMOutOfMemoryError001 test from the problem list after 8303198
Reviewed-by: cjplummer
2023-03-03 18:28:06 +00:00
Xue-Lei Andrew Fan
a50dc67a4f 8303527: update for deprecated sprintf for jdk.hotspot.agent
Reviewed-by: cjplummer
2023-03-03 18:11:48 +00:00
Justin King
40c5edfcc4 8303181: Memory leak in ClassLoaderExt::setup_app_search_path
Reviewed-by: ccheung, dholmes
2023-03-03 18:07:40 +00:00
Chris Plummer
29ee7c3b70 8303523: Cleanup problem listing of nsk/jvmti/AttachOnDemand/attach002a/TestDescription.java
Reviewed-by: dholmes, kevinw
2023-03-03 17:38:29 +00:00
Justin Lu
e3016c1142 8303472: Display name for region TR
Reviewed-by: naoto
2023-03-03 17:18:44 +00:00
Afshin Zafari
ae797c64af 8301117: Remove old_size param from ResizeableResourceHashtable::resize()
Reviewed-by: dholmes, coleenp
2023-03-03 16:45:58 +00:00
Afshin Zafari
5085bd5f05 8297936: Use reachabilityFence to manage liveness in ClassUnload tests
Reviewed-by: coleenp, dholmes
2023-03-03 16:44:27 +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
Doug Simon
80739e11b5 8279619: [JVMCI] improve EncodedSpeculationReason
Reviewed-by: never
2023-03-03 15:52:46 +00:00
Glavo
7449e1c661 8299807: newStringNoRepl should avoid copying arrays for ASCII compatible charsets
Reviewed-by: rriggs
2023-03-03 15:41:03 +00:00
Jorn Vernee
c6de66c03f 8303516: HFAs with nested structs/unions/arrays not handled correctly on AArch64
Reviewed-by: mcimadamore
2023-03-03 14:33:56 +00:00
Daniel Fuchs
cbdc7a6f88 8303481: CancelRequestTest assertTrue failing with AssertionError due to java.util.concurrent.CompletionException: java.io.EOFException: EOF reached while reading
Reviewed-by: jpai, djelinski
2023-03-03 13:18:23 +00:00
Amit Kumar
8bf084ced9 8303499: [s390x] ProblemList StressStackOverflow
Reviewed-by: alanb
2023-03-03 13:17:31 +00:00
Afshin Zafari
ff364c1906 8301622: ProcessTools.java compilation gets ThreadDeath deprecation warning
Reviewed-by: dholmes, alanb
2023-03-03 13:16:43 +00:00
Sean Mullan
df9aad018a 8297955: LDAP CertStore should use LdapName and not String for DNs
Reviewed-by: weijun, rhalade
2023-03-03 13:06:11 +00:00
changpeng1997
d23a8bfb14 8297753: AArch64: Add optimized rules for vector compare with zero on NEON
Reviewed-by: aph
2023-03-03 12:11:10 +00:00
Vicente Romero
339ca88783 8303539: javadoc typos in Attr
Reviewed-by: iris, jjg
2023-03-03 10:32:35 +00:00
Pavel Rappo
e1745bc981 8303473: Add implied {@code} in java.lang.invoke.MethodHandles
Reviewed-by: jjg, lancea, mchung
2023-03-03 09:12:14 +00:00
Yi Yang
c961a918ad 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field
Reviewed-by: kvn, thartmann
2023-03-03 02:00:45 +00:00
Hao Sun
35003b5f7b 8302830: AArch64: Fix the mismatch between cas.m4 and aarch64.ad
Reviewed-by: aph, xgong
2023-03-03 01:24:12 +00:00
Yi-Fan Tsai
f3abc4063d 8302783: Improve CRC32C intrinsic with crypto pmull on AArch64
Reviewed-by: simonis, phh
2023-03-02 22:38:58 +00:00
Justin Lu
45d8a175b1 8303405: fix @returnss typo in ReflectionFactory
Reviewed-by: jpai, mchung, martin, iris, lancea, naoto
2023-03-02 20:23:04 +00:00
Xue-Lei Andrew Fan
e7113dc8a5 8302495: update for deprecated sprintf for java.desktop
Reviewed-by: prr
2023-03-02 18:56:05 +00:00
Daniel Jeliński
843d632ad4 8303442: Clean up w2k_lsa_auth linker parameters
Reviewed-by: erikj
2023-03-02 18:54:27 +00:00
Andrey Turbanov
d4dcba0463 8303267: Prefer ArrayList to LinkedList in ConcurrentLocksPrinter
Reviewed-by: cjplummer, sspitsyn
2023-03-02 18:40:29 +00:00
Mikhailo Seledtsov
2c7d2c0ea9 8303411: JFR problem list entry for JDK-8247776 should be removed
Reviewed-by: lmesnik
2023-03-02 18:38:50 +00:00
Naoto Sato
0b63557941 8303039: Utilize coverageLevels.txt
Reviewed-by: iris, joehw
2023-03-02 18:31:53 +00:00
Mandy Chung
32247c336a 8303476: Add the runtime version in the release file of a JDK image
Reviewed-by: erikj
2023-03-02 17:05:01 +00:00
Chris Plummer
0926d0cbce 8302516: Do some cleanup of nsk/share/jdi/EventHandler.java
Reviewed-by: amenkov, kevinw, lmesnik
2023-03-02 16:03:38 +00:00
Matthias Baesken
b51ea4204e 8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Reviewed-by: clanger, mdoerr, weijun
2023-03-02 14:21:06 +00:00
Saint Wesonga
fb13063943 8303409: Add Windows AArch64 ABI support to the Foreign Function & Memory API
Reviewed-by: jvernee
2023-03-02 13:26:27 +00:00
Thomas Stuefe
c9afd55ed6 8302820: Remove costs for NMTPreInit when NMT is off
Reviewed-by: jsjolen, adinn
2023-03-02 13:21:25 +00:00
Jaikiran Pai
72de24e59a 8303457: Introduce convenience test library APIs for creating test servers for tests in test/jdk/java/net/httpclient
Reviewed-by: dfuchs
2023-03-02 11:24:06 +00:00
Kim Barrett
3091744fff 8303418: Improve parameter and variable names in BitMap
Reviewed-by: tschatzl, aboldtch
2023-03-02 09:43:56 +00:00
Jan Lahoda
dbb562d3b1 8303355: The Depend plugin does fully recompile when primitive type changes
Reviewed-by: erikj, vromero
2023-03-02 09:41:11 +00:00
Jan Lahoda
4619e8bae8 8297587: Upgrade JLine to 3.22.0
Reviewed-by: vromero
2023-03-02 08:27:44 +00:00
Emanuel Peter
99f5687eb1 8302144: Move ZeroTLABTest.java to tier3
Reviewed-by: thartmann, kvn
2023-03-02 07:22:21 +00:00
Tyler Steele
dc08216f0e 8303186: Missing Classpath exception from Continuation.c
Reviewed-by: dholmes, jpai
2023-03-02 01:06:02 +00:00
Erik Gahlin
d10d40a5b2 8303077: JFR: Add example usage to jdk.jfr
Reviewed-by: mgronlun
2023-03-01 22:54:03 +00:00
Valerie Peng
394eac850c 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers
Reviewed-by: weijun
2023-03-01 22:40:50 +00:00
David Holmes
6e19387f29 8303070: Memory leak in DCmdArgument<char*>::parse_value
Reviewed-by: fparain, jcking, jsjolen, eosterlund, coleenp
2023-03-01 21:45:11 +00:00
Eirik Bjorsnos
9fc518ff8c 8303401: Add a Vector API equalsIgnoreCase micro benchmark
Reviewed-by: ecaspole, sviswanathan, psandoz
2023-03-01 18:18:36 +00:00
Justin Lu
05faa7321b 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
2023-03-01 18:13:42 +00:00
Justin King
4c985e527a 8303183: Memory leak in Arguments::init_shared_archive_paths
Reviewed-by: jsjolen, ccheung, dholmes
2023-03-01 15:52:49 +00:00
Albert Mingkun Yang
6af17c1b7d 8303362: Serial: Move CardTableRS to serial directory
Reviewed-by: tschatzl, kbarrett
2023-03-01 15:15:22 +00:00
Ivan Walulya
c1e77e0564 8303252: G1: Return early from Full-GC if no regions are selected for compaction.
Reviewed-by: tschatzl, ayang
2023-03-01 13:52:21 +00:00
Thomas Schatzl
8b86e1ee11 8303344: After JDK-8302760, G1 heap verification does not exit VM after errors
Reviewed-by: iwalulya, ayang
2023-03-01 12:34:53 +00:00
Thomas Schatzl
4c5d9cfc64 8303013: Always do remembered set verification during G1 Full GC
Reviewed-by: ayang, iwalulya
2023-03-01 12:34:02 +00:00
Doug Simon
2451c5a462 8303357: [JVMCI] thread is _thread_in_vm when committing JFR compilation event
Reviewed-by: never, kvn
2023-03-01 10:47:49 +00:00
Kim Barrett
539a4951ee 8302798: Refactor -XX:+UseOSErrorReporting for noreturn crash reporting
Reviewed-by: coleenp, stuefe
2023-03-01 10:19:28 +00:00
Roland Westrelin
6b07243f56 8301630: C2: 8297933 broke type speculation in some cases
Reviewed-by: chagedorn, thartmann
2023-03-01 09:36:22 +00:00
Leonid Mesnik
3aeefbf1de 8303421: [BACKOUT] 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes
2023-03-01 05:21:45 +00:00
Leonid Mesnik
1fdaf252b6 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Reviewed-by: dholmes, rriggs
2023-03-01 00:50:35 +00:00
Mikael Vidstedt
65da2c5d2d 8303412: Update linux_x64-to-linux_aarch64 cross compilation devkit at Oracle
Reviewed-by: dholmes
2023-03-01 00:48:59 +00:00
Justin Lu
7e47d51e10 8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
2023-03-01 00:36:22 +00:00
Andrey Turbanov
881517586d 8303216: Prefer ArrayList to LinkedList in sun.net.httpserver.ServerImpl
Reviewed-by: jpai, vtewari, stsypanov, dfuchs
2023-02-28 20:21:07 +00:00
Dmitry Markov
a10d5ac61b 8303130: Document required Accessibility permissions on macOS
Reviewed-by: erikj, aivanov, prr, serb
2023-02-28 19:50:49 +00:00
Julian Waters
50dc041ee6 8303227: JniObjWithEnv should be NullablePointer compliant
Reviewed-by: asemenyuk
2023-02-28 18:35:40 +00:00
Joe Darcy
61e8867591 8302040: Port fdlibm sqrt to Java
Reviewed-by: bpb, thartmann, aturbanov
2023-02-28 18:33:53 +00:00
Erik Gahlin
6423065b7d 8303261: JFR: jdk/jfr/api/consumer/streaming/TestJVMCrash.java doesn't retry
Reviewed-by: mgronlun
2023-02-28 16:42:19 +00:00
Pavel Rappo
dc5ea6aeb5 8303350: Fix mistyped {@code}
Reviewed-by: jpai
2023-02-28 15:40:05 +00:00
Jie Fu
4a415ad584 8303351: [IR Framework] Add missing cpu feature avx512bw after JDK-8302681
Reviewed-by: epeter, thartmann
2023-02-28 14:44:38 +00:00
Albert Mingkun Yang
30302d185a 8303250: Call ct_max_alignment_constraint using the base class
Reviewed-by: kbarrett, tschatzl
2023-02-28 13:39:58 +00:00
Lutz Schmidt
e144783eb2 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls
Reviewed-by: mbaesken, mdoerr
2023-02-28 12:52:00 +00:00
Darragh Clarke
5feb13b55d 8301701: java/net/DatagramSocket/DatagramSocketMulticasting.java should be hardened
Reviewed-by: dfuchs
2023-02-28 06:51:37 +00:00
Archie L. Cobbs
1e3c9fd67e 8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
2023-02-28 03:33:14 +00:00
Kim Barrett
14a014d430 8302124: HotSpot Style Guide should permit noreturn attribute
Reviewed-by: dcubed, iveresov, dholmes, tschatzl, jwaters, kvn
2023-02-28 01:59:03 +00:00
Erik Gahlin
bca60f4767 8303249: JFR: Incorrect description of dumponexit
Reviewed-by: mgronlun
2023-02-27 22:33:34 +00:00
David Holmes
f7f10367b2 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program
Reviewed-by: jsjolen, tschatzl, chagedorn
2023-02-27 21:38:12 +00:00
Ian Graves
784f7b1462 8293667: Align jlink's --compress option with jmod's --compress option
Reviewed-by: mchung
2023-02-27 21:05:36 +00:00
Erik Gahlin
54603aa1b7 8303208: JFR: 'jfr print' displays incorrect timestamps
Reviewed-by: mgronlun
2023-02-27 18:13:27 +00:00
Roger Riggs
4c169d2d7c 8303253: Remove unnecessary calls to super() in java.time value based classes
Reviewed-by: naoto, mchung, lancea
2023-02-27 18:10:40 +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
Brian Burkhalter
42330d28da 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Reviewed-by: lancea
2023-02-27 17:11:29 +00:00
Naoto Sato
a253b46021 8301119: Support for GB18030-2022
Reviewed-by: alanb, coffeys, lancea
2023-02-27 16:35:59 +00:00
Archie L. Cobbs
55e6bb6b85 8302685: Some javac unit tests aren't reliably closing open files
Reviewed-by: darcy, vromero
2023-02-27 16:21:57 +00:00
Matias Saavedra Silva
f5a12768fb 8262895: [macos_aarch64] runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Reviewed-by: dholmes, coleenp
2023-02-27 15:53:33 +00:00
Julian Waters
2fe4e5f8d7 8303169: Remove Windows specific workaround from libdt
Reviewed-by: cjplummer, sspitsyn, clanger
2023-02-27 15:35:58 +00:00
Johan Sjölen
f2b03f9a2c 8303051: Stop saving 5 chunks in each ChunkPool
Reviewed-by: rehn, coleenp
2023-02-27 11:05:07 +00:00
Erik Gahlin
fbc036e745 8303135: JFR: Log periodic events using periodic tag
Reviewed-by: mgronlun
2023-02-27 09:47:01 +00:00
Prasanta Sadhukhan
dbb5581eba 8081474: SwingWorker calls 'done' before the 'doInBackground' is finished
Reviewed-by: aivanov, serb
2023-02-27 09:19:57 +00:00
Darragh Clarke
306134dcf9 8300792: Refactor examples in java.net.http to use @snippet
Reviewed-by: dfuchs, jpai
2023-02-27 09:18:56 +00:00
Daniel Jeliński
a2c5a4ac9e 8302732: sun/net/www/http/HttpClient/MultiThreadTest.java still failing intermittently
Reviewed-by: dfuchs
2023-02-27 07:52:03 +00:00
Damon Fenacci
db217c9ad6 8292583: Comment for ciArrayKlass::make is wrong
Reviewed-by: thartmann, rcastanedalo
2023-02-27 07:33:13 +00:00
Emanuel Peter
2613b94f28 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
Reviewed-by: kvn, vlivanov
2023-02-27 07:16:59 +00:00
Emanuel Peter
d2660a6915 8303045: Remove RegionNode::LoopStatus::NeverIrreducibleEntry assert with wrong assumption
Reviewed-by: chagedorn, kvn
2023-02-27 07:15:27 +00:00
Emanuel Peter
1794f49751 8302681: [IR Framework] Only allow cpuFeatures from a verified list
Reviewed-by: thartmann, pli, chagedorn, kvn
2023-02-27 07:12:18 +00:00
Sergey Bylokhov
a43931b79c 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Reviewed-by: dholmes
2023-02-26 23:36:59 +00:00
Andrey Turbanov
2fb1e3b7e7 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer
Reviewed-by: serb, dnguyen
2023-02-25 13:40:32 +00:00
Andrey Turbanov
3a9f491caa 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
Reviewed-by: dfuchs, jpai, alanb
2023-02-25 13:39:36 +00:00
Andrey Turbanov
1dbd18ac63 8302120: Prefer ArrayList to LinkedList in AggregatePainter
Reviewed-by: serb
2023-02-25 13:38:47 +00:00
Alan Bateman
2e78d838a5 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor
Reviewed-by: rriggs, martin, dfuchs, bchristi
2023-02-25 07:48:57 +00:00
Eirik Bjorsnos
17e3769ed7 8302871: Speed up StringLatin1.regionMatchesCI
Reviewed-by: redestad, martin, alanb
2023-02-25 07:48:03 +00:00
Leonid Mesnik
b4ea80731c 8288912: vmTestbase/nsk/stress/strace/strace002.java fails with Unexpected method name: currentCarrierThread
Reviewed-by: dholmes
2023-02-24 19:38:55 +00:00
Brian Burkhalter
ccf3340e82 8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
2023-02-24 19:02:12 +00:00
Justin King
83d77b1cbb 8303072: Memory leak in exeNullCallerTest.cpp
Reviewed-by: dholmes
2023-02-24 15:49:00 +00:00
Julian Waters
7d8b8ba9c4 8303131: pandoc.exe mangles all processed html files
Reviewed-by: erikj
2023-02-24 08:47:41 +00:00
Thomas Stuefe
8f7c4969c2 8302810: NMT gtests don't correctly check for marked ranges
Reviewed-by: gziemski, dholmes
2023-02-24 07:58:25 +00:00
Damon Nguyen
1a07871454 8302173: Button border overlaps with button icon on macOS system LaF
Reviewed-by: honkar, psadhukhan
2023-02-23 20:41:25 +00:00
Erik Gahlin
796cdd52f5 8302677: JFR: Cache label and contentType in EventType and ValueDescriptor
Reviewed-by: mgronlun
2023-02-23 20:12:54 +00:00
Erik Gahlin
6b24b4a70f 8302821: JFR: Periodic task thread spins after recording has stopped
Reviewed-by: mgronlun
2023-02-23 19:53:21 +00:00
Evgeny Nikitin
4d33fbd582 8303089: [jittester] Add time limit to IRTree generation
Reviewed-by: iveresov, lmesnik
2023-02-23 19:51:02 +00:00
Justin Lu
f612dcfebe 8302512: Update IANA Language Subtag Registry to Version 2023-02-14
Reviewed-by: naoto
2023-02-23 19:05:40 +00:00
Leonid Mesnik
6397cb611a 8301200: Don't scale timeout stress with timeout factor
Reviewed-by: lkorinth
2023-02-23 18:20:53 +00:00
Mikhailo Seledtsov
71dd7eaf7f 8303085: Runtime problem list cleanup
Reviewed-by: lmesnik, dholmes
2023-02-23 18:02:43 +00:00
Erik Gahlin
4b6acad0bd 8302883: JFR: Improve periodic events
Reviewed-by: mgronlun
2023-02-23 17:20:53 +00:00
Daniel D. Daugherty
a2471b37e3 8303125: ProblemList vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java
Reviewed-by: jdv
2023-02-23 17:07:52 +00:00
Christoph Dreis
58ca711a97 8303078: Reduce allocations when pretty printing JCTree during compilation
Reviewed-by: jjg, vromero
2023-02-23 15:25:05 +00:00
Justin King
2cf8b8607d 8303071: Memory leaks in libjdwp
Reviewed-by: sspitsyn
2023-02-23 15:23:03 +00:00
Stefan Karlsson
f113b04ab9 8302927: Unproblemlist Fuzz.java from ProblemList-zgc.txt again
Reviewed-by: sjohanss, eosterlund
2023-02-23 14:07:37 +00:00
Claes Redestad
1bab93b2d0 8303073: (bf) Temporarily reinstate private DirectByteBuffer(long, int) constructor
Reviewed-by: alanb, bpb
2023-02-23 10:31:14 +00:00
Matthias Baesken
221f34634d 8303047: avoid NULL after 8301661
Reviewed-by: mdoerr, kbarrett, dholmes
2023-02-23 08:08:25 +00:00
Thomas Stuefe
23e9d9d3ee 8302811: NMT.random_reallocs_vm fails if NMT is off
Reviewed-by: jsjolen, sgehwolf
2023-02-23 06:44:10 +00:00
Joe Darcy
fcaf871408 8302028: Port fdlibm atan2 to Java
Reviewed-by: bpb
2023-02-22 22:49:59 +00:00
Albert Mingkun Yang
07e976ac26 8303081: Serial: Remove unused VM_MarkSweep
Reviewed-by: tschatzl
2023-02-22 18:28:17 +00:00
Julian Waters
8de841dd19 8302667: Improve message format when failing to load symbols or libraries
Reviewed-by: mchung
2023-02-22 17:42:34 +00:00
Glavo
f893d2315d 8303024: (fs) WindowsFileSystem.supportedFileAttributeViews can use Set.of
Reviewed-by: bpb
2023-02-22 17:16:49 +00:00
Thomas Schatzl
d7ada66129 8303084: G1 Heap region liveness verification has inverted return value
Reviewed-by: ayang
2023-02-22 17:08:24 +00:00
Thomas Schatzl
5d7e7e28b1 8302760: Improve liveness/remembered set verification for G1
Reviewed-by: kbarrett, iwalulya
2023-02-22 16:11:41 +00:00
Albert Mingkun Yang
b0e0f37d73 8303067: G1: Remove unimplemented G1FullGCScope::heap_transition
Reviewed-by: tschatzl
2023-02-22 15:57:08 +00:00
Thomas Schatzl
1a62a1229a 8302880: Fix includes in g1ConcurrentMarkObjArrayProcessor files
Reviewed-by: ayang, kbarrett
2023-02-22 15:47:29 +00:00
Thomas Schatzl
ee37af47cd 8302975: Remove redundant mark verification during G1 Full GC
Reviewed-by: ayang, kbarrett
2023-02-22 15:45:12 +00:00
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Sergey Tsypanov
25bfed3b12 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
Reviewed-by: alanb, jwaters
2023-02-22 14:08:51 +00:00
Albert Mingkun Yang
0d5f7439a4 8303054: Remove unused variables in GCTraceTimeLoggerImpl::log_end
Reviewed-by: tschatzl
2023-02-22 12:49:40 +00:00
Albert Mingkun Yang
adc29c36e1 8302878: Group cmdline heap size checking together
Reviewed-by: kbarrett, iwalulya
2023-02-22 12:48:31 +00:00
Daniel Fuchs
575484806c 8299338: AssertionError in ResponseSubscribers$HttpResponseInputStream::onSubscribe
Reviewed-by: jpai
2023-02-22 12:43:55 +00:00
Per Minborg
63ef214328 8302849: SurfaceManager might expose partially constructed object
Reviewed-by: serb
2023-02-22 11:45:51 +00:00
Roberto Castañeda Lozano
30b2ac4a28 8302873: ZGC: dump barrier data in C2 Mach nodes
Reviewed-by: thartmann, kvn
2023-02-22 10:59:15 +00:00
Per Minborg
861eea9bd4 8302858: Polish FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2023-02-22 10:33:58 +00:00
Per Minborg
60a358172a 8302856: Typo in FlightRecorderMXBeanImpl
Reviewed-by: kevinw, egahlin
2023-02-22 10:29:40 +00:00
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Kevin Walls
5e1d1b7940 8302870: More information needed from failures in vmTestbase ThreadUtils.waitThreadState
Reviewed-by: dholmes, sspitsyn
2023-02-22 09:29:57 +00:00
Severin Gehwolf
7f35389533 8302888: containers/docker/TestJcmd.java fails when run as root under podman
Reviewed-by: dholmes
2023-02-22 08:35:10 +00:00
Alan Bateman
b6ecca1268 8280113: (dc) DatagramSocket.receive does not always throw when the channel is closed
Reviewed-by: jpai, dfuchs
2023-02-22 08:13:06 +00:00
Richard Reingruber
f54e1080c5 8302831: PPC: compiler/codecache/TestStressCodeBuffers.java fails after JDK-8301819
Reviewed-by: mdoerr
2023-02-22 06:29:48 +00:00
Julian Waters
cba817ae59 8302838: jabswitch main() should avoid calling exit explicitly
Reviewed-by: serb
2023-02-22 06:27:52 +00:00
Prasanta Sadhukhan
2c52cf0746 8041447: Test javax/swing/dnd/7171812/bug7171812.java fails with java.lang.RuntimeException: Test failed, scroll on drag doesn't work
Reviewed-by: tr, serb
2023-02-22 06:13:09 +00:00
Martin Doerr
180b94c73e 8302907: [PPC64] Use more constexpr in class Register
Reviewed-by: rrich
2023-02-22 02:24:38 +00:00
Mikael Vidstedt
f319c92bd0 8303016: Invalid escapes in grep patterns
Reviewed-by: erikj
2023-02-21 22:10:36 +00:00
Eirik Bjorsnos
e950b95486 8303033: Build failure with the micro bench mark
Reviewed-by: naoto
2023-02-21 21:39:35 +00:00
Albert Mingkun Yang
dcd773ac5c 8302864: Parallel: Remove PSVirtualSpace::pointer_delta
Reviewed-by: tschatzl, kbarrett
2023-02-21 21:24:22 +00:00
Serguei Spitsyn
46f25250bd 8299240: rank of JvmtiVTMSTransition_lock can be safepoint
Reviewed-by: dholmes, coleenp, pchilanomate
2023-02-21 21:22:49 +00:00
Justin King
ce6de37172 8303010: Add /DEBUG to LDFLAGS for MSVC with ASan
Reviewed-by: erikj
2023-02-21 21:15:43 +00:00
Mikael Vidstedt
729c26f70e 8303020: Remove carriage return in pandoc version string
Reviewed-by: iris, lancea, erikj
2023-02-21 21:00:38 +00:00
Eirik Bjorsnos
ef1f7bd3b8 8302877: Speed up latin1 case conversions
Reviewed-by: naoto, redestad
2023-02-21 20:54:36 +00:00
Christian Stein
1ea5f9f7cd 8302789: (fs) Files.copy should include unsupported copy option in exception message
Reviewed-by: alanb, bpb, lancea
2023-02-21 19:03:26 +00:00
Joe Darcy
dfce4e1943 8302800: Augment NaN handling tests of FDLIBM methods
Reviewed-by: bpb
2023-02-21 18:31:22 +00:00
Glavo
5489c821dc 8302603: Use Set.of in java.nio.charset.Charset
Reviewed-by: stsypanov, alanb, naoto
2023-02-21 17:35:52 +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
Johannes Bechberger
db483a38a8 8302320: AsyncGetCallTrace obtains too few frames in sanity test
Reviewed-by: jvernee, dholmes, rrich
2023-02-21 14:33:02 +00:00
Tobias Holenstein
02eb240c71 8302846: IGV: Zoom stuck when zooming out on large graphs
Reviewed-by: rcastanedalo, thartmann
2023-02-21 13:48:49 +00:00
Claes Redestad
92dfa1175e 8302863: Speed up String::encodeASCII using countPositives
Reviewed-by: alanb
2023-02-21 13:31:15 +00:00
Pavel Rappo
8b20aa919b 8302981: Fix a typo in the doc comment for java.lang.Record.equals
Reviewed-by: jpai
2023-02-21 13:11:26 +00:00
Julian Waters
644fe0a994 8302837: Kernel32.cpp array memory release invokes undefined behaviour
Reviewed-by: jlahoda
2023-02-21 11:58:44 +00:00
Stefan Karlsson
60e6378925 8302977: ZGC: Doesn't support gc/TestVerifySubSet.java
Reviewed-by: tschatzl
2023-02-21 11:04:43 +00:00
Stefan Karlsson
fef1910277 8299777: Test runtime/NMT/BaselineWithParameter.java timed out
Reviewed-by: gziemski, iklam, dholmes
2023-02-21 10:58:36 +00:00
Albert Mingkun Yang
622f5604c1 8302886: Parallel: Remove unimplemented methods in ParCompactionManager
Reviewed-by: tschatzl
2023-02-21 09:26:47 +00:00
Albert Mingkun Yang
9fd77c7b9b 8302868: Serial: Remove CardTableRS::initialize
Reviewed-by: tschatzl
2023-02-21 09:25:51 +00:00
Albert Mingkun Yang
f35cf79b51 8302867: G1: Removing unused variable in G1CardTable::initialize
Reviewed-by: tschatzl
2023-02-21 09:25:07 +00:00
Stefan Karlsson
63a3501273 8302741: ZGC: Remove Universe::verify calls
Reviewed-by: ayang, tschatzl
2023-02-21 08:23:28 +00:00
Matthias Baesken
9145670354 8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Reviewed-by: ihse, lucy, dholmes
2023-02-21 08:17:56 +00:00
Jayathirth D V
aa10f0d3ee 8302151: BMPImageReader throws an exception reading BMP images
Reviewed-by: serb, tr
2023-02-21 07:30:17 +00:00
Emanuel Peter
16a4f02f2d 8302150: Speed up compiler/codegen/Test7100757.java
Reviewed-by: kvn, thartmann
2023-02-21 07:16:51 +00:00
Emanuel Peter
17274c72a9 8302146: Move TestOverloadCompileQueues.java to tier3
Reviewed-by: kvn, thartmann
2023-02-21 07:13:33 +00:00
Tejesh R
29f392e434 8299522: Incorrect size of Approve button in custom JFileChooser
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-02-21 05:19:07 +00:00
Gui Cao
43c71ddf92 8302453: RISC-V: Add support for small width vector operations
Co-authored-by: Dingli Zhang <dingli@iscas.ac.cn>
Reviewed-by: yzhu, fyang
2023-02-21 01:39:13 +00:00
David Holmes
91a2b5ec6f 8302905: arm32 Raspberry Pi OS build broken by JDK-8301494
Reviewed-by: mikael, martin
2023-02-21 01:23:06 +00:00
George Adams
bb3dfd6adb 8302879: doc/building.md update link to jtreg builds
Reviewed-by: sgehwolf, clanger
2023-02-20 21:58:55 +00:00
sunguoyun
36a0822633 8302369: Reduce the stack size of the C1 compiler
Reviewed-by: dlong
2023-02-20 19:28:09 +00:00
Justin King
0bf3a53e01 8302599: Extend ASan support to Microsoft Visual C++
Reviewed-by: erikj, stuefe, ihse
2023-02-20 18:37:16 +00:00
ravi.ra.gupta
c7517b3dec 8302525: Write a test to check various components send Events while mouse and key are used simultaneously
Reviewed-by: serb
2023-02-20 18:32:00 +00:00
Alexey Bakhtin
9a797228f3 8299234: JMX Repository.query performance
Reviewed-by: dfuchs, kevinw
2023-02-20 17:52:54 +00:00
Severin Gehwolf
e47e9ec05b 8300658: memory_and_swap_limit() reporting wrong values on systems with swapaccount=0
Reviewed-by: jsjolen, iklam
2023-02-20 17:07:04 +00:00
Roman Kennke
7cf7e0a20b 8302070: Factor null-check into load_klass() calls
Reviewed-by: phh, coleenp
2023-02-20 15:13:36 +00:00
Prasanta Sadhukhan
e731695217 8302882: Newly added test javax/swing/JFileChooser/JFileChooserFontReset.java fails with HeadlessException
Reviewed-by: jdv
2023-02-20 14:47:45 +00:00
Johan Sjölen
b5a7426996 8301749: Tracking malloc pooled memory size
Reviewed-by: dholmes, stuefe
2023-02-20 14:23:54 +00:00
Albert Mingkun Yang
6ac5e05c58 8302068: Serial: Refactor oop closures used in Young GC
Reviewed-by: tschatzl, iwalulya
2023-02-20 14:07:45 +00:00
Pengfei Li
71cf7c4409 8302518: Add missing Op_RoundDoubleMode in VectorNode::vector_operands()
Reviewed-by: kvn, jbhateja
2023-02-20 12:08:03 +00:00
Thomas Schatzl
98716e2b25 8302709: Remove explicit remembered set verification in G1
Reviewed-by: ayang, iwalulya
2023-02-20 11:22:04 +00:00
Ludovic Henry
303c61f3ca 8302776: RISC-V: Fix typo CSR_INSTERT to CSR_INSTRET
Reviewed-by: fyang
2023-02-20 10:48:27 +00:00
Thomas Schatzl
7c40c8af69 8302312: Make ParGCRareEvent_lock G1 specific
Reviewed-by: sjohanss, kbarrett
2023-02-20 10:45:40 +00:00
Thomas Schatzl
593bec685e 8302122: Parallelize TLAB retirement in prologue in G1
8297611: G1: Merge tlab and per-thread dirty card log flushing

Reviewed-by: kbarrett, ayang
2023-02-20 10:23:00 +00:00
Thomas Schatzl
e971f90a0b 8302206: Factor out duplicate G1VerificationClosure
Reviewed-by: kbarrett, ayang
2023-02-20 10:21:21 +00:00
Ivan Walulya
eaae0baeba 8302215: G1: Last-ditch Full GC should do serial compaction for tail regions in per thread compaction points.
Reviewed-by: ayang, sjohanss, tschatzl
2023-02-20 08:43:02 +00:00
Emanuel Peter
7e08275cc1 8302668: [TESTBUG] Tests require feature sse4_1 which does not exist, should be sse4.1
Reviewed-by: kvn, thartmann
2023-02-20 08:41:40 +00:00
Emanuel Peter
5c0f50bc01 8295979: [IR Framework] Improve IR matching warning
Reviewed-by: thartmann, kvn
2023-02-20 08:40:11 +00:00
Tobias Holenstein
743a85db06 8302656: Missing spaces in output of -XX:+CIPrintMethodCodes
Reviewed-by: kvn, thartmann
2023-02-20 08:35:30 +00:00
Prasanta Sadhukhan
432cf68c4d 6753661: JFileChooser font not reset after Look & Feel change
Reviewed-by: abhiscxk, aivanov, serb
2023-02-20 08:17:00 +00:00
Richard Reingruber
2009dc2b73 8302462: [REDO] 8297487: G1 Remark: no need to keep alive oop constants of nmethods on stack
Reviewed-by: tschatzl, ayang
2023-02-20 06:47:57 +00:00
Ioi Lam
7abe26935a 8302781: CDS archive heap not reproducible after JDK-8296344
Reviewed-by: dcubed
2023-02-19 05:59:12 +00:00
Claes Redestad
d6716d2e54 8302315: Examine cost of clone of primitive arrays compared to arraycopy
Reviewed-by: alanb
2023-02-18 15:17:57 +00:00
Thomas Stuefe
53be5dc486 8302812: JDK-8302455 broke ClassLoaderStatsTest on 32-bit
Reviewed-by: dcubed
2023-02-18 14:52:26 +00:00
Eirik Bjorsnos
78f71b4d41 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
2023-02-18 12:39:19 +00:00
Jaikiran Pai
f82385e587 8302623: jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
Reviewed-by: weijun
2023-02-18 11:58:05 +00:00
Jaikiran Pai
43cf8b3d80 8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
Reviewed-by: djelinski, dfuchs, alanb
2023-02-18 00:48:29 +00:00
Serguei Spitsyn
6b082fb3c6 8302615: make JVMTI thread cpu time functions optional for virtual threads
Reviewed-by: alanb
2023-02-17 21:49:14 +00:00
Sandhya Viswanathan
7c60b9c98f 8302358: Behavior of adler32 changes after JDK-8300208
Reviewed-by: kvn, jbhateja
2023-02-17 21:31:42 +00:00
Calvin Cheung
86b9fce980 8301992: Embed SymbolTable CHT node
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: coleenp, iklam
2023-02-17 19:51:12 +00:00
Mikhailo Seledtsov
03d613bbab 8294402: Add diagnostic logging to VMProps.checkDockerSupport
Reviewed-by: dholmes, lmesnik
2023-02-17 19:37:02 +00:00
Ioi Lam
a263f28368 8302777: CDS should not relocate heap if mapping fails
Reviewed-by: ccheung
2023-02-17 19:34:26 +00:00
Archie L. Cobbs
a917fb3fcf 7033677: potential cast error in MemberEnter
Reviewed-by: vromero, jlahoda
2023-02-17 16:55:35 +00:00
Ludvig Janiuk
6120319afd 8302226: failure_handler native.core should wait for coredump to finish
Reviewed-by: erikj
2023-02-17 14:57:00 +00:00
Albert Mingkun Yang
fef3eab9bd 8302734: Parallel: Remove unused LGRPSpace::_invalid_region
Reviewed-by: tschatzl
2023-02-17 14:47:03 +00:00
Albert Mingkun Yang
ea5bfea333 8302661: Parallel: Remove PSVirtualSpace::is_aligned
Reviewed-by: stefank, tschatzl
2023-02-17 14:46:23 +00:00
Daniel Fuchs
edf238b65e 8302635: Race condition in HttpBodySubscriberWrapper when cancelling request
Reviewed-by: jpai
2023-02-17 14:43:58 +00:00
Tobias Holenstein
cd77fcfb5f 8290822: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior
Reviewed-by: kvn, thartmann
2023-02-17 14:27:17 +00:00
Tobias Holenstein
57c9bc39cd 8302335: IGV: Bytecode not showing
Reviewed-by: rcastanedalo, thartmann, xliu
2023-02-17 14:26:37 +00:00
Yi-Fan Tsai
57fde75b2a 8302113: Improve CRC32 intrinsic with crypto pmull on AArch64
Reviewed-by: simonis
2023-02-17 14:23:33 +00:00
Richard Reingruber
b8c9d6cdf6 8302158: PPC: test/jdk/jdk/internal/vm/Continuation/Fuzz.java: AssertionError: res: false shouldPin: false
Reviewed-by: goetz, mdoerr
2023-02-17 13:20:08 +00:00
Jan Lahoda
dc55a7fc87 8302202: Incorrect desugaring of null-allowed nested patterns
Reviewed-by: vromero
2023-02-17 12:55:47 +00:00
Johan Sjölen
c4ffe4bf63 8301494: Replace NULL with nullptr in cpu/arm
Reviewed-by: dholmes, coleenp
2023-02-17 11:24:41 +00:00
Albert Mingkun Yang
4f1cffd52c 8302674: Parallel: Remove unused methods in MutableNUMASpace
Reviewed-by: tschatzl
2023-02-17 10:39:58 +00:00
Johan Sjölen
c91cd2814b 8301481: Replace NULL with nullptr in os/windows
Reviewed-by: coleenp, dholmes
2023-02-17 09:41:12 +00:00
Damon Fenacci
47ca5773a5 8301491: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument
Reviewed-by: thartmann, kvn
2023-02-17 09:10:20 +00:00
Ioi Lam
49eb68ba95 8296158: Refactor the verification of CDS region checksum
Reviewed-by: ccheung, matsaave
2023-02-17 07:21:26 +00:00
Joe Darcy
655a71277d 8301444: Port fdlibm hyperbolic transcendental functions to Java
Reviewed-by: bpb
2023-02-17 03:22:06 +00:00
David Holmes
b242eef93e 8280419: Remove dead code related to VerifyThread and verify_thread()
Reviewed-by: stuefe, lucy
2023-02-17 02:00:32 +00:00
Valerie Peng
4ce493f09e 8302225: SunJCE Provider doesn't validate key sizes when using 'constrained' transforms for AES/KW and AES/KWP
Reviewed-by: xuelei
2023-02-16 21:58:34 +00:00
Magnus Ihse Bursie
a39cf2e3b2 8301753: AppendFile/WriteFile has differences between make 3.81 and 4+
Reviewed-by: erikj
2023-02-16 19:32:38 +00:00
Vicente Romero
de80dd9c15 8296010: AssertionError in annotationTargetType
Reviewed-by: jjg
2023-02-16 19:06:26 +00:00
Julian Waters
e5042dd483 8302671: libawt has a memmove decay error
Reviewed-by: serb, prr, kcr
2023-02-16 18:56:59 +00:00
Daniel D. Daugherty
574b48c692 8302678: validate_source fails after JDK-8293313
Reviewed-by: bpb
2023-02-16 17:13:16 +00:00
Thomas Stuefe
90e092280f 8293313: NMT: Rework MallocLimit
8293292: Remove MallocMaxTestWords

Reviewed-by: jsjolen, gziemski, lucy, mbaesken
2023-02-16 16:14:05 +00:00
Erik Gahlin
f558a6c599 8298276: JFR: Update NMT events to make use of common periodic timestamp feature
Reviewed-by: mgronlun
2023-02-16 15:49:05 +00:00
Archie L. Cobbs
a58fa6e73e 8302514: Misleading error generated when empty class file encountered
Reviewed-by: vromero, jwaters
2023-02-16 14:48:39 +00:00
Justin King
3cc459b6c2 8302595: use-after-free related to GraphKit::clone_map
Reviewed-by: kvn, thartmann
2023-02-16 14:40:38 +00:00
Justin King
2e3cea01da 8302594: use-after-free in Node::destruct
Reviewed-by: kvn, thartmann
2023-02-16 14:14:46 +00:00
Tobias Holenstein
9b911b492f 8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work
Reviewed-by: kvn, thartmann
2023-02-16 13:51:11 +00:00
Tobias Holenstein
c29a136787 8291735: methods_do() always run at exit
Reviewed-by: coleenp, kvn
2023-02-16 12:55:01 +00:00
Albert Mingkun Yang
687a461276 8302464: Parallel: Remove unreachable code in callers of numa_has_static_binding
Reviewed-by: lkorinth, tschatzl
2023-02-16 11:48:56 +00:00
Tejesh R
84c058bb63 8300549: JFileChooser Approve button tooltip is null in Aqua L&F in CUSTOM_DIALOG mode
Reviewed-by: aivanov, abhiscxk
2023-02-16 11:10:25 +00:00
Tobias Holenstein
e045af4c92 8297031: IGV: Copy extracted nodes and layout for cloned graph
Reviewed-by: rcastanedalo, thartmann
2023-02-16 10:20:59 +00:00
Severin Gehwolf
53ae4c07fd 8300645: Handle julong values in logging of GET_CONTAINER_INFO macros
Reviewed-by: iklam
2023-02-16 10:08:54 +00:00
Tobias Hartmann
c77f64420a 8302625: Bad copyright line after JDK-8302385
Reviewed-by: mikael
2023-02-16 07:31:55 +00:00
Thomas Stuefe
519229db3c 8302385: Remove MetaspaceReclaimPolicy=none
Reviewed-by: iklam, dholmes
2023-02-16 07:01:10 +00:00
Thomas Stuefe
6e2d3c6c45 8302455: VM.classloader_stats memory size values are wrong
Reviewed-by: coleenp, dholmes
2023-02-16 06:56:38 +00:00
Vicente Romero
1480d418e3 8208470: Type annotations on inner type that is an array component
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
2023-02-16 04:01:12 +00:00
Ioi Lam
573c316c57 8224980: FLAG_SET_ERGO silently ignores invalid values
Reviewed-by: iveresov, dholmes
2023-02-16 03:44:48 +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
Claes Redestad
861e302011 8302163: Speed up various String comparison methods with ArraysSupport.mismatch
Reviewed-by: stsypanov, rriggs, alanb
2023-02-15 21:52:41 +00:00
Mandy Chung
50dcc2aec5 8301460: Clean up LambdaForm to reference BasicType enums directly
Reviewed-by: jvernee
2023-02-15 18:29:26 +00:00
Albert Mingkun Yang
28f5250fa5 8302127: Remove unused arg in write_ref_field_post
Reviewed-by: phh, kbarrett
2023-02-15 14:34:30 +00:00
Johan Sjölen
0c9658446d 8301225: Replace NULL with nullptr in share/gc/shenandoah/
Reviewed-by: wkemper, kdnilsen, rkennke
2023-02-15 13:40:34 +00:00
Sean Mullan
26b111d714 8301700: Increase the default TLS Diffie-Hellman group size from 1024-bit to 2048-bit
Reviewed-by: xuelei
2023-02-15 13:25:50 +00:00
Michael McMahon
52388179e6 8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
2023-02-15 10:19:49 +00:00
Severin Gehwolf
11194e8b82 8302325: Wrong comment in java.base/share/native/libjimage/imageFile.hpp
Reviewed-by: alanb, jlaskey
2023-02-15 09:54:47 +00:00
Scott Gibbons
33bec20710 8300808: Accelerate Base64 on x86 for AVX2
Reviewed-by: jbhateja, redestad, sviswanathan
2023-02-15 09:26:10 +00:00
Emanuel Peter
46bcc4901e 8302147: Speed up compiler/jvmci/compilerToVM/IterateFramesNative.java
Reviewed-by: kvn, thartmann
2023-02-15 07:36:53 +00:00
Emanuel Peter
a9a53f417d 8302152: Speed up tests with infinite loops, sleep less
Reviewed-by: thartmann, kvn
2023-02-15 07:35:23 +00:00
Justin King
98a392c4fc 8302102: Disable ASan for SafeFetch and os::print_hex_dump
Reviewed-by: dholmes, stuefe
2023-02-15 06:42:27 +00:00
Thomas Stuefe
9ccf8ad91f 8302129: Make MetaspaceReclaimPolicy a diagnostic switch
Reviewed-by: dholmes, coleenp
2023-02-15 06:36:16 +00:00
Ioi Lam
bdcbafb219 8296344: Remove dependency on G1 for writing the CDS archive heap
Reviewed-by: ayang, tschatzl, ccheung
2023-02-15 05:12:39 +00:00
Kim Barrett
f1d76fa925 8302262: Remove -XX:SuppressErrorAt develop option
Reviewed-by: stuefe, dholmes, tschatzl
2023-02-15 00:44:02 +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
Vicente Romero
ca73f7e80f 8301374: NullPointerException in MemberEnter.checkReceiver
Reviewed-by: jlahoda
2023-02-14 18:59:37 +00:00
Brian Burkhalter
5b2d430131 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
Reviewed-by: alanb, lancea
2023-02-14 16:30:52 +00:00
Xue-Lei Andrew Fan
f7dee77d73 8301274: update for deprecated sprintf for security components
Reviewed-by: ascarpino
2023-02-14 15:37:47 +00:00
Xue-Lei Andrew Fan
ec901f28c3 8301279: update for deprecated sprintf for management components
Reviewed-by: kevinw, dholmes
2023-02-14 15:36:09 +00:00
Erik Gahlin
8933c2d06a 8298278: JFR: Turn MEMFLAGS into a type for use with the NativeMemoryUsage events
Reviewed-by: sjohanss
2023-02-14 15:02:58 +00:00
Robbin Ehn
77519e5f4f 8302354: InstanceKlass init state/thread should be atomic
Reviewed-by: coleenp, dholmes
2023-02-14 14:38:46 +00:00
Vicente Romero
2ef001e097 8207017: Type annotations on anonymous classes in initializer blocks not written to class file
Reviewed-by: jlahoda
2023-02-14 14:27:29 +00:00
Johan Sjölen
8c2c8b3f7f 8295344: Harden runtime/StackGuardPages/TestStackGuardPages.java
Reviewed-by: dholmes, rehn
2023-02-14 13:11:44 +00:00
Hannes Wallnöfer
6d4b02b6c9 8302324: Inheritance tree does not show correct type parameters/arguments
Reviewed-by: prappo
2023-02-14 12:42:59 +00:00
Ekaterina Vergizova
7dfe75cf55 8301842: JFR: increase checkpoint event size for stacktrace and string pool
Reviewed-by: mgronlun
2023-02-14 11:02:39 +00:00
Jie Fu
66742c83d4 8302368: [ZGC] Client build fails after JDK-8300255
Reviewed-by: fyang, eosterlund
2023-02-14 10:57:49 +00:00
Albert Mingkun Yang
7c50ab1612 8225409: G1: Remove the Hot Card Cache
Reviewed-by: tschatzl, iwalulya
2023-02-14 10:18:43 +00:00
Conor Cleary
92474f13f0 8301243: java/net/httpclient/http2/IdleConnectionTimeoutTest.java intermittent failure
Reviewed-by: dfuchs
2023-02-14 09:41:36 +00:00
Severin Gehwolf
ee5f6e156d 8302337: JDK crashes if lib/modules contains non-zero byte containing ATTRIBUTE_END
Reviewed-by: stuefe, jlaskey, alanb
2023-02-14 09:27:36 +00:00
Erik Österlund
7f71a1040d 8301874: BarrierSetC2 should assign barrier data to stores
Reviewed-by: rcastanedalo, kvn
2023-02-14 09:18:48 +00:00
Eirik Bjorsnos
d782125c8f 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch
Reviewed-by: jpai
2023-02-14 06:58:56 +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
Serguei Spitsyn
13b1ebba27 8298853: JvmtiVTMSTransitionDisabler should support disabling one virtual thread transitions
Reviewed-by: pchilanomate, lmesnik
2023-02-14 01:28:42 +00:00
Coleen Phillimore
abbeb7e4d2 8302108: Clean up placeholder supername code
Reviewed-by: dholmes, iklam
2023-02-13 20:57:01 +00:00
Amit Kumar
d503c66400 8302155: [AIX] NUM_LCPU is not required variable
Reviewed-by: tsteele, ihse
2023-02-13 19:01:05 +00:00
Gerard Ziemski
c37e9d1c8d 8298293: NMT: os::realloc() should verify that flags do not change between reallocations
Reviewed-by: dholmes, stuefe, iklam
2023-02-13 18:14:31 +00:00
Amit Kumar
101db262e1 8301697: [s390] Optimized-build is broken
Reviewed-by: tsteele, lucy
2023-02-13 16:14:33 +00:00
Erik Österlund
f4d4fa500c 8300255: Introduce interface for GC oop verification in the assembler
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: fyang, aboldtch, coleenp
2023-02-13 15:50:54 +00:00
Gui Cao
99b6c0eb48 8302289: RISC-V: Use bgez instruction in arraycopy_simple_check when possible
Reviewed-by: fyang, dzhang, luhenry
2023-02-13 15:39:08 +00:00
Richard Reingruber
57aef85734 8301838: PPC: continuation yield intrinsic: exception check not needed if yield succeeded
Reviewed-by: lucy, goetz
2023-02-13 13:33:06 +00:00
sunguoyun
df93880efd 8301942: java/net/httpclient/DigestEchoClientSSL.java fail with -Xcomp
Reviewed-by: dfuchs
2023-02-13 12:50:28 +00:00
Albert Mingkun Yang
0025764ec0 8040793: vmTestbase/nsk/monitoring/stress/lowmem fails on calling isCollectionUsageThresholdExceeded()
Reviewed-by: iwalulya, tschatzl
2023-02-13 11:28:40 +00:00
Claes Redestad
1f9c110c1f 8301958: Reduce Arrays.copyOf/-Range overheads
Reviewed-by: alanb, smarks
2023-02-13 11:17:38 +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
Stuart Monteith
bbd8ae7820 8294194: [AArch64] Create intrinsics compress and expand
Reviewed-by: xgong, adinn, haosun, aph
2023-02-13 11:07:11 +00:00
Johan Sjölen
4e327db1d1 8301499: Replace NULL with nullptr in cpu/zero
Reviewed-by: dholmes, rehn
2023-02-13 09:25:09 +00:00
Prasanta Sadhukhan
0458d3825c 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI
Reviewed-by: serb, aivanov
2023-02-13 08:59:19 +00:00
Conor Cleary
f4b140b420 8296410: HttpClient throws java.io.IOException: no statuscode in response for HTTP2
Reviewed-by: dfuchs, jpai
2023-02-13 08:34:45 +00:00
Emanuel Peter
5d39d14522 8299970: Speed up compiler/arraycopy/TestArrayCopyConjoint.java
Reviewed-by: chagedorn, kvn, thartmann
2023-02-13 08:13:13 +00:00
Tobias Hartmann
d1c87a03ad 8302203: IR framework should detect non-compilable test methods early
Reviewed-by: chagedorn, kvn
2023-02-13 06:23:24 +00:00
Dingli Zhang
1fec6b5953 8301852: RISC-V: Optimize class atomic when order is memory_order_relaxed
Reviewed-by: fyang
2023-02-13 02:02:40 +00:00
Feilong Jiang
7c233bc1c8 8302114: RISC-V: Several foreign jtreg tests fail with debug build after JDK-8301818
Reviewed-by: fyang, gcao
2023-02-13 02:01:25 +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 Wang
6a44120a16 8301269: Update Commons BCEL to Version 6.7.0
Reviewed-by: lancea
2023-02-11 22:33:13 +00:00
sunguoyun
6f9f2b5d37 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp
Reviewed-by: rriggs
2023-02-11 16:53:59 +00:00
Doug Simon
1ef9f6507b 8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline
Reviewed-by: dlong
2023-02-11 15:38:59 +00:00
Alan Bateman
74b167b23d 8301819: Enable continuations code by default
Reviewed-by: kvn, dholmes, dcubed
2023-02-11 06:20:45 +00:00
Joe Darcy
919a6da2a7 8301202: Port fdlibm log to Java
Reviewed-by: bpb
2023-02-11 02:15:46 +00:00
Jim Laskey
98e98e9049 8296322: javac: use methods to manage parser mode flags
Reviewed-by: mcimadamore
2023-02-11 00:24:24 +00:00
Brian Burkhalter
84e47996e8 8297292: java/nio/channels/FileChannel/FileExtensionAndMap.java is too slow
Reviewed-by: jpai
2023-02-10 19:44:00 +00:00
Brian Burkhalter
57798dd439 6595142: (spec) ByteArrayInputStream treats bytes, not characters
Reviewed-by: alanb
2023-02-10 19:43:30 +00:00
Chris Plummer
880f52fda0 8301638: A number of nsk/jdi invokemethod tests should be converted to create virtual threads
Reviewed-by: lmesnik, amenkov, sspitsyn
2023-02-10 19:29:34 +00:00
Roman Kennke
db1b48ef3b 8302167: Avoid allocating register in fast_lock()
Reviewed-by: kvn, kdnilsen
2023-02-10 18:12:43 +00:00
Coleen Phillimore
582b943439 8278965: crash in SymbolTable::do_lookup
Reviewed-by: dholmes, fparain, iklam
2023-02-10 18:00:19 +00:00
Johan Sjölen
4539899c55 8301480: Replace NULL with nullptr in os/posix
Reviewed-by: coleenp, dholmes
2023-02-10 14:02:20 +00:00
Johan Sjölen
1428db798c 8301224: Replace NULL with nullptr in share/gc/shared/
Reviewed-by: stefank, kbarrett
2023-02-10 14:01:30 +00:00
Per Minborg
c25b4f4619 8301578: Perform output outside synchronization in Module.class
Reviewed-by: alanb
2023-02-10 13:46:46 +00:00
Matthijs Bijman
5830c03e53 8302004: InlineTree should consult replay file in release build
Reviewed-by: phh, xliu
2023-02-10 13:38:42 +00:00
Johan Sjölen
c8ace482ed 8301072: Replace NULL with nullptr in share/oops/
Reviewed-by: stefank, coleenp, dholmes
2023-02-10 09:57:59 +00:00
Kevin Walls
1c7b09bc23 8302069: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java update
Reviewed-by: cjplummer, amenkov
2023-02-10 08:32:39 +00:00
Thomas Schatzl
837d4644a7 8302125: Make G1 full gc abort the VM after failing VerifyDuringGC verification
Reviewed-by: ayang, iwalulya
2023-02-10 08:28:49 +00:00
Ramkumar Sunderbabu
723433dbeb 8302117: IgnoreUnrecognizedVMOptions flag causes failure in ArchiveHeapTestClass
Reviewed-by: dholmes
2023-02-10 05:58:12 +00:00
Xiaohong Gong
e245620f6f 8293198: [vectorapi] Improve the implementation of VectorMask.indexInRange()
Reviewed-by: jbhateja, qamai, psandoz
2023-02-10 01:32:05 +00:00
Kevin Driver
b814cfc39d 8178806: Better exception logging in crypto code
Reviewed-by: valeriep
2023-02-09 22:31:00 +00:00
Rajan Halade
8c87a67419 8245654: Add Certigna Root CA
Reviewed-by: mullan
2023-02-09 20:48:37 +00:00
Coleen Phillimore
97d0c8720d 8302109: Trivial fixes to btree tests
Reviewed-by: lmesnik
2023-02-09 20:42:17 +00:00
Thomas Schatzl
0aeebee284 8301988: VerifyLiveClosure::verify_liveness asserts on bad pointers outside heap
Reviewed-by: dholmes, ayang
2023-02-09 20:09:13 +00:00
Alex Menkov
48155662af 8228604: StackMapFrames are missing from redefined class bytes of retransformed classes
Reviewed-by: cjplummer, sspitsyn
2023-02-09 19:37:32 +00:00
Sergey Bylokhov
5147969253 8272288: Funky multiresolution image breaks graphics context
Reviewed-by: jdv
2023-02-09 19:22:51 +00:00
Robbin Ehn
77ead449e4 8302066: Counter _number_of_nmethods_with_dependencies should be atomic.
Reviewed-by: thartmann, kvn
2023-02-09 18:39:45 +00:00
Chris Plummer
f4b72df428 8282379: [LOOM] vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod011 sometimes fails
Reviewed-by: dholmes, sspitsyn
2023-02-09 18:25:04 +00:00
Matthew Donovan
7fd440d97c 8298868: Update EngineCloseOnAlert.java for changes to TLS implementation
Reviewed-by: rhalade
2023-02-09 18:21:38 +00:00
Sean Mullan
7901f459dc 8301260: Add system property to toggle XML Signature secure validation mode
Reviewed-by: weijun, coffeys
2023-02-09 18:18:21 +00:00
SWinxy
597a9a4852 8301822: BasicLookAndFeel does not need to check for null after checking for type
Reviewed-by: serb
2023-02-09 17:46:35 +00:00
Aggelos Biboudis
3b05a94c36 8301858: Verification error when compiling switch with record patterns
Reviewed-by: vromero
2023-02-09 16:03:34 +00:00
Darragh Clarke
e4d1cff659 8300268: ServerImpl allows too many idle connections when using sun.net.httpserver.maxIdleConnections
Reviewed-by: dfuchs, vtewari, michaelm, jpai
2023-02-09 12:27:57 +00:00
Jesper Wilhelmsson
af8973dc50 Merge 2023-02-09 11:59:08 +00:00
Thomas Schatzl
2caa56a66b 8301843: Remove dummy region allocation
Reviewed-by: ayang, lkorinth, ysr
2023-02-09 10:48:14 +00:00
Albert Mingkun Yang
d401982087 8302121: Parallel: Remove unused arg in PSCardTable::inline_write_ref_field_gc
Reviewed-by: tschatzl
2023-02-09 10:37:48 +00:00
Varada M
916374d766 8302067: [AIX] AIX build error on os_aix_ppc.cpp
Reviewed-by: dholmes
2023-02-09 09:47:34 +00:00
Varada M
a4039e30e8 8302043: [AIX] Safefetch fails for bad_addressN and bad_address32
Reviewed-by: stuefe, dholmes
2023-02-09 09:36:40 +00:00
Kevin Walls
04f30185e9 8299739: HashedPasswordFileTest.java and ExceptionTest.java can fail with java.lang.NullPointerException
Reviewed-by: sspitsyn, amenkov, cjplummer
2023-02-09 09:30:44 +00:00
Thomas Schatzl
83e2db6ba3 8301116: Parallelize TLAB resizing in G1
Reviewed-by: ayang, iwalulya
2023-02-09 09:17:06 +00:00
Yasumasa Suenaga
c72f951529 8301853: C4819 warnings were reported in HotSpot on Windows
Reviewed-by: dholmes, ihse
2023-02-09 06:50:00 +00:00
Chihiro Ito
36478ee13f 8288783: Error messages are confusing when options conflict in -XX:StartFlightRecording
Reviewed-by: egahlin
2023-02-09 03:44:01 +00:00
Julian Waters
70f3150166 8301443: Clean broken comments from Windows code
Reviewed-by: aivanov
2023-02-09 03:19:42 +00:00
Harshitha Onkar
5561c397c5 8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, kizune
2023-02-09 00:44:58 +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
Ioi Lam
dc6d52cea5 8301876: Crash in DumpTimeClassInfo::add_verification_constraint
Reviewed-by: ccheung, matsaave
2023-02-09 00:30:07 +00:00
Alexander Zuev
e81f20b504 8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results in NPE
Reviewed-by: dnguyen, honkar, prr
2023-02-08 23:55:58 +00:00
Roger Riggs
6f460e4885 8301863: ObjectInputFilter example incorrectly calls rejectUndecidedClass
Reviewed-by: lancea
2023-02-08 22:09:22 +00:00
Jonathan Gibbons
873558ee80 8300914: Allow @ as an escape in documentation comments
Reviewed-by: prappo
2023-02-08 21:57:22 +00:00
Erik Joelsson
8a9e383dba 8301717: Remove obsolete jib profiles
Reviewed-by: dholmes, ihse
2023-02-08 21:52:30 +00:00
Sergey Bylokhov
631a2790e5 8301567: The test/jdk/java/awt/AppContext/ApplicationThreadsStop/java.policy is unused
Reviewed-by: aivanov
2023-02-08 19:55:12 +00:00
Brian Burkhalter
638d612c6b 8298478: (fs) Path.of should allow input to include long path prefix
Reviewed-by: alanb
2023-02-08 19:20:39 +00:00
Mandy Chung
10dd98d0dd 8301462: Convert Permission files to use lambda after JDK-8076596
Reviewed-by: jpai, dfuchs, mullan
2023-02-08 19:06:41 +00:00
Albert Mingkun Yang
8d4c76ddce 8302072: Parallel: Remove unimplemented ParCompactionManager::stack_push
Reviewed-by: tschatzl
2023-02-08 17:20:58 +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
Andrey Turbanov
9af2ea203d 8301828: Avoid unnecessary array fill after creation in javax.swing.text
Reviewed-by: prr, serb
2023-02-08 14:29:21 +00:00
Albert Mingkun Yang
3db352d003 8302047: G1: Remove unused G1RegionToSpaceMapper::_region_granularity
Reviewed-by: tschatzl
2023-02-08 13:23:37 +00:00
Markus Grönlund
c92a7deba5 8301380: jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java
Reviewed-by: dholmes, egahlin
2023-02-08 10:26:40 +00:00
Julian Waters
0f08785c01 8301756: Missed constructor from 8301659
Reviewed-by: aivanov
2023-02-08 09:10:21 +00:00
Albert Mingkun Yang
4de2d3c3b6 8301862: G1: Remove G1PageBasedVirtualSpace::_executable
Reviewed-by: tschatzl, lkorinth
2023-02-08 08:12:01 +00:00
Daniel Jeliński
e628fd5c39 8301214: Adjust handshakeTimeout value in test HandshakeTimeout.java after 8189338
Reviewed-by: msheppar, vtewari
2023-02-08 08:01:43 +00:00
Emanuel Peter
ac7119f0d5 8280126: C2: detect and remove dead irreducible loops
Reviewed-by: kvn, chagedorn, thartmann
2023-02-08 07:45:09 +00:00
Alisen Chung
2a579ab839 8292588: [macos] Multiscreen/MultiScreenLocationTest/MultiScreenLocationTest.java: Robot.mouseMove test failed on Screen #0
Reviewed-by: dnguyen, jdv
2023-02-07 20:28:52 +00:00
Calvin Cheung
53f72edcf6 8286510: Tests under dynamicArchive/methodHandles should check for loading of lambda proxy classes
Reviewed-by: iklam
2023-02-07 18:48:57 +00:00
Jonathan Gibbons
74485a3f23 8301810: Bug in doctree DocCommentTester.compress
Reviewed-by: prappo
2023-02-07 18:48:02 +00:00
Justin King
27126157d9 8298445: Add LeakSanitizer support in HotSpot
Reviewed-by: erikj, ihse
2023-02-07 17:41:25 +00:00
Mark Powers
2e2e71e1fa 8300416: java.security.MessageDigestSpi clone can result in thread-unsafe clones
Reviewed-by: mullan
2023-02-07 17:40:22 +00:00
Vicente Romero
a73d012c72 8295019: Cannot call a method with a parameter of a local class declared in a lambda
Reviewed-by: mcimadamore
2023-02-07 16:23:52 +00:00
Afshin Zafari
4fe99da74f 8151413: os::allocation_granularity/page_size and friends return signed values
Reviewed-by: stefank, ccheung, ysr
2023-02-07 14:08:01 +00:00
Darragh Clarke
09b8a19597 8300177: URISyntaxException fields can be final
Reviewed-by: dfuchs, alanb, jpai
2023-02-07 12:34:29 +00:00
Kevin Walls
c61a38212e 8296646: com/sun/jdi/JdbLastErrorTest.java test failure
Reviewed-by: dholmes, sspitsyn, cjplummer
2023-02-07 10:14:37 +00:00
Erik Österlund
f5f38a82cc 8301371: Interpreter store barriers on x86_64 don't have disjoint temp registers
Reviewed-by: kvn, tschatzl
2023-02-07 09:33:40 +00:00
Stefan Johansson
77dbcd8569 8301641: NativeMemoryUsageTotal event uses reserved value for committed field
Reviewed-by: eosterlund, stefank
2023-02-07 09:29:59 +00:00
sunguoyun
1aaf394b33 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp
Reviewed-by: alanb
2023-02-07 09:17:23 +00:00
Amit Kumar
9dad874ff9 8298413: [s390] CPUInfoTest fails due to uppercase feature string
Reviewed-by: mdoerr, lucy
2023-02-07 08:38:07 +00:00
Chang Peng
98433a2f6e 8296999: AArch64: scalar intrinsics for reverse method in Integer and Long
Reviewed-by: eliu, ngasson
2023-02-07 08:00:48 +00:00
Gui Cao
c04a982eb4 8301818: RISC-V: Factor out function mvw from MacroAssembler
Reviewed-by: luhenry, fyang, fjiang
2023-02-07 04:48:57 +00:00
Harshitha Onkar
787e16bb44 8289077: Add manual tests to open
Reviewed-by: azvegint
2023-02-06 23:43:18 +00:00
Archie L. Cobbs
07fb4f9a0b 7167356: (javac) investigate failing tests in JavacParserTest
Reviewed-by: vromero
2023-02-06 20:28:08 +00:00
William Kemper
3ac2beddba 8299324: inline_native_setCurrentThread lacks GC barrier for Shenandoah
Reviewed-by: rkennke, phh
2023-02-06 19:53:20 +00:00
Jonathan Gibbons
d53ade12a8 8301813: Bad caret position in error message
Reviewed-by: iris
2023-02-06 18:41:04 +00:00
Archie L. Cobbs
8c01b6e66b 8221580: Confusing diagnostic for assigning a static final field in a constructor
Reviewed-by: vromero
2023-02-06 18:22:22 +00:00
Eirik Bjorsnos
c129ce4660 8300259: Add test coverage for processing of pending block files in signed JARs
Reviewed-by: weijun
2023-02-06 17:15:26 +00:00
Weijun Wang
b56974209b 8301788: AlgorithmId should keep lowercase characters from 3rd party providers
Reviewed-by: mullan
2023-02-06 17:10:46 +00:00
Eirik Bjorsnos
05ea083b05 8301167: Update VerifySignedJar to actually exercise and test verification
Reviewed-by: weijun
2023-02-06 15:43:53 +00:00
Viktor Klang
ecf8842cd2 8300098: java/util/concurrent/ConcurrentHashMap/ConcurrentAssociateTest.java fails with internal timeout when executed with TieredCompilation1/3
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: jpai, alanb
2023-02-06 15:26:32 +00:00
Amit Kumar
7ae447f4eb 8301095: [s390x] TestDwarf.java fails
Reviewed-by: lucy, tsteele
2023-02-06 14:22:00 +00:00
Sidraya
9c80b8ad99 8299683: [S390X] Problems with -XX:+VerifyStack
Reviewed-by: mdoerr, lucy
2023-02-06 13:48:26 +00:00
Albert Mingkun Yang
8e9b72670b 8301599: Serial: Refactor nested closures in DefNewGeneration
Reviewed-by: tschatzl, iwalulya
2023-02-06 13:11:32 +00:00
Xiaolin Zheng
773050647e 8299162: Refactor shared trampoline emission logic
Reviewed-by: fyang, adinn, luhenry
2023-02-06 12:38:36 +00:00
Jan Lahoda
522fa13274 8301580: Error recovery does not clear returnResult
Reviewed-by: vromero
2023-02-06 12:25:06 +00:00
Aggelos Biboudis
7ac2079ba7 8301025: ClassCastException in switch with generic record
Reviewed-by: jlahoda
2023-02-06 12:24:21 +00:00
Albert Mingkun Yang
371a0c4f88 8301465: Remove unnecessary nmethod arming in Full GC of Serial/Parallel
Reviewed-by: tschatzl, iwalulya
2023-02-06 11:36:29 +00:00
Johan Sjölen
716f1df609 8301478: Replace NULL with nullptr in os/bsd
Reviewed-by: coleenp, stuefe
2023-02-06 09:21:19 +00:00
Prasanta Sadhukhan
ab528ce3cd 4934362: see also refers to self
Reviewed-by: prr, serb, aivanov
2023-02-06 08:49:53 +00:00
Emanuel Peter
8f195ff236 8298952: All nodes should have type(n) == Value(n) after IGVN
Reviewed-by: kvn, thartmann, chagedorn
2023-02-06 08:45:48 +00:00
Albert Mingkun Yang
e88fd8c2a9 8301768: G1: Remove unimplemented HeapRegionRemSet::split_card
Reviewed-by: tschatzl
2023-02-06 08:38:17 +00:00
Christian Hagedorn
96c50a3486 8301752: [IR Framework] Add more IR framework examples
Reviewed-by: kvn, thartmann
2023-02-06 07:38:21 +00:00
Justin King
3646c4e944 8301171: Rename sanitizers/address.h to sanitizers/address.hpp
Reviewed-by: kbarrett
2023-02-06 07:24:09 +00:00
Yuri Nesterenko
3f3356bcbd 8301760: Fix possible leak in SpNegoContext dispose
Reviewed-by: weijun
2023-02-06 07:08:35 +00:00
Xiaolin Zheng
b4cb6c8e8b 8301743: RISC-V: Add InlineSkippedInstructionsCounter to post-call nops
Reviewed-by: fyang, luhenry
2023-02-06 03:04:52 +00:00
Dingli Zhang
4dd6e8f9dc 8301740: RISC-V: Address::uses() should check address mode
Reviewed-by: luhenry, fjiang, fyang
2023-02-06 02:41:16 +00:00
Gui Cao
8507db1567 8301628: RISC-V: c2 fix pipeline class for several instructions
Reviewed-by: fjiang, fyang, luhenry
2023-02-06 02:28:53 +00:00
Andrey Turbanov
d67bfe21a2 8301342: Prefer ArrayList to LinkedList in LayoutComparator
Reviewed-by: prr, serb
2023-02-05 08:45:23 +00:00
Joe Darcy
34493248c0 8301396: Port fdlibm expm1 to Java
Reviewed-by: bpb
2023-02-04 00:48:26 +00:00
Chris Plummer
3be5317b59 8301798: [BACKOUT] jdb ThreadStartRequest and ThreadDeathRequest should use SUSPEND_NONE instead of SUSPEND_ALL
Reviewed-by: dcubed, dholmes
2023-02-03 22:22:55 +00:00
Matthew Donovan
e7247b10cc 8298872: Update CheckStatus.java for changes to TLS implementation
Reviewed-by: rhalade
2023-02-03 19:55:54 +00:00
Bill Huang
20579e48cf 8299994: java/security/Policy/Root/Root.java fails when home directory is read-only
Reviewed-by: rhalade
2023-02-03 19:19:14 +00:00
Phil Race
5962226cc3 8300891: Deprecate for removal javax.swing.plaf.synth.SynthLookAndFeel.load(URL url)
Reviewed-by: serb, aivanov, kizune, psadhukhan
2023-02-03 16:28:03 +00:00
Daniel Fuchs
8b70256d30 8301787: java/net/httpclient/SpecialHeadersTest failing after JDK-8301306
Reviewed-by: dcubed, rriggs
2023-02-03 16:01:47 +00:00
Varada M
bccd55bfdf 8300295: [AIX] TestDaemonDestroy fails due to !is_primordial_thread assertion
Reviewed-by: dholmes, stuefe
2023-02-03 15:35:26 +00:00
Albert Mingkun Yang
7435b27d68 8301744: Remove unused includes of genOopClosures.hpp
Reviewed-by: tschatzl
2023-02-03 12:26:05 +00:00
sunguoyun
6f9106e0d0 8301306: java/net/httpclient/* fail with -Xcomp
Reviewed-by: dfuchs, alanb
2023-02-03 11:56:06 +00:00
Johan Sjölen
ac9e046748 8301479: Replace NULL with nullptr in os/linux
Reviewed-by: coleenp, sgehwolf
2023-02-03 11:52:22 +00:00
Roland Westrelin
cf68d9fb8e 8299155: C2: SubTypeCheckNode::verify() should not produce dependencies / oop pool entries
Reviewed-by: thartmann, kvn
2023-02-03 07:58:29 +00:00
Matthias Baesken
11804b246e 8301050: Detect Xen Virtualization on Linux aarch64
Reviewed-by: dholmes, clanger
2023-02-03 07:54:33 +00:00
Per Minborg
b504c9411e 8300235: Use VarHandle access in Image(Input | Output)StreamImpl classes
Reviewed-by: rriggs
2023-02-03 07:24:20 +00:00
Andrey Turbanov
406021ad58 8300929: Avoid unnecessary array fill after creation in java.awt.image
Reviewed-by: attila, serb, aivanov
2023-02-03 06:51:54 +00:00
Sibabrata Sahoo
7f313b0cef 8180266: Convert sun/security/provider/KeyStore/DKSTest.sh to Java Jtreg Test
Reviewed-by: rhalade
2023-02-03 05:19:47 +00:00
Feilong Jiang
3ad6aef149 8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule
Reviewed-by: fyang, yadongwang
2023-02-03 05:03:21 +00:00
Jaikiran Pai
4c9de876bf 8301655: Problemlist jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java on Linux
Reviewed-by: lancea
2023-02-03 01:03:28 +00:00
Ioi Lam
04278e6bf2 8301564: Non-C-heap allocated ResourceHashtable keys and values must have trivial destructor
Reviewed-by: coleenp, jvernee
2023-02-02 22:31:53 +00:00
Hai-May Chao
b00b70c240 8286907: keytool should warn about weak PBE algorithms
Reviewed-by: mullan, weijun
2023-02-02 21:17:08 +00:00
Joe Darcy
ee0f5b5ed0 8301392: Port fdlibm log1p to Java
Reviewed-by: bpb
2023-02-02 20:36:34 +00:00
Raffaello Giulietti
f696785fd3 8300869: Make use of the Double.toString(double) algorithm in java.util.Formatter
Reviewed-by: darcy, naoto
2023-02-02 19:10:42 +00:00
Dr Heinz M. Kabutz
cf6b9eb8c8 8301637: ThreadLocalRandom.current().doubles().parallel() contention
Reviewed-by: alanb
2023-02-02 18:28:47 +00:00
Albert Mingkun Yang
c647ae6c32 8301149: Parallel: Refactor MutableNUMASpace::update_layout
Reviewed-by: tschatzl, lkorinth, iveresov
2023-02-02 17:41:52 +00:00
Chris Plummer
de5773325d 8301644: com/sun/jdi/JdbStopThreadTest.java fails after JDK-8300811
Reviewed-by: amenkov, kevinw
2023-02-02 16:58:48 +00:00
Jonathan Gibbons
930ec008e0 8301636: Minor cleanup in CommentHelper and DocPretty
Reviewed-by: prappo
2023-02-02 15:24:49 +00:00
Julian Waters
725d57b2e2 8301659: Resolve initialization reordering issues on Windows for libawt and libsaproc
Reviewed-by: dholmes, aivanov
2023-02-02 15:22:18 +00:00
Leonid Mesnik
2d50c7d477 8298979: Remove duplicated serviceability/jvmti/thread/GetAllThreads/allthr01/allthr01.java
Reviewed-by: sspitsyn
2023-02-02 15:10:27 +00:00
Christian Hagedorn
59b7fb1a91 8300273: [IR framework] Handle <!-- safepoint while printing --> message instead of bailing out
Reviewed-by: thartmann, kvn
2023-02-02 14:39:28 +00:00
Damon Fenacci
5b1584b92c 8298880: VectorLogicalOpIdentityTest.java IR test incorrectly use avx3 instead of avx512
Reviewed-by: chagedorn, kvn, rcastanedalo
2023-02-02 14:33:28 +00:00
Axel Boldt-Christmas
21c1afbc32 8301612: OopLoadProxy constructor should be explicit
Reviewed-by: stefank, jsjolen
2023-02-02 14:04:22 +00:00
Aleksei Efimov
03b23a1e1b 8301367: Add exception handler method to the BaseLdapServer
Reviewed-by: jpai, vtewari, dfuchs
2023-02-02 12:45:00 +00:00
Johan Sjölen
7b6ac41ab1 8286876: NMT.test_unaliged_block_address_vm_assert fails if using clang toolchain
Reviewed-by: stuefe, gziemski
2023-02-02 10:14:26 +00:00
Johan Sjölen
d097b5e628 8301508: Replace NULL with nullptr in os_cpu/linux_s390
Reviewed-by: kbarrett
2023-02-02 09:32:42 +00:00
Johan Sjölen
c8307e37fd 8301500: Replace NULL with nullptr in os_cpu/aix_ppc
Reviewed-by: tschatzl
2023-02-02 09:31:24 +00:00
Johan Sjölen
218223e4a3 8301501: Replace NULL with nullptr in os_cpu/bsd_aarch64
Reviewed-by: tschatzl, dholmes
2023-02-02 09:30:28 +00:00
Johan Sjölen
b81f0ff43a 8301505: Replace NULL with nullptr in os_cpu/linux_arm
Reviewed-by: kbarrett
2023-02-02 09:29:45 +00:00
Johan Sjölen
42a286a158 8301511: Replace NULL with nullptr in os_cpu/linux_zero
Reviewed-by: sgehwolf, dholmes
2023-02-02 09:29:02 +00:00
Johan Sjölen
ad79e49141 8301512: Replace NULL with nullptr in os_cpu/windows_aarch64
Reviewed-by: kbarrett
2023-02-02 09:28:19 +00:00
Johan Sjölen
8cc399b672 8301503: Replace NULL with nullptr in os_cpu/bsd_zero
Reviewed-by: kbarrett
2023-02-02 09:27:30 +00:00
Johan Sjölen
c109dae48c 8301513: Replace NULL with nullptr in os_cpu/windows_x86
Reviewed-by: kbarrett
2023-02-02 09:26:26 +00:00
Johan Sjölen
182d1b2fb7 8301507: Replace NULL with nullptr in os_cpu/linux_riscv
Reviewed-by: kbarrett
2023-02-02 09:25:21 +00:00
Johan Sjölen
5d1f71daf0 8301509: Replace NULL with nullptr in os_cpu/linux_x86
Reviewed-by: kbarrett
2023-02-02 09:24:30 +00:00
Johan Sjölen
6daff6b269 8301502: Replace NULL with nullptr in os_cpu/bsd_x86
Reviewed-by: tschatzl, dholmes
2023-02-02 09:23:48 +00:00
Johan Sjölen
13fcd602d3 8301504: Replace NULL with nullptr in os_cpu/linux_aarch64
Reviewed-by: kbarrett
2023-02-02 09:22:48 +00:00
Johan Sjölen
b1e96989b6 8301506: Replace NULL with nullptr in os_cpu/linux_ppc
Reviewed-by: kbarrett, rrich
2023-02-02 09:22:00 +00:00
Roland Westrelin
af474ce359 8297582: C2: very slow compilation due to type system verification code
Reviewed-by: kvn, vlivanov
2023-02-02 08:29:19 +00:00
Pavel Rappo
8d6e8a47c9 8301618: Compare elements and type mirrors properly
Reviewed-by: jjg
2023-02-01 23:54:22 +00:00
Jesper Wilhelmsson
d6832121b7 Merge 2023-02-01 22:36:07 +00:00
Erik Joelsson
960c393133 8301393: Include cdb in the Windows devkit
Reviewed-by: mikael
2023-02-01 21:04:41 +00:00
Weijun Wang
6c927c92f7 8301299: Wrong class spec on sun.security.util.Pem
Reviewed-by: jnimeh
2023-02-01 20:59:05 +00:00
Mandy Chung
51ac8783b9 8284236: Remove java/lang/ref/ReferenceEnqueue.java from ProblemList-Xcomp.txt
Reviewed-by: alanb
2023-02-01 20:27:20 +00:00
Chris Plummer
9952108734 8300811: jdb ThreadStartRequest and ThreadDeathRequest should use SUSPEND_NONE instead of SUSPEND_ALL
Reviewed-by: alanb, sspitsyn
2023-02-01 18:59:09 +00:00
Jonathan Gibbons
24ff3da054 8301201: Allow \n@ inside inline tags using inlineContent
Reviewed-by: hannesw
2023-02-01 18:28:42 +00:00
Matthew Donovan
3361a26df4 8298874: Update TestAllSuites.java for TLS v1.2 and 1.3
Reviewed-by: rhalade
2023-02-01 17:20:24 +00:00
ryawalla
bc750f70f2 8294527: Some java.security.debug options missing from security docs
Reviewed-by: mullan
2023-02-01 13:50:40 +00:00
Stefan Karlsson
1330d4eaa5 8298377: JfrVframeStream causes deadlocks in ZGC
Backport-of: 453dbd12ee
2023-02-01 13:19:26 +00:00
Justin King
7c6a8db328 8301447: [REDO] CodeHeap has virtual methods that are not overridden
Reviewed-by: kvn, thartmann
2023-02-01 13:11:12 +00:00
Tobias Hartmann
cae577a710 8295486: Inconsistent constant field values observed during compilation
Reviewed-by: chagedorn, kvn, jbhateja, vlivanov
2023-02-01 11:15:35 +00:00
Claes Redestad
969f6a37e4 8301093: C2 fails assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out
Reviewed-by: thartmann, kvn
2023-02-01 10:55:43 +00:00
Roland Westrelin
2a8ae2ff1c 8300256: C2: vectorization is sometimes skipped on loops where it would succeed
Reviewed-by: kvn, thartmann
2023-02-01 09:48:54 +00:00
Axel Boldt-Christmas
ef0d0a7092 8301402: os::print_location gets is_global_handle assert
Reviewed-by: coleenp, dholmes
2023-02-01 09:47:15 +00:00
Albert Mingkun Yang
4f6f3cc642 8301446: Remove unused includes of gc/shared/genOopClosures
Reviewed-by: stefank, kbarrett
2023-02-01 09:46:02 +00:00
Albert Mingkun Yang
a0aed9bd89 8301459: Serial: Merge KeepAliveClosure into FastKeepAliveClosure
Reviewed-by: stefank, tschatzl
2023-02-01 09:45:16 +00:00
Kevin Walls
225f80532c 8299891: JMX ObjectInputFilter additional classes needed
Reviewed-by: dfuchs, sspitsyn, cjplummer
2023-02-01 09:14:25 +00:00
David Holmes
d269ebbad2 8301570: Test runtime/jni/nativeStack/ needs to detach the native thread
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: lmesnik, ccheung
2023-02-01 07:56:21 +00:00
Deepa Kumari
8164cfbc03 8300696: [AIX] AttachReturnError fails
Reviewed-by: tsteele, dholmes
2023-02-01 07:04:26 +00:00
Bill Huang
09bfbf8063 8300909: Update com/sun/jndi/dns/Test6991580.java manual test instruction
Reviewed-by: alanb
2023-01-31 22:12:07 +00:00
Vicente Romero
6beadbbe9f 8293519: deprecation warnings should be emitted for uses of annotation methods inside other annotations
Reviewed-by: jlahoda
2023-01-31 18:20:11 +00:00
Coleen Phillimore
4bef233a4a 8301549: Fix comment about ClassCircularityError
Reviewed-by: lfoltan
2023-01-31 18:07:15 +00:00
Coleen Phillimore
e1bf471312 8301555: Remove constantPoolCacheKlass friend
Reviewed-by: fparain, kbarrett
2023-01-31 18:06:14 +00:00
Vicente Romero
5744c91bf5 8297158: Suspicious collection method call in Types.isSameTypeVisitor
Reviewed-by: jlahoda
2023-01-31 17:01:14 +00:00
Calvin Cheung
e193a0b72a 8295951: intermittent cmp_baseline task failures with CDS files
Reviewed-by: iklam
2023-01-31 16:51:45 +00:00
Albert Mingkun Yang
60c535de49 8301340: Make DirtyCardToOopClosure stack-allocated
Reviewed-by: stefank, tschatzl
2023-01-31 16:09:48 +00:00
Johan Sjölen
b76a52f210 8301076: Replace NULL with nullptr in share/prims/
Reviewed-by: kbarrett, dholmes
2023-01-31 14:22:44 +00:00
Johan Sjölen
90ec19efed 8301068: Replace NULL with nullptr in share/jvmci/
Reviewed-by: kvn, never
2023-01-31 12:19:42 +00:00
Robbin Ehn
419409bcf6 8301337: Remove unused os::_polling_page
Reviewed-by: coleenp, dnsimon
2023-01-31 11:41:16 +00:00
Aleksey Shipilev
d583767bf1 8301338: Identical branch conditions in CompileBroker::print_heapinfo
Reviewed-by: thartmann
2023-01-31 11:06:47 +00:00
Matthias Baesken
810c8a271b 8301170: perfMemory_windows.cpp add free_security_attr to early returns
Reviewed-by: stuefe, dholmes
2023-01-31 08:20:52 +00:00
Tobias Hartmann
33e653e284 8301448: [BACKOUT] CodeHeap has virtual methods that are not overridden
Reviewed-by: alanb, dholmes
2023-01-31 07:55:52 +00:00
Axel Boldt-Christmas
cdb4ba9657 8301326: Optimize compiler/uncommontrap/TestDeoptOOM.java test
Reviewed-by: rcastanedalo, thartmann
2023-01-31 07:54:20 +00:00
Feilong Jiang
9cc0171ed5 8301153: RISC-V: pipeline class for several instructions is not set correctly
Reviewed-by: fyang, yadongwang
2023-01-31 07:28:33 +00:00
Feilong Jiang
633e291cfc 8301067: RISC-V: better error message when reporting unsupported satp modes
Reviewed-by: fyang, yadongwang
2023-01-31 07:15:37 +00:00
Albert Mingkun Yang
4b0e259d16 8301344: G1: Remove DirtyCardToOopClosure forward declaration in g1OopClosures.hpp
Reviewed-by: tschatzl
2023-01-31 07:10:13 +00:00
Tobias Hartmann
7b3919d3f5 8301346: Remove dead emit_entry_barrier_stub definition
Reviewed-by: chagedorn, kvn
2023-01-31 06:46:47 +00:00
Justin King
a6867a7ec2 8301378: CodeHeap has virtual methods that are not overridden
Reviewed-by: kvn, thartmann
2023-01-31 06:34:45 +00:00
Fei Yang
aa3492442b 8300463: Build failure on Windows 32 after JDK-8296401
Reviewed-by: kbarrett
2023-01-31 00:10:42 +00:00
Christian Wimmer
622b6594d1 8262994: Refactor String.split to help method inlining
Reviewed-by: plevart
2023-01-30 23:33:11 +00:00
Mandy Chung
2d7690b2e5 8301207: (jdeps) Deprecate jdeps -profile option
Reviewed-by: alanb
2023-01-30 22:39:55 +00:00
Jesper Wilhelmsson
561a25e025 Merge 2023-01-30 20:51:54 +00:00
Joe Darcy
63bb2ce8de 8301205: Port fdlibm log10 to Java
Reviewed-by: bpb
2023-01-30 20:33:01 +00:00
Erik Joelsson
b84f4c40fd 8301267: Update of config.guess broke build on WSL
Reviewed-by: tbell, jvernee, djelinski
2023-01-30 20:18:59 +00:00
Chris Plummer
a128a5d07c 8300810: Get rid of unused JDI removeListener() methods
Reviewed-by: kevinw, amenkov
2023-01-30 19:08:08 +00:00
Leonid Mesnik
a91143cc93 8298907: nsk JDI tests pass if the debuggee failed to launch
Reviewed-by: cjplummer, kevinw
2023-01-30 17:32:45 +00:00
Naoto Sato
323813985b 8300916: Re-examine the initialization of JNU Charset in StaticProperty
Reviewed-by: mchung, alanb
2023-01-30 17:06:44 +00:00
Afshin Zafari
f4592b1471 8267935: Replace BasicHashtable and Hashtable
Reviewed-by: coleenp, rehn, tschatzl
2023-01-30 16:23:39 +00:00
Daniel Fuchs
a74ebd048a 8299325: java/net/httpclient/CancelRequestTest.java fails "test CancelRequestTest.testGetSendAsync("https://localhost:46509/https1/x/same/interrupt", true, true)"
Reviewed-by: jpai
2023-01-30 14:41:59 +00:00
Daniel Fuchs
041a12e655 8301255: Http2Connection may send too many GOAWAY frames
Reviewed-by: jpai
2023-01-30 14:36:36 +00:00
Amit Kumar
476f58adc1 8298424: Remove redundant FOUND_CORES variable in build-performance.m4
Reviewed-by: erikj, tsteele
2023-01-30 14:33:28 +00:00
Fei Yang
ebb84ad70d 8301036: RISC-V: Factor out functions baseOffset & baseOffset32 from MacroAssembler
Reviewed-by: luhenry, fjiang, shade
2023-01-30 12:24:19 +00:00
Fei Yang
61a5f114ee 8301033: RISC-V: Handle special cases for MinI/MaxI nodes for Zbb
Reviewed-by: fjiang, luhenry, shade
2023-01-30 12:15:52 +00:00
Albert Mingkun Yang
82df4a2aee 8301148: Serial: Remove ContiguousSpace::reset_saved_mark
Reviewed-by: kbarrett, tschatzl
2023-01-30 11:49:26 +00:00
Erik Österlund
c672ed16f3 8301248: Less side effects in InstanceRefKlass::trace_reference_gc
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: rkennke, stefank
2023-01-30 10:29:47 +00:00
Erik Österlund
cee4bd3ee6 8301047: Clean up type unsafe uses of oop from compiler code
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: kvn, stefank
2023-01-30 10:28:40 +00:00
Erik Österlund
7fae3a1d8d 8301229: Clean up SuspendibleThreadSet::_suspend_all
Reviewed-by: stefank, kbarrett, tschatzl
2023-01-30 10:27:40 +00:00
Albert Mingkun Yang
f50cda7d45 8301217: Remove FilteringClosure
Reviewed-by: iwalulya, tschatzl
2023-01-30 10:17:46 +00:00
Koichi Sakata
08b24ac7aa 8294066: IGV: Graph changes when deleting a graph in the same group with smaller index
Reviewed-by: rcastanedalo, tholenstein
2023-01-30 09:50:09 +00:00
Richard Reingruber
3db558b67b 8300915: G1: incomplete SATB because nmethod entry barriers don't get armed
Reviewed-by: tschatzl, eosterlund
2023-01-30 08:43:15 +00:00
Matthias Baesken
cbefe1fd35 8301163: jdk/internal/vm/Continuation/Fuzz.java increase COMPILATION_TIMEOUT for Linux ppc64le
Reviewed-by: rrich
2023-01-30 08:15:10 +00:00
Prasanta Sadhukhan
c2ebd17938 6187113: DefaultListSelectionModel.removeIndexInterval(0, Integer.MAX_VALUE) fails
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov
2023-01-30 07:35:14 +00:00
Axel Boldt-Christmas
4bd3f0a0d5 8301088: oopDesc::print_on should consistently use a trailing newline
Reviewed-by: tschatzl, coleenp
2023-01-30 07:14:25 +00:00
David Holmes
64b25ea0b4 8291569: Consider removing JNI checks for signals SIGPIPE and SIGXFSZ
Reviewed-by: stuefe, rehn
2023-01-29 23:14:39 +00:00
Ioi Lam
1ff4646ed5 8298612: Refactor archiving of java String objects
Reviewed-by: ccheung
2023-01-29 21:59:48 +00:00
Sergey Bylokhov
d4e9f5e5f2 8238170: BeanContextSupport remove and propertyChange can deadlock
Reviewed-by: phh
2023-01-29 20:04:37 +00:00
Jatin Bhateja
6475501a01 8300208: Optimize Adler32 stub for AVX-512 targets.
Reviewed-by: kvn, sviswanathan
2023-01-29 01:55:46 +00:00
Yadong Wang
af564e46b0 8299844: RISC-V: Implement _onSpinWait intrinsic
Reviewed-by: fjiang, fyang, luhenry
2023-01-28 02:17:44 +00:00
Damon Nguyen
ef6200c727 8300269: The selected item in an editable JComboBox with titled border is not visible in Aqua LAF
Co-authored-by: Manukumar V S <mvs@openjdk.org>
Reviewed-by: psadhukhan, kizune, achung, prr
2023-01-27 23:09:14 +00:00
Eirik Bjorsnos
5dfc4ec7d9 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories
Reviewed-by: weijun
2023-01-27 22:47:51 +00:00
Jesper Wilhelmsson
5c59de52a3 Merge 2023-01-27 22:46:31 +00:00
Tagir F. Valeev
ae0e76d3dd 8301120: Cleanup utility classes java.util.Arrays and java.util.Collections
Reviewed-by: smarks, darcy
2023-01-27 19:23:53 +00:00
Justin King
b8e5abc1e8 8301097: Update GHA XCode to 12.5.1
Reviewed-by: ihse
2023-01-27 19:09:53 +00:00
Xue-Lei Andrew Fan
9c4bc2c395 8301132: Test update for deprecated sprintf in Xcode 14
Reviewed-by: mikael
2023-01-27 19:01:01 +00:00
Mandy Chung
7f05d57a87 8217920: Lookup.defineClass injects a class that can access private members of any class in its own module
Reviewed-by: psandoz, alanb, darcy
2023-01-27 18:31:03 +00:00
Justin Lu
22c976a9b0 8177418: NPE is not apparent for methods in java.util.TimeZone API docs
Reviewed-by: lancea, naoto
2023-01-27 18:11:20 +00:00
Damon Nguyen
e5860ef60a 8301206: Fix issue with LocaleData after JDK-8300719
Reviewed-by: naoto
2023-01-27 17:22:05 +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
Johan Sjölen
49ff52087b 8300241: Replace NULL with nullptr in share/classfile/
Reviewed-by: coleenp, iklam
2023-01-27 16:15:29 +00:00
Johan Sjölen
f52d35c84b 8300240: Replace NULL with nullptr in share/ci/
Reviewed-by: kvn, coleenp
2023-01-27 15:43:34 +00:00
Johan Sjölen
5c1ec82656 8301077: Replace NULL with nullptr in share/services/
Reviewed-by: cjplummer, coleenp
2023-01-27 15:42:46 +00:00
Deepa Kumari
dff41316a2 8285850: [AIX] unreachable code in basic_tools.m4 -> BASIC_CHECK_TAR
Reviewed-by: erikj, tsteele
2023-01-27 15:28:13 +00:00
Adam Sotona
b22e5216c4 8300953: ClassDesc::ofInternalName missing @since tag
Reviewed-by: darcy, mchung, jjg
2023-01-27 15:09:53 +00:00
Justin King
e2a3b20ca8 8301187: Memory leaks in OopMapCache
Reviewed-by: fparain, coleenp
2023-01-27 14:58:22 +00:00
Coleen Phillimore
fccf818972 8301123: Enable Symbol refcounting underflow checks in PRODUCT
Reviewed-by: fparain, iklam
2023-01-27 14:56:29 +00:00
Damon Fenacci
e4252bb914 8300823: UB: Compile::_phase_optimize_finished is initialized too late
Reviewed-by: thartmann, chagedorn
2023-01-27 12:14:07 +00:00
Tejesh R
db8fa1be05 8300405: Screen capture for test JFileChooserSetLocationTest.java, failure case
Reviewed-by: serb
2023-01-27 11:05:12 +00:00
Johan Sjölen
3758487fda 8301180: Replace NULL with nullptr in share/gc/parallel/
Reviewed-by: stefank, ayang
2023-01-27 11:01:07 +00:00
Darragh Clarke
d7aa87fdbd 8300176: URLEncoder/URLDecoder static fields should be private static final
Reviewed-by: redestad, michaelm, stsypanov, dfuchs, jpai
2023-01-27 10:52:06 +00:00
Johan Sjölen
107e184d59 8301179: Replace NULL with nullptr in share/gc/serial/
Reviewed-by: tschatzl, kbarrett
2023-01-27 09:36:23 +00:00
Johan Sjölen
b77abc6a0d 8301178: Replace NULL with nullptr in share/gc/epsilon/
Reviewed-by: tschatzl, kbarrett
2023-01-27 09:35:42 +00:00
Albert Mingkun Yang
f7da09c349 8301164: Remove unused ResourceStack class
Reviewed-by: coleenp
2023-01-27 08:12:06 +00:00
Erik Österlund
6e4710bc83 8300253: Introduce AArch64 nzcv accessors
Reviewed-by: aph, smonteith
2023-01-27 08:08:59 +00:00
Julian Waters
c6b3f2dd10 8301129: Link to debuginfo files should only be made after stripping
Reviewed-by: erikj, ihse
2023-01-27 07:07:22 +00:00
Koichi Sakata
938b409608 8301133: IGV: NPE occurs when creating a diff graph with a graph in a different folder
Reviewed-by: rcastanedalo, chagedorn
2023-01-27 06:17:14 +00:00
Amit Kumar
0eb1f66fd8 8298038: [s390] Configure script detects num_cores +1
Reviewed-by: tsteele, erikj
2023-01-27 05:41:05 +00:00
Glavo
c3ff151457 8301190: [vectorapi] The typeChar of LaneType is incorrect when default locale is tr
Reviewed-by: psandoz
2023-01-27 01:17:02 +00:00
Damon Nguyen
a67b1e77d3 8300719: JDK 20 RDP2 L10n resource files update
Reviewed-by: cjplummer, naoto, prr, joehw, asemenyuk, jlu, lancea, ihse, jjg, weijun
2023-01-26 22:33:04 +00:00
Valerie Peng
7eff578768 8288050: Add support of SHA-512/224 and SHA-512/256 to the PBKDF2 and PBES2 impls in SunJCE provider
Reviewed-by: weijun
2023-01-26 22:07:31 +00:00
Matthew Donovan
d6007a356f 8298869: Update ConnectionTest.java for changes to TLS implementation
Reviewed-by: rhalade
2023-01-26 21:36:36 +00:00
Brian Burkhalter
c4278144be 8299982: (bf) Buffer.checkIndex(int, int) should use Preconditions.checkIndex(int, int, BiFunction)
Reviewed-by: uschindler, vtewari, rriggs, alanb
2023-01-26 20:09:01 +00:00
Matthew Donovan
7ddafd75b0 8301189: validate-source fails after JDK-8298873
Reviewed-by: dcubed, rhalade
2023-01-26 19:36:41 +00:00
Matthew Donovan
fc26d3e577 8298873: Update IllegalRecordVersion.java for changes to TLS implementation
Reviewed-by: rhalade
2023-01-26 18:36:29 +00:00
Viktor Klang
a2a7703370 8299444: java.util.Set.copyOf allocates needlessly for empty input collections
Reviewed-by: rriggs, shade, smarks
2023-01-26 18:15:56 +00:00
Johan Sjölen
d98a323a8b 8301070: Replace NULL with nullptr in share/memory/
Reviewed-by: stefank, stuefe
2023-01-26 16:30:31 +00:00
Thomas Schatzl
315398c245 8221785: Let possibly_parallel_threads_do cover the same threads as threads_do
Reviewed-by: iwalulya, coleenp
2023-01-26 15:39:22 +00:00
Erik Österlund
14114c2515 8301005: Clean up Copy::conjoint_*_atomic on windows
Reviewed-by: aboldtch, stefank, tschatzl
2023-01-26 15:11:03 +00:00
Erik Österlund
973f741993 8300968: Accessorize raw oop load in DeadCounterClosure
Reviewed-by: tschatzl, stefank
2023-01-26 15:10:08 +00:00
Severin Gehwolf
64ddf9536f 8299858: [Metrics] Swap memory limit reported incorrectly when too large
Reviewed-by: stuefe
2023-01-26 14:50:46 +00:00
Erik Österlund
28545dcf2b 8300247: Harden C1 xchg on AArch64 and PPC
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: aph, rcastanedalo
2023-01-26 14:35:25 +00:00
Coleen Phillimore
3f6338146e 8300913: ZGC: assert(to_addr != 0) failed: Should be forwarded
Reviewed-by: eosterlund, rehn
2023-01-26 13:04:19 +00:00
Albert Mingkun Yang
da80e7a489 8300962: Parallel: Remove PSParallelCompact::_total_invocations
Reviewed-by: tschatzl, iwalulya
2023-01-26 11:41:07 +00:00
Albert Mingkun Yang
7725fe845b 8299953: Merge ContiguousSpaceDCTOC into DirtyCardToOopClosure
Reviewed-by: tschatzl, iwalulya
2023-01-26 11:40:16 +00:00
Albert Mingkun Yang
a9b8acb643 8300652: Parallel: Refactor oop marking stack in Full GC
Reviewed-by: tschatzl, iwalulya
2023-01-26 11:39:34 +00:00
Roman Marchenko
15a1488401 8297437: javadoc cannot link to old docs (with old style anchors)
Reviewed-by: hannesw
2023-01-26 11:11:21 +00:00
Johan Sjölen
b0376a5f44 8301069: Replace NULL with nullptr in share/libadt/
Reviewed-by: kvn
2023-01-26 10:49:06 +00:00
Albert Mingkun Yang
7328182b68 8300958: Parallel: Remove unused MutableNUMASpace::capacity_in_words
Reviewed-by: tschatzl
2023-01-26 10:44:01 +00:00
Leo Korinth
30cb305dc1 8292170: Convert CodeRootSetTable to use ResourceHashtable
Reviewed-by: coleenp, iwalulya, iklam
2023-01-26 10:32:36 +00:00
Albert Mingkun Yang
3589b80838 8300127: Serial: Remove unnecessary from-space iteration in DefNewGeneration::oop_since_save_marks_iterate
Reviewed-by: tschatzl, ysr
2023-01-26 10:13:51 +00:00
Conor Cleary
48152ef66f 8287134: HttpURLConnection chunked streaming mode doesn't enforce specified size
Reviewed-by: dfuchs, michaelm
2023-01-26 08:35:07 +00:00
Damon Fenacci
4b0e656bb6 8298118: split-if optimization causes empty loop to temporarily have more than one phi
Reviewed-by: roland, thartmann, kvn
2023-01-26 07:41:15 +00:00
Tobias Hartmann
252621d4e0 8301063: Remove dead code from GrowableArray
Reviewed-by: chagedorn, kvn
2023-01-26 06:30:37 +00:00
Joe Darcy
b5a4744f90 8300857: State return value for Types.asElement(NoType) explicitly
Reviewed-by: jjg
2023-01-26 02:14:07 +00:00
Scott Gibbons
7e951f4b4c 8301092: Add benchmark for CRC32
Reviewed-by: ecaspole, sviswanathan
2023-01-26 00:20:41 +00:00
Ioi Lam
adcfd25735 8301098: Remove dead code FileMapInfo::stop_sharing_and_unmap()
Reviewed-by: coleenp, ccheung
2023-01-25 20:04:50 +00:00
ScientificWare
9f0887e205 8296661: Typo Found In CSSParser.java
Reviewed-by: angorya, aivanov, prr
2023-01-25 19:20:39 +00:00
Mikael Vidstedt
ccf2f5837b 8300806: Update googletest to v1.13.0
Reviewed-by: erikj, ihse
2023-01-25 18:27:26 +00:00
Justin King
edf1e1ab4a 8300592: ASan build does not correctly propagate options to some test launchers
Reviewed-by: ihse
2023-01-25 16:18:29 +00:00
Xue-Lei Andrew Fan
e80b5ea448 8299635: Hotspot update for deprecated sprintf in Xcode 14
Reviewed-by: dholmes, mikael
2023-01-25 15:42:53 +00:00
Erik Joelsson
f279c751a5 8300805: Update autoconf build-aux files with latest from 2022-09-17
Reviewed-by: mikael, clanger
2023-01-25 14:14:56 +00:00
Per Minborg
a23ff63af1 8301086: jdk/internal/util/ByteArray/ReadWriteValues.java fails with CompilationError
Reviewed-by: dfuchs
2023-01-25 14:13:22 +00:00
Eirik Bjorsnos
61775c85b0 8300997: Add curl support to createJMHBundle.sh
Reviewed-by: erikj
2023-01-25 14:01:03 +00:00
Jaikiran Pai
8a47429dc0 8295944: Move the Http2TestServer and related classes into a package of its own
Reviewed-by: dfuchs
2023-01-25 13:38:02 +00:00
Daniel Fuchs
c8ad600064 8301004: httpclient: Add more debug to HttpResponseInputStream
Reviewed-by: jpai
2023-01-25 13:33:22 +00:00
Per Minborg
74e1a8bfa8 8300236: Use VarHandle access in Data(Input | Output)Stream classes
Reviewed-by: rriggs, alanb
2023-01-25 12:54:27 +00:00
Johan Sjölen
a5d8e12872 8300244: Replace NULL with nullptr in share/interpreter/
Reviewed-by: coleenp, dholmes
2023-01-25 10:31:51 +00:00
Johan Sjölen
71107f4648 8300651: Replace NULL with nullptr in share/runtime/
Reviewed-by: rehn, dholmes
2023-01-25 10:30:02 +00:00
Severin Gehwolf
3c61d5aa48 8300659: Refactor TestMemoryAwareness to use WhiteBox api for host values
Reviewed-by: mbaesken
2023-01-25 10:24:33 +00:00
Erik Österlund
b2071f79d8 8300657: Remove null filtering in CLD oop handle area
Reviewed-by: coleenp, dholmes
2023-01-25 08:17:56 +00:00
Erik Österlund
95fafd094f 8300644: Remove gc/shenandoah/jni/TestStringCriticalWithDedup.java
Reviewed-by: wkemper, mbaesken
2023-01-25 08:15:35 +00:00
Christian Hagedorn
5a478ef775 8297730: C2: Arraycopy intrinsic throws incorrect exception
Reviewed-by: thartmann, kvn
2023-01-25 07:22:12 +00:00
Prasanta Sadhukhan
7465de453a 6603771: Nimbus L&F: Ctrl+F7 keybinding for Jinternal Frame throws a NPE.
Reviewed-by: abhiscxk, serb
2023-01-25 05:48:07 +00:00
David Holmes
fbe5ab0066 8300830: Remove redundant assertion in src/hotspot/share/runtime/javaCalls.cpp
Reviewed-by: iklam, rehn, dcubed
2023-01-25 01:05:25 +00:00
Jie Fu
133946159c 8300981: Build failure on 32-bit platforms after JDK-8281213
Reviewed-by: coleenp
2023-01-24 23:44:35 +00:00
Jesper Wilhelmsson
81d523d382 Merge 2023-01-24 22:28:07 +00:00
Eirik Bjorsnos
cf46004f27 8300272: Improve readability of the test JarWithOneNonDisabledDigestAlg
Reviewed-by: weijun
2023-01-24 22:16:28 +00:00
Brian Burkhalter
b678e70003 8300942: JDK-8299684 breaks x86 build
Reviewed-by: dholmes, jiefu
2023-01-24 20:32:46 +00:00
Thomas Schatzl
3be5758bb4 8300769: Remove G1CollectionSet::_inc_bytes_used_before
Reviewed-by: ayang, iwalulya
2023-01-24 17:33:35 +00:00
Thomas Schatzl
859ca75b4c 8300862: Remove some G1 collection set remembered set debugging code
Reviewed-by: ayang, iwalulya
2023-01-24 17:15:53 +00:00
Adam Sotona
60b8a98501 8300591: @SuppressWarnings option "lossy-conversions" missing from jdk.compiler module javadoc
Backport-of: 836198a400
2023-01-24 13:15:02 +00:00
Justin King
048705c049 8300910: Remove metaprogramming/integralConstant.hpp
Reviewed-by: kbarrett, tschatzl
2023-01-24 11:39:18 +00:00
Matthias Baesken
544c16e0bd 8300266: Detect Virtualization on Linux aarch64
Reviewed-by: stuefe, lucy
2023-01-24 08:05:03 +00:00
Per Minborg
57f2d48e1e 8300863: Remove C-style array declarations in java.io
Reviewed-by: alanb, rriggs, darcy, iris
2023-01-24 07:43:29 +00:00
Jan Lahoda
a3ed7e94a2 8300623: Lambda deserialization regression involving Enum method reference
Reviewed-by: mcimadamore, vromero
2023-01-24 06:40:06 +00:00
Thomas Stuefe
2292ce137c 8294677: chunklevel::MAX_CHUNK_WORD_SIZE too small for some applications
Reviewed-by: simonis, phh
2023-01-24 06:35:26 +00:00
David Holmes
6dd8723f66 8290918: Initial nroff manpage generation for JDK 21
Reviewed-by: lancea, iris, darcy
2023-01-24 06:27:54 +00:00
Justin Lu
b3822f50c8 8300589: Use @snippet and @linkplain in java.text.CollationKey and java.text.CompactNumberFormat
Reviewed-by: lancea, naoto, iris
2023-01-24 04:35:46 +00:00
Ioi Lam
afd5921f1c 8298610: Refactor archiving of ConstantPool::resolved_references()
Reviewed-by: dholmes, ccheung
2023-01-24 04:07:06 +00:00
david
937ba1cadb 8300111: Add rpath for common lib locations for jpackageapplauncher
Reviewed-by: ihse, asemenyuk, almatvee
2023-01-24 03:07:16 +00:00
Jamil Nimeh
2da2e5a0e8 8300946: Add sun/security/provider/certpath/OCSP/OCSPNoContentLength to ProblemList
Reviewed-by: jpai
2023-01-24 02:09:48 +00:00
Justin Lu
0323609f44 8300706: Use @snippet in java.text
Reviewed-by: naoto
2023-01-24 02:05:05 +00:00
Tingjun Yuan
b5ee3d1f2a 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs
Reviewed-by: serb, prr
2023-01-24 01:25:29 +00:00
David Holmes
77a50105f0 8286775: Remove identical per-compiler definitions of unsigned integral jtypes
Reviewed-by: kbarrett, coleenp
2023-01-24 00:21:29 +00:00
Andrey Turbanov
f79e587181 8300828: Avoid unnecessary array fill after creation in com.sun.media.sound
Reviewed-by: serb, prr
2023-01-23 21:05:14 +00:00
Jesper Wilhelmsson
56dc3b08a6 Merge 2023-01-23 20:58:40 +00:00
Erik Joelsson
0ea2dd1f77 8146132: Excessive output from make test-image
Reviewed-by: ihse
2023-01-23 20:51:13 +00:00
Justin Lu
dcf1523bf2 8300077: Refactor code examples to use @snippet in java.text.ChoiceFormat
Reviewed-by: lancea, iris, naoto
2023-01-23 19:31:36 +00:00
Per Minborg
d117350875 8300866: Declare some classes final in java.io
Reviewed-by: alanb
2023-01-23 19:09:39 +00:00
Jamil Nimeh
1a3cb8c501 8296343: CPVE thrown on missing content-length in OCSP response
Reviewed-by: mullan, rhalade
2023-01-23 18:05:48 +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
Per Minborg
4525aa318a 8300867: Fix document issues in java.io
Reviewed-by: alanb, lancea, iris
2023-01-23 17:53:20 +00:00
Per Minborg
a7f035db76 8300868: Reduce visibility in java.io.SerialCallbackContext
Reviewed-by: rriggs
2023-01-23 17:47:01 +00:00
Per Minborg
079255e312 8300864: Declare some fields in java.io as final
Reviewed-by: rriggs, lancea
2023-01-23 17:40:13 +00:00
Brian Burkhalter
a56598f5a5 8299684: (bf) JNI direct buffer functions with large capacity behave unexpectedly
Reviewed-by: dholmes, alanb
2023-01-23 17:12:49 +00:00
Brian Burkhalter
542bfe61e6 8300587: (bf) Some covariant overrides are missing @since tags
Reviewed-by: lancea, iris
2023-01-23 17:05:36 +00:00
Justin King
03a9a88efb 8300265: Remove metaprogramming/isSigned.hpp
Reviewed-by: kbarrett, tschatzl
2023-01-23 16:03:28 +00:00
Emanuel Peter
5a4945c0d9 8299975: Limit underflow protection CMoveINode in PhaseIdealLoop::do_unroll must also protect type from underflow
Reviewed-by: roland, chagedorn
2023-01-23 13:10:42 +00:00
Fredrik Bredberg
f307e8c667 8299795: Relativize locals in interpreter frames
Reviewed-by: coleenp, rehn, pchilanomate, mdoerr, fyang
2023-01-23 10:43:50 +00:00
Prasanta Sadhukhan
11aadc9d98 8244400: MenuItem may cache the size and did not update it when the screen DPI is changed
Reviewed-by: serb, aivanov
2023-01-23 10:18:23 +00:00
Adam Sotona
836198a400 8300591: @SuppressWarnings option "lossy-conversions" missing from jdk.compiler module javadoc
Reviewed-by: jjg, darcy
2023-01-23 08:14:51 +00:00
David Holmes
fd752178e3 8290919: Update nroff pages in JDK 20 before RC
Reviewed-by: iris, alanb
2023-01-23 07:44:32 +00:00
Tobias Hartmann
45e4e00981 8300079: SIGSEGV in LibraryCallKit::inline_string_copy due to constant NULL src argument
Reviewed-by: roland, chagedorn, kvn
2023-01-23 06:06:32 +00:00
Raffaello Giulietti
030b071db1 8300207: Add a pre-check for the number of canonical equivalent permutations in j.u.r.Pattern
Reviewed-by: smarks
2023-01-22 12:45:52 +00:00
Jatin Bhateja
7ced08d4ec 8300638: Tier1 IR Test failure after JDK-8298632 on macosx-x64-debug
Reviewed-by: kvn, pli
2023-01-22 06:47:00 +00:00
Sergey Bylokhov
3ea4eac145 8300817: The build is broken after JDK-8294693
Reviewed-by: tvaleev, darcy
2023-01-21 21:51:41 +00:00
Andrey Turbanov
cbfc069f6a 8300731: Avoid unnecessary array fill after creation in PaletteBuilder
Reviewed-by: prr, serb
2023-01-21 19:25:18 +00:00
Tagir F. Valeev
67b1c890b3 8294693: Add Collections.shuffle overload that accepts RandomGenerator interface
Reviewed-by: smarks, darcy
2023-01-21 18:36:31 +00:00
Justin King
c8dd7583a9 8300260: Remove metaprogramming/isSame.hpp
Reviewed-by: tschatzl, kbarrett
2023-01-21 15:03:26 +00:00
Dan Lutker
a6c2a2ae79 8300692: GCC 12 reports some compiler warnings in bundled freetype
Reviewed-by: erikj, serb, jwaters
2023-01-21 12:05:35 +00:00
Claes Redestad
bb42e61a61 8300493: Use ArraysSupport.vectorizedHashCode in j.u.zip.ZipCoder
Reviewed-by: alanb, lancea
2023-01-21 11:54:51 +00:00
Doug Simon
06394ee8b1 8300590: [JVMCI] BytecodeFrame.equals is broken
Reviewed-by: adinn, dlong
2023-01-21 11:31:44 +00:00
Justin King
5331a3ef73 8298908: Instrument Metaspace for ASan
Reviewed-by: stuefe, ihse, iklam
2023-01-21 08:57:14 +00:00
Sergey Bylokhov
e1ee6727f7 8300725: Improve performance of ColorConvertOp for default destinations with alpha
Reviewed-by: prr
2023-01-21 07:09:00 +00:00
Scott Gibbons
7c2f77a422 8300584: Accelerate AVX-512 CRC32C for small buffers
Reviewed-by: kvn, sviswanathan
2023-01-21 00:07:31 +00:00
Chris Plummer
5784eb7b68 8300721: Cleanup ProblemList-svc-vthread.txt
Reviewed-by: alanb, lmesnik
2023-01-20 19:58:54 +00:00
Volodymyr Paprotski
9d44dd0cca 8297972: Poly1305 Endianness on ByteBuffer not enforced
Reviewed-by: jnimeh
2023-01-20 19:51:28 +00:00
Mandy Chung
facd41511b 8297757: VarHandles.getStaticFieldFromBaseAndOffset should get the receiver type from VarHandle
Reviewed-by: psandoz, alanb
2023-01-20 17:25:18 +00:00
Darragh Clarke
e803855708 8299863: URLFromURITest.java should import org.junit.jupiter.api.Test
Reviewed-by: dfuchs, cstein
2023-01-20 17:00:53 +00:00
Ralf Schmelter
92d8326e40 8299827: Add resolved IP address in connection exception for sockets
Reviewed-by: alanb, vtewari, jpai, dfuchs
2023-01-20 16:36:45 +00:00
Stuart Marks
c6d5600396 8038146: Clarify Map.Entry's connection to the underlying map
Reviewed-by: alanb
2023-01-20 16:33:48 +00:00
Hannes Wallnöfer
b2d3622115 8299896: Reduce enum values of HtmlLinkInfo.Kind
Reviewed-by: jjg
2023-01-20 14:50:35 +00:00
Thomas Schatzl
623ba5b6dc 8300653: G1EvacInfo should use common naming scheme for collection set
Reviewed-by: ayang, iwalulya
2023-01-20 14:31:06 +00:00
Tobias Holenstein
97c611d029 8289748: C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM
Reviewed-by: thartmann, chagedorn, kvn
2023-01-20 14:20:32 +00:00
Coleen Phillimore
4562b402fb 8300682: InstanceKlassMiscStatus is a bad name
Reviewed-by: fparain, dholmes
2023-01-20 13:20:29 +00:00
Afshin Zafari
26410c180b 8281213: Unsafe uses of long and size_t in MemReporterBase::diff_in_current_scale
Reviewed-by: eastigeevich, kbarrett
2023-01-20 10:17:07 +00:00
Johan Sjölen
eca64795be 8300087: Replace NULL with nullptr in share/cds/
Reviewed-by: dholmes, iklam
2023-01-20 09:57:20 +00:00
Daniel Fuchs
49d60fee49 8300172: java/net/httpclient/MappingResponseSubscriber.java failed with java.net.ConnectException
Reviewed-by: jpai
2023-01-20 09:23:37 +00:00
Damon Fenacci
e1893976d5 8296403: [TESTBUG] IR test runner methods in TestLongRangeChecks.java invoke wrong test methods
Reviewed-by: thartmann, chagedorn, jiefu
2023-01-20 08:16:28 +00:00
Matias Saavedra Silva
77f2d20e96 8287873: Add test for using -XX:+AutoCreateSharedArchive with different JDK versions
Reviewed-by: iklam
2023-01-20 00:55:28 +00:00
Joe Darcy
93a933d4ef 8300400: Update --release 20 symbol information for JDK 20 build 32
Reviewed-by: iris, jjg
2023-01-19 23:24:01 +00:00
Justin Lu
9b97699be5 8300586: Refactor code examples to use @snippet in java.text.Collator
Reviewed-by: iris, lancea, naoto
2023-01-19 22:36:17 +00:00
Justin Lu
fbbb27e770 8300356: Refactor code examples to use @snippet in java.text.CollationElementIterator
Reviewed-by: naoto
2023-01-19 22:35:24 +00:00
Jesper Wilhelmsson
dfcd65c271 Merge 2023-01-19 22:27:45 +00:00
Joe Darcy
f2a1eb9804 8300698: Missing @since tag for ClassFileFormatVersion.RELEASE_21
Reviewed-by: rriggs, mchung
2023-01-19 22:11:23 +00:00
Alexey Ivanov
558d610beb 8299553: Make ScaledEtchedBorderTest.java comprehensive
Reviewed-by: serb, honkar, achung
2023-01-19 19:32:58 +00:00
Harshitha Onkar
80ab50b338 8294680: Refactor scaled border rendering
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: rmahajan, achung, aivanov, jdv
2023-01-19 18:43:54 +00:00
Weijun Wang
b317658d69 8300399: EdDSA does not verify when there is no message
Reviewed-by: ascarpino
2023-01-19 18:32:08 +00:00
Claes Redestad
d85243f02b 8300647: Miscellaneous hashCode improvements in java.base
Reviewed-by: stsypanov, rriggs
2023-01-19 16:50:07 +00:00
Ron Pressler
1c84050610 8298400: Virtual thread instability when stack overflows
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: dlong, pchilanomate
2023-01-19 15:34:01 +00:00
Stefan Karlsson
453dbd12ee 8298377: JfrVframeStream causes deadlocks in ZGC
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: eosterlund, mgronlun
2023-01-19 13:49:14 +00:00
Johan Sjölen
1084fd24eb 8299973: Replace NULL with nullptr in share/utilities/
Reviewed-by: coleenp, stefank, dholmes, kbarrett
2023-01-19 13:42:08 +00:00
Jonathan Dowland
dea58efb62 8300119: CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems
Reviewed-by: sgehwolf
2023-01-19 13:26:18 +00:00
Alexey Ivanov
2e4a3c47e2 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null'
Co-authored-by: Tejesh R <tr@openjdk.org>
Reviewed-by: prr, serb
2023-01-19 13:00:09 +00:00
Matthias Baesken
e326b86d37 8300042: Improve CPU related JFR events descriptions
Reviewed-by: clanger, lucy
2023-01-19 12:01:50 +00:00
Albert Mingkun Yang
11df6eb28a 8300540: Serial: Remove obsolete comments in GenMarkSweep
Reviewed-by: tschatzl
2023-01-19 11:52:40 +00:00
Albert Mingkun Yang
8f7faa631b 8300447: Parallel: Refactor PSPromotionManager::drain_stacks_depth
Reviewed-by: tschatzl, kbarrett
2023-01-19 11:51:43 +00:00
Justin King
eba87a0ee0 8300264: Remove metaprogramming/isPointer.hpp
Reviewed-by: kbarrett, tschatzl
2023-01-19 09:11:22 +00:00
Alan Bateman
08e621829b 8300526: Test runtime/jni/IsVirtualThread/IsVirtualThread.java should exercise alternative virtual thread implementation
Reviewed-by: pchilanomate
2023-01-19 09:00:01 +00:00
Johan Sjölen
cfe57466dd 8300242: Replace NULL with nullptr in share/code/
Reviewed-by: kvn, thartmann
2023-01-19 08:48:36 +00:00
Emanuel Peter
5f66024e95 8299959: C2: CmpU::Value must filter overflow computation against local sub computation
Reviewed-by: kvn, chagedorn, roland
2023-01-19 07:37:50 +00:00
Alan Bateman
5b0af1a80b 8208077: File.listRoots performance degradation
Reviewed-by: lancea, bpb
2023-01-19 06:59:38 +00:00
Christoph Langer
62a2f2327a 8300490: Spaces in name of MacOS Code Signing Identity are not correctly handled after JDK-8293550
Reviewed-by: erikj
2023-01-19 06:43:44 +00:00
SWinxy
2e9cb4b1f6 8267582: BasicLookAndFeel should not call getComponentPopupMenu twice to get a popup menu
Reviewed-by: psadhukhan
2023-01-19 05:05:20 +00:00
Sergey Bylokhov
7348b9ec93 8300167: Add validation of the raster's layout before using in native
Reviewed-by: prr
2023-01-19 05:02:12 +00:00
Feilong Jiang
24cdcd4c70 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview)
Co-authored-by: Weikai He <weikai@isrc.iscas.ac.cn>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: jvernee, fyang, shade, yadongwang
2023-01-19 01:33:35 +00:00
Joe Darcy
8e3036cf74 8300595: Use improved @see and @link syntax in javax.lang.model and javax.tools
Reviewed-by: jjg, iris
2023-01-19 01:14:12 +00:00
Pengfei Li
715b509f3d 8298632: [TESTBUG] Add IR checks in jtreg vectorization tests
Reviewed-by: kvn, jbhateja
2023-01-19 01:05:58 +00:00
Calvin Cheung
910dffea86 8292635: Run ArchivedEnumTest.java in jdk tier testing
Reviewed-by: iklam, dholmes
2023-01-19 00:20:13 +00:00
Jesper Wilhelmsson
fc9f8baf56 Merge 2023-01-18 23:29:12 +00:00
Justin Lu
31a2e02afc 8300308: java.text.MessageFormat has incorrect doc comment
Reviewed-by: naoto, lancea
2023-01-18 23:10:57 +00:00
Justin Lu
dfe94b89f8 8300307: Refactor code examples to use @snippet in java.text.DateFormat
Reviewed-by: lancea, iris, naoto
2023-01-18 23:09:46 +00:00
Joe Darcy
601e0ae7da 8300594: Use generalized see and link tags in UnicastRemoteObject
Reviewed-by: rriggs, smarks
2023-01-18 22:44:28 +00:00
Sergey Bylokhov
8b70c432d3 8299772: The ColorModel.getRGBdefault() method is not thread-safe
Reviewed-by: prr
2023-01-18 20:27:30 +00:00
Magnus Ihse Bursie
ba899b42ce 8300550: BASIC_JVM_LIBS is set for buildjdk even if this is incorrect
Reviewed-by: erikj
2023-01-18 20:09:34 +00:00
Joe Darcy
5473e8a1c6 8300357: Use generalized see and link tags in java.management
Reviewed-by: alanb, dfuchs
2023-01-18 20:08:37 +00:00
Joe Darcy
7bf0d1465e 8300133: Use generalized see and link tags in core libs
Reviewed-by: jjg, mchung, naoto, smarks
2023-01-18 18:54:03 +00:00
Rajat Mahajan
2a46e07f7d 8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set
Reviewed-by: aivanov, prr
2023-01-18 18:04:30 +00:00
Claes Redestad
3ea0b8bc25 8300489: Use ArraysSupport.vectorizedHashCode in j.l.CharacterName
Reviewed-by: alanb, naoto
2023-01-18 17:39:27 +00:00
Johan Sjölen
fcbf9d052e 8300243: Replace NULL with nullptr in share/compiler/
Reviewed-by: thartmann, kvn
2023-01-18 16:56:31 +00:00
Magnus Ihse Bursie
c205caead5 8297851: Add devkit for RISC-V
Reviewed-by: fyang, erikj
2023-01-18 16:16:51 +00:00
Coleen Phillimore
c3242ee452 8298596: vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java fails with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"
Reviewed-by: ayang, tschatzl
2023-01-18 15:19:30 +00:00
Dmitry Chuyko
b3684f4bac 8153837: AArch64: Handle special cases for MaxINode & MinINode
Reviewed-by: fyang, aph
2023-01-18 14:56:53 +00:00
Sergey Tsypanov
754f6e6116 8300237: Minor improvements in MethodHandles
Reviewed-by: redestad
2023-01-18 13:55:09 +00:00
Andrey Turbanov
85d8bacb0f 8300166: Unused array allocation in ProcessPath.doProcessPath
Reviewed-by: aivanov
2023-01-18 13:23:59 +00:00
Afshin Zafari
c464ef1d61 8292741: Convert JvmtiTagMapTable to ResourceHashtable
Reviewed-by: dholmes, coleenp, rehn
2023-01-18 13:21:32 +00:00
Julian Waters
1aded82e54 8300488: Incorrect usage of CATCH_BAD_ALLOC as a macro call
Reviewed-by: aivanov
2023-01-18 13:11:32 +00:00
Johan Sjölen
bd5ca95305 8300222: Replace NULL with nullptr in share/logging
Reviewed-by: coleenp, dholmes
2023-01-18 13:10:13 +00:00
Maurizio Cimadamore
b9275a8ed1 8300275: SegmentScope.isAccessibleBy returning incorrect values
Reviewed-by: alanb, jvernee
2023-01-18 12:36:15 +00:00
Jan Lahoda
c1b4212a53 8300195: Fall-through issue occurs when using record pattern in switch statements
Reviewed-by: vromero
2023-01-18 10:43:53 +00:00
Jie Fu
15a9186db2 8300169: Build failure with clang-15
Reviewed-by: dholmes, prr
2023-01-18 10:32:00 +00:00
Robbin Ehn
d9180423b8 8300267: Remove duplicated setter/getter for do_not_unlock
Reviewed-by: coleenp, dholmes
2023-01-18 10:23:11 +00:00
Daniel Jeliński
7c8b99eedb 8300117: Replace use of JNI_COMMIT mode with mode 0
Reviewed-by: serb, prr
2023-01-18 09:29:04 +00:00
Axel Boldt-Christmas
c7056737e3 8299089: Instrument global jni handles with tag to make them distinguishable
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Reviewed-by: eosterlund, stefank, ayang
2023-01-18 09:21:08 +00:00
Tobias Hartmann
66f7387b5f 8299074: nmethod marked for deoptimization is not deoptimized
Reviewed-by: eosterlund, rehn, kvn
2023-01-18 08:15:19 +00:00
Ramkumar Sunderbabu
1f438a8a70 8282651: ZGC: vmTestbase/gc/ArrayJuggle/ tests fails intermittently with exit code 97
Reviewed-by: lmesnik
2023-01-18 06:53:04 +00:00
Fei Yang
f1194dc07e 8300109: RISC-V: Improve code generation for MinI/MaxI nodes
Reviewed-by: fjiang, luhenry, shade
2023-01-18 01:14:47 +00:00
Sergey Kuksenko
89a032dc05 8300002: Performance regression caused by non-inlined hot methods due to post call noop instructions
Reviewed-by: kvn, iveresov, eosterlund
2023-01-18 00:16:34 +00:00
Jonathan Gibbons
7071397ed9 8299224: TestReporterStreams.java has bad indentation for legal header
Reviewed-by: prappo
2023-01-17 23:43:35 +00:00
Joe Darcy
1d8b87dda4 8300321: Use link tags in javax.sql.rowset package-info
Reviewed-by: lancea, iris
2023-01-17 22:19:30 +00:00
Joe Darcy
f9883fc45b 8300279: Use generalized see and link tags in core libs in client libs
Reviewed-by: aivanov, prr
2023-01-17 22:17:34 +00:00
Justin King
00b6c551ec 8300254: ASan build does not correctly propagate ASAN_OPTIONS
Reviewed-by: ihse
2023-01-17 21:53:34 +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
Valerie Peng
0f925fefdf 8295723: security/infra/wycheproof/RunWycheproof.java fails with Assertion Error
Reviewed-by: mschoene, ascarpino, coffeys, rhalade, weijun
2023-01-17 20:58:59 +00:00
Jayathirth D V
bd324cee9c 8295687: Better BMP bounds
Reviewed-by: rhalade, mschoene, psadhukhan, prr
2023-01-17 20:58:59 +00:00
Alexander Zuev
93161e46e7 8293742: Better Banking of Sounds
Reviewed-by: rhalade, azvegint, prr
2023-01-17 20:58:59 +00:00
Valerie Peng
6c5aefe60c 8293554: Enhanced DH Key Exchanges
Reviewed-by: rhalade, mschoene, ascarpino, weijun
2023-01-17 20:58:59 +00:00
Jamil Nimeh
2e8073e4f9 8287411: Enhance DTLS Performance
Reviewed-by: rhalade, ahgross, weijun, ascarpino
2023-01-17 20:58:58 +00:00
Prasanta Sadhukhan
d6b1513233 8293717: Objective view of ObjectView
Reviewed-by: kizune, rhalade, prr, azvegint, skoivu
2023-01-17 20:58:58 +00:00
Jayathirth D V
3364c460a4 8293734: Improve BMP image handling
Reviewed-by: kizune, prr, azvegint, rhalade, mschoene
2023-01-17 20:58:58 +00:00
Daniel Jeliński
b7cfb6817b 8293598: Enhance InetAddress address handling
Reviewed-by: skoivu, alanb, aefimov, rhalade, dfuchs
2023-01-17 20:58:58 +00:00
Markus Grönlund
51e52c4eb8 8286496: Improve Thread labels
Reviewed-by: mschoene, rhalade, egahlin
2023-01-17 20:58:58 +00:00
Phil Race
5aae8226fc 8288516: Enhance font creation
Reviewed-by: psadhukhan, azvegint, rhalade, mschoene
2023-01-17 20:58:58 +00:00
Naoto Sato
ba86c23eaf 8286070: Improve UTF8 representation
Reviewed-by: bchristi, rhalade
2023-01-17 20:58:58 +00:00
Justin Lu
ade08e190c 8300093: Refactor code examples to use @snippet in java.text.MessageFormat
Reviewed-by: iris, naoto
2023-01-17 19:40:41 +00:00
Justin Lu
d7c05d1870 8300011: Refactor code examples to use @snippet in java.util.TimeZone
Reviewed-by: lancea, naoto, iris
2023-01-17 18:30:32 +00:00
SWinxy
8c12ae8673 8283203: Fix typo in SystemTray.getTrayIconSize javadoc
Reviewed-by: aivanov
2023-01-17 17:30:25 +00:00
Naoto Sato
e7e3712121 8300010: UnsatisfiedLinkError on calling System.console().readPassword() on Windows
Reviewed-by: alanb
2023-01-17 17:25:44 +00:00
Xin Liu
0b9ff06f3a 8300184: Optimize ResourceHashtableBase::iterate_all using _number_of_entries
Reviewed-by: dholmes, rehn
2023-01-17 17:09:25 +00:00
Magnus Ihse Bursie
75b122feea 8300120: Configure should support different defaults for CI/dev build environments
Reviewed-by: erikj
2023-01-17 17:00:46 +00:00
Justin King
e139ec3db2 8300069: Left shift of negative value in share/adlc/dict2.cpp
Reviewed-by: ihse, kbarrett
2023-01-17 16:59:31 +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
Albert Mingkun Yang
4cd166ff27 8300125: Serial: Remove unused Generation::reset_saved_marks
Reviewed-by: kbarrett, lkorinth
2023-01-17 15:41:23 +00:00
Erik Österlund
ae0e02766a 8298059: Linked stack watermarks don't support nesting
Reviewed-by: stefank
Backport-of: b17c52422c
2023-01-17 15:05:51 +00:00
Jesper Wilhelmsson
85d70acc6e Merge 2023-01-17 13:19:14 +00:00
Erik Österlund
b7fb8ef89e 8299323: Allow extended registers for cmpw
Reviewed-by: sviswanathan, kvn
2023-01-17 12:16:05 +00:00
Abhishek Kumar
07d5753172 8300168: Typo in AccessibleJTableHeaderEntry javadoc
Reviewed-by: psadhukhan, tr
2023-01-17 10:40:19 +00:00
Matthias Baesken
e82dc6935b 8300205: Swing test bug8078268 make latch timeout configurable
Reviewed-by: aivanov, serb
2023-01-17 08:21:12 +00:00
Erik Österlund
9a36f8aadb 8299673: Simplify object pinning interactions with string deduplication
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: kbarrett, stefank, dholmes
2023-01-17 08:00:56 +00:00
Per Minborg
3462438ae1 8299576: Reimplement java.io.Bits using VarHandle access
Reviewed-by: uschindler, alanb
2023-01-17 07:44:26 +00:00
Hao Sun
f829a67935 8300227: [macos_aarch64] assert(cpu_has("hw.optional.arm.FEAT_AES")) failed after JDK-8297092
Reviewed-by: dholmes
2023-01-17 06:43:58 +00:00
Afshin Zafari
6a81d528e8 8299213: Bad cast in GrowableArrayWithAllocator<>::grow
Reviewed-by: kbarrett, jsjolen, jwaters
2023-01-17 05:44:41 +00:00
Tejesh R
8365c6775c 8300084: AquaFileChooserUI.getDefaultButton returns null
Reviewed-by: aivanov, serb
2023-01-17 04:44:42 +00:00
Archie L. Cobbs
382fe51b6d 8163229: several regression tests have a main method that is never executed
Reviewed-by: vromero
2023-01-17 04:43:40 +00:00
Matthew Donovan
06f9374e0c 8298867: Basics.java fails with SSL handshake exception
Reviewed-by: xuelei, rhalade
2023-01-17 04:41:55 +00:00
Fei Yang
859ccd1a15 8299847: RISC-V: Improve PrintOptoAssembly output of CMoveI/L nodes
Reviewed-by: fjiang, shade
2023-01-17 03:06:57 +00:00
Hao Sun
240830df7e 8297092: [macos_aarch64] Add support for SHA feature detection
Reviewed-by: njian, aph, gziemski
2023-01-17 02:07:43 +00:00
Justin King
f52f6e65fb 8299972: Remove metaprogramming/removeReference.hpp
Reviewed-by: tschatzl, kbarrett
2023-01-16 19:30:16 +00:00
Justin King
4c1e66e0ab 8299971: Remove metaprogramming/conditional.hpp
Reviewed-by: tschatzl, kbarrett
2023-01-16 19:28:25 +00:00
Magnus Ihse Bursie
4073b68565 8298047: Remove all non-significant trailing whitespace from properties files
Reviewed-by: serb, rriggs
2023-01-16 18:53:54 +00:00
Leo Korinth
506c818689 8296401: ConcurrentHashTable::bulk_delete might miss to delete some objects
Reviewed-by: rehn, iwalulya, aboldtch
2023-01-16 16:36:36 +00:00
Albert Mingkun Yang
319de6a6d3 8300124: Remove unnecessary assert in GenCollectedHeap::initialize
Reviewed-by: stefank, tschatzl
2023-01-16 14:25:35 +00:00
Afshin Zafari
289aed465e 8298128: runtime/ErrorHandling/TestSigInfoInHsErrFile.java fails to find pattern with slowdebug
Reviewed-by: dcubed, dholmes, stuefe
2023-01-16 12:36:45 +00:00
Manukumar V S
a2f67660f0 8288415: java/awt/PopupMenu/PopupMenuLocation.java is unstable in MacOS machines
Reviewed-by: dnguyen, aivanov
2023-01-16 12:18:51 +00:00
Erik Österlund
a734285314 8299879: CollectedHeap hierarchy should use override
Reviewed-by: stefank, tschatzl
2023-01-16 10:54:10 +00:00
Bhavana Kilambi
98d75f1879 8299038: Add AArch64 backend support for auto-vectorized FP16 conversions
Reviewed-by: xgong, ngasson
2023-01-16 10:47:38 +00:00
Aleksey Shipilev
cac72a6018 8300053: Shenandoah: Handle more GCCauses in ShenandoahControlThread::request_gc
Reviewed-by: wkemper, rkennke
2023-01-16 09:32:04 +00:00
Emanuel Peter
6fea233e22 8299960: Speed up test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java
Reviewed-by: thartmann, chagedorn, fgao
2023-01-16 09:17:31 +00:00
Emanuel Peter
7c1ebcc4ce 8299962: Speed up compiler/intrinsics/unsafe/DirectByteBufferTest.java and HeapByteBufferTest.java
Reviewed-by: kvn, thartmann
2023-01-16 09:15:31 +00:00
Aleksey Shipilev
abfd7e89f6 8300113: C2: Single-bit fields with signed type in TypePtr after JDK-8297933
Reviewed-by: roland, thartmann
2023-01-16 08:49:02 +00:00
Damon Fenacci
83f2c9a2b2 8293410: Remove GenerateRangeChecks flag
Reviewed-by: thartmann, chagedorn, kvn
2023-01-16 07:34:11 +00:00
Daniel Jeliński
50e7df91c7 8300024: Replace use of JNI_COMMIT mode with mode 0
Reviewed-by: amenkov, sspitsyn, cjplummer
2023-01-16 06:58:27 +00:00
Daniel Jeliński
fe7fca0128 8300032: DwarfParser resource leak
Reviewed-by: cjplummer, sspitsyn
2023-01-16 06:56:43 +00:00
Julian Waters
12edd6f922 8300052: PdhDll::PdhCollectQueryData and PdhLookupPerfNameByIndex will never be NULL
Reviewed-by: dholmes
2023-01-16 06:07:38 +00:00
Ioi Lam
7bcd5f418c 8297914: Remove java_lang_Class::process_archived_mirror()
Reviewed-by: ccheung
2023-01-15 20:30:31 +00:00
Sergey Bylokhov
e15bdc58ab 8299789: Compilation of gtest causes build to fail if runtime libraries are in different dirs
Reviewed-by: erikj
Backport-of: c8a8388aba
2023-01-14 04:19:54 +00:00
Jesper Wilhelmsson
4be94e4350 Merge 2023-01-14 01:57:13 +00:00
Chris Plummer
f4e119d5fc 8300012: Remove unused JDI VirtualMachineImpl.removeObjectMirror(ObjectReferenceImpl object) method
Reviewed-by: alanb, sspitsyn
2023-01-13 23:25:25 +00:00
Justin Lu
87865e0eb8 8299502: Usage of constructors of primitive wrapper classes should be avoided in javax.xml API docs
Backport-of: b8852f65a0
2023-01-13 23:19:02 +00:00
Justin Lu
dc5cc61621 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs
Backport-of: 63cf4aa0c8
2023-01-13 23:17:53 +00:00
Justin Lu
98eae6dade 8299500: Usage of constructors of primitive wrapper classes should be avoided in java.text API docs
Reviewed-by: iris
Backport-of: cd10c7278d
2023-01-13 23:16:48 +00:00
Justin Lu
628266af60 8299501: Usage of constructors of primitive wrapper classes should be avoided in java.util API docs
Backport-of: f36f1354c6
2023-01-13 23:15:28 +00:00
Justin Lu
ab7f43f080 8299498: Usage of constructors of primitive wrapper classes should be avoided in java.lang API docs
Backport-of: d663b5da10
2023-01-13 23:14:14 +00:00
Daniel D. Daugherty
bc498f87f7 8300141: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC
8300144: ProblemList vmTestbase/nsk/sysdict/vm/stress/chain/chain007/chain007.java with ZGC
8300147: ProblemList vmTestbase/nsk/jvmti/SetFieldModificationWatch/setfmodw001/TestDescription.java in Xcomp

Reviewed-by: mikael
2023-01-13 22:55:08 +00:00
Artem Semenov
8cb25d3de4 8298644: JNI call of getCurrentComponent on a wrong thread
Reviewed-by: avu, serb, kizune
2023-01-13 19:39:56 +00:00
Justin Lu
500b45e12d 8299865: Unnecessary NullPointerException catch in java.util.TimeZone#setDefaultZone
Reviewed-by: lancea, iris, naoto, aturbanov
2023-01-13 18:13:50 +00:00
Eirik Bjorsnos
4ec3659845 8278349: JarSigner javadoc example uses SHA-1
Reviewed-by: weijun
2023-01-13 17:55:07 +00:00
Albert Mingkun Yang
d117979503 8300054: Use static_assert in basic_types_init
Reviewed-by: stefank, kbarrett
2023-01-13 16:49:26 +00:00
Gerard Ziemski
e0081462f4 8300055: [BACKOUT] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Reviewed-by: tschatzl, rriggs
2023-01-13 15:38:49 +00:00
Per Minborg
ce1193a1ed 8299976: Initialize static fields in Net eagerly
Reviewed-by: alanb
2023-01-13 15:19:12 +00:00
Jie Fu
3ffc955783 8300099: Configuration fails to auto-detect build user through $USER in dockers
Reviewed-by: ihse
2023-01-13 13:53:22 +00:00
Erik Österlund
e7fa150bc1 8299032: Interface IN_NATIVE oop stores for C2
Reviewed-by: stefank, rcastanedalo
2023-01-13 12:48:30 +00:00
Stefan Karlsson
c250222880 8300110: Unproblemlist Fuzz.java from ProblemList-zgc.txt
Reviewed-by: aboldtch, tschatzl
2023-01-13 12:28:52 +00:00
Markus Grönlund
ac63f5f8dd 8297877: Risk for uninitialized memory in case of CHECK macro early return as part of field access
Reviewed-by: ccheung, egahlin
2023-01-13 12:11:09 +00:00
Matthias Baesken
be8e6d05db 8299957: Enhance error logging in instrument coding with additional jplis_assert_msg
Reviewed-by: sspitsyn
2023-01-13 07:57:38 +00:00
Tobias Hartmann
640eff64d2 8300040: TypeOopPtr::make_from_klass_common calls itself with args in wrong order
Co-authored-by: David Simms <dsimms@openjdk.org>
Reviewed-by: chagedorn, kvn
2023-01-13 07:16:53 +00:00
Justin King
19628e3e0c 8300068: UBSan CFLAGS/LDFLAGS not passed when building ADLC
Reviewed-by: ihse
2023-01-13 04:07:42 +00:00
Jesper Wilhelmsson
9887047228 Merge 2023-01-12 22:24:19 +00:00
Raffaello Giulietti
33412c102c 8299677: Formatter.format might take a long time to format an integer or floating-point
Reviewed-by: alanb, stsypanov, darcy
2023-01-12 19:21:09 +00:00
Mikael Vidstedt
4b92fb0c6b 8299918: Update Xcode11.3.1-MacOSX10.15 devkit at Oracle
Reviewed-by: erikj
Backport-of: a17b563f54
2023-01-12 18:47:08 +00:00
Justin King
7a85d95e82 8298448: UndefinedBehaviorSanitizer
Reviewed-by: erikj, ihse
2023-01-12 15:50:05 +00:00
Julian Waters
26890d1909 8296478: Rework 8282948 and 8282700 to use the new autoconf UTIL_ARG_WITH
Reviewed-by: erikj, ihse
2023-01-12 15:01:59 +00:00
Roger Riggs
6a4a874356 8299034: Runtime::exec clarification of inherited environment
Reviewed-by: alanb
2023-01-12 14:54:39 +00:00
Julian Waters
cf00d09c8c 8299330: Minor improvements in MSYS2 Workflow handling
Reviewed-by: clanger, ihse
2023-01-12 14:32:14 +00:00
Claes Redestad
48c8fb39a7 8299978: Remove MethodHandleNatives.getMembers
Reviewed-by: jvernee, mchung
2023-01-12 13:39:59 +00:00
Axel Boldt-Christmas
89d3f3d96b 8299125: UnifiedOopRef in JFR leakprofiler should treat thread local oops correctly
Reviewed-by: eosterlund, mgronlun
2023-01-12 12:38:13 +00:00
Alan Bateman
4b573343a6 8278326: Socket close is not thread safe and other cleanup
Reviewed-by: jpai
2023-01-12 09:38:31 +00:00
Nick Gasson
036c80844e 8298482: Implement ParallelGC NUMAStats for Linux
Reviewed-by: ayang, sjohanss, tschatzl
2023-01-12 09:28:46 +00:00
Matthias Baesken
0ee8cac7c7 8299672: Enhance HeapDump JFR event
Reviewed-by: rschmelter, clanger
2023-01-12 08:04:46 +00:00
Christoph Langer
752a37016f 8299439: java/text/Format/NumberFormat/CurrencyFormat.java fails for hr_HR
Reviewed-by: naoto
Backport-of: 3b374c0153
2023-01-12 08:02:58 +00:00
Emanuel Peter
d716ec5d30 8299179: ArrayFill with store on backedge needs to reduce length by 1
Reviewed-by: thartmann, kvn
2023-01-12 07:23:19 +00:00
Jorn Vernee
3918f9f523 8299090: Specify coordinate order for additional CaptureCallState parameters on class as well
Reviewed-by: pminborg, mcimadamore
2023-01-12 06:49:27 +00:00
Afshin Zafari
af8d3fb21a 8264684: os::get_summary_cpu_info padded with spaces
Reviewed-by: iklam, ccheung
2023-01-12 01:54:11 +00:00
Sergey Bylokhov
78b1686c15 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
Reviewed-by: aivanov, tr
2023-01-12 01:52:56 +00:00
Jesper Wilhelmsson
33f3bd8fad Merge 2023-01-11 21:50:42 +00:00
Rajan Halade
8db73f7743 8300001: ProblemList test java/security/Policy/Root/Root.java
Reviewed-by: mikael, dcubed
2023-01-11 21:36:08 +00:00
Matias Saavedra Silva
43847c43ad 8298065: Provide more information in message of NoSuchFieldError
Reviewed-by: dholmes, iklam, coleenp
2023-01-11 19:13:26 +00:00
Mikael Vidstedt
a17b563f54 8299918: Update Xcode11.3.1-MacOSX10.15 devkit at Oracle
Reviewed-by: erikj
2023-01-11 18:26:38 +00:00
Calvin Cheung
9c1e98dac5 8298321: 2 File Leak defect groups in 2 files
Reviewed-by: vlivanov, iklam, dholmes
2023-01-11 17:48:36 +00:00
Justin Lu
d663b5da10 8299498: Usage of constructors of primitive wrapper classes should be avoided in java.lang API docs
Reviewed-by: naoto, darcy, rriggs, mchung, lancea
2023-01-11 17:18:39 +00:00
Justin Lu
437d69a220 8299836: Make user.timezone system property searchable
Reviewed-by: jpai, naoto
2023-01-11 17:14:08 +00:00
Naoto Sato
c7716a0101 8299571: ZoneRulesProvider.registerProvider() can leave inconsistent state on failure
Reviewed-by: iris, rriggs, joehw
2023-01-11 17:01:48 +00:00
Andrey Turbanov
4cd87f1bda 8299835: (jrtfs) Unnecessary null check in JrtPath.getAttributes
Reviewed-by: alanb, lancea
2023-01-11 15:14:41 +00:00
Per Minborg
7d3400b1cf 8299864: ZipFileStore#supportsFileAttributeView(String) doesn't throw NPE
Reviewed-by: lancea
2023-01-11 15:08:52 +00:00
Tobias Hartmann
d15285f948 8299956: [BACKOUT] 8297487: G1 Remark: no need to keep alive oop constants of nmethods on stack
Reviewed-by: chagedorn, tschatzl
2023-01-11 12:39:50 +00:00
Maurizio Cimadamore
945ef07564 8299862: OfAddress setter should disallow heap segments
Reviewed-by: jvernee
2023-01-11 10:31:25 +00:00
Albert Mingkun Yang
5a9490a40e 8299853: Serial: Use more concrete type for TenuredGeneration::_the_space
Reviewed-by: tschatzl, stefank
2023-01-11 10:07:52 +00:00
Erik Österlund
f857f8a092 8299327: Allow super late barrier expansion of store barriers in C2
Reviewed-by: kvn, rcastanedalo
2023-01-11 09:33:05 +00:00
Adam Sotona
257f667afb 8296789: <TAB>-completion in jshell fails to expose synthetic bridge methods
Reviewed-by: jlahoda
2023-01-11 09:21:28 +00:00
Adam Sotona
030e88d638 8299829: In jshell, the output of "0".repeat(49999)+"2" ends with a '0'
Reviewed-by: jlahoda
2023-01-11 08:30:48 +00:00
Prasanta Sadhukhan
ef32fdb8cc 8284825: sun/java2d/DirectX/MultiPaintEventTest/MultiPaintEventTest.java failed with "RuntimeException: Processed unnecessary paint()."
Reviewed-by: serb
2023-01-11 08:06:57 +00:00
Jan Lahoda
636976ada8 8299849: Revert JDK-8294461: wrong effectively final determination by javac
Reviewed-by: vromero
2023-01-11 07:52:18 +00:00
Abhishek Kumar
0abb87a488 8299227: host exif.org not found in link in doc comment
Reviewed-by: prr, serb
2023-01-11 07:42:42 +00:00
Tejesh R
95b102c9b1 8299309: Test "java/awt/Dialog/ModalDialogTest/ModalDialogTest.java" fails because new frame was not displayed when "New Frame" button was clicked
Reviewed-by: honkar, dnguyen, psadhukhan
2023-01-11 07:35:30 +00:00
Justin King
f312c99977 8299482: Remove metaprogramming/isIntegral.hpp
Reviewed-by: kbarrett, tschatzl
2023-01-11 05:33:29 +00:00
Justin King
10a747c70b 8299479: Remove metaprogramming/decay.hpp
Reviewed-by: tschatzl, kbarrett
2023-01-11 05:31:56 +00:00
Kim Barrett
ddca2b9b46 8299701: Remove unused GCCause::_wb_conc_mark
Reviewed-by: eosterlund, iwalulya
2023-01-11 05:12:26 +00:00
Xiaohong Gong
de79162fdf 8299715: IR test: VectorGatherScatterTest.java fails with SVE randomly
Reviewed-by: psandoz, thartmann
2023-01-11 01:49:56 +00:00
Alexey Semenyuk
c595f965ab 8299278: tools/jpackage/share/AddLauncherTest.java#id1 failed AddLauncherTest.bug8230933
Reviewed-by: almatvee
2023-01-10 18:03:42 +00:00
Alexey Semenyuk
3c99e786ab 8298735: Some tools/jpackage/windows/* tests fails with jtreg test timeout
Reviewed-by: almatvee
2023-01-10 18:02:34 +00:00
Patricio Chilano Mateo
151450ea9b 8294744: AArch64: applications/kitchensink/Kitchensink.java crashed: assert(oopDesc::is_oop(obj)) failed: not an oop
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: aph, fyang, dcubed
2023-01-10 17:16:26 +00:00
Calvin Cheung
5a51ef22ad 8297874: get_dump_directory() in jfrEmergencyDump.cpp should pass correct length to jio_snprintf
Reviewed-by: mgronlun
2023-01-10 17:09:52 +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
Christian Hagedorn
8b0133f276 8299259: C2: Div/Mod nodes without zero check could be split through iv phi of loop resulting in SIGFPE
Reviewed-by: roland, kvn, thartmann
2023-01-10 14:35:46 +00:00
Albert Mingkun Yang
d68de02bef 8299845: Remove obsolete comments in DirtyCardToOopClosure::get_actual_top
Co-authored-by: Y. Srinivas Ramakrishna <ysr@openjdk.org>
Reviewed-by: tschatzl, sjohanss
2023-01-10 14:26:32 +00:00
Nick Gasson
21d468e575 8299733: AArch64: "unexpected literal addressing mode" assertion failure with -XX:+PrintC1Statistics
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Reviewed-by: chagedorn, fyang, aph
2023-01-10 13:29:55 +00:00
Volker Simonis
debe5879aa 8298381: Improve handling of session tickets for multiple SSLContexts
Reviewed-by: xuelei, ascarpino, serb
2023-01-10 11:49:36 +00:00
Richard Reingruber
eab1e6260d 8297487: G1 Remark: no need to keep alive oop constants of nmethods on stack
Reviewed-by: tschatzl, ayang, eosterlund
2023-01-10 10:32:32 +00:00
Sergey Bylokhov
c8a8388aba 8299789: Compilation of gtest causes build to fail if runtime libraries are in different dirs
Reviewed-by: erikj
2023-01-10 10:30:34 +00:00
Albert Mingkun Yang
5f37cbec94 8297572: Remove unused PrecisionStyle::Precise
Reviewed-by: tschatzl, kbarrett
2023-01-10 07:52:28 +00:00
Daniel Jeliński
f95346e870 8299261: Clean up AWT D3D exports
Reviewed-by: serb, aivanov
2023-01-10 07:11:24 +00:00
Hao Sun
195f31371f 8287925: AArch64: intrinsics for compareUnsigned method in Integer and Long
Reviewed-by: adinn, aph
2023-01-10 05:37:02 +00:00
Mikael Vidstedt
5826a077f9 8299693: Change to Xcode12.4+1.1 devkit for building on macOS at Oracle
Reviewed-by: erikj
Backport-of: 4b6809b94a
2023-01-10 04:39:53 +00:00
Yadong Wang
3a66737001 8299525: RISC-V: Add backend support for half float conversion intrinsics
Reviewed-by: fyang, fjiang
2023-01-10 02:43:14 +00:00
Jaikiran Pai
b7eb4e2ffd 8297306: Incorrect brackets in Javadoc for a constructor of IteratorSpliterator
Reviewed-by: alanb, iris, naoto
2023-01-10 01:53:48 +00:00
David Holmes
a63866341e 8255119: Monitor::wait takes signed integer as timeout
Reviewed-by: jsjolen, stuefe, coleenp, gziemski
2023-01-10 00:45:43 +00:00
Jesper Wilhelmsson
4395578b6f Merge 2023-01-09 23:31:32 +00:00
Justin Lu
f79b3d42f0 6381945: (cal) Japanese calendar unit test system should avoid multiple static imports
Reviewed-by: lancea, iris, naoto
2023-01-09 22:10:36 +00:00
Justin Lu
f36f1354c6 8299501: Usage of constructors of primitive wrapper classes should be avoided in java.util API docs
Reviewed-by: naoto, lancea
2023-01-09 21:26:08 +00:00
Justin Lu
b8852f65a0 8299502: Usage of constructors of primitive wrapper classes should be avoided in javax.xml API docs
Reviewed-by: joehw, naoto, lancea
2023-01-09 21:24:40 +00:00
Archie L. Cobbs
679e485838 8043251: Bogus javac error: required: no arguments, found: no arguments
Reviewed-by: vromero
2023-01-09 18:38:15 +00:00
Naoto Sato
d49851a8b8 8299689: Make use of JLine for Console as "opt-in"
Reviewed-by: jpai, alanb
2023-01-09 18:23:42 +00:00
Justin Lu
cd10c7278d 8299500: Usage of constructors of primitive wrapper classes should be avoided in java.text API docs
Reviewed-by: naoto, lancea
2023-01-09 17:43:31 +00:00
Alexandre Iline
bfd5971429 8299757: Update JCov version to 3.0.14
Reviewed-by: erikj, serb
2023-01-09 15:39:46 +00:00
Coleen Phillimore
17a3f0e257 8299275: Add some ClassLoaderData verification code
Reviewed-by: iklam, fparain
2023-01-09 15:01:34 +00:00
Erik Österlund
4ba8122197 8299312: Clean up BarrierSetNMethod
Reviewed-by: mdoerr, fyang
2023-01-09 13:31:26 +00:00
Albert Mingkun Yang
66db0bb6a1 8299692: G1: Remove unused G1BlockOffsetTable::is_card_boundary
Reviewed-by: kbarrett
2023-01-09 11:39:06 +00:00
Patrick Zhang
7068457436 8298472: AArch64: Detect Ampere-1 and Ampere-1A CPUs and set default options
Reviewed-by: aph, ngasson
2023-01-09 11:07:05 +00:00
Johan Sjölen
500c3c1737 8298730: Refactor subsystem_file_line_contents and add docs and tests
Reviewed-by: sgehwolf, iklam
2023-01-09 10:18:26 +00:00
Prasanta Sadhukhan
4072412c1f 8298876: Swing applications do not get repainted coming out of sleep on Windows 10
Reviewed-by: angorya, prr
2023-01-09 10:14:06 +00:00
Erik Österlund
a503ec2cc7 8299608: Add Register + imm32 orq to x86_64 assembler
Reviewed-by: shade, sviswanathan, kvn
2023-01-09 10:01:26 +00:00
Emanuel Peter
d2827ec8f7 8299671: speed up compiler/intrinsics/string/TestStringLatin1IndexOfChar.java
Reviewed-by: thartmann, kvn
2023-01-09 08:34:24 +00:00
Roland Westrelin
05a0a71031 8297933: [REDO] Compiler should only use verified interface types for optimization
Reviewed-by: kvn, vlivanov
2023-01-09 08:26:08 +00:00
Damon Fenacci
9b1ade8e2b 8295406: C1 crash with -XX:TypeProfileArgsLimit=0 -XX:TypeProfileLevel=222
Reviewed-by: thartmann, kvn
2023-01-09 07:56:11 +00:00
Daniel Jeliński
8d17d1ee6f 6914801: IPv6 unavailable if stdin is a socket
Reviewed-by: michaelm
2023-01-09 07:39:12 +00:00
Daniel Jeliński
d03a5d9580 8299593: getprotobyname should not be used
Reviewed-by: cjplummer
2023-01-09 07:32:55 +00:00
Abhishek Kumar
c4449224bb 8218474: JComboBox display issue with GTKLookAndFeel
Reviewed-by: tr, serb
2023-01-09 04:47:33 +00:00
SWinxy
7607c07e00 8299774: SYNTH_BUTTON_UI_KEY field is unused
Reviewed-by: serb
2023-01-09 02:14:43 +00:00
Justin King
d53cac3794 8299481: Remove metaprogramming/removePointer.hpp
Reviewed-by: kbarrett, tschatzl
2023-01-08 10:45:36 +00:00
Srinivas Mandalika
834e50e9ef 8298921: Create a regression test for JDK-8139581
Reviewed-by: serb
2023-01-08 09:08:04 +00:00
Jaikiran Pai
e209693a37 8258776: ThreadLocal#initialValue() Javadoc is unaware of ThreadLocal#withInitial()
Reviewed-by: alanb
2023-01-07 02:33:52 +00:00
Justin Lu
d5b80abcbf 8299617: CurrencySymbols.properties is missing the copyright notice
Reviewed-by: naoto, iris, jpai
2023-01-07 02:20:12 +00:00
Justin Lu
63cf4aa0c8 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs
Reviewed-by: naoto, jpai
2023-01-07 02:19:15 +00:00
Jesper Wilhelmsson
5393dc9a48 Merge 2023-01-07 02:05:59 +00:00
Sergey Bylokhov
7310131409 8299337: The java.awt.image.ColorModel#pData field is unused
Reviewed-by: prr
2023-01-06 23:09:07 +00:00
Sergey Tsypanov
d086e82b3c 8299600: Use Objects.check*() where appropriate in java.io
Reviewed-by: alanb, bpb
2023-01-06 21:01:21 +00:00
Sergey Bylokhov
4a95c74b76 8299425: "LCMSImageLayout.isIntPacked" flag can be deleted
Reviewed-by: prr
2023-01-06 20:17:10 +00:00
Ashutosh Mehra
d6d6eb4cba 8299699: Test runtime/cds/appcds/WrongClasspath.java fails after JDK-8299329
Reviewed-by: iklam, ccheung
2023-01-06 19:56:12 +00:00
Andrei Pangin
8c70bf3fff 8299544: Improve performance of CRC32C intrinsics (non-AVX-512) for small inputs
Reviewed-by: kvn, eastigeevich, sviswanathan
2023-01-06 19:00:20 +00:00
Alexandre Iline
1f141bd7a9 8299705: JCov coverage runs depend on jdk_symbols
Reviewed-by: erikj
2023-01-06 18:51:41 +00:00
Chris Plummer
d6e9f01584 8285416: [LOOM] Some nsk/jdi tests fail due to needing too many virtual threads
8282383: [LOOM] 6 nsk JDI and JDB tests sometimes failing with vthread wrapper due to running out of carrier threads

Reviewed-by: dholmes, sspitsyn, alanb, lmesnik
2023-01-06 18:49:11 +00:00
Weijun Wang
ba03f42a50 8299746: Accept unknown signatureAlgorithm in PKCS7 SignerInfo
Reviewed-by: kdriver, ascarpino, hchao
2023-01-06 18:46:37 +00:00
Markus KARG
3dcf700161 8299336: InputStream::DEFAULT_BUFFER_SIZE should be 16384
Reviewed-by: bpb
2023-01-06 17:35:17 +00:00
Maurizio Cimadamore
5eee2a07f5 8299740: CaptureCallState is missing @Preview annotation
Reviewed-by: alanb
2023-01-06 14:52:08 +00:00
Coleen Phillimore
1e9972922a 8299274: Add elements to resolved_references consistently
Reviewed-by: iklam, dholmes, rehn, fparain
2023-01-06 13:57:23 +00:00
Jie Fu
8cc1669ffd 8299721: [Vector API] assert in switch-default of LibraryCallKit::arch_supports_vector_rotate is too weak to catch bugs
Reviewed-by: jbhateja
2023-01-06 12:56:36 +00:00
Aleksey Shipilev
5598acc345 8294403: [REDO] make test should report only on executed tests
Reviewed-by: erikj, dholmes, jpai, djelinski
2023-01-06 11:28:38 +00:00
bobpengxie
88f0ea7887 8299726: [cleanup] Some code cleanup in opto/compile.hpp
Reviewed-by: thartmann
2023-01-06 10:48:28 +00:00
Bhavana Kilambi
136f5db03d 8299528: IR test: TestEor3AArch64.java fails on aarch64
Reviewed-by: thartmann, chagedorn
2023-01-06 10:04:04 +00:00
Andrey Turbanov
0234f813e6 8298447: Unnecessary Vector usage in DocPrintJob implementations
Reviewed-by: serb
2023-01-06 08:29:47 +00:00
Tobias Hartmann
cc4936a79e 8298720: Insufficient error handling when CodeBuffer is exhausted
Reviewed-by: kvn, fyang
2023-01-06 08:28:09 +00:00
Sergey Bylokhov
b5b7948d9b 8298240: Replace the usage of ImageLayoutException by the CMMException
Reviewed-by: prr
2023-01-06 08:04:51 +00:00
Tejesh R
99be74088e 8299306: Test "javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java" fails on Windows 10 x64 because there are some buttons did not display button name
Reviewed-by: psadhukhan, abhiscxk
2023-01-06 07:50:33 +00:00
Artem Semenov
775da84a84 8299412: JNI call of getAccessibleActionCount on a wrong thread
Reviewed-by: prr, serb
2023-01-06 07:09:05 +00:00
Anto J
7845b0d7b4 8296934: Write a test to verify whether Undecorated Frame can be iconified or not
Reviewed-by: serb
2023-01-06 00:37:26 +00:00
Pavel Rappo
284c94e20d 8298525: javadoc crashes with "UnsupportedOperationException: Not yet implemented" in SeeTaglet.inherit
Reviewed-by: jjg
2023-01-05 22:43:20 +00:00
Mikael Vidstedt
4b6809b94a 8299693: Change to Xcode12.4+1.1 devkit for building on macOS at Oracle
Reviewed-by: dholmes, erikj
2023-01-05 22:39:44 +00:00
Kim Barrett
dfdbd0fe7f 8299343: Windows: Invalid thread_native_entry declaration
Reviewed-by: dholmes, iklam
2023-01-05 22:02:45 +00:00
Kim Barrett
3e2314d082 8299254: Support dealing with standard assert macro
Reviewed-by: erikj, xuelei, dholmes, mikael
2023-01-05 19:49:01 +00:00
Naoto Sato
a49ccb959b 8299292: Missing elements in aliased String array
Reviewed-by: iris, joehw
2023-01-05 17:49:24 +00:00
Andrey Turbanov
b908388e81 8298449: Unnecessary Vector usage in MetaData.ProxyPersistenceDelegate
Reviewed-by: serb
2023-01-05 16:49:23 +00:00
Ashutosh Mehra
be64bf8cf0 8299329: Assertion failure with fastdebug build when trying to use CDS without classpath
Reviewed-by: iklam, ccheung
2023-01-05 16:09:28 +00:00
Maurizio Cimadamore
9c4ed16be2 8299561: VaList.empty() doesn't return a list associated with the global scope
Reviewed-by: jvernee
2023-01-05 09:44:16 +00:00
Roland Westrelin
872384707e 8298848: C2: clone all of (CmpP (LoadKlass (AddP down at split if
Reviewed-by: kvn, thartmann, chagedorn
2023-01-05 09:33:14 +00:00
Matthias Baesken
1ca31d34fc 8299657: sun/tools/jhsdb/SAGetoptTest.java fails after 8299470
Reviewed-by: clanger
2023-01-05 09:31:38 +00:00
Sergey Bylokhov
e7361cb746 8299430: Cleanup: delete unnecessary semicolons in java.desktop module
Reviewed-by: stsypanov, aghaisas, iris
2023-01-05 08:47:21 +00:00
Matthias Baesken
c929d8be5d 8299475: Enhance SocketException by cause where it is missing in net and nio area
Reviewed-by: alanb
2023-01-05 08:26:38 +00:00
Matthias Baesken
2ccdefc81c 8299470: sun/jvm/hotspot/SALauncher.java handling of negative rmiport args
Reviewed-by: clanger, sspitsyn, kevinw
2023-01-05 07:59:41 +00:00
Abhishek Kumar
578c287a68 8081507: Open or Save button in JFileChooser has OK title in GTK LaF
Reviewed-by: serb, tr
2023-01-04 22:45:39 +00:00
ravi.ra.gupta
5ae6de859d 8299296: Write a test to verify the components selection sends ItemEvent
Reviewed-by: serb
2023-01-04 22:44:38 +00:00
Justin Lu
3b374c0153 8299439: java/text/Format/NumberFormat/CurrencyFormat.java fails for hr_HR
Reviewed-by: naoto, lancea, jpai
2023-01-04 21:59:02 +00:00
Michael Ernst
7dcc689932 8299563: Fix typos
Reviewed-by: lancea, aivanov, sspitsyn
2023-01-04 19:59:45 +00:00
Archie L. Cobbs
44be5edf5a 8219810: javac throws NullPointerException
Reviewed-by: vromero
2023-01-04 17:50:32 +00:00
Archie L. Cobbs
b9758d2201 8200610: Compiling fails with java.nio.file.ReadOnlyFileSystemException
Reviewed-by: vromero
2023-01-04 17:32:33 +00:00
Jesper Wilhelmsson
df1caf9081 Merge 2023-01-04 16:03:09 +00:00
Archie L. Cobbs
6a07fd0ec1 8155259: Suspicious buffer allocation in com.sun.tools.javac.file.BaseFileManager
8172106: javac throws exception when compiling source file of size 1.5G

Reviewed-by: vromero
2023-01-04 16:01:59 +00:00
Archie L. Cobbs
4c0f24ef71 8064931: tools/javac/scope/DupUnsharedTest.java needs to be updated to add the bug id
Reviewed-by: vromero
2023-01-04 16:00:22 +00:00
Yi-Fan Tsai
c6588d5bb3 8299158: Improve MD5 intrinsic on AArch64
Reviewed-by: luhenry, haosun, aph
2023-01-04 14:51:25 +00:00
Erik Österlund
c32a34c2e5 8299072: java_lang_ref_Reference::clear_referent should be GC agnostic
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: dholmes, shade, kbarrett
2023-01-04 14:49:44 +00:00
Coleen Phillimore
ccbcea830d 8299326: LinkResolver::resolve_field resolved_klass cannot be null
Reviewed-by: iklam, fparain
2023-01-04 14:42:15 +00:00
Erik Österlund
e3035bad60 8299079: Better interface nmethod oop accesses
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: kvn, dholmes
2023-01-04 14:31:07 +00:00
Daniel Jeliński
41900b57af 8189338: JMX RMI Remote Mbean server connection hangs if the server stops responding during a SSL Handshake
Reviewed-by: smarks
2023-01-04 13:17:29 +00:00
Aleksey Shipilev
a17f505d73 8299476: PPC64 Zero build fails after JDK-8286302
Reviewed-by: mdoerr
2023-01-04 10:46:34 +00:00
Ioi Lam
82deb5ca61 8298601: Refactor archiving of java.lang.Module objects
Reviewed-by: coleenp, ccheung
2023-01-04 04:03:43 +00:00
Kim Barrett
b743519ba9 8293824: gc/whitebox/TestConcMarkCycleWB.java failed "RuntimeException: assertTrue: expected true, was false"
Reviewed-by: iwalulya, tschatzl
2023-01-04 03:28:31 +00:00
Prasanta Sadhukhan
77ff197746 7030853: JDK 7 Serializable Swing classes not compatible with JDK 6
Reviewed-by: serb, aivanov
2023-01-04 03:26:32 +00:00
Xue-Lei Andrew Fan
38cfc59172 8299378: sprintf is deprecated in Xcode 14
Reviewed-by: kbarrett, dholmes
2023-01-03 22:44:14 +00:00
David Holmes
8254cbb21d 8299483: ProblemList java/text/Format/NumberFormat/CurrencyFormat.java
Backport-of: 5b5552ff2a
2023-01-03 21:22:16 +00:00
Erik Joelsson
031829d885 8298324: Unable to run shell test with make
Reviewed-by: dholmes
2023-01-03 21:07:19 +00:00
Mark Powers
3eb85d19ec 8299235: broken link referencing missing id
Reviewed-by: mullan
2023-01-03 15:41:55 +00:00
Matthias Baesken
ea25a561c5 8299520: TestPrintXML.java output error messages in case compare fails
Reviewed-by: mgronlun
2023-01-03 15:26:10 +00:00
Ryan Wallace
92dfc735f2 8294526: sun/security/provider/SubjectCodeSource.java no longer referenced
Reviewed-by: weijun, xuelei
2023-01-03 13:52:47 +00:00
Jesper Wilhelmsson
3d0db02c76 Merge 2023-01-03 13:10:15 +00:00
Aleksei Voitylov
245f0cf4ac 8291302: ARM32: nmethod entry barriers support
Reviewed-by: eosterlund, rrich, mdoerr, aph
2023-01-03 12:02:39 +00:00
Per Minborg
a9ce7726a7 8299437: Make InetSocketAddressHolder shallowly immutable
Reviewed-by: djelinski, jpai, alanb
2023-01-03 10:00:19 +00:00
Justin King
8afd665bf9 8299395: Remove metaprogramming/removeCV.hpp
Reviewed-by: kbarrett, tschatzl
2023-01-03 09:13:49 +00:00
Tobias Hartmann
a6a903d4b6 8288204: GVN Crash: assert() failed: correct memory chain
Backport-of: 0459159537
2023-01-03 08:21:22 +00:00
David Holmes
375743336d 8295974: jni_FatalError and Xcheck:jni warnings should print the native stack when there are no Java frames
Reviewed-by: coleenp, rehn, sspitsyn
2023-01-03 04:22:51 +00:00
Jaikiran Pai
417d01ea63 8299441: Fix typos in some test files under core-libs component
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: lancea
2023-01-03 01:58:49 +00:00
David Holmes
5b5552ff2a 8299483: ProblemList java/text/Format/NumberFormat/CurrencyFormat.java
Reviewed-by: lancea
2023-01-02 23:34:20 +00:00
Albert Mingkun Yang
67086ebf80 8299030: Refactor ReservedSpace::reserve
Reviewed-by: dholmes, tschatzl
2023-01-02 14:59:11 +00:00
Justin King
ce6395a135 8299397: Remove metaprogramming/isFloatingPoint.hpp
Reviewed-by: kbarrett, iwalulya, tschatzl
2023-01-02 14:36:01 +00:00
Justin King
71a64a1b7a 8299399: Remove metaprogramming/isArray.hpp
Reviewed-by: kbarrett, iwalulya, tschatzl
2023-01-02 14:34:44 +00:00
Justin King
532ccdb61a 8299396: Remove metaprogramming/removeExtent.hpp
Reviewed-by: kbarrett, iwalulya, tschatzl
2023-01-02 14:33:44 +00:00
Justin King
9d3d03997e 8299402: Remove metaprogramming/isVolatile.hpp
Reviewed-by: kbarrett, iwalulya, tschatzl
2023-01-02 14:16:26 +00:00
Albert Mingkun Yang
c252a85fb0 8298652: G1: Refactor G1MarkAndPushClosure
Reviewed-by: iwalulya, tschatzl
2023-01-02 14:01:34 +00:00
Per Minborg
8a10eef408 8299193: (bf) Buffer.capacity should be declared final
Reviewed-by: rriggs, dholmes, jpai
2023-01-02 13:25:04 +00:00
Per Minborg
e09e243116 8299187: (bf) ByteOrder.name should be declared final
Reviewed-by: jpai
2023-01-02 13:22:19 +00:00
Jorn Vernee
0532045edb 8298590: Refactor LambdaForm constructors
Reviewed-by: redestad
2023-01-02 12:06:26 +00:00
Justin King
d812022890 8299398: Remove metaprogramming/isConst.hpp
Reviewed-by: kbarrett, iwalulya, tschatzl
2023-01-02 12:00:39 +00:00
Matthias Baesken
95d4db3a92 8299424: containers/docker/TestMemoryWithCgroupV1.java fails on SLES12 ppc64le when testing Memory and Swap Limit
Reviewed-by: mdoerr
2023-01-02 11:16:18 +00:00
Prasanta Sadhukhan
18ff1f5a05 6257207: JTable.getDefaultEditor throws NullPointerException
Reviewed-by: tr, dnguyen, aivanov, serb
2023-01-02 09:49:51 +00:00
Abhishek Kumar
2ee34f1488 4912623: GTK L&F: Folder list of the JFileChooser is allowing multiple selection unlike native
Reviewed-by: psadhukhan, jdv, serb
2023-01-02 06:03:12 +00:00
Matthias Baesken
c2e3d72848 8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows
Reviewed-by: mdoerr, alanb
2022-12-30 07:43:32 +00:00
Daniel Jeliński
684e50690c 8299260: libawt and libfreetype should export only explicitly requested symbols
Reviewed-by: prr, aivanov, serb
2022-12-30 06:40:27 +00:00
Jamil Nimeh
37f8b059c1 8298592: Add java man page documentation for ChaCha20 and Poly1305 intrinsics
Reviewed-by: weijun
2022-12-29 22:34:53 +00:00
Matthias Baesken
6f85a9c9a8 8299387: CompressedClassPointers.java still fails on ppc with 'Narrow klass shift: 0' missing
Reviewed-by: mdoerr
2022-12-28 14:22:43 +00:00
Matthias Baesken
d490f15e3b 8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java fails intermittent
Reviewed-by: xuelei
2022-12-28 08:28:02 +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
Yi Yang
0459159537 8288204: GVN Crash: assert() failed: correct memory chain
Reviewed-by: kvn, thartmann
2022-12-26 02:16:06 +00:00
Jesper Wilhelmsson
19373b2ff0 Merge 2022-12-25 01:56:28 +00:00
Toshio Nakamura
26868c1ac4 8299255: Unexpected round errors in FreetypeFontScaler
Reviewed-by: prr, serb
2022-12-24 14:26:42 +00:00
Artem Semenov
5e861e3965 8298645: JNI works with accessibleSelection on a wrong thread
Reviewed-by: serb, kizune
2022-12-23 22:28:41 +00:00
Artem Semenov
fd746a2fe0 8298643: JNI call of getAccessibleRowWithIndex and getAccessibleColumnWithIndex on a wrong thread
Reviewed-by: serb, kizune
2022-12-23 22:07:14 +00:00
Daniel D. Daugherty
188911c925 8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates unnecessary core file
Reviewed-by: coleenp
2022-12-23 13:51:58 +00:00
Xiaolin Zheng
da75de3184 8299172: RISC-V: [TESTBUG] Fix stack alignment logic in jvmci RISCV64TestAssembler.java
Reviewed-by: fyang
2022-12-23 11:54:00 +00:00
Jesper Wilhelmsson
19ce23c645 Merge 2022-12-23 11:25:10 +00:00
Xiaolin Zheng
2f4098e1dc 8299168: RISC-V: Fix MachNode size mismatch for MacroAssembler::_verify_oops*
Reviewed-by: fyang
2022-12-23 09:22:39 +00:00
Stuart Marks
33042a49d7 8299237: add ArraysSupport.newLength test to a test group
Reviewed-by: naoto
2022-12-22 21:56:04 +00:00
Jonathan Gibbons
2294f225c0 8286311: remove boilerplate from use of runTests
Reviewed-by: hannesw
2022-12-22 21:20:43 +00:00
Ichiroh Takiguchi
5e2de89628 8299194: CustomTzIDCheckDST.java may fail at future date
Reviewed-by: naoto
2022-12-22 21:07:01 +00:00
Ioi Lam
6ccee83958 8292206: TestCgroupMetrics.java fails as getMemoryUsage() is lower than expected
Reviewed-by: dholmes, sgehwolf
2022-12-22 20:50:20 +00:00
Andrey Turbanov
b378381a9c 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations
Reviewed-by: aivanov
2022-12-22 19:09:37 +00:00
Kim Barrett
62a033ecd7 8299191: Unnecessarily global friend functions for relocInfo
Reviewed-by: chagedorn, kvn
2022-12-22 17:30:09 +00:00
Bill Huang
a3693ccc61 8295087: Manual Test to Automated Test Conversion
Reviewed-by: ssahoo, rhalade
2022-12-22 16:50:59 +00:00
Mark Powers
a80c91d036 8299230: Use https: in links
Reviewed-by: jjg, mullan, xuelei
2022-12-22 15:29:53 +00:00
Chris Hegarty
9863f59e1d 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes
Backport-of: a7d6de71bb
2022-12-22 12:49:25 +00:00
Ajit Ghaisas
5e001d6ff3 8299207: [Testbug] Add back test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java
Co-authored-by: Alexey Ushakov <avu@openjdk.org>
Reviewed-by: jdv
2022-12-22 10:38:12 +00:00
Roland Westrelin
a0a09d56ba 8298176: remove OpaqueZeroTripGuardPostLoop once main-loop disappears
Reviewed-by: thartmann, chagedorn, kvn
2022-12-22 08:56:00 +00:00
Sergey Bylokhov
50120396b6 8298887: On the latest macOS+XCode the Robot API may report wrong colors
Reviewed-by: azvegint
2022-12-22 07:20:06 +00:00
Alexander Zuev
fef70d78ba 8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual indication of keyboard focus
8299127: [REDO] JDK-8194048 Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails
8299128: [REDO] JDK-8213562 Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails

Reviewed-by: aivanov, azvegint
2022-12-22 00:12:15 +00:00
Jesper Wilhelmsson
34cdda5b83 Merge 2022-12-21 23:50:59 +00:00
Damon Nguyen
f80faced6e 8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java fails
Reviewed-by: serb, honkar
2022-12-21 20:10:52 +00:00
Volodymyr Paprotski
22007a1e38 8298893: Rename option UsePolyIntrinsics to UsePoly1305Intrinsics
Reviewed-by: jnimeh, chagedorn, thartmann
2022-12-21 18:43:40 +00:00
Tyler Steele
9adc349cbb 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds
Backport-of: 5f63f7a742
2022-12-21 18:17:42 +00:00
Naoto Sato
7e59a0ecb6 8298971: Move Console implementation into jdk internal package
Reviewed-by: jpai
2022-12-21 18:09:21 +00:00
Xin Liu
10d62fa218 8299061: Using lambda to optimize GraphKit::compute_stack_effects()
Reviewed-by: kbarrett, thartmann
2022-12-21 16:48:20 +00:00
Matias Saavedra Silva
65442a2e26 8269736: Optimize CDS PatchEmbeddedPointers::do_bit()
Reviewed-by: ccheung, iklam
2022-12-21 15:33:24 +00:00
Roland Westrelin
88bfe4d3bf 8297724: Loop strip mining prevents some empty loops from being eliminated
Reviewed-by: kvn, thartmann
2022-12-21 14:46:57 +00:00
Chris Hegarty
a7d6de71bb 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: dfuchs, djelinski, jpai
2022-12-21 12:19:06 +00:00
Nick Gasson
81933b7a92 8298642: ParallelGC -XX:+UseNUMA eden spaces allocated on wrong node
Reviewed-by: tschatzl, ayang
2022-12-21 11:00:48 +00:00
Christoph Langer
92fe304f08 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body
Backport-of: 909d0cb4d9
2022-12-21 10:57:24 +00:00
Naveen Narayanan
b005013a00 8296275: Write a test to verify setAccelerator method of JMenuItem
Reviewed-by: mvs, aivanov
2022-12-21 10:48:27 +00:00
Andrey Turbanov
85f9b37d71 8297682: Use Collections.emptyIterator where applicable
Reviewed-by: stsypanov, alanb, jpai
2022-12-21 08:15:11 +00:00
Matthias Baesken
f36e144923 8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream
Reviewed-by: clanger
2022-12-21 08:05:37 +00:00
Xue-Lei Andrew Fan
f56285c361 8299146: No copyright statement on ArtifactResolverException.java
Reviewed-by: erikj
2022-12-21 01:47:50 +00:00
Kim Barrett
396a9bff68 8298913: Add override qualifiers to Relocation classes
Reviewed-by: kvn, aboldtch
2022-12-21 01:22:11 +00:00
Jonathan Gibbons
f7be5b530d 8299156: Broken link in jdk.compiler/module-info.java
Reviewed-by: iris
2022-12-20 22:53:09 +00:00
Martin Doerr
3d4d9fd6e6 8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails intermittently
Reviewed-by: kvn, chagedorn
2022-12-20 22:02:34 +00:00
Jonathan Gibbons
e85d00f6c3 8299147: Minor accessibility errors in the specs and man index pages
Reviewed-by: mchung, erikj
2022-12-20 21:33:53 +00:00
Jesper Wilhelmsson
386db07143 Merge 2022-12-20 20:20:17 +00:00
Albert Mingkun Yang
8dfb6d76e8 8298651: Serial: Remove MarkSweep::follow_klass
Reviewed-by: kbarrett, tschatzl
2022-12-20 19:36:52 +00:00
Daniel D. Daugherty
f4d7f43394 8299123: [BACKOUT] 4512626 Non-editable JTextArea provides no visual indication of keyboard focus
Reviewed-by: tschatzl
2022-12-20 16:20:50 +00:00
Coleen Phillimore
03afec16f8 8298162: Test PrintClasses hits assert when run with code that retransform classes
Reviewed-by: dholmes, mgronlun
2022-12-20 14:09:22 +00:00
Coleen Phillimore
03d992728e 8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.java failed with "fatal error: refcount has gone to zero"
Reviewed-by: iklam, dholmes
2022-12-20 13:21:50 +00:00
Erik Gahlin
de8153cab7 8298526: JFR: Generate missing filename for time-bound recordings
Reviewed-by: mgronlun
2022-12-20 13:07:25 +00:00
Albert Mingkun Yang
65fc05884b 8298968: G1: Incorrect merged remset stats
Reviewed-by: tschatzl, kbarrett
2022-12-20 12:43:53 +00:00
Erik Gahlin
318526b01e 8299031: JFR: Clean up jdk.management.jfr
Reviewed-by: mgronlun
2022-12-20 12:22:01 +00:00
Jesper Wilhelmsson
c5a4a7a679 Merge 2022-12-20 11:40:56 +00:00
Daniel Fuchs
e5edb10dc5 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: djelinski, jpai
2022-12-20 11:06:36 +00:00
Daniel Fuchs
5df00d34fe 8298931: java/net/httpclient/CancelStreamedBodyTest.java fails with AssertionError due to Pending TCP connections: 1
Reviewed-by: jpai
2022-12-20 11:05:38 +00:00
Erik Gahlin
3dd2cfabdc 8298784: JFR: Test chunk integrity
Reviewed-by: mgronlun
2022-12-20 10:52:11 +00:00
Daniel Jeliński
36de61c460 8298865: Excessive memory allocation in CipherOutputStream AEAD decryption
Reviewed-by: valeriep, ascarpino
2022-12-20 10:27:33 +00:00
lawrence.andrews
dd15d306a6 8299043: test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java fails with java.lang.NullPointerException
Reviewed-by: serb
2022-12-20 01:16:37 +00:00
Kim Barrett
ea40f29939 8298215: gc/g1/TestVerifyGCType.java failed with "Missing expected verification pattern Verifying After GC for: Pause Young (Prepare Mixed): expected true, was false"
Reviewed-by: iwalulya, tschatzl
2022-12-20 00:13:25 +00:00
Phil Race
05f9e7676e 8298974: Add ftcolor.c to imported freetype sources
Reviewed-by: serb
2022-12-19 23:32:58 +00:00
lawrence.andrews
abc1297643 8299044: test/jdk/javax/swing/JComboBox/JComboBoxBorderTest.java fails on non mac
Reviewed-by: serb, honkar
2022-12-19 23:26:01 +00:00
Roger Riggs
d0a7679d2e 4958969: ObjectOutputStream example leads to non-working code
Reviewed-by: lancea, naoto
2022-12-19 23:10:30 +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
Alexander Zuev
3e17e3c1c1 4512626: Non-editable JTextArea provides no visual indication of keyboard focus
8194048: Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails
8213562: Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails

Reviewed-by: aivanov, azvegint
2022-12-19 22:16:56 +00:00
Jonathan Gibbons
5d330f5285 8299045: tools/doclint/BadPackageCommentTest.java fails after JDK-8298943
Reviewed-by: vromero
2022-12-19 21:09:01 +00:00
Archie L. Cobbs
40cb431fee 8298943: Missing escapes for single quote marks in compiler.properties
Reviewed-by: jjg
2022-12-19 19:48:13 +00:00
Hannes Wallnöfer
188aaef385 8277074: Qualified exported types show up in JavaDoc
Reviewed-by: psandoz
2022-12-19 19:13:29 +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
Chris Plummer
9194e91549 8298701: Cleanup SA entries in ProblemList-zgc.txt.
Reviewed-by: sspitsyn, amenkov
2022-12-19 18:02:34 +00:00
Coleen Phillimore
4c927df712 8298470: Short cut java.lang.Object super class loading
Reviewed-by: dholmes, iklam
2022-12-19 17:13:57 +00:00
Matthias Baesken
756a06d4c2 8299022: Linux ppc64le and s390x build issues after JDK-8160404
Reviewed-by: mdoerr, lucy
2022-12-19 16:20:12 +00:00
Damon Fenacci
de0ce792c1 8297801: printnm crashes with invalid address due to null pointer dereference
Reviewed-by: thartmann, chagedorn, kvn
2022-12-19 15:44:38 +00:00
Emanuel Peter
da38d43fcc 8296412: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts
Reviewed-by: chagedorn, kvn, thartmann
2022-12-19 12:21:50 +00:00
Damon Fenacci
8e49fcdde4 8295661: CompileTask::compile_id() should be passed as int
Reviewed-by: thartmann, dnsimon, never
2022-12-19 08:50:44 +00:00
Damon Fenacci
86d588b035 8283740: C1: Convert flag TwoOperandLIRForm to a constant on all platforms
Reviewed-by: thartmann, chagedorn
2022-12-19 08:48:41 +00:00
Damon Fenacci
ec95991470 8298736: Revisit usages of log10 in compiler code
Reviewed-by: thartmann, chagedorn, epeter
2022-12-19 08:47:04 +00:00
Damon Fenacci
16225630ec 8265688: Unused ciMethodType::ptype_at should be removed
Reviewed-by: thartmann, kvn
2022-12-19 08:35:00 +00:00
sunguoyun
3637660521 8298813: [C2] Converting double to float cause a loss of precision and resulting crypto.aes scores fluctuate
Reviewed-by: thartmann
2022-12-19 07:56:36 +00:00
Christian Hagedorn
5e678f7500 8298824: C2 crash: assert(is_Bool()) failed: invalid node class: ConI
Reviewed-by: roland, kvn, thartmann
2022-12-19 07:10:12 +00:00
Fei Gao
ba942c24e8 8298244: AArch64: Optimize vector implementation of AddReduction for floating point
Reviewed-by: aph, xgong
2022-12-19 01:11:19 +00:00
Per Minborg
7938f8c32a 8298639: Perform I/O operations in bulk for RandomAccessFile
Co-authored-by: Sergey Tsypanov <stsypanov@openjdk.org>
Reviewed-by: alanb, bpb
2022-12-18 20:25:42 +00:00
Daniel D. Daugherty
34105556d1 8298987: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64
8298989: ProblemList vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java on macosx-x64
8298990: ProblemList java/lang/Thread/virtual/stress/Skynet.java subtests with ZGC

Reviewed-by: azvegint
2022-12-17 16:13:03 +00:00
Alexander Zvegintsev
d1026720d3 8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java" fails because the frames of instruction does not display
Reviewed-by: honkar, serb
2022-12-17 13:30:24 +00:00
Alexander Zvegintsev
41cc04430a 8298970: Problem list java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java
Reviewed-by: serb
2022-12-17 13:28:39 +00:00
Ajit Ghaisas
3b7970cab3 8298217: Regressions 30-110% in SwingMark on MacOS, more so on aarch64
Reviewed-by: avu, prr, jdv
2022-12-17 06:37:18 +00:00
Daniel D. Daugherty
0ecad28daa 8298976: ProblemList java/util/concurrent/ExecutorService/CloseTest.java on macosx-aarch64
8298977: ProblemList vmTestbase/nsk/stress/strace/strace002.java on 2 platforms
8298978: ProblemList vmTestbase/nsk/stress/strace/strace003.java on 2 platforms

Reviewed-by: kbarrett, iris
2022-12-16 21:17:04 +00:00
Damon Nguyen
c997b5bffd 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10
Reviewed-by: achung, naoto, joehw, cjplummer, almatvee
2022-12-16 21:15:29 +00:00
Kim Barrett
bfa921ae6c 8160404: RelocationHolder constructors have bugs
Reviewed-by: kvn, jrose, jvernee
2022-12-16 20:47:40 +00:00
Matthew Donovan
bf9a8ce0bb 8249826: 5 javax/net/ssl/SSLEngine tests use @ignore w/o bug-id
Reviewed-by: xuelei, rhalade, ssahoo
2022-12-16 17:51:57 +00:00
Naoto Sato
0eeaeb8e7b 8298808: Check script code on detecting the base locales
Reviewed-by: joehw
2022-12-16 17:16:20 +00:00
Eric Caspole
81e23ab340 8298809: Clean up vm/compiler/InterfaceCalls JMH
Reviewed-by: kvn
2022-12-16 16:30:31 +00:00
Jesper Wilhelmsson
3696711efa Merge 2022-12-16 15:48:24 +00:00
Tobias Hartmann
9e10f00edb 8298919: Add a regression test for JDK-8298520
Reviewed-by: chagedorn, roland
2022-12-16 14:39:48 +00:00
Coleen Phillimore
b14794db00 8298852: Use of uninitialized memory in MetadataFactory::free_metadata
Backport-of: f4caaca100
2022-12-16 14:09:55 +00:00
Justin King
f4caaca100 8298852: Use of uninitialized memory in MetadataFactory::free_metadata
Reviewed-by: coleenp, stefank, dholmes
2022-12-16 14:00:56 +00:00
Ivan Walulya
ac2fcf3f75 8296374: Check for young region in G1BarrierSet::invalidate instead of card-by-card check
Reviewed-by: ayang, tschatzl
2022-12-16 12:59:44 +00:00
Michal Karm Babacek
909d0cb4d9 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body
Reviewed-by: dfuchs
2022-12-16 12:28:39 +00:00
Maurizio Cimadamore
f771c56e16 8298797: Specification of some restricted methods is incorrect
Reviewed-by: jvernee, pminborg
2022-12-16 10:49:22 +00:00
Markus Grönlund
0ba4734891 8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with exception: java.lang.Exception: Found event that should not be there.
Reviewed-by: egahlin
2022-12-16 10:46:37 +00:00
Fei Yang
226e579c30 8298088: RISC-V: Make Address a discriminated union internally
Reviewed-by: fjiang, yadongwang, shade
2022-12-16 08:45:52 +00:00
Stefan Johansson
c47e64e4f3 8297979: ZGC: Ensure consistent MemoryUsage from MemoryMXBean.getHeapMemoryUsage()
Reviewed-by: stefank, ayang
2022-12-16 08:06:09 +00:00
Jaikiran Pai
fa322e40b6 8298709: Fix typos in src/java.desktop/ and various test classes of client component
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: iris, prr
2022-12-16 07:10:36 +00:00
Sergey Bylokhov
03a694afda 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working
Reviewed-by: prr
Backport-of: 5540a8c5b7
2022-12-16 06:33:08 +00:00
Jaikiran Pai
e41686b405 8298710: Fix typos in test/jdk/sun/security/tools/jarsigner/
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: lancea
2022-12-16 05:16:40 +00:00
David Holmes
a3364612f7 8298081: DiagnoseSyncOnValueBasedClasses doesn't report useful information for virtual threads
Reviewed-by: gziemski, pchilanomate
2022-12-16 01:08:30 +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
Daniel D. Daugherty
c7d7e7e3be 8298888: ProblemList gc/g1/TestVerifyGCType.java on linux and macosx
8298889: ProblemList runtime/StackGuardPages/TestStackGuardPages.java on linux
8298891: ProblemList vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded002/TestDescription.java with ZGC
8298892: ProblemList vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java with ZGC

Reviewed-by: bpb, lmesnik
2022-12-16 00:01:08 +00:00
Brian Burkhalter
5412439445 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+
Reviewed-by: alanb
2022-12-15 22:47:29 +00:00
David Holmes
3cdbd878e6 8298241: Replace C-style casts with JavaThread::cast
Reviewed-by: coleenp, stefank, sspitsyn
2022-12-15 21:15:34 +00:00
Coleen Phillimore
10737e168c 8298468: Clean up class_loader parameters
Reviewed-by: dholmes, iklam
2022-12-15 19:54:25 +00:00
Matthew Donovan
4b313b51b1 8297798: Timeout with DTLSOverDatagram test template
Reviewed-by: jnimeh, rhalade
2022-12-15 19:48:35 +00:00
Julian Waters
ae8988e834 8297912: HotSpot Style Guide should permit alignas (Second Proposal Attempt)
Reviewed-by: kbarrett, stuefe, kvn
2022-12-15 19:38:39 +00:00
Naoto Sato
0ef353925e 8298416: Console should be declared sealed
Reviewed-by: jpai, alanb
2022-12-15 19:20:12 +00:00
Brian Burkhalter
831b35fad3 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected
Reviewed-by: alanb
2022-12-15 17:27:39 +00:00
Brian Burkhalter
ca39eb9066 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected
Reviewed-by: alanb
2022-12-15 17:27:08 +00:00
Alexander Zvegintsev
0288210f25 8298859: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all
Reviewed-by: jdv
2022-12-15 16:43:06 +00:00
Per Minborg
2c42499266 8298050: Add links to graph output for javadoc
Reviewed-by: darcy
2022-12-15 15:46:05 +00:00
Stefan Karlsson
48f6127325 8298376: ZGC: thaws stackChunk with stale oops
Backport-of: ed8a2120ca
2022-12-15 11:44:21 +00:00
Jan Lahoda
22a6b59102 8298727: Trees.getPath may crash for unnamed package
Reviewed-by: vromero
2022-12-15 11:33:56 +00:00
Stefan Karlsson
323e574a50 8298371: monitors_on_stack extracts unprocessed oops
Backport-of: b754aa5e3f
2022-12-15 11:28:06 +00:00
Erik Österlund
b17c52422c 8298059: Linked stack watermarks don't support nesting
Reviewed-by: stefank, sspitsyn, rehn, pchilanomate
2022-12-15 09:26:13 +00:00
Matthias Baesken
98fa48c330 8298093: improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c
Reviewed-by: lucy, clanger
2022-12-15 08:11:09 +00:00
Alan Bateman
5f63f7a742 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds
Reviewed-by: bpb, jpai
2022-12-15 07:14:02 +00:00
Daniel Jeliński
3ae718725a 8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Server exception terminating: java.net.SocketException: Socket closed"
Reviewed-by: dfuchs, jpai
2022-12-15 06:55:25 +00:00
Daniel Jeliński
b9074fa1ed 8298249: Excessive memory allocation in CipherInputStream AEAD decryption
Reviewed-by: ascarpino, valeriep
2022-12-15 06:54:33 +00:00
Jesper Wilhelmsson
10bc86cc26 Merge 2022-12-15 06:36:55 +00:00
Matias Saavedra Silva
d1085d1be7 8281946: VM.native_memory should report size of shareable memory
Reviewed-by: stuefe, iklam
2022-12-15 05:03:57 +00:00
Coleen Phillimore
3ef382416f 8298794: Remove JVM_ACC_PROMOTED_FLAGS breaks minimal build
Reviewed-by: ayang, dcubed
2022-12-14 23:08:32 +00:00
Alisen Chung
0ed6d0b456 8297296: java/awt/Mouse/EnterExitEvents/DragWindowTest.java fails with "No MouseReleased event on label!"
Reviewed-by: psadhukhan, dnguyen
2022-12-14 22:10:01 +00:00
Kim Barrett
80cadd4010 8298785: gc/TestFullGCCount.java fails with "invalid boolean value: null' for expression vm.opt.ExplicitGCInvokesConcurrent'"
Reviewed-by: dcubed
2022-12-14 21:57:55 +00:00
Jesper Wilhelmsson
a130c8a668 Merge 2022-12-14 21:47:29 +00:00
Per Minborg
ebc471040e 8298277: Replace "session" with "scope" for FFM access
Reviewed-by: mcimadamore
2022-12-14 21:40:29 +00:00
Chris Plummer
ccb94acc44 8287812: Cleanup JDWP agent GetEnv initialization
Reviewed-by: alanb, sspitsyn
2022-12-14 19:37:20 +00:00
Thomas Schatzl
8ff2928a04 8297639: Remove preventive GCs in G1
Reviewed-by: ayang, iwalulya
2022-12-14 17:55:15 +00:00
Chris Plummer
7241e358bf 8298692: Fix typos in test/jdk/com/sun/jdi files
Reviewed-by: amenkov, sspitsyn
2022-12-14 17:53:11 +00:00
Emanuel Peter
736fcd49f7 8296318: use-def assert: special case undetected loops nested in infinite loops
Reviewed-by: chagedorn, kvn
2022-12-14 17:25:49 +00:00
Alexander Zvegintsev
c05dbac3cb 8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java' fails
Reviewed-by: serb
2022-12-14 16:51:41 +00:00
Daniel Fuchs
0dce5b811d 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect"
Reviewed-by: michaelm
2022-12-14 16:39:32 +00:00
Stefan Karlsson
ed8a2120ca 8298376: ZGC: thaws stackChunk with stale oops
Reviewed-by: eosterlund, pchilanomate
2022-12-14 14:34:24 +00:00
Axel Boldt-Christmas
581f9f2306 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax
Reviewed-by: thartmann, rcastanedalo
Backport-of: 042b7062f1
2022-12-14 14:10:24 +00:00
Erik Gahlin
0eeaf6b219 8298649: JFR: RemoteRecordingStream support for checkpoint event sizes beyond u4
Reviewed-by: mgronlun
2022-12-14 13:40:15 +00:00
Kim Barrett
279170147a 8298296: gc/TestFullGCCount.java fails with "System.gc collections miscounted."
Reviewed-by: tschatzl, ayang
2022-12-14 13:36:36 +00:00
Andrew Haley
0bbc4181cd 8294902: Undefined Behavior in C2 regalloc with null references
Reviewed-by: kvn, vlivanov
2022-12-14 13:32:21 +00:00
Coleen Phillimore
2e801e16ec 8298475: Remove JVM_ACC_PROMOTED_FLAGS
Reviewed-by: sspitsyn, dcubed, dholmes
2022-12-14 12:47:08 +00:00
Albert Mingkun Yang
9ee5037055 8298636: Fix return value in WB_CountAliveClasses and WB_GetSymbolRefcount
Reviewed-by: dholmes
2022-12-14 12:46:15 +00:00
Albert Mingkun Yang
ceca4fc9ec 8298264: Merge OffsetTableContigSpace into TenuredSpace
Reviewed-by: stefank, tschatzl
2022-12-14 12:45:17 +00:00
Jan Lahoda
9bcdfc4285 8298425: System.console().readLine() hangs in jshell
Reviewed-by: naoto, alanb
2022-12-14 11:36:04 +00:00
Matthijs Bijman
d32d6c028d 8297791: update _max_classes in node type system
Reviewed-by: thartmann
2022-12-14 11:30:34 +00:00
Stefan Karlsson
b754aa5e3f 8298371: monitors_on_stack extracts unprocessed oops
Reviewed-by: pchilanomate, rehn
2022-12-14 11:04:49 +00:00
Roland Westrelin
27d4971182 8298520: C2: assert(found_opaque == res) failed: wrong pattern
Reviewed-by: thartmann, chagedorn
2022-12-14 10:03:36 +00:00
Christoph Langer
51f0a1ce4b 8298527: Cygwin's uname -m returns different string than before
Reviewed-by: erikj
2022-12-14 07:32:28 +00:00
Jonathan Gibbons
61ab16f79a 8298700: Typo in DocTree comment
Reviewed-by: darcy
2022-12-13 23:20:43 +00:00
Joe Darcy
c6f22b4160 8297305: Clarify that javax.lang.model.util.Elements.overrides is irreflexive
Reviewed-by: jjg
2022-12-13 20:48:13 +00:00
Alex Menkov
220781fa56 8298513: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009/TestDescription.java fails with usage tracker
Reviewed-by: cjplummer, sspitsyn, lmesnik
2022-12-13 19:50:09 +00:00
Alex Menkov
a120764cc4 8298514: vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002/TestDescription.java fails with usage tracker
Reviewed-by: cjplummer, sspitsyn
2022-12-13 19:49:16 +00:00
Ioi Lam
68022770de 8298524: Debug function to trace reachability of CDS archived heap objects
Reviewed-by: ccheung
2022-12-13 19:35:30 +00:00
Brent Christian
bf78f716bd 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())
Reviewed-by: iris
Backport-of: c7aca73177
2022-12-13 19:07:44 +00:00
Jesper Wilhelmsson
23e18275ac Merge 2022-12-13 16:42:35 +00:00
Axel Boldt-Christmas
042b7062f1 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax
Reviewed-by: eosterlund, ayang, rcastanedalo
2022-12-13 15:43:16 +00:00
Albert Mingkun Yang
4081bba869 8297960: G1: Move Root Region Scan Waiting outside collection in logs
Reviewed-by: iwalulya, tschatzl
2022-12-13 14:29:46 +00:00
Albert Mingkun Yang
216775ff22 8298144: Remove Space::new_dcto_cl
Reviewed-by: stefank, tschatzl
2022-12-13 14:28:40 +00:00
Albert Mingkun Yang
c612f93e5a 8298576: Serial: Move some MarkSweep method definitions to cpp
Reviewed-by: stefank, tschatzl
2022-12-13 13:37:33 +00:00
Coleen Phillimore
04b8d0cf5c 8298084: Memory leak in Method::build_profiling_method_data
Co-authored-by: Justin King <jcking@openjdk.org>
Reviewed-by: kbarrett, eosterlund, dholmes, jcking, thartmann
2022-12-13 13:02:23 +00:00
Yude Lin
dbcfe7bc33 8298521: Rename members in G1MonitoringSupport
Reviewed-by: ayang, tschatzl
2022-12-13 10:26:05 +00:00
Prasanta Sadhukhan
3b1142a280 8298618: Typo in JPEGImageReader and JPEGImageWriter
Reviewed-by: iris, jdv, abhiscxk
2022-12-13 10:21:57 +00:00
Fei Yang
173778e2fe 8298568: Fastdebug build fails after JDK-8296389
Reviewed-by: rkennke, kvn, haosun
2022-12-13 00:57:02 +00:00
Coleen Phillimore
d453190300 8296955: Kitchensink.java failed with "double free or corruption (!prev): <addr>"
Reviewed-by: kbarrett, eosterlund, sspitsyn, dcubed
2022-12-13 00:49:16 +00:00
David Holmes
829cbc2cb1 8292674: ReportJNIFatalError should print all java frames
Reviewed-by: pchilanomate
2022-12-13 00:04:38 +00:00
Alexander Matveev
8962c723a8 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS
Reviewed-by: asemenyuk
2022-12-12 22:51:02 +00:00
David Holmes
be69930d9d 8288287: Remove expired flags in JDK 21
Reviewed-by: kvn, rehn
2022-12-12 22:20:16 +00:00
Per Minborg
c3bc4fcb3d 8297505: Declare fields in some sun.security.pkcs11 classes as final
Reviewed-by: valeriep
2022-12-12 21:51:59 +00:00
Brent Christian
c7aca73177 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())
Reviewed-by: lancea, bpb, naoto, dholmes, smarks
2022-12-12 19:36:55 +00:00
Chris Plummer
781a2e0b2d 8298343: "Could not confirm if TargetJDK is hardened." warning for SA tests on macosx-aarch64-debug
Reviewed-by: amenkov, kevinw
2022-12-12 18:29:58 +00:00
Naoto Sato
0267aa528b 8297288: Example code in Scanner class
Reviewed-by: lancea, bpb, alanb
2022-12-12 17:59:25 +00:00
Per Minborg
9ff85f6577 8298589: java/net/SctpSanity.java fail with NoClassDefFoundError: sun/nio/ch/sctp/UnsupportedUtil
Reviewed-by: alanb
2022-12-12 17:22:17 +00:00
Per Minborg
81f57d568f 8298567: Make field in RandomAccessFile final
Reviewed-by: rriggs, chegar
2022-12-12 17:06:34 +00:00
Severin Gehwolf
cf93933e21 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
Reviewed-by: mullan
2022-12-12 15:49:31 +00:00
Per Minborg
56c438bfc2 8297822: De-duplicate code in module jdk.sctp
Reviewed-by: dfuchs, rriggs
2022-12-12 13:33:24 +00:00
Emanuel Peter
fabda24696 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors
Reviewed-by: thartmann, chagedorn
2022-12-12 12:11:02 +00:00
Albert Mingkun Yang
6c23b4fd0d 8298480: Remove unused KlassRemSet
Reviewed-by: stefank
2022-12-12 11:18:33 +00:00
Albert Mingkun Yang
8e5c3319d0 8298471: Parallel: Don't keep alive nmethods in Young GC
Reviewed-by: stefank, iwalulya
2022-12-12 11:17:22 +00:00
Andrey Turbanov
d646e32b7a 8298090: Use String.join() instead of manual loop in DescriptorSupport.toString
Reviewed-by: stsypanov, sspitsyn, lmesnik
2022-12-12 07:36:34 +00:00
Christoph Langer
d624debe23 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation
Reviewed-by: erikj
2022-12-11 13:50:39 +00:00
Ioi Lam
a37de62d9d 8298126: Print statistics for objects in CDS archive heap
Reviewed-by: ccheung
2022-12-11 02:58:59 +00:00
Sangheon Kim
8ea2a6777b 8292265: Add old gen used field at G1HeapSummary JFR event
Reviewed-by: tschatzl, ayang
2022-12-09 23:31:17 +00:00
Xue-Lei Andrew Fan
478ef389dc 8296812: sprintf is deprecated in Xcode 14
Reviewed-by: stuefe, prr, kbarrett, lucy
2022-12-09 22:37:20 +00:00
Jesper Wilhelmsson
715bf70459 Merge 2022-12-09 22:00:12 +00:00
Artem Semenov
9749a43641 8298457: Instructions in a11y manual tests need to be updated
Reviewed-by: kizune, serb
2022-12-09 20:05:19 +00:00
Joe Darcy
7dbdd83da0 8298190: Update --release 20 symbol information for JDK 20 build 27
Reviewed-by: iris
2022-12-09 19:54:46 +00:00
Chris Plummer
99a6c47855 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx
8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes

Reviewed-by: ayang, sspitsyn
2022-12-09 18:42:35 +00:00
Thomas Stuefe
f729f5b6d0 8298298: NMT: count deltas are printed with 32-bit signed size
Reviewed-by: shade, dholmes
2022-12-09 17:46:28 +00:00
Tyler Steele
a8946490e2 8298225: [AIX] Disable PPC64LE continuations on AIX
Reviewed-by: rrich, mdoerr
2022-12-09 17:04:11 +00:00
Xin Liu
9346535415 8298320: Typo in the comment block of catch_inline_exception
Reviewed-by: thartmann
2022-12-09 16:49:47 +00:00
Jan Lahoda
52fffdd2c8 8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988
Reviewed-by: jjg
2022-12-09 16:41:26 +00:00
Roland Westrelin
b7b996cb94 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed
Reviewed-by: chagedorn, thartmann, kvn
2022-12-09 15:33:09 +00:00
Daniel Fuchs
05d67f69e3 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt
Reviewed-by: jpai
2022-12-09 15:23:22 +00:00
Erik Gahlin
5a92bee185 8298455: JFR: Add logging to TestClose.java
Reviewed-by: mgronlun
2022-12-09 15:21:59 +00:00
Roman Kennke
b30b464d05 8297036: Generalize C2 stub mechanism
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <xlinzheng@openjdk.org>
Reviewed-by: eosterlund, kvn, fyang
2022-12-09 14:52:27 +00:00
Albert Mingkun Yang
05b0a018c7 8298281: Serial: Refactor MarkAndPushClosure
Reviewed-by: stefank, sjohanss
2022-12-09 13:26:12 +00:00
Sergey Tsypanov
e3c6cf8eaf 8298380: Clean up redundant array length checks in JDK code base
Reviewed-by: dholmes, amenkov, serb, vtewari
2022-12-09 12:50:55 +00:00
Gui Cao
33d955ad6e 8298345: Fix another two C2 IR matching tests for RISC-V
Reviewed-by: fyang, dzhang, fjiang
2022-12-09 12:43:47 +00:00
Jan Lahoda
133ad8e173 8297988: NPE in JavacTypes.getOverriddenMethods from doclint
Reviewed-by: vromero, jjg
2022-12-09 11:11:46 +00:00
Per Minborg
cb766c5535 8297778: Modernize and improve module jdk.sctp
Reviewed-by: dfuchs, stsypanov
2022-12-09 09:46:50 +00:00
Emanuel Peter
11aece21f4 8257197: Add additional verification code to PhaseCCP
Reviewed-by: chagedorn, kvn, thartmann
2022-12-09 07:11:57 +00:00
Joe Darcy
7f9c6ce331 8297679: InvocationTargetException field named target is not declared final
Reviewed-by: alanb
2022-12-09 00:29:08 +00:00
Sergey Bylokhov
5540a8c5b7 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working
Reviewed-by: psadhukhan
2022-12-08 23:28:48 +00:00
Y. Srinivas Ramakrishna
c16eb89ce0 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)"
Reviewed-by: rkennke, shade
2022-12-08 21:54:16 +00:00
Quan Anh Mai
3dfadeebd0 8292289: [vectorapi] Improve the implementation of VectorTestNode
Reviewed-by: xgong, kvn
2022-12-08 20:25:20 +00:00
Daniel D. Daugherty
553ba65dc4 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64
8298414: ProblemList gc/TestFullGCCount.java on linux-x64
8298417: ProblemList vmTestbase/nsk/stress/strace/strace004.java on 2 platforms
8298419: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java on windows-x64

Reviewed-by: rriggs
2022-12-08 20:19:18 +00:00
Alan Bateman
d35e840024 8297295: Remove ThreadGroup.allowThreadSuspension
Reviewed-by: jpai, smarks, chegar, darcy
2022-12-08 18:17:58 +00:00
Joe Darcy
175e3d3ff3 8296149: Start of release updates for JDK 21
8296150: Add SourceVersion.RELEASE_21
8296151: Add source 21 and target 21 to javac

Reviewed-by: dholmes, iris, erikj, vromero, jlahoda
2022-12-08 16:04:00 +00:00
Emanuel Peter
d562d3fcbe 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination
Reviewed-by: thartmann, roland
2022-12-08 15:29:26 +00:00
Matthias Baesken
fc52f21f9a 8298255: JFR provide information about dynamization of number of compiler threads
Reviewed-by: stuefe, mgronlun, egahlin
2022-12-08 15:05:45 +00:00
Erik Gahlin
e555d54705 8298383: JFR: GenerateJfrFiles.java lacks copyright header
Reviewed-by: mgronlun, erikj
2022-12-08 14:42:04 +00:00
Markus Grönlund
c084431fae 8298379: JFR: Some UNTIMED events only sets endTime
Reviewed-by: ehelin, egahlin
2022-12-08 14:37:18 +00:00
Markus Grönlund
ea108f504c 8298129: Let checkpoint event sizes grow beyond u4 limit
Reviewed-by: egahlin
2022-12-08 12:51:46 +00:00
Johan Sjölen
165dcdd27d 8297718: Make NMT free:ing protocol more granular
Reviewed-by: stuefe, gziemski
2022-12-08 12:32:59 +00:00
Kevin Walls
fbe7b00738 8298173: GarbageCollectionNotificationContentTest test failed: no decrease in Eden usage
Reviewed-by: dcubed, cjplummer, sspitsyn
2022-12-08 12:10:26 +00:00
Tobias Hartmann
d8ef60b406 8298272: Clean up ProblemList
Reviewed-by: chagedorn, kvn
2022-12-08 12:06:24 +00:00
Erik Gahlin
9353899bc5 8298175: JFR: Common timestamp for periodic events
Reviewed-by: dholmes, mgronlun
2022-12-08 12:02:13 +00:00
Christian Hagedorn
94575d14f4 8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead
Reviewed-by: thartmann, rcastanedalo
2022-12-08 12:00:01 +00:00
Christian Hagedorn
49b86224aa 8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph
Reviewed-by: thartmann, kvn
2022-12-08 11:23:42 +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
Anthony Vanelverdinghe
297bf6a596 8287397: Print top-level exception when snippet fails to read file
Reviewed-by: jjg
2022-12-08 10:19:39 +00:00
Smita Kamath
073897c88b 8294588: Auto vectorize half precision floating point conversion APIs
Reviewed-by: sviswanathan, kvn, jbhateja, fgao, xgong
2022-12-08 09:46:59 +00:00
Stefan Johansson
46cd457b0f 8298341: Ensure heap growth in TestNativeMemoryUsageEvents.java
Reviewed-by: egahlin, stuefe
2022-12-08 09:33:06 +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
Prasanta Sadhukhan
51759650e5 8298323: trivial typo in JOptionPane.OK_OPTION
Reviewed-by: iris
2022-12-08 07:15:02 +00:00
Tejesh R
d5cf18e7fb 8296198: JFileChooser throws InternalError java.lang.InternalError with Windows shortcuts
Reviewed-by: serb, abhiscxk
2022-12-08 04:34:48 +00:00
Xiaolin Zheng
74f346b33f 8298075: RISC-V: Implement post-call NOPs
Reviewed-by: fyang, luhenry
2022-12-08 02:19:35 +00:00
Darragh Clarke
3aa4070d4c 8294047: HttpResponseInputStream swallows interrupts
Reviewed-by: dfuchs, vtewari, jpai
2022-12-08 01:39:07 +00:00
Alexander Zuev
af8fb7eef7 8282578: AIOOBE in javax.sound.sampled.Clip
Reviewed-by: prr, aivanov, azvegint
2022-12-08 00:32:13 +00:00
Doug Simon
8b69a2e434 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime
Reviewed-by: never
2022-12-07 22:11:11 +00:00
Naoto Sato
8a9911ef17 8295803: Console should be usable in jshell and other environments
Reviewed-by: jlaskey, alanb
2022-12-07 20:49:29 +00:00
Xue-Lei Andrew Fan
5d4c71c8bd 8281236: (D)TLS key exchange named groups
Reviewed-by: mullan
2022-12-07 20:16:45 +00:00
Brian Burkhalter
10356e767a 8298303: (fs) temporarily remove Path.getExtension
Reviewed-by: smarks, alanb
2022-12-07 18:54:18 +00:00
Stefan Johansson
3b8c7ef8e7 8157023: Integrate NMT with JFR
Reviewed-by: stuefe, mgronlun, egahlin
2022-12-07 18:43:42 +00:00
Christian Hagedorn
e86f31b5e7 8298301: C2: assert(main_cmp->in(2)->Opcode() == Op_Opaque1) failed: main loop has no opaque node?
Reviewed-by: thartmann
2022-12-07 18:32:28 +00:00
Olga Mikhaltsova
8edb98df3d 8165943: LineBreakMeasurer does not measure correctly if TextAttribute.TRACKING is set.
Co-authored-by: Jason Fordham <jclf@azul.com>
Reviewed-by: prr
2022-12-07 18:02:20 +00:00
Tyler Steele
39344840c7 8298205: Prefer Member Initialization Lists for JFR classes in os_perf.hpp
Reviewed-by: dholmes, mgronlun
2022-12-07 16:54:10 +00:00
Markus KARG
389b8f4b78 8297298: SequenceInputStream should override transferTo
Reviewed-by: bpb
2022-12-07 16:29:43 +00:00
Tyler Steele
dd7385d1e8 8298202: [AIX] Dead code elimination removed jfr constructor used by AIX
Reviewed-by: dholmes, stuefe
2022-12-07 16:24:51 +00:00
Severin Gehwolf
29f1c3c6e3 8298274: Problem list TestSPISigned on Windows
Reviewed-by: mullan, dcubed
2022-12-07 15:45:35 +00:00
Claes Redestad
3de775094d 8298177: Various java.lang.invoke cleanups
8284363: Redundant imports in BoundMethodHandle

Reviewed-by: jvernee
2022-12-07 15:37:58 +00:00
Albert Mingkun Yang
6ed36835ec 8297209: Serial: Refactor GenCollectedHeap::full_process_roots
Reviewed-by: tschatzl, iwalulya
2022-12-07 15:14:32 +00:00
Roland Westrelin
86270e3068 8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node
Reviewed-by: kvn, thartmann, chagedorn
2022-12-07 14:16:50 +00:00
Jan Lahoda
cf63f2e3ea 8298184: Incorrect record component type in record patterns
Reviewed-by: vromero
2022-12-07 12:03:50 +00:00
Matthias Baesken
58170f657c 8298035: Provide better descriptions for JIT compiler JFR events
Reviewed-by: clanger, stuefe
2022-12-07 11:57:42 +00:00
Markus Grönlund
bfcc238ed0 8297964: Jetty.java fails "assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark"
Reviewed-by: egahlin
2022-12-07 11:25:37 +00:00
Thomas Stuefe
3e041eb909 8298248: Limit sscanf output width in cgroup file parsers
Reviewed-by: dholmes, sgehwolf
2022-12-07 11:12:51 +00:00
Severin Gehwolf
4da8411674 8298108: Add a regression test for JDK-8297684
Reviewed-by: mullan
2022-12-07 10:46:53 +00:00
Albert Mingkun Yang
80cbfab928 8298169: Remove unused methods in space.hpp
Reviewed-by: stefank
2022-12-07 10:35:43 +00:00
Andrew Haley
221e1a4260 8286666: JEP 429: Implementation of Scoped Values (Incubator)
Reviewed-by: psandoz, dlong, alanb, mcimadamore
2022-12-07 10:14:06 +00:00
Alan Bateman
ccc69af966 8296672: Implementation of Virtual Threads (Second Preview)
Reviewed-by: mchung, jpai
2022-12-07 10:12:40 +00:00
Sergey Bylokhov
5a3439db9f 4677581: ColorModel.getComponentSize()-wrong conditions for ArrayIndexOutOfBoundsExceptio
Reviewed-by: prr
2022-12-07 09:35:26 +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
Axel Boldt-Christmas
085f96cb1a 8295258: Add BasicType argument to AccessInternal::decorator_fixup
Reviewed-by: stefank, eosterlund
2022-12-07 08:28:20 +00:00
Thomas Stuefe
1c2a093988 8298147: Clang warns about pointless comparisons
Reviewed-by: dholmes
2022-12-07 07:31:29 +00:00
Denghui Dong
8ea369afe6 8298171: Missing newline in the example output of -Xlog:help
Reviewed-by: dholmes
2022-12-07 06:37:54 +00:00
Yi Yang
acf96c64b7 8290432: C2 compilation fails with assert(node->_last_del == _last) failed: must have deleted the edge just produced
Reviewed-by: kvn, thartmann, chagedorn
2022-12-07 03:08:07 +00:00
Andrew John Hughes
ce896731d3 8297804: (tz) Update Timezone Data to 2022g
Reviewed-by: naoto
2022-12-07 00:34:00 +00:00
Chris Plummer
62baff503e 8298221: Problem list gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java on macosx-aarch64
Reviewed-by: dcubed
2022-12-06 22:45:53 +00:00
Daniel D. Daugherty
16a5901845 8298214: ProblemList java/util/concurrent/forkjoin/AsyncShutdownNow.java
8298218: ProblemList java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java on windows-x64
8298222: ProblemList java/awt/Mixing/AWT_Mixing/ViewportOverlapping.java on windows-x64
8298220: ProblemList java/awt/Mixing/AWT_Mixing/OpaqueOverlapping.java on windows-x64

Reviewed-by: rriggs
2022-12-06 22:01:45 +00:00
Anthony Scarpino
b4da0ee706 8296507: GCM using more memory than necessary with in-place operations
Reviewed-by: jnimeh
2022-12-06 21:37:12 +00:00
Martin Doerr
cd2182a996 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic
Reviewed-by: kvn, dlong
2022-12-06 20:56:48 +00:00
Christian Stein
2cdc019565 8298178: Update to use jtreg 7.1.1
Reviewed-by: erikj
2022-12-06 20:51:06 +00:00
Mark Powers
79d163d499 8293412: Remove unnecessary java.security.egd overrides
Reviewed-by: xuelei, djelinski
2022-12-06 20:36:50 +00:00
Rajat Mahajan
ea83cb960d 8297450: ScaledTextFieldBorderTest.java fails when run with -show parameter
Reviewed-by: aivanov, honkar
2022-12-06 18:43:02 +00:00
Thomas Stuefe
336d230a39 8297958: NMT: Display peak values
Reviewed-by: jsjolen, sjohanss
2022-12-06 18:32:42 +00:00
Joe Darcy
0d2a9ee528 8298142: Update internal comment on language features in SourceVersion
Reviewed-by: sundar, jlahoda
2022-12-06 16:55:12 +00:00
Volodymyr Paprotski
203251ffc0 8297379: Enable the ByteBuffer path of Poly1305 optimizations
Reviewed-by: sviswanathan, ascarpino, jnimeh
2022-12-06 16:47:45 +00:00
Aggelos Biboudis
1e468320dc 8297602: Compiler crash with type annotation and generic record during pattern matching
Reviewed-by: jlahoda
2022-12-06 13:00:10 +00:00
Daniel Fuchs
b0e54328c5 8297687: new URI(S,S,S,S) throws exception with incorrect index position reported in the error message
Reviewed-by: jpai
2022-12-06 12:46:01 +00:00
Albert Mingkun Yang
2243646fe3 8298145: Remove ContiguousSpace::capacity
Reviewed-by: tschatzl
2022-12-06 12:26:06 +00:00
Per Minborg
84b927a05b 8296024: Usage of DirectBuffer::address should be guarded
Reviewed-by: mcimadamore, alanb, psandoz, bpb
2022-12-06 10:42:59 +00:00
Thomas Schatzl
a9e6c62ba7 8297186: G1 triggers unnecessary full GCs when heap utilization is low
Reviewed-by: kbarrett, sjohanss
2022-12-06 10:09:59 +00:00
Fei Gao
4458de95f8 8297172: Fix some issues of auto-vectorization of Long.bitCount/numberOfTrailingZeros/numberOfLeadingZeros()
Reviewed-by: kvn, thartmann
2022-12-06 09:35:27 +00:00
Pengfei Li
a61399854a 8297689: Fix incorrect result of Short.reverseBytes() call in loops
Reviewed-by: thartmann, jbhateja
2022-12-06 09:16:47 +00:00
Julian Waters
f8f46305ef 8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros
Reviewed-by: ihse
2022-12-06 08:42:36 +00:00
Daniel Jeliński
2a243a33cc 8267617: Certificate's IP x509 NameConstraints raises ArrayIndexOutOfBoundsException
Reviewed-by: mullan
2022-12-06 08:24:17 +00:00
Alan Bateman
923c746650 8298057: (fs) Remove PollingWatchService.POLLING_INIT_DELAY
Reviewed-by: bpb, jpai
2022-12-06 07:30:52 +00:00
Christian Hagedorn
0bd04a6589 8297951: C2: Create skeleton predicates for all If nodes in loop predication
Reviewed-by: thartmann, kvn
2022-12-06 07:18:44 +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
Albert Mingkun Yang
e9754181af 8298102: Remove DirtyCardToOopClosure::_last_explicit_min_done
Reviewed-by: tschatzl
2022-12-06 06:48:21 +00:00
Thomas Stuefe
04012c4310 8298111: Cleanups after UseMallocOnly removal
Reviewed-by: coleenp
2022-12-06 06:30:59 +00:00
Srikanth Adayapalam
ee9ba74564 8295184: Printing messages with a RecordComponentElement does not include position
Reviewed-by: vromero
2022-12-06 04:23:40 +00:00
Jayathirth D V
ba2d28e911 8298027: Remove SCCS id's from awt jtreg tests
Reviewed-by: aivanov
2022-12-06 03:43:28 +00:00
Alexey Semenyuk
8d8a28ffcb 8296489: tools/jpackage/windows/WinL10nTest.java fails with timeout
Reviewed-by: almatvee
2022-12-06 00:14:31 +00:00
Alexey Semenyuk
884b9ade41 8293453: tools/jpackage/share/AddLShortcutTest.java "Failed: Check the number of mismatched pixels [1024] of [1024] is < [0.100000] threshold"
Reviewed-by: almatvee
2022-12-06 00:13:22 +00:00
Phil Race
8af6e8a67f 8298123: Problem List MaximizedToIconified.java on macOS
Reviewed-by: dcubed
2022-12-05 21:26:44 +00:00
Jorn Vernee
da0917a2ae 8297729: Replace GrowableArray in ComputeMoveOrder with hash table
Reviewed-by: coleenp, jsjolen
2022-12-05 20:47:06 +00:00
Erik Gahlin
9827b75c45 8298043: jdk/jfr/api/consumer/recordingstream/TestStop.java failed with "Expected outer stream to have 3 events"
Reviewed-by: mgronlun
2022-12-05 20:40:35 +00:00
ravi.ra.gupta
7d20a60a98 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent
Reviewed-by: honkar, aivanov
2022-12-05 18:41:42 +00:00
Phil Race
601264d97d 8273357: SecurityManager deprecation warning from java/awt/regtesthelpers/Util.java
Reviewed-by: kizune, aivanov
2022-12-05 17:54:15 +00:00
Hannes Wallnöfer
6a7a0db587 8296619: Upgrade jQuery to 3.6.1
Reviewed-by: jjg
2022-12-05 16:23:01 +00:00
Jorn Vernee
a38c63da56 8297733: Refactor Cast binding to enum
Reviewed-by: mcimadamore
2022-12-05 15:28:51 +00:00
Alan Bateman
19d849884b 8297495: j.u.concurrent updates for JDK 20
Reviewed-by: jpai
2022-12-05 15:20:16 +00:00
Tyler Steele
328845926d 8297606: [AIX] Broken build after JDK-8295475
Reviewed-by: mdoerr, stuefe
2022-12-05 14:53:52 +00:00
Jorn Vernee
0452c39fec 8296477: Foreign linker implementation update following JEP 434
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: rehn, mcimadamore, vlivanov
2022-12-05 14:47:12 +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
Afshin Zafari
bd381886e0 8297766: Remove UseMallocOnly development option
Reviewed-by: coleenp, stuefe, dholmes
2022-12-05 13:31:15 +00:00
Afshin Zafari
b9eec96889 8281214: Unsafe use of long in VMThread::setup_periodic_safepoint_if_needed
Reviewed-by: eastigeevich, shade
2022-12-05 13:30:15 +00:00
Coleen Phillimore
e7e03548fe 8297767: Assert JNICritical_lock/safepoint-1 and AdapterHandlerLibrary_lock/safepoint-1
Reviewed-by: pchilanomate, rehn
2022-12-05 13:18:44 +00:00
Xiaolin Zheng
f9e0f1d5b3 8297763: Fix missing stub code expansion before align() in shared trampolines
Reviewed-by: fyang, luhenry
2022-12-05 12:43:57 +00:00
Jan Lahoda
2300ed458d 8291769: Translation of switch with record patterns could be improved
Reviewed-by: vromero
2022-12-05 12:04:23 +00:00
Aleksey Shipilev
eab0ada3a1 8296545: C2 Blackholes should allow load optimizations
Reviewed-by: kvn, vlivanov
2022-12-05 12:00:30 +00:00
Matthias Baesken
dea2161f06 8297959: Provide better descriptions for some Operating System JFR events
Reviewed-by: stuefe
2022-12-05 11:31:31 +00:00
Robbin Ehn
d523d9d081 8297864: Dead code elimination
Reviewed-by: coleenp, pchilanomate
2022-12-05 10:31:35 +00:00
Jan Lahoda
777fb52ef5 8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.doRecovery
Reviewed-by: vromero
2022-12-05 09:33:42 +00:00
Kevin Walls
17666fbcae 8297794: Deprecate JMX Management Applets for Removal
Reviewed-by: dfuchs, mullan, rriggs, alanb
2022-12-05 09:27:14 +00:00
Emanuel Peter
619b68c5d1 8294540: Remove Opaque2Node: it is broken and triggers assert
Reviewed-by: chagedorn, kvn
2022-12-05 08:30:31 +00:00
sendaoYan
82561de722 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout
Reviewed-by: weijun, wetmore
2022-12-05 07:41:42 +00:00
Ivan Walulya
61b7093123 8297872: Non-local G1MonotonicArenaFreePool::_freelist_pool has non-trivial ctor/dtor
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: kbarrett, tschatzl
2022-12-05 07:16:56 +00:00
Thomas Stuefe
3b3bbe5487 8296907: VMError: add optional callstacks, siginfo for secondary errors
Reviewed-by: aboldtch, rschmelter
2022-12-05 07:10:31 +00:00
Christian Hagedorn
a57392390b 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top
Reviewed-by: thartmann, rcastanedalo, kvn
2022-12-05 07:09:04 +00:00
Fei Yang
b49fd920b6 8298055: AArch64: fastdebug build fails after JDK-8247645
Reviewed-by: aph, haosun
2022-12-05 03:40:07 +00:00
Michal Karm Babacek
914ef07fed 8297609: Add application/wasm MIME type for wasm file extension
Reviewed-by: jpai, michaelm
2022-12-05 01:59:20 +00:00
Julian Waters
a71d91b96f 8298067: Persistent test failures after 8296012
Reviewed-by: alanb
2022-12-04 17:32:20 +00:00
Daniel D. Daugherty
87572d43be 8298068: ProblemList tests failing due to JDK-8297235
8298070: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64
8298071: ProblemList tests failing due to JDK-8298059
8298072: ProblemList compiler/c1/TestPrintC1Statistics.java in Xcomp mode on linux-aarch64

Reviewed-by: azvegint
2022-12-04 16:37:09 +00:00
Andrey Turbanov
0edb5d0805 8297683: Use enhanced-for cycle instead of Enumeration in java.security.jgss
Reviewed-by: weijun
2022-12-04 12:07:42 +00:00
Thomas Stuefe
c67166f120 8298003: NMT: fatal block printout does not show the correct corruption address
Reviewed-by: shade, mbaesken
2022-12-03 06:53:56 +00:00
Daniel D. Daugherty
99e2ef49a8 8298054: ProblemList jdk/jfr/api/consumer/recordingstream/TestStop.java
Reviewed-by: lmesnik
2022-12-03 04:13:33 +00:00
Daniel D. Daugherty
6065516bb3 8291418: adjust monitor deflation logging and deflate_idle_monitors use
Reviewed-by: dholmes, stuefe, pchilanomate
2022-12-02 22:31:08 +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
Jorn Vernee
562bc171b9 8291359: Specification of method j.l.foreign.VaList::skip still deserves clarification
Reviewed-by: mcimadamore
2022-12-02 22:15:27 +00:00
Alex Menkov
2821fa9883 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification
Reviewed-by: alanb, cjplummer, sspitsyn
2022-12-02 20:16:51 +00:00
Coleen Phillimore
fb6fd03233 8291830: jvmti/RedefineClasses/StressRedefine failed: assert(!is_null(v)) failed: narrow klass value can never be zero
Reviewed-by: sspitsyn, eosterlund, kbarrett
2022-12-02 19:09:05 +00:00
Erik Gahlin
1b924659c8 8297608: JFR: Incorrect duration after chunk rotation
Reviewed-by: mgronlun
2022-12-02 17:21:48 +00:00
Leonid Mesnik
6065696e5d 8297982: Exclude vmTestbase/nsk/monitoring/stress/lowmem/ with ZGC until 8297979 is fixed
Reviewed-by: tschatzl
2022-12-02 15:11:41 +00:00
Ashutosh Mehra
415cfd2e28 8297285: Shenandoah pacing causes assertion failure during VM initialization
Reviewed-by: rkennke, phh
2022-12-02 14:22:52 +00:00
Magnus Ihse Bursie
df072556a5 8297984: Turn on warnings as errors for javadoc
Reviewed-by: serb, erikj
2022-12-02 14:00:44 +00:00
Feilong Jiang
227364d592 8297953: Fix several C2 IR matching tests for RISC-V
Reviewed-by: fyang, chagedorn
2022-12-02 12:48:42 +00:00
Albert Mingkun Yang
1370228cd7 8297941: Add override modifier in space.hpp
Reviewed-by: kbarrett, tschatzl
2022-12-02 12:30:29 +00:00
Prasanta Sadhukhan
319faa5afc 8296084: javax/swing/JSpinner/4788637/bug4788637.java fails intermittently on a VM
Reviewed-by: tr, serb
2022-12-02 11:48:28 +00:00
Erik Gahlin
b73363fd7b 8297686: JFR: Improve documentation of EventStream::onMetadata(Consumer)
Reviewed-by: mgronlun
2022-12-02 11:35:15 +00:00
Justin King
1376f33011 8297911: Memory leak in JfrUpcalls::on_retransform
Reviewed-by: mgronlun
2022-12-02 11:31:19 +00:00
Christoph Langer
5c0ff26f32 8291444: GHA builds/tests won't run manually if disabled from automatic running
Reviewed-by: serb, erikj, ihse
2022-12-02 11:03:53 +00:00
Daniel Fuchs
6d0fbb2c49 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test
Reviewed-by: alanb, jpai, michaelm
2022-12-02 10:44:29 +00:00
Dingli Zhang
687fd714bb 8297549: RISC-V: Add support for Vector API vector load const operation
Reviewed-by: fyang, gcao
2022-12-02 08:30:00 +00:00
Fei Yang
d50015af99 8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension
Reviewed-by: fjiang, yadongwang, shade
2022-12-02 08:26:22 +00:00
Aleksey Shipilev
9bbcb546c8 8297784: Optimize @Stable field for Method.isCallerSensitive
Reviewed-by: redestad, jvernee, alanb
2022-12-02 07:29:27 +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
Magnus Ihse Bursie
b035056d28 8297455: Use the official ToolProvider API to call javac
Reviewed-by: erikj
2022-12-02 00:08:34 +00:00
Magnus Ihse Bursie
257aa15f15 8297444: Refactor the javacserver build tool
Reviewed-by: erikj, cstein
2022-12-01 23:41:58 +00:00
Liam Miller-Cushon
e846b0438c 8297875: jar should not compress the manifest directory entry
Reviewed-by: lancea
2022-12-01 22:07:57 +00:00
Vicente Romero
82031d32a0 8297294: compiler/c2/irTests/TestMulNodeIdealization.java failed compilation
Reviewed-by: mcimadamore
2022-12-01 21:57:55 +00:00
Leonid Mesnik
337ca10085 8297978: Exclude vmTestbase/nsk/stress/except/except012.java until 8297977 is fixed
Reviewed-by: dcubed
2022-12-01 21:29:18 +00:00
Joe Darcy
770ff5a812 8297215: Update libs tests to use @enablePreview
Reviewed-by: alanb, sspitsyn
2022-12-01 20:38:16 +00:00
Andrew Haley
c69aa42d02 8297968: Crash in PrintOptoAssembly
Reviewed-by: kvn
2022-12-01 20:34:18 +00:00
Kim Barrett
5a5ced3a90 8297830: aarch64: Make Address a discriminated union internally
Reviewed-by: aph, dcubed
2022-12-01 20:15:14 +00:00
Ioi Lam
391599bc9d 8297313: Refactor APIs for calculating address of CDS archive heap regions
Reviewed-by: matsaave, ccheung
2022-12-01 19:59:14 +00:00
Harshitha Onkar
09629570f5 8297449: Update JInternalFrame Metal Border code
Reviewed-by: aivanov, kizune
2022-12-01 18:57:50 +00:00
Alexander Zvegintsev
9f94cbec51 8271519: java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]"
Reviewed-by: serb
2022-12-01 18:10:31 +00:00
Christian Stein
c70d1e1bd3 8296710: Update to use jtreg 7.1
Reviewed-by: erikj, alanb, jjg
2022-12-01 16:49:40 +00:00
Matthijs Bijman
4899d78292 8293294: Remove dead code in Parse::check_interpreter_type
Reviewed-by: vlivanov, thartmann
2022-12-01 15:57:09 +00:00
Albert Mingkun Yang
5459b1104f 8297033: G1: Improve logging for Remembered Sets
Reviewed-by: tschatzl, kbarrett
2022-12-01 15:32:27 +00:00
Sergey Tsypanov
c6156f9123 8297561: Redundant index check in String.offsetByCodePoints()
Reviewed-by: aturbanov, rriggs, redestad
2022-12-01 15:28:39 +00:00
Erik Gahlin
eec24aa203 8295350: JFR: Add stop methods for recording streams
Reviewed-by: mgronlun
2022-12-01 15:01:42 +00:00
Roland Westrelin
9430f3e65c 8297934: [BACKOUT] Compiler should only use verified interface types for optimization
Reviewed-by: thartmann, kvn
2022-12-01 14:19:28 +00:00
Aggelos Biboudis
2cb64a7557 8294943: Implement record patterns in enhanced for
8296802: Parse errors when deconstructing a record using the enhanced for loop of JEP 432

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-12-01 12:40:09 +00:00
Jan Lahoda
fc9d419b4f 8297928: Update jdk.internal.javac.PreviewFeature.Feature to reflect JEP 432 and JEP 433
Reviewed-by: alanb
2022-12-01 11:46:13 +00:00
Jan Lahoda
b60cce6f3b 8297118: Change IncompatibleClassChangeError to MatchException for exhaustive switch statements and switch expressions
Reviewed-by: vromero
2022-12-01 10:51:57 +00:00
Alan Bateman
cd776093c7 8294278: ForkJoinPool.getAndAddPoolIds should use Unsafe.staticFieldBase
Reviewed-by: burban, chegar, martin
2022-12-01 10:40:36 +00:00
Stefan Johansson
eea1a8a95e 8297427: Avoid keeping class loaders alive when executing ClassLoaderStatsVMOperation
Reviewed-by: eosterlund, stefank
2022-12-01 10:30:14 +00:00
Albert Mingkun Yang
794114787b 8297503: Merge FilteringDCTOC into ContiguousSpaceDCTOC
Reviewed-by: tschatzl, kbarrett
2022-12-01 10:00:57 +00:00
Tobias Hartmann
9f24a6f43c 8297389: resexhausted003 fails with assert(!thread->owns_locks()) failed: must release all locks when leaving VM
Reviewed-by: dholmes, rrich, dlong
2022-12-01 08:49:54 +00:00
Andrey Turbanov
fa0c599a00 8297750: Unnecessary Vector usage in IIORegistry
Reviewed-by: prr, serb
2022-12-01 08:16:55 +00:00
Aleksey Shipilev
34fcd83c5e 8297821: jdk/jshell/Test8294583.java fails on some platforms
Reviewed-by: alanb, jlahoda
2022-12-01 08:11:54 +00:00
Abhishek Kumar
ce048e7cb5 8295006: Colored text is not shown on disabled checkbox and radio button with GTK LAF for bug4314194.
Reviewed-by: prr, tr
2022-12-01 08:07:22 +00:00
Jan Lahoda
756dd5bb0d 8294942: Compiler implementation for Record Patterns (Second Preview)
8294945: Compiler implementation for Pattern Matching for switch (Fourth Preview)

Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-12-01 08:02:40 +00:00
Prasanta Sadhukhan
c612512014 8296660: Swing HTML table with omitted closing tags misparsed
Reviewed-by: prr, jdv
2022-12-01 07:57:10 +00:00
Julian Waters
56048f9718 8297852: Backout 8252584 for the time being
Reviewed-by: kbarrett
2022-12-01 04:21:52 +00:00
Feilong Jiang
f49acd5259 8297697: RISC-V: Add support for SATP mode detection
Reviewed-by: fyang, luhenry
2022-12-01 04:01:25 +00:00
Jonathan Gibbons
3b513a4f5c 8297802: display of @spec tags should mimic that of @see tags
Reviewed-by: prappo
2022-12-01 00:26:27 +00:00
Claes Redestad
4485d4e517 8297728: Cache invocation type rather than invoker in NamedFunction
Reviewed-by: jvernee
2022-11-30 20:53:56 +00:00
Per Minborg
e9d501e442 8297519: Improve expressions and modernise code in PKCS
Reviewed-by: weijun
2022-11-30 20:19:52 +00:00
Jorn Vernee
1722f9cce3 8290231: java/foreign/malloc/TestMixedMallocFree.java crashed in JDK19 ATR run
Reviewed-by: mcimadamore
2022-11-30 20:00:59 +00:00
Jorn Vernee
1a2ff58761 8297736: test/jdk/java/foreign/TestMatrix.java is broken
8291642: java/foreign/TestMatrix.java -few tests are failing due to JDK-8287158.

Reviewed-by: mcimadamore
2022-11-30 19:59:43 +00:00
Magnus Ihse Bursie
6bac332371 8297853: windows-x86 test build broken
Reviewed-by: jvernee
2022-11-30 18:59:47 +00:00
Alex Menkov
53dd214318 8297742: Combine vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount tests
Reviewed-by: dholmes, lmesnik, kevinw, sspitsyn
2022-11-30 18:39:24 +00:00
Chris Plummer
1323e98df1 8297170: misc JCK tests fail with "FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)"
Reviewed-by: amenkov, dcubed, lmesnik, sspitsyn
2022-11-30 18:08:19 +00:00
Joe Darcy
c68556916a 8297731: Remove redundant check in MutableBigInteger.divide
Reviewed-by: bpb
2022-11-30 16:51:26 +00:00
Afshin Zafari
dcf431db0b 8287400: Make BitMap range parameter names consistent
Reviewed-by: dholmes, lkorinth
2022-11-30 16:38:24 +00:00
Stefan Johansson
a1f4db55c5 8297584: G1 parallel phase event for scan heap roots is sent too often
Reviewed-by: tschatzl, ayang
2022-11-30 14:51:31 +00:00
Erik Österlund
be4245e814 8294924: JvmtiExport::post_exception_throw() doesn't deal well with concurrent stack processing
Reviewed-by: pchilanomate, sspitsyn, dholmes
2022-11-30 14:15:18 +00:00
Erik Österlund
be99e84c98 8296875: Generational ZGC: Refactor loom code
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: stefank, rrich, pchilanomate
2022-11-30 14:08:57 +00:00
Coleen Phillimore
301cf52fa2 8297284: ResolutionErrorTable's key is wrong
Reviewed-by: matsaave, iklam
2022-11-30 13:14:52 +00:00
Albert Mingkun Yang
a97e7d9887 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live"
Reviewed-by: dcubed
2022-11-30 13:01:34 +00:00
Magnus Ihse Bursie
4d730f561f 8297644: RISC-V: Compilation error when shenandoah is disabled
Reviewed-by: fyang, yadongwang
2022-11-30 12:56:25 +00:00
Matthias Baesken
27b339d189 8297523: Various GetPrimitiveArrayCritical miss result - NULL check
Reviewed-by: stuefe, jdv
2022-11-30 12:49:23 +00:00
Jaikiran Pai
3f8882b2eb 8297693: Fix typos in src/hotspot and test/hotspot files
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: kevinw, dholmes, sspitsyn
2022-11-30 11:28:11 +00:00
Jan Lahoda
b52611bc36 8295401: Error recovery in module-info.java could be improved
Reviewed-by: vromero
2022-11-30 09:49:51 +00:00
Jan Lahoda
9e80cf9c37 8296390: Incremental build failed with a NPE
Reviewed-by: vromero
2022-11-30 09:47:48 +00:00
Aleksey Shipilev
b3501fd11c 8297600: Check current thread in selected JRT_LEAF methods
Reviewed-by: dholmes, coleenp
2022-11-30 09:09:42 +00:00
Per Minborg
f05bfb1578 8297515: serialVersionUID fields are not annotated with @Serial
Reviewed-by: rriggs, lancea
2022-11-30 07:43:17 +00:00
Julian Waters
22f5d01428 8252584: HotSpot Style Guide should permit alignas
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: kbarrett
2022-11-30 07:37:22 +00:00
Sergey Bylokhov
8ffed34e1d 8297681: Unnecessary color conversion during 4BYTE_ABGR_PRE to INT_ARGB_PRE blit
Reviewed-by: prr
2022-11-30 07:29:32 +00:00
Tobias Hartmann
abe532a89c 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: aph, kvn
2022-11-30 06:39:27 +00:00
Johnny Lim
5dcaf6cc6c 8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection
Reviewed-by: dfuchs, jpai
2022-11-30 06:15:07 +00:00
Ioi Lam
c7a679fbdd 8297290: Use int indices to reference CDS archived primitive mirrors
Reviewed-by: ccheung
2022-11-30 05:34:03 +00:00
Sergey Bylokhov
37f613bad3 8297676: DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE are not placeholders
Reviewed-by: azvegint, prr
2022-11-30 04:16:13 +00:00
Sergey Bylokhov
87f00f4a1b 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters
Reviewed-by: prr, aivanov
2022-11-30 03:22:52 +00:00
Jaikiran Pai
9ced2ea0ab 8297311: Improve exception message thrown by java.net.HostPortrange::toLowerCase(String s)
Reviewed-by: dfuchs, michaelm, rriggs
2022-11-30 01:11:24 +00:00
Sergey Bylokhov
defe0607e3 8296905: Replace the native LCMS#getProfileID() method with the accessor
Reviewed-by: prr
2022-11-30 01:00:44 +00:00
Jaikiran Pai
e10778acce 8297695: Fix typos in test/langtools files
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: prappo, jjg, iris
2022-11-30 00:42:40 +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
Srinivas Mandalika
e2d71c0a0d 8297481: Create a regression test for JDK-4424517
Reviewed-by: serb
2022-11-29 21:54:33 +00:00
Per Minborg
f4063a3cfd 8297210: Add a @sealedGraph tag to selected java.desktop classes
Reviewed-by: prr
2022-11-29 21:51:15 +00:00
Abhishek Kumar
2084451193 8078471: Backspace does not work in JFileChooser with GTK L&F
Reviewed-by: psadhukhan, prr
2022-11-29 21:49:50 +00:00
Aggelos Biboudis
7af6b4b54c 8296012: jshell crashes on mismatched record pattern
Reviewed-by: vromero
2022-11-29 19:33:18 +00:00
Justin Lu
ae5b1f7656 8297685: Typo in NullPointerException description specified by Locale.lookup
Reviewed-by: naoto, lancea, jpai
2022-11-29 18:32:44 +00:00
Alexander Zvegintsev
3ce0042158 8297780: Problem list java/awt/Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java
Reviewed-by: aivanov
2022-11-29 17:56:02 +00:00
Xue-Lei Andrew Fan
b778cd52b3 8295010: Reduce if required in EC limbs operations
Reviewed-by: djelinski, jjiang
2022-11-29 17:39:40 +00:00
Bhavana Kilambi
54e6d6aaeb 8293488: Add EOR3 backend rule for aarch64 SHA3 extension
Reviewed-by: haosun, njian, eliu, aturbanov, ngasson
2022-11-29 17:17:15 +00:00
Hannes Wallnöfer
69ede5baed 8293177: Verify version numbers in legal files
Reviewed-by: jjg
2022-11-29 14:46:35 +00:00
Jamil Nimeh
cd6bebbf34 8247645: ChaCha20 intrinsics
Reviewed-by: sviswanathan, ngasson, vlivanov, ascarpino
2022-11-29 14:40:20 +00:00
Bo Zhang
33587ffd35 8292625: jshell crash on "var a = a"
Reviewed-by: jlaskey, jlahoda
2022-11-29 13:57:56 +00:00
Weijun Wang
2deb318c9f 8297065: DerOutputStream operations should not throw IOExceptions
Reviewed-by: mullan, valeriep
2022-11-29 12:57:46 +00:00
Daniel Fuchs
d83a07b72c 8297200: java/net/httpclient/SpecialHeadersTest.java failed once in AssertionError due to selector thread remaining alive
Reviewed-by: jpai
2022-11-29 12:42:37 +00:00
Daniel Fuchs
5d2772a43e 8297424: java/net/httpclient/AsyncExecutorShutdown.java fails in AssertionError due to misplaced assert
Reviewed-by: jpai
2022-11-29 12:36:20 +00:00
Hannes Wallnöfer
361b50e724 8292594: Use CSS custom properties for all fonts and colors
Reviewed-by: jjg
2022-11-29 11:50:39 +00:00
Conor Cleary
42b60ed22c 8297030: Reduce Default Keep-Alive Timeout Value for httpclient
Reviewed-by: dfuchs, michaelm, jpai
2022-11-29 11:42:51 +00:00
Axel Boldt-Christmas
1301fb0b5f 8296470: Refactor VMError::report STEP macro to improve readability
Reviewed-by: stuefe, coleenp
2022-11-29 11:38:59 +00:00
Michael McMahon
48017b1d9c 8296804: Document HttpClient configuration properties in java.net.http module-info
Reviewed-by: dfuchs, jpai
2022-11-29 11:11:10 +00:00
Aleksey Shipilev
bd51b7ea43 8296645: org.openjdk.bench.javax.tools.Javac leaves class files in current directory
Reviewed-by: redestad, jpai
2022-11-29 11:09:06 +00:00
Hannes Wallnöfer
b27a61e624 8297216: Search results omit some methods
Reviewed-by: jjg
2022-11-29 10:20:58 +00:00
Ivan Walulya
33dfc7d2ef 8296954: G1: Enable parallel scanning for heap region remset
Reviewed-by: tschatzl, ayang
2022-11-29 09:56:16 +00:00
Justin King
6f06f440bc 8297242: Use-after-free during library unloading on Linux
Reviewed-by: dholmes, jsjolen
2022-11-29 06:53:56 +00:00
Prasanta Sadhukhan
4e8e853bc9 6788481: CellEditorListener.editingCanceled is never called
Reviewed-by: prr, azvegint, serb
2022-11-29 05:08:38 +00:00
David Holmes
692bedbc1d 8297106: Remove the -Xcheck:jni local reference capacity checking
Reviewed-by: dcubed, kevinw
2022-11-29 02:03:49 +00:00
David Holmes
05128c2110 8286185: The Java manpage can be more platform inclusive
Reviewed-by: sspitsyn, kvn, iklam
2022-11-28 22:04:07 +00:00
Weijun Wang
d450314bd3 8297276: Remove thread text from Subject.current
Reviewed-by: xuelei, rriggs, mullan
2022-11-28 22:02:54 +00:00
Weibing Xiao
cdf9ed07de 8297528: java/io/File/TempDirDoesNotExist.java test failing on windows-x64
Reviewed-by: rriggs, iris, bpb, naoto
2022-11-28 21:34:36 +00:00
Smita Kamath
105d9d75e8 8295351: java/lang/Float/Binary16Conversion.java fails with "Unexpected result of converting"
Reviewed-by: sviswanathan, thartmann
2022-11-28 19:24:25 +00:00
Christian Stein
a80552e1e1 8236919: Refactor com.sun.tools.javac.main.CommandLine into a reusable module for other JDK tools
Reviewed-by: jjg
2022-11-28 17:33:59 +00:00
Matias Saavedra Silva
a249a52501 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19
Reviewed-by: ccheung, iklam, erikj
2022-11-28 15:26:27 +00:00
Aleksey Shipilev
405b1886b3 8297570: jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with -XX:-UseTLAB
Reviewed-by: mgronlun
2022-11-28 14:49:28 +00:00
Alan Bateman
ba0a2521ba 8297717: Remove jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java from ProblemList
Reviewed-by: jpai
2022-11-28 13:27:18 +00:00
Thomas Stuefe
c05dc80234 8297660: x86: Redundant test+jump in C1 allocateArray
Reviewed-by: aph, yyang
2022-11-28 12:45:36 +00:00
Roland Westrelin
eff4c039da 8297343: TestStress*.java fail with "got different traces for the same seed"
Reviewed-by: thartmann, chagedorn
2022-11-28 12:27:14 +00:00
Albert Mingkun Yang
6a856bc3f6 8297499: Parallel: Missing iteration over klass when marking objArrays/objArrayOops during Full GC
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: sjohanss, tschatzl
2022-11-28 11:57:18 +00:00
Justin King
b80f5af698 8297309: Memory leak in ShenandoahFullGC
Reviewed-by: rkennke, shade
2022-11-28 11:03:47 +00:00
Johan Sjölen
81eb5fbff5 8297534: Specify the size of MEMFLAGS
Reviewed-by: stuefe, tschatzl
2022-11-28 09:30:53 +00:00
Martin Doerr
012dafee5b 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list
Reviewed-by: rrich, cjplummer
2022-11-28 09:26:08 +00:00
Richard Reingruber
43d1173605 8286302: Port JEP 425 to PPC64
Reviewed-by: tsteele, mdoerr
2022-11-28 08:09:09 +00:00
Thomas Stuefe
d6102110e1 8297408: Consolidate code in runtime/ErrorHandling
Reviewed-by: dholmes, mbaesken
2022-11-28 07:31:18 +00:00
Emanuel Peter
2f83b5c487 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names
Reviewed-by: chagedorn, rehn
2022-11-27 13:41:26 +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
Vladimir Kempik
99d3840d36 8297359: RISC-V: improve performance of floating Max Min intrinsics
Reviewed-by: fyang
2022-11-26 16:15:55 +00:00
Aggelos Biboudis
6c05771b9b 8295447: NullPointerException with invalid pattern matching construct in constructor call
Reviewed-by: vromero
2022-11-26 15:53:00 +00:00
Per Minborg
76a24c3f90 8297145: Add a @sealedGraph tag to ConstantDesc
Reviewed-by: darcy
2022-11-26 08:29:34 +00:00
Per Minborg
099b42f360 8297148: Add a @sealedGraph tag to CallSite
Reviewed-by: darcy
2022-11-26 08:28:31 +00:00
Ioi Lam
85ddd8f2af 8295253: Remove kludge from v1_0/PerfDataBuffer.java
Reviewed-by: sspitsyn, dholmes, cjplummer
2022-11-25 19:54:03 +00:00
Doug Simon
952e100551 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception
Reviewed-by: never
2022-11-25 17:39:21 +00:00
Severin Gehwolf
08e6a820bc 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run
Reviewed-by: chagedorn, dnsimon
2022-11-25 16:29:53 +00:00
Aggelos Biboudis
4f65570204 8294583: JShell: NPE in switch with non existing record pattern
Reviewed-by: jlahoda
2022-11-25 12:31:47 +00:00
Zhiqiang Zang
fd910f77bc 8297384: Add IR tests for existing idealizations of arithmetic nodes
Reviewed-by: chagedorn
2022-11-25 08:17:44 +00:00
Roland Westrelin
cfe5a3716e 8297556: Parse::check_interpreter_type fails with assert "must constrain OSR typestate"
Reviewed-by: thartmann, vlivanov
2022-11-25 08:06:14 +00:00
Volodymyr Paprotski
74d3baccb3 8297417: Poly1305IntrinsicFuzzTest fails with tag mismatch exception
Reviewed-by: sviswanathan, vlivanov, rcastanedalo, thartmann
2022-11-25 07:07:39 +00:00
Dongxu Wang
0ed8b337ea 8297385: Remove duplicated null typos in javadoc
Reviewed-by: dfuchs, rriggs
2022-11-25 05:55:19 +00:00
Kim Barrett
1fb9dadb6a 8296419: [REDO] JDK-8295319: pending_cards_at_gc_start doesn't include cards in thread buffers
Reviewed-by: tschatzl, sjohanss
2022-11-25 02:02:54 +00:00
Jaikiran Pai
2f47f83add 8297569: URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378
Reviewed-by: dfuchs
2022-11-25 01:23:53 +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
Per Minborg
390e69ad06 8297150: Add a @sealedGraph tag to Reference
Reviewed-by: darcy, alanb
2022-11-24 17:07:53 +00:00
Daniel Fuchs
8effaa8f1f 8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections
Reviewed-by: djelinski, michaelm
2022-11-24 16:18:28 +00:00
KIRIYAMA Takuya
ab1f9ffa78 8051627: Invariants about java.net.URI resolve and relativize are wrong
Reviewed-by: dfuchs
2022-11-24 16:16:45 +00:00
Stefan Karlsson
df6cf1e41d 8296886: Fix various include sort order issues
Reviewed-by: kbarrett, dholmes, stuefe
2022-11-24 15:06:19 +00:00
Fei Yang
5e196b4b8e 8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V
Reviewed-by: shade, yzhu
2022-11-24 13:32:52 +00:00
Kevin Walls
070a84cbae 8297192: Warning generating API docs for javax.management.MBeanServer: overridden methods do not document exception type
Reviewed-by: dfuchs, sspitsyn, amenkov
2022-11-24 12:28:46 +00:00
Severin Gehwolf
3c4d5204ff 8296671: [JFR] jdk.ContainerConfiguration event should include host total memory
Reviewed-by: egahlin
2022-11-24 10:05:18 +00:00
Hao Sun
8b7397064b 8296208: AArch64: Enable SHA512 intrinsic by default on supported hardware
Reviewed-by: njian, ngasson
2022-11-24 09:11:18 +00:00
Aleksey Shipilev
f4cf7589c0 8297491: Loom: Stack chunks allocation code uses TLABs even when TLABs are disabled
Reviewed-by: tschatzl, aboldtch, aph
2022-11-24 09:00:06 +00:00
Thomas Schatzl
5e5b774bfb 8296768: Use different explicit claim marks for CLDs in Parallel and Serial GC
Reviewed-by: ayang, sjohanss, kbarrett
2022-11-24 08:58:13 +00:00
Martin Doerr
9c77e41b81 8297445: PPC64: Represent Registers as values
Reviewed-by: mbaesken, rrich
2022-11-24 08:35:26 +00:00
Matthias Baesken
2f8a5c2eca 8297480: GetPrimitiveArrayCritical in imageioJPEG misses result - NULL check
Reviewed-by: jdv
2022-11-24 08:03:53 +00:00
Sergey Bylokhov
abeddab991 6528710: sRGB-ColorSpace to sRGB-ColorSpace Conversion
Reviewed-by: jdv, dnguyen
2022-11-24 03:54:40 +00:00
Roger Riggs
09ac9eb563 8297533: ProblemList java/io/File/TempDirDoesNotExist.java test failing on windows-x64
Reviewed-by: naoto
2022-11-23 21:49:01 +00:00
Daniel D. Daugherty
53251454df 8297529: ProblemList javax/swing/JFileChooser/8046391/bug8046391.java on windows-x64
Reviewed-by: naoto, azvegint
2022-11-23 20:55:10 +00:00
Jan Lahoda
91cd8a0366 8297525: jdk/jshell/ToolBasicTest.java fails after JDK-8295984
Reviewed-by: dcubed
2022-11-23 20:21:31 +00:00
Valerie Peng
6dc4d891c3 7181214: Need specify SKF translateKey(SecurityKey) method requires instance of PBEKey for PBKDF2 algorithms
Reviewed-by: xuelei, weijun
2022-11-23 18:49:35 +00:00
Erik Gahlin
2afb4c3327 8297338: JFR: RemoteRecordingStream doesn't respect setMaxAge and setMaxSize
Reviewed-by: mgronlun
2022-11-23 17:48:29 +00:00
Weibing Xiao
8df3bc4ec5 8290313: Produce warning when user specified java.io.tmpdir directory doesn't exist
Reviewed-by: rriggs, naoto, coffeys
2022-11-23 17:10:05 +00:00
Aleksey Shipilev
086763a629 8297154: Improve safepoint cleanup logging
Reviewed-by: jsjolen, rehn
2022-11-23 16:21:19 +00:00
Jayathirth D V
e6e57fe86d 8297507: Update header after JDK-8297230
Reviewed-by: aivanov, ihse, kcr, dfuchs, dcubed
2022-11-23 15:07:34 +00:00
Jan Lahoda
bc59f2a4ac 8295984: Remove unexpected JShell feature
Reviewed-by: cstein, sundar
2022-11-23 14:43:41 +00:00
Ludvig Janiuk
0d93ab9dff 8297000: [jib] Add more friendly warning for proxy issues
Reviewed-by: erikj, ihse
2022-11-23 14:26:45 +00:00
Laurent Bourgès
5b3d86f229 8297230: Update Marlin2D to 0.9.4.6
Reviewed-by: prr, serb
2022-11-23 13:29:20 +00:00
Albert Mingkun Yang
f4b5065c37 8297435: Remove unused CompactibleSpaceClosure
Reviewed-by: dholmes
2022-11-23 10:15:41 +00:00
Ralf Schmelter
bde0e35ded 8297142: jdk/jfr/event/runtime/TestShutdown.java fails on Linux ppc64le and Linux aarch64
Reviewed-by: clanger
2022-11-23 09:36:08 +00:00
Aleksey Shipilev
f26bd4e0e8 8297350: Update JMH devkit to 1.36
Reviewed-by: erikj
2022-11-23 07:12:21 +00:00
Christoph Langer
470f3424fc 8296904: Improve handling of macos xcode toolchain
Reviewed-by: erikj, ihse
2022-11-23 07:08:00 +00:00
Jayathirth D V
b4bd287f73 8191406: [hidpi] sun/java2d/SunGraphics2D/DrawImageBilinear.java test fails
Reviewed-by: serb
2022-11-23 03:38:37 +00:00
Prasanta Sadhukhan
412b43658a 6201035: Document NPE for passing null insets to constructors and methods of several javax.swing.border.* classes
Reviewed-by: tr, prr, aivanov, serb
2022-11-23 03:20:30 +00:00
Bo Zhang
faf48e61be 8296329: jar validator doesn't account for minor class file version
Reviewed-by: jvernee
2022-11-23 03:09:12 +00:00
Alex Menkov
09f70dad2f 8296265: Use modern HTML in the JVMTI spec
Reviewed-by: sspitsyn, kevinw
2022-11-22 23:55:39 +00:00
Serguei Spitsyn
e661c5a3d0 8296323: JVMTI can_support_virtual_threads not available for agents loaded into running VM
Reviewed-by: alanb, rrich
2022-11-22 23:43:15 +00:00
Kim Barrett
974cb8370d 8297310: Remove unimplemented HeapInspection::iterate_over_heap
Reviewed-by: amenkov, cjplummer, shade
2022-11-22 23:12:21 +00:00
Weijun Wang
e174558cad 8296742: Illegal X509 Extension should not be created
Reviewed-by: mullan
2022-11-22 22:21:50 +00:00
David Holmes
a6c418eaf8 8297168: Provide a bulk OopHandle release mechanism with the ServiceThread
Reviewed-by: rehn, coleenp
2022-11-22 21:57:33 +00:00
Christoph Langer
4a544bb0fc 8297091: New langtools test jdk/javadoc/doclet/testValueTag/TestValueFormats.java fails on machines with unexpected number format
Reviewed-by: prappo, jjg
2022-11-22 21:00:08 +00:00
Damon Nguyen
b6dddf4ce6 8239801: [macos] java/awt/Focus/UnaccessibleChoice/AccessibleChoiceTest.java fails
Reviewed-by: honkar, azvegint
2022-11-22 20:12:36 +00:00
Xue-Lei Andrew Fan
260e4dcbfd 8295011: EC point multiplication improvement for secp256r1
Reviewed-by: djelinski, jjiang
2022-11-22 18:19:59 +00:00
Sergey Bylokhov
fb6c992f32 8296957: One more cast in SAFE_SIZE_NEW_ARRAY2
Reviewed-by: aivanov
2022-11-22 18:08:12 +00:00
Gerard Ziemski
ccc6e16918 8291067: macOS should use O_CLOEXEC instead of FD_CLOEXEC
Reviewed-by: dcubed, dholmes, stuefe
2022-11-22 16:30:24 +00:00
Albert Mingkun Yang
0ac5b55311 8297349: Parallel: Use correct claim value for CLD oop iteration in PSScavengeCLDClosure
Reviewed-by: tschatzl, shade
2022-11-22 14:40:51 +00:00
Albert Mingkun Yang
932bf3539c 8297333: Parallel: Remove unused methods in PCIterateMarkAndPushClosure
Reviewed-by: tschatzl, sjohanss
2022-11-22 14:39:10 +00:00
Tobias Hartmann
42c2037429 8297382: Test fails to compile after JDK-8288047
Reviewed-by: chagedorn
2022-11-22 09:25:44 +00:00
Alexander Zvegintsev
6d6046b379 8252713: jtreg time out of CtrlASCII.java seems to hang the Xserver.
Reviewed-by: prr
2022-11-22 09:20:46 +00:00
Matthias Baesken
88957a7ce8 8297147: UnexpectedSourceImageSize test times out on slow machines when fastdebug is used
Reviewed-by: stuefe, serb
2022-11-22 08:02:04 +00:00
Markus Karg
069685489a 8297299: SequenceInputStream should not use Vector
Reviewed-by: alanb, jpai
2022-11-22 05:04:40 +00:00
pandaapo
f0e99c6346 8297301: Cleanup unused methods in JavaUtilJarAccess
Reviewed-by: weijun
2022-11-22 03:22:05 +00:00
Jaikiran Pai
392ac7055d 8297211: Expensive fillInStackTrace operation in HttpURLConnection.getOutputStream0 when no content-length in response
Reviewed-by: simonis, dfuchs
2022-11-22 01:48:39 +00:00
Jonathan Gibbons
5a45c25151 8297164: Update troff man pages and CheckManPageOptions.java
Reviewed-by: dholmes
2022-11-21 22:03:48 +00:00
Volodymyr Paprotski
f12710e938 8288047: Accelerate Poly1305 on x86_64 using AVX512 instructions
Reviewed-by: sviswanathan, vlivanov
2022-11-21 21:01:25 +00:00
Magnus Ihse Bursie
cd6a203a3e 8297348: make CONF=xxx should match if xxx is an exact match
Reviewed-by: erikj
2022-11-21 18:34:52 +00:00
Magnus Ihse Bursie
817e039bb5 8297352: configure should check pandoc version
Reviewed-by: erikj
2022-11-21 18:33:32 +00:00
Magnus Ihse Bursie
15e2e2852b 8297353: Regenerated checked-in html files with new pandoc
Reviewed-by: lancea, erikj
2022-11-21 18:32:40 +00:00
Xue-Lei Andrew Fan
b366d17a94 8294073: Performance improvement for message digest implementations
Reviewed-by: jjiang
2022-11-21 15:56:19 +00:00
Weijun Wang
57f5cfdeb5 8296399: crlNumExtVal might be null inside X509CRLSelector::match
Reviewed-by: xuelei
2022-11-21 15:25:18 +00:00
Tobias Hartmann
0b04a99245 8297347: Problem list compiler/debug/TestStress*.java
Reviewed-by: chagedorn
2022-11-21 15:20:58 +00:00
Magnus Ihse Bursie
0ac01485d3 8297342: make LOG=debug is too verbose
Reviewed-by: erikj
2022-11-21 15:13:08 +00:00
Sean Coffey
d0a7938eb7 8286575: Document how properties in java.security are parsed
Reviewed-by: mullan
2022-11-21 14:28:07 +00:00
Coleen Phillimore
5c3345404d 8296472: Remove ObjectLocker around appendToClassPathForInstrumentation call
Reviewed-by: sspitsyn, alanb, dholmes
2022-11-21 14:16:49 +00:00
Coleen Phillimore
08008139cc 8293584: CodeCache::old_nmethods_do incorrectly filters is_unloading nmethods
Reviewed-by: eosterlund, kvn
2022-11-21 13:46:09 +00:00
Alexander Zvegintsev
16ab754e49 8196018: java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.java fails
Reviewed-by: psadhukhan, serb, dnguyen
2022-11-21 13:40:06 +00:00
Christian Hagedorn
8b8d8481bc 8293422: DWARF emitted by Clang cannot be parsed
Reviewed-by: tschatzl, ihse, stuefe
2022-11-21 12:58:45 +00:00
Albert Mingkun Yang
59d8f67a71 8297265: G1: Remove unnecessary null-check in RebuildCodeRootClosure::do_code_blob
Reviewed-by: tschatzl
2022-11-21 11:14:05 +00:00
Alexander Zvegintsev
2fc340a703 8148041: Test java/awt/Mouse/TitleBarDoubleClick/TitleBarDoubleClick fails on Ubuntu with mouseReleased event after double click on title bar
Reviewed-by: prr
2022-11-21 10:48:44 +00:00
Gui Cao
e4206618ac 8297238: RISC-V: C2: Use Matcher::vector_element_basic_type when checking for vector element type in predicate
Reviewed-by: dzhang, fyang
2022-11-21 10:01:29 +00:00
Bhavana Kilambi
891c706a10 8295276: AArch64: Add backend support for half float conversion intrinsics
Reviewed-by: ngasson, aph, njian
2022-11-21 09:56:38 +00:00
Jayathirth D V
3c0949824e 8297241: Update sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java
8297153: sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails again

Reviewed-by: serb
2022-11-21 09:50:57 +00:00
Roland Westrelin
45d1807ad3 6312651: Compiler should only use verified interface types for optimization
Reviewed-by: vlivanov, kvn
2022-11-21 08:47:42 +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
Aleksey Shipilev
fc616588c1 8294591: Fix cast-function-type warning in TemplateTable
Reviewed-by: ihse, coleenp
2022-11-21 07:22:56 +00:00
Srikanth Adayapalam
544e317225 8059632: Method reference compilation uses incorrect qualifying type
Reviewed-by: mcimadamore
2022-11-21 03:02:29 +00:00
Ashutosh Mehra
651e54798a 8297217: Incorrect generation name in the heap verification log message with Serial GC
Reviewed-by: kbarrett, tschatzl
2022-11-20 23:55:47 +00:00
Daniel D. Daugherty
dd55310134 8297303: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all
Reviewed-by: alanb, azvegint
2022-11-20 15:19:00 +00:00
Leonid Mesnik
3ea89711e3 8269817: serviceability/jvmti/DynamicCodeGenerated/DynamicCodeGeneratedTest.java timed out with -Xcomp
Reviewed-by: cjplummer, kevinw, sspitsyn
2022-11-19 20:31:37 +00:00
Thomas Stuefe
0a3b0fc8ad 8296784: Provide clean mallinfo/mallinfo2 wrapper for Linux glibc platforms
Reviewed-by: rkennke, mbaesken
2022-11-19 18:06:48 +00:00
Alan Bateman
7b3d581497 8297293: Add java/nio/channels/FileChannel/FileExtensionAndMap.java to ProblemList
Reviewed-by: lancea
2022-11-19 17:12:13 +00:00
Thomas Stuefe
251e065a17 8296764: NMT: reduce loads in os::malloc
Reviewed-by: adinn, iklam
2022-11-19 14:45:45 +00:00
Thomas Stuefe
0845b39caf 8296796: Provide clean, platform-agnostic interface to C-heap trimming
Reviewed-by: dholmes, rkennke
2022-11-19 11:52:55 +00:00
Sergey Bylokhov
c50a9047b4 8297195: AWTAccessor and SwingAccessor should avoid double racy reads from non-volatile fields
Reviewed-by: azvegint, prr
2022-11-19 04:40:02 +00:00
Jaikiran Pai
906f1ca4d7 8292317: Missing null check for Iterator.forEachRemaining implementations
Reviewed-by: sundar, smarks
2022-11-19 00:55:14 +00:00
Serguei Spitsyn
0ec575a203 8297289: problem list runtime/vthread/RedefineClass.java and TestObjectAllocationSampleEvent.java
Reviewed-by: dcubed
2022-11-18 23:46:20 +00:00
Jonathan Gibbons
dcb83754ce 8245246: Deprecate -profile option in javac
Reviewed-by: darcy
2022-11-18 23:43:26 +00:00
Jonathan Gibbons
52494df4f7 8290845: Consider an alternative item separator for multi-item option values
Reviewed-by: prappo
2022-11-18 22:30:09 +00:00
Phil Race
c56c69ed3e 8285604: closed sun/java2d/GdiRendering/ClipShapeRendering.java failed with "Incorrect color ffeeeeee instead of ff0000ff in pixel (100, 100)"
Reviewed-by: psadhukhan
2022-11-18 22:00:22 +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
Adam Sotona
3a15e8483c 8297258: Typo in java -help referencing -disable-@files instead of --disable-@files
Reviewed-by: mchung
2022-11-18 21:41:32 +00:00
Alexander Zuev
43ce047f9f 8178698: javax/sound/midi/Sequencer/MetaCallback.java failed with timeout
Reviewed-by: prr, psadhukhan
2022-11-18 21:20:34 +00:00
Serguei Spitsyn
035eaeecab 8296324: JVMTI GetStackTrace truncates vthread stack trace for agents loaded into running VM
Reviewed-by: cjplummer, lmesnik
2022-11-18 20:52:56 +00:00
ravi.ra.gupta
59a308b9d0 8296632: Write a test to verify the content change of TextArea sends TextEvent
Reviewed-by: mvs, prr, honkar, aivanov, serb
2022-11-18 20:34:53 +00:00
Alisen Chung
11fc65fa58 8023562: [TEST_BUG] java/awt/Mouse/EnterExitEvents/DragWindowTest.java failed on ubuntu 13 and mac 10.11
Reviewed-by: azvegint, honkar, jdv
2022-11-18 20:17:53 +00:00
Alisen Chung
2c692aa356 8297088: Update LCMS to 2.14
Reviewed-by: erikj, serb, prr, honkar
2022-11-18 19:39:47 +00:00
Chris Plummer
9b4e0e8446 8297080: Remove com/sun/jdi/NashornPopFrameTest.java from the problem list
Reviewed-by: dcubed, lmesnik
2022-11-18 19:16:29 +00:00
Chris Plummer
3272954a00 8297083: Remove vmTestbase/nsk/jvmti/GetAllThreads/allthr001 from problem list
Reviewed-by: dcubed, lmesnik, amenkov
2022-11-18 19:15:33 +00:00
Xue-Lei Andrew Fan
c4b6920a40 8296910: Add EdDSA/XDH/RSASSA-PSS to KeyPairGeneratorBench.java
Reviewed-by: weijun
2022-11-18 17:43:54 +00:00
Erik Gahlin
f34ca80167 8297245: JFR: TestRemoteDump should use RemoteRecordingStream
Reviewed-by: mgronlun
2022-11-18 16:03:12 +00:00
Adam Sotona
13158cb52d 8293041: --disable-@files option doesn't work and cause an error
Reviewed-by: alanb
2022-11-18 14:55:30 +00:00
Roland Westrelin
761a4f4852 8295788: C2 compilation hits "assert((mode == ControlAroundStripMined && use == sfpt) || !use->is_reachable_from_root()) failed: missed a node"
Reviewed-by: kvn, thartmann
2022-11-18 13:46:01 +00:00
Jaikiran Pai
2f2d40465b 8297129: Inflater documentation refers to 'deflate' methods
Reviewed-by: alanb, lancea
2022-11-18 12:04:10 +00:00
tianshuang
dd18d76b4c 8297173: usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks
Reviewed-by: sgehwolf, alanb
2022-11-18 10:45:36 +00:00
Hao Sun
2b6dbc71d8 8293856: AArch64: Remove clear_inst_mark from aarch64_enc_java_dynamic_call
Reviewed-by: aph, eastigeevich
2022-11-18 09:01:33 +00:00
Archie L. Cobbs
2f063b86fb 8296846: Minor cleanup of some dead code in Flow.java
Reviewed-by: vromero
2022-11-18 04:25:12 +00:00
Weijun Wang
ab6b7ef988 8296901: Do not create unsigned certificate and CRL
Reviewed-by: mullan
2022-11-18 02:21:03 +00:00
David Holmes
7b3984cb5a 8296463: Memory leak in JVM_StartThread with the integration of Virtual threads
Reviewed-by: alanb, coleenp, dcubed
2022-11-18 00:46:09 +00:00
Stefan Karlsson
373e52c0ab 8296785: Use realloc for CHeap-allocated BitMaps
Reviewed-by: stuefe, aboldtch
2022-11-17 21:23:27 +00:00
Phil Race
a53be204cb 8282404: DrawStringWithInfiniteXform.java failed with "RuntimeException: drawString with InfiniteXform transform takes long time"
Reviewed-by: psadhukhan, jdv
2022-11-17 20:33:48 +00:00
Andrey Turbanov
66228f77fe 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto
Reviewed-by: weijun, wetmore
2022-11-17 20:25:53 +00:00
Matthew Donovan
819af69f40 8249693: java/nio/channels/FileChannel/FileExtensionAndMap.java uses @ignore w/o bug id
Reviewed-by: rhalade
2022-11-17 19:42:20 +00:00
Mikael Vidstedt
9c432a09db 8297165: Update Pandoc to version 2.19.2 for Oracle builds
Reviewed-by: erikj
2022-11-17 17:03:13 +00:00
Naoto Sato
8b140e2d74 8297152: Add a @sealedGraph tag to ZoneId
Reviewed-by: iris, joehw
2022-11-17 16:59:08 +00:00
Justin Lu
992f209def 8287180: Update IANA Language Subtag Registry to Version 2022-08-08
Reviewed-by: naoto, lancea, iris
2022-11-17 16:55:43 +00:00
Thomas Stuefe
a768fed779 8297184: Test runtime/ErrorHandling/TestSigInfoInHsErrFile.java is failing
Reviewed-by: dcubed, coleenp
2022-11-17 16:40:32 +00:00
Daniel Fuchs
134acab5a4 8297149: REDO JDK-8296889: Race condition when cancelling a request
8297075: java/net/httpclient/CancelStreamedBodyTest.java fails with "java.lang.AssertionError: WARNING: tracker for HttpClientImpl(1) has outstanding operations"

Reviewed-by: jpai
2022-11-17 15:08:04 +00:00
Tobias Holenstein
4120db13d4 8297007: IGV: Link/Unlink node selection of open tabs
Reviewed-by: rcastanedalo, chagedorn
2022-11-17 14:06:01 +00:00
Xiaolin Zheng
38eb80d4d8 8296975: RISC-V: Enable UseRVA20U64 profile by default
Reviewed-by: fyang, vkempik
2022-11-17 13:45:56 +00:00
Tobias Hartmann
b6aff54245 8297201: Obsolete AliasLevel flag
Co-authored-by: Tobias Holenstein <tholenstein@openjdk.org>
Reviewed-by: chagedorn, dholmes, tholenstein, rcastanedalo
2022-11-17 13:23:02 +00:00
Tobias Holenstein
d02bfdf9d7 8297032: IGV: shortcut to center selected nodes
Reviewed-by: chagedorn, rcastanedalo
2022-11-17 13:04:07 +00:00
Raffaello Giulietti
35acb89166 8296292: Document the default behavior of '$' in regular expressions correctly
Reviewed-by: lancea
2022-11-17 12:46:19 +00:00
Coleen Phillimore
d8c809b196 8296492: Remove ObjectLocker in JVMTI get_subgroups call
Reviewed-by: dholmes, alanb, sspitsyn
2022-11-17 11:58:00 +00:00
Per Minborg
171553a611 8297194: Add a @sealedGraph tag to Buffer
Reviewed-by: alanb
2022-11-17 11:46:51 +00:00
Vladimir Kempik
bd57e2138f 8296602: RISC-V: improve performance of copy_memory stub
Reviewed-by: fyang
2022-11-17 10:29:17 +00:00
Magnus Ihse Bursie
4527dc67be 8297041: Remove the last remnants of sjavac
Reviewed-by: cstein, erikj, jjg
2022-11-17 09:20:22 +00:00
Alan Bateman
636040f875 8296405: java/util/concurrent/forkjoin/AsyncShutdownNow.java is too slow
Reviewed-by: jpai
2022-11-17 09:18:50 +00:00
Dong Bo
2f728d0cbb 8295698: AArch64: test/jdk/sun/security/ec/ed/EdDSATest.java failed with -XX:+UseSHA3Intrinsics
Reviewed-by: haosun, aph
2022-11-17 09:05:43 +00:00
Conor Cleary
b9db16ab09 8288717: Add a means to close idle connections in HTTP/2 connection pool
Reviewed-by: dfuchs, michaelm
2022-11-17 08:38:25 +00:00
Thomas Stuefe
9f8b6d2aa6 8296437: NMT incurs costs if disabled
Reviewed-by: dholmes, iklam
2022-11-17 08:31:21 +00:00
Roman Kennke
e81359f148 8296170: Refactor stack-locking path in C2_MacroAssembler::fast_unlock()
Reviewed-by: thartmann, phh
2022-11-17 08:23:57 +00:00
Tobias Hartmann
502fa3eeea 8296912: C2: CreateExNode::Identity fails with assert(i < _max) failed: oob: i=1, _max=1
Reviewed-by: chagedorn, kvn
2022-11-17 07:39:57 +00:00
Abhishek Kumar
5795c760db 8296222: SwingEventMonitor - installListeners(Component , int ) - CELLEDITOR - bug
Reviewed-by: angorya, kizune
2022-11-17 07:17:03 +00:00
Thomas Stuefe
b9d6e83e9b 8296906: VMError::controlled_crash crashes with wrong code and address
Reviewed-by: dholmes, mbaesken
2022-11-17 07:08:14 +00:00
Tobias Hartmann
cd9c688bfc 8276064: CheckCastPP with raw oop input floats below a safepoint
Reviewed-by: kvn, vlivanov, roland
2022-11-17 05:58:38 +00:00
Tom Rodriguez
d61720a4dc 8218885: Restore pop_frame and force_early_return functionality for Graal
Reviewed-by: kvn, dlong, sspitsyn, amenkov
2022-11-17 05:18:49 +00:00
Prasanta Sadhukhan
dd9aa7272d 8296083: javax/swing/JTree/6263446/bug6263446.java fails intermittently on a VM
Reviewed-by: tr, prr
2022-11-17 03:25:37 +00:00
Fei Gao
cc44419840 8295407: C2 crash: Error: ShouldNotReachHere() in multiple vector tests with -XX:-MonomorphicArrayCheck -XX:-UncommonNullCast
Reviewed-by: thartmann, kvn
2022-11-17 01:39:56 +00:00
Joe Darcy
e2269fd2ca 8296968: Update langtools tests to use @enablePreview
Reviewed-by: sundar, jjg
2022-11-17 00:49:53 +00:00
Xin Liu
2159170b41 8296453: Simplify resource_area uses in ClassPathDirEntry::open_stream
Reviewed-by: dholmes, phh
2022-11-16 22:40:04 +00:00
Doug Simon
95c390ec75 8296956: [JVMCI] HotSpotResolvedJavaFieldImpl.getIndex returns wrong value
Reviewed-by: thartmann, never
2022-11-16 21:21:04 +00:00
Weijun Wang
68d3ed5cee 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters
Reviewed-by: xuelei, kdriver, mullan
2022-11-16 20:30:34 +00:00
Doug Simon
37848a9ca2 8296967: [JVMCI] rationalize relationship between getCodeSize and getCode in ResolvedJavaMethod
Reviewed-by: never
2022-11-16 20:27:19 +00:00
Doug Simon
b3ef337566 8296960: [JVMCI] list HotSpotConstantPool.loadReferencedType to ConstantPool
Reviewed-by: never
2022-11-16 20:25:00 +00:00
Calvin Cheung
f0474b826d 8283238: make/scripts/compare.sh should show the diff when classlist does not match
Reviewed-by: erikj, ihse
2022-11-16 20:10:42 +00:00
Erik Gahlin
04a4d347bd 8297006: JFR: AbstractEventStream should not hold thread instance
Reviewed-by: mgronlun
2022-11-16 20:01:37 +00:00
Doug Simon
5db1b58c86 8296961: [JVMCI] Access to j.l.r.Method/Constructor/Field for ResolvedJavaMethod/ResolvedJavaField
Reviewed-by: never
2022-11-16 19:58:09 +00:00
Doug Simon
4ce4f384d7 8296958: [JVMCI] add API for retrieving ConstantValue attributes
Reviewed-by: never
2022-11-16 19:56:14 +00:00
Ioi Lam
8c26d029b5 8295315: [REDO] 8276687 Remove support for JDK 1.4.1 PerfData shared memory files
Reviewed-by: dholmes, kevinw, sspitsyn
2022-11-16 18:31:37 +00:00
Xue-Lei Andrew Fan
8752bb4be8 8296818: Enhance JMH tests java/security/Signatures.java
Reviewed-by: weijun
2022-11-16 17:43:40 +00:00
Brian Burkhalter
b97fc93437 7132279: (ch) SeekableByteChannel operation may throw Non{Readable,Writable}ChannelException
Reviewed-by: lancea, jpai
2022-11-16 17:33:14 +00:00
Alexander Zvegintsev
39dda24dc6 8157173: [macosx] java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails
Reviewed-by: jdv, prr, serb
2022-11-16 17:05:32 +00:00
Per Minborg
51f690decb 8297134: Add a @sealedGraph tag to InetAddress
Reviewed-by: jpai, aefimov
2022-11-16 16:41:30 +00:00
Calvin Cheung
3eb6d0e2f8 8291991: Adjust the "shared class paths mismatch" message if class path logging is enabled
Reviewed-by: iklam, matsaave
2022-11-16 15:47:32 +00:00
Lutz Schmidt
eac26f4eb2 8296709: WARNING: JNI call made without checking exceptions
Reviewed-by: kevinw, sspitsyn, clanger
2022-11-16 15:00:20 +00:00
Tobias Holenstein
4946737fcb 8297047: IGV: graphContent not set when opening a new tab
Reviewed-by: chagedorn, rcastanedalo
2022-11-16 13:52:41 +00:00
Daniel Fuchs
8b1ff9e37e 8297132: BACKOUT JDK-8296889: Race condition when cancelling a request
Reviewed-by: djelinski, alanb
2022-11-16 13:13:54 +00:00
Claes Redestad
e72b0ac4af 8296429: Remove os::supports_sse
Reviewed-by: stuefe
2022-11-16 13:03:14 +00:00
Stefan Karlsson
813b223a6b 8296926: Sort include lines of files in the include/ directory
Reviewed-by: kbarrett, erikj, lkorinth
2022-11-16 12:51:26 +00:00
Stefan Karlsson
8cdcec44d8 8296774: Removed default MEMFLAGS value from CHeapBitMap
Reviewed-by: lkorinth, eosterlund
2022-11-16 12:26:09 +00:00
Fei Yang
c3b285a8ac 8296916: RISC-V: Move some small macro-assembler functions to header file
Reviewed-by: fjiang, yadongwang, shade
2022-11-16 12:01:42 +00:00
Albert Mingkun Yang
720c3d08c6 8296932: G1: Remove unused G1RootClosures::weak_oops
Reviewed-by: tschatzl
2022-11-16 11:50:32 +00:00
Stefan Karlsson
196d0210df 8297020: Rename GrowableArray::on_stack
Reviewed-by: stuefe, coleenp
2022-11-16 11:01:39 +00:00
Stefan Karlsson
5f51dff697 8296776: Stop using mtNone as marker for CHeap allocations in GrowableArray
Reviewed-by: sspitsyn, xliu, stuefe
2022-11-16 10:52:57 +00:00
Pavel Rappo
499406c764 8285488: Improve DocFinder
8287796: Stop auto-inheriting documentation for subclasses of exceptions whose documentation is inherited
8291869: Match exceptions using types of javax.lang.model, not strings
8288045: Clean up ParamTaglet
8288046: Clean up ThrowsTaglet
8295277: Expand {@inheritDoc} in @throws fully

Reviewed-by: jjg
2022-11-16 09:43:21 +00:00
Pavel Rappo
97ab2c3ea6 8296953: Fix a typo in exception documentation
Reviewed-by: cjplummer, dfuchs
2022-11-16 09:18:14 +00:00
Thomas Stuefe
5e08b3f40e 8296931: NMT tests slowed down considerably by JDK-8242181
Reviewed-by: chagedorn, mbaesken
2022-11-16 08:51:47 +00:00
Jayathirth D V
65f7de2523 8022403: sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails
Reviewed-by: prr, psadhukhan
2022-11-16 07:58:55 +00:00
Zdenek Zambersky
3f2f128af6 8295952: Problemlist existing compiler/rtm tests also on x86
Reviewed-by: chagedorn, kvn
2022-11-16 06:29:52 +00:00
Yi-Fan Tsai
6ead2b0195 8296548: Improve MD5 intrinsic for x86_64
Reviewed-by: kvn, sviswanathan, luhenry
2022-11-16 06:13:15 +00:00
Daniel D. Daugherty
bd3acbea8c 8297089: [BACKOUT] JDK-8297088 Update LCMS to 2.14
Reviewed-by: dholmes
2022-11-15 23:02:42 +00:00
Alisen Chung
6a60d318b6 8295369: Update LCMS to 2.14
Reviewed-by: honkar, prr
2022-11-15 22:12:24 +00:00
Joshua Cao
0cbf084b44 8296969: C1: PrintC1Statistics is broken after JDK-8292878
Reviewed-by: chagedorn, kvn, xliu
2022-11-15 21:13:11 +00:00
Man Cao
f662a06046 8296970: Remove sysThreadAvailableStackWithSlack from hotspot-symbols
Reviewed-by: clanger, erikj
2022-11-15 20:34:45 +00:00
Daniel Fuchs
7357a1a379 8296889: Race condition when cancelling a request
Reviewed-by: jpai
2022-11-15 18:36:45 +00:00
Joe Darcy
87530e66dd 8296913: Correct enable preview idiom in JdbLastErrorTest.java
Reviewed-by: cjplummer, kevinw, alanb, sspitsyn
2022-11-15 18:22:00 +00:00
Chris Plummer
fafe682967 8295861: get rid of list argument in debug agent's removeNode() API
Reviewed-by: amenkov, kevinw, sspitsyn
2022-11-15 17:37:59 +00:00
Leonid Mesnik
216c6f6340 8294881: test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003/TestDescription.java fails
Reviewed-by: cjplummer, sspitsyn
2022-11-15 17:19:48 +00:00
Lance Andersen
6aef3a4a3d 8262435: Clarify the behavior of a few inherited ZipInputStream methods
Reviewed-by: alanb, bpb, jpai
2022-11-15 16:44:14 +00:00
Xue-Lei Andrew Fan
c042b8ede1 8294731: Improve multiplicative inverse for secp256r1 implementation
Reviewed-by: djelinski, jjiang
2022-11-15 15:55:00 +00:00
Weijun Wang
d3051a75a3 8296736: Some PKCS9Attribute can be created but cannot be encoded
Reviewed-by: xuelei, valeriep
2022-11-15 15:33:08 +00:00
Christian Hagedorn
decb1b79bc 8286800: Assert in PhaseIdealLoop::dump_real_LCA is too strong
Reviewed-by: kvn, rcastanedalo
2022-11-15 14:44:26 +00:00
Adam Sotona
c49e48417d 8294739: jdk/jshell/ToolShiftTabTest.java timed out
Reviewed-by: jlahoda
2022-11-15 12:13:36 +00:00
Adam Sotona
a45c9af124 8295814: jdk/jshell/CommandCompletionTest.java fails with "lists don't have the same size expected [2] but found [1]"
Reviewed-by: jlahoda
2022-11-15 12:09:59 +00:00
Dmitry Samersoff
d0fae43e89 8294947: Use 64bit atomics in patch_verified_entry on x86_64
Reviewed-by: kvn
2022-11-15 10:43:05 +00:00
Tobias Holenstein
6f467cd829 8295934: IGV: keep node selection when changing view or graph
Reviewed-by: thartmann, rcastanedalo
2022-11-15 10:13:53 +00:00
Julian Waters
9adb728378 8295070: Introduce more target combinations for compiler flags
Reviewed-by: erikj, ihse
2022-11-15 09:47:37 +00:00
Nick Gasson
8ab70d3b59 8294775: Shenandoah: reduce contention on _threads_in_evac
Reviewed-by: rkennke, shade
2022-11-15 09:31:50 +00:00
Ralf Schmelter
5551cb66ba 8293166: jdk/jfr/jvm/TestDumpOnCrash.java fails on Linux ppc64le and Linux aarch64
Reviewed-by: mbaesken, stuefe
2022-11-15 07:34:49 +00:00
Kevin Walls
8a9eabbec6 8296786: Limit VM modes for com/sun/jdi/JdbLastErrorTest.java
Reviewed-by: cjplummer, dcubed
2022-11-15 07:23:40 +00:00
Erik Gahlin
873eccde01 8296923: JFR: jfr --version should return System.getProperty("java version")
Reviewed-by: mgronlun
2022-11-15 01:17:02 +00:00
Fei Yang
93d6b1f3e8 8295711: Rename ZBarrierSetAssembler::load_at parameter name from "tmp_thread" to "tmp2"
Reviewed-by: fjiang, haosun, tschatzl, eosterlund
2022-11-15 00:59:25 +00:00
Chris Plummer
2f7dc5c4cd 8296089: Remove debug agent code for special handling of Thread.resume()
Reviewed-by: alanb
2022-11-14 20:22:45 +00:00
Phil Race
c71d87e54c 8286624: Regression Test CoordinateTruncationBug.java fails on OL8.3
Reviewed-by: azvegint, kizune
2022-11-14 19:50:45 +00:00
Weijun Wang
a7c2338a6d 8296900: CertificateValidity fields are not optional
Reviewed-by: mullan
2022-11-14 19:46:43 +00:00
Vicente Romero
3eb789af74 8296171: Compiler incorrectly rejects code with variadic method references
Reviewed-by: mcimadamore
2022-11-14 18:31:26 +00:00
Brian Burkhalter
749335d34a 8291911: java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
Reviewed-by: rriggs
2022-11-14 18:08:33 +00:00
Markus Karg
95b84050fc 8296431: PushbackInputStream should override transferTo
Reviewed-by: bpb
2022-11-14 18:03:18 +00:00
Mark Powers
e269dc03ad 8293681: ResponseAPDU getData() method javadoc
Reviewed-by: valeriep
2022-11-14 17:37:42 +00:00
Roland Westrelin
8c472e4816 8294217: Assertion failure: parsing found no loops but there are some
Reviewed-by: chagedorn, thartmann
2022-11-14 15:08:15 +00:00
Roland Westrelin
0fe2bf51b2 8296805: ctw build is broken
Reviewed-by: kvn, thartmann
2022-11-14 15:05:57 +00:00
Weijun Wang
e1d298c12d 8296741: Illegal X400Address and EDIPartyName should not be created
Reviewed-by: xuelei, valeriep
2022-11-14 14:53:53 +00:00
Alexander Zvegintsev
b0edfc1159 8164464: Consistent failure of java/awt/dnd/MissingEventsOnModalDialog/MissingEventsOnModalDialogTest.java
Reviewed-by: jdv, serb
2022-11-14 14:45:17 +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
Albert Mingkun Yang
3f401b3091 8296670: G1: Remove unused G1GCPhaseTimes::record_preserve_cm_referents_time_ms
Reviewed-by: tschatzl, iwalulya
2022-11-14 10:07:50 +00:00
Tobias Holenstein
68301cdeca 8296665: IGV: Show dialog with stack trace for exceptions
Reviewed-by: thartmann, chagedorn
2022-11-14 08:41:04 +00:00
Olga Mikhaltsova
277f0c24a2 8296821: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java fails after JDK-8262901
Reviewed-by: kvn, thartmann
2022-11-14 08:40:11 +00:00
Christian Hagedorn
34d10f19f5 8296243: [IR Framework] Fix issues with IRNode.ALLOC* regexes
Reviewed-by: mdoerr, thartmann
2022-11-14 08:28:41 +00:00
Alan Bateman
8eb90e2d9c 8296797: java/nio/channels/vthread/BlockingChannelOps.testSocketChannelWriteAsyncClose failed with ClosedChannelException
Reviewed-by: chegar, jpai
2022-11-13 07:45:38 +00:00
Yadong Wang
a2cdcdd65d 8296630: Fix SkipIfEqual on AArch64 and RISC-V
Reviewed-by: ngasson, fyang, luhenry, aph
2022-11-13 03:07:09 +00:00
Thomas Stuefe
657a0b2f15 8295865: Several issues with os::realloc
Reviewed-by: dholmes, jsjolen
2022-11-12 05:51:50 +00:00
Ryan Wallace
ff2c987669 8294378: URLPermission constructor exception when using tr locale
Reviewed-by: dfuchs, jpai, aefimov
2022-11-12 01:37:46 +00:00
Vladimir Ivanov
34a499de8e 8294033: x86_64: libm stubs are missing
Reviewed-by: jvernee, kvn
2022-11-11 22:50:08 +00:00
Julian Waters
f0b648bc5c 8296758: [BACKOUT] Revert 8296115
Reviewed-by: ihse
2022-11-11 21:48:45 +00:00
Magnus Ihse Bursie
7f587e5a5c 8296872: gtest is built with the build-jdk
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Reviewed-by: dholmes, mikael
2022-11-11 21:47:00 +00:00
Vladimir Kozlov
819c6919ca 8295867: TestVerifyGraphEdges.java fails with exit code -1073741571 when using AlwaysIncrementalInline
Reviewed-by: chagedorn, shade
2022-11-11 16:09:39 +00:00
Erik Gahlin
ced88a2fd9 8296733: JFR: File Read event for RandomAccessFile::write(byte[]) is incorrect
Reviewed-by: clanger, mgronlun
2022-11-11 15:49:36 +00:00
Erik Gahlin
87b809a2cb 8296229: JFR: jfr tool should print unsigned values correctly
Reviewed-by: coffeys, mgronlun
2022-11-11 14:55:41 +00:00
Erik Österlund
e7c2a8e60e 8295214: Generational ZGC: Guard nmethods from cross modifying code
Reviewed-by: dholmes, rehn
2022-11-11 14:36:02 +00:00
Yanhong Zhu
d4d183edfe 8296301: Interpreter(RISC-V): Implement -XX:+PrintBytecodeHistogram and -XX:+PrintBytecodePairHistogram options
Reviewed-by: fjiang, fyang
2022-11-11 13:57:35 +00:00
Thomas Schatzl
f75484063f 8296773: G1: Factor out hash function for G1CardSet
Reviewed-by: iwalulya, kbarrett
2022-11-11 13:53:47 +00:00
Darragh Clarke
fdabd37960 8293696: java/nio/channels/DatagramChannel/SelectWhenRefused.java fails with "Unexpected wakeup"
Reviewed-by: dfuchs, msheppar
2022-11-11 11:56:41 +00:00
Daniel Fuchs
4a300818fe 8296747: com/sun/net/httpserver/simpleserver/StressDirListings.java timed out
Reviewed-by: jpai
2022-11-11 11:23:57 +00:00
Kim Barrett
12e76cbc72 8296349: [aarch64] Avoid slicing Address::extend
Reviewed-by: aph, thartmann
2022-11-11 08:34:43 +00:00
Xiaolin Zheng
7244eac9df 8296771: RISC-V: C2: assert(false) failed: bad AD file
Reviewed-by: shade, fyang
2022-11-11 08:03:48 +00:00
David Holmes
956d75bcc0 8295099: vmTestbase/nsk/stress/strace/strace013.java failed with "TestFailure: wrong lengths of stack traces: strace013Thread0: NNN strace013Thread83: MMM"
Reviewed-by: stuefe, lmesnik
2022-11-11 03:41:54 +00:00
Vladimir Kozlov
2f9a94f41c 8296824: ProblemList compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java
Reviewed-by: dcubed
2022-11-10 23:58:25 +00:00
Daniel D. Daugherty
43ebd96301 8296822: ProblemList jdk/jfr/api/consumer/TestRecordingFileWrite.java
Reviewed-by: naoto
2022-11-10 23:05:31 +00:00
Alexander Zuev
84e12244a4 8296496: Overzealous check in sizecalc.h prevents large memory allocation
Reviewed-by: aivanov, azvegint
2022-11-10 22:43:02 +00:00
Weijun Wang
27527b4975 8296612: CertAttrSet is useless
Reviewed-by: mullan
2022-11-10 22:23:58 +00:00
Olga Mikhaltsova
6b456f7a9b 8262901: [macos_aarch64] NativeCallTest expected:<-3.8194101E18> but was:<3.02668882E10>
Reviewed-by: aph
2022-11-10 21:06:15 +00:00
Thomas Schatzl
e1badb77fb 8295871: G1: Use different explicit claim marks for CLDs
Reviewed-by: sjohanss, ayang
2022-11-10 19:36:11 +00:00
Aleksei Efimov
9ef7852be3 8290714: Make com.sun.jndi.dns.DnsClient virtual threads friendly
Reviewed-by: dfuchs, jpai
2022-11-10 19:20:33 +00:00
Xue-Lei Andrew Fan
d6468be81f 8293886: The abstract keyword can be removed in AESCipher
Reviewed-by: ascarpino, wetmore
2022-11-10 17:51:03 +00:00
Naoto Sato
54c986e7d5 8296715: CLDR v42 update for tzdata 2022f
Reviewed-by: joehw
2022-11-10 16:51:52 +00:00
Abhishek Kumar
4a68210d9f 6972078: Can not select single directory with GTKLookAndFeel
Reviewed-by: psadhukhan, tr
2022-11-10 14:11:52 +00:00
Ludovic Henry
4465361ee9 8295948: Support for Zicbop/prefetch instructions on RISC-V
Reviewed-by: fyang, yadongwang
2022-11-10 13:37:41 +00:00
Dingli Zhang
f2acdfdcbd 8296638: RISC-V: NegVI node emits wrong code when vector element basic type is T_BYTE/T_SHORT
Reviewed-by: gcao, fyang, shade
2022-11-10 08:39:04 +00:00
Stefan Karlsson
bfc5816595 8295475: Move non-resource allocation strategies out of ResourceObj
Reviewed-by: coleenp, stuefe, rehn, dholmes
2022-11-10 08:31:37 +00:00
Adam Sotona
e802b124b7 8296196: Class.getEnumConstants() throws undocumented ClassCastException and NullPointerException
Reviewed-by: darcy
2022-11-10 06:20:57 +00:00
Sergey Bylokhov
78a08a0f21 8295430: Use cmsDoTransformLineStride instead of cmsDoTransform in the loop
Reviewed-by: prr
2022-11-10 06:18:03 +00:00
Sergey Bylokhov
f0a6e71e4d 8295812: Skip the "half float" support in LittleCMS during the build
Reviewed-by: erikj, prr, ihse
2022-11-10 06:07:58 +00:00
Prasanta Sadhukhan
79c0092125 8285635: javax/swing/JRootPane/DefaultButtonTest.java failed with Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
Reviewed-by: tr, jdv
2022-11-10 05:51:13 +00:00
Alexander Matveev
0981bfb1a3 8296156: [macos] Resize DMG windows and background to fit additional DMG contents
Reviewed-by: asemenyuk
2022-11-10 02:20:03 +00:00
Xiaolin Zheng
93fed9b251 8296448: RISC-V: Fix temp usages of heapbase register killed by MacroAssembler::en/decode_klass_not_null
Reviewed-by: fyang, yadongwang
2022-11-10 01:30:51 +00:00
Mikhailo Seledtsov
d6e2d0d03d 8296611: Problemlist several sun/security tests until JDK-8295343 is resolved
Reviewed-by: rhalade
2022-11-10 00:43:59 +00:00
Sean Coffey
102b2b32fe 8292033: Move jdk.X509Certificate event logic to JCA layer
Reviewed-by: mullan
2022-11-09 21:46:56 +00:00
Xin Liu
1b94ae13d3 8296139: Make GrowableBitMap the base class of all implementations
Reviewed-by: aboldtch, stefank, simonis
2022-11-09 19:51:54 +00:00
Bill Huang
cc8bf95046 8296718: Refactor bootstrap Test Common Functionalities to test/lib/Utils
Reviewed-by: sspitsyn, kevinw
2022-11-09 19:02:50 +00:00
Xue-Lei Andrew Fan
17e3412363 8296615: use of undeclared identifier 'IPV6_DONTFRAG'
Reviewed-by: michaelm
2022-11-09 17:36:12 +00:00
Xue-Lei Andrew Fan
a5d838c337 8296591: Signature benchmark
Reviewed-by: weijun
2022-11-09 17:34:36 +00:00
Weijun Wang
fa8a8668a6 8296675: Exclude linux-aarch64 in NSS tests
Reviewed-by: dcubed, mullan
2022-11-09 16:49:10 +00:00
Matthias Baesken
d4376f8b55 8296406: ChainingConstructors jtreg test reduce code duplication
Reviewed-by: mullan
2022-11-09 13:49:46 +00:00
Johan Sjölen
4a0093ccc4 8294362: UL: Replace the internal usage of manual buffers with stringStream in LogSelection
Reviewed-by: dholmes, rehn
2022-11-09 10:55:08 +00:00
Gui Cao
fef68bbaf6 8296515: RISC-V: Small refactoring for MaxReductionV/MinReductionV/AddReductionV node implementation
Reviewed-by: luhenry, dzhang, yzhu, fyang
2022-11-09 09:38:36 +00:00
Andrey Turbanov
82cbfb5fb0 8296140: Drop unused field java.util.Calendar.DATE_MASK
Reviewed-by: naoto
2022-11-09 08:58:30 +00:00
Justin Lu
fd83764981 8296239: ISO 4217 Amendment 174 Update
Reviewed-by: naoto
2022-11-09 01:18:01 +00:00
Claes Redestad
d9b25e860b 8296426: x86: Narrow UseAVX and UseSSE flags
Reviewed-by: vlivanov, kvn
2022-11-08 23:41:50 +00:00
Man Cao
8146e1af82 8296347: Memory leak from ClassPathDirEntry::_dir
Co-authored-by: Justin King <jcking@google.com>
Reviewed-by: dholmes, ccheung
2022-11-08 23:34:45 +00:00
Weijun Wang
671f84bd86 8296143: CertAttrSet's set/get mechanism is not type-safe
Reviewed-by: mullan
2022-11-08 22:35:29 +00:00
Calvin Cheung
d04d6566b0 8296433: Encountered null CLD while loading shared lambda proxy class
Reviewed-by: iklam, dholmes
2022-11-08 21:55:51 +00:00
Chris Plummer
74f2b16a8e 8295303: cleanup debug agent's confusing use of EI_GC_FINISH
Reviewed-by: amenkov, sspitsyn
2022-11-08 21:37:24 +00:00
Man Cao
0ee25de704 8296504: Memory leak in G1PLABAllocator::PLABData
Co-authored-by: Justin King <jcking@google.com>
Reviewed-by: kbarrett, tschatzl
2022-11-08 19:37:31 +00:00
Ivan Walulya
dd5d4df5b6 8295658: G1: Refactor G1SegmentedArray to indicate that it is an allocator
Reviewed-by: tschatzl, sjohanss
2022-11-08 09:02:11 +00:00
pandaapo
cf656056a3 8296445: C++ syntax error in jdwpTransport.h
Reviewed-by: cjplummer, lmesnik, sspitsyn
2022-11-08 06:28:54 +00:00
Dingli Zhang
1169dc066c 8296447: RISC-V: Make the operands order of vrsub_vx/vrsub_vi consistent with RVV 1.0 spec
Reviewed-by: luhenry, fyang
2022-11-08 02:48:19 +00:00
Feilong Jiang
4c80dff2ca 8296435: RISC-V: Small refactoring for increment/decrement
Reviewed-by: fyang
2022-11-08 01:12:35 +00:00
Chris Plummer
47d2c7b4cf 8295376: Improve debug agent virtual thread performance when no debugger is attached
Reviewed-by: sspitsyn, kevinw
2022-11-08 01:09:26 +00:00
Coleen Phillimore
76790ad242 8295673: Deprecate and disable legacy parallel class loading workaround for non-parallel-capable class loaders
Reviewed-by: mchung, dholmes
2022-11-07 23:31:21 +00:00
Ludvig Janiuk
b6738c1831 8295663: Rephrase introduction to testing.md
Reviewed-by: ihse, erikj
2022-11-07 23:12:21 +00:00
Alexander Matveev
7e85b41d37 8296154: [macos] Change "/Applications" to "Applications" in DMG image
Reviewed-by: asemenyuk
2022-11-07 20:52:57 +00:00
Vicente Romero
60db5f2ba2 8294020: improve errors for record declarations
Reviewed-by: jlahoda
2022-11-07 20:16:04 +00:00
Rajan Halade
520db1eeb1 8296485: BuildEEBasicConstraints.java test fails with SunCertPathBuilderException
Reviewed-by: weijun
2022-11-07 19:09:57 +00:00
Magnus Ihse Bursie
b29817a626 8296479: Remove stray comment about POST_STRIP_CMD
Reviewed-by: iris
2022-11-07 19:02:30 +00:00
Rajan Halade
b6ea69c06a 8296480: java/security/cert/pkix/policyChanges/TestPolicy.java is failing
Reviewed-by: xuelei, mullan
2022-11-07 18:22:08 +00:00
Andrey Turbanov
3baad069a6 8295953: Use enhanced-for cycle instead of Enumeration in sun.security
Reviewed-by: weijun
2022-11-07 16:45:39 +00:00
Matias Saavedra Silva
ba303c048e 8295893: Improve printing of Constant Pool Cache Entries
Reviewed-by: dholmes, coleenp, iklam
2022-11-07 16:15:09 +00:00
Jonathan Gibbons
f8b2574ebc 8296137: diags-examples.xml is broken
Reviewed-by: iris, vromero, ihse
2022-11-07 15:58:42 +00:00
Sean Mullan
00d22f605d 8279164: Disable TLS_ECDH_* cipher suites
Reviewed-by: xuelei, rhalade, wetmore
2022-11-07 14:07:10 +00:00
Thomas Schatzl
d634ddefdd 8295354: Remove G1 incremental non-copy time calculation
Reviewed-by: ayang, iwalulya
2022-11-07 12:30:57 +00:00
Matthias Baesken
8836b92593 8296226: Add constructors (String,Throwable) and (Throwable) to InvalidParameterException
Reviewed-by: mullan, mdoerr
2022-11-07 07:50:12 +00:00
Thomas Stuefe
51f8e9b0e1 8296443: NMT: Remove cmdline_tracking_level handling code
Reviewed-by: dholmes
2022-11-07 05:59:25 +00:00
Gui Cao
087cedc080 8295261: RISC-V: Support ReductionV instructions for Vector API
Reviewed-by: yadongwang, dzhang, fyang, eliu
2022-11-07 04:59:45 +00:00
Man Cao
556377a058 8296270: Memory leak in ClassLoader::setup_bootstrap_search_path_impl
Co-authored-by: Justin King <jcking@google.com>
Reviewed-by: dholmes, jiangli
2022-11-07 03:53:32 +00:00
lawrence.andrews
c2f7638389 8296335: Fix accessibility manual test instruction
Reviewed-by: prr, aivanov
2022-11-05 21:27:52 +00:00
Fei Yang
91292d56a9 8286301: Port JEP 425 to RISC-V
Co-authored-by: Xiaolin Zheng <xlinzheng@openjdk.org>
Reviewed-by: fjiang, xlinzheng, yadongwang, jiefu, rrich
2022-11-05 02:18:49 +00:00
Markus Karg
581133a0c8 8294696: BufferedInputStream.transferTo should drain buffer when mark set
Reviewed-by: bpb, alanb
2022-11-04 21:07:59 +00:00
Sergey Bylokhov
d8573b2c5b 8294488: Delete KCMS transforms wrappers
Reviewed-by: prr
2022-11-04 20:57:38 +00:00
Harshitha Onkar
f857f795a9 8015739: Background of JInternalFrame is located out of JInternalFrame
Reviewed-by: kizune, aivanov
2022-11-04 19:48:31 +00:00
Thomas Schatzl
b847fb6877 8296414: [BACKOUT] JDK-8295319: pending_cards_at_gc_start doesn't include cards in thread buffers
Reviewed-by: lkorinth
2022-11-04 18:22:55 +00:00
Brian Burkhalter
5b7e70645b 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed
Reviewed-by: alanb
2022-11-04 17:32:32 +00:00
Jonathan Gibbons
82f9819eac 8294536: Update troff form of man page for new --spec-base-url option
Reviewed-by: hannesw
2022-11-04 17:29:25 +00:00
Bhavana Kilambi
b49bdaeade 8294816: C2: Math.min/max vectorization miscompilation
Reviewed-by: thartmann, ngasson
2022-11-04 17:22:54 +00:00
Leonid Mesnik
c206f28629 8283101: serviceability/jvmti/thread/GetFrameCount/framecnt01/framecnt01.java failing #VirtualThread-Frozen: number of frames expected: 14, got: 9
Reviewed-by: sspitsyn, kevinw
2022-11-04 17:01:57 +00:00
Joe Darcy
97c5a64d5c 8296287: Improve documentation for Types.directSupertypes()
Reviewed-by: jlahoda, prappo
2022-11-04 16:22:09 +00:00
Hannes Wallnöfer
f9c7cdaed6 8294109: JavaDoc search should search whole index
Reviewed-by: jjg
2022-11-04 16:00:36 +00:00
Hannes Wallnöfer
5622b09565 8200337: Generalize see and link tags for user-defined anchors
Reviewed-by: jjg
2022-11-04 14:57:43 +00:00
Renjith
22347e46f7 8277775: Fixup bugids in RemoveDropTargetCrashTest.java - add 4357905
Reviewed-by: prr, aivanov
2022-11-04 12:35:39 +00:00
Albert Mingkun Yang
12316829b4 8296305: Remove unimplemented deoptimized_wrt_marked_nmethods
Reviewed-by: dholmes
2022-11-04 11:14:39 +00:00
Albert Mingkun Yang
3378bfe439 8296224: G1: Remove unnecessary update in VM_G1CollectForAllocation
Reviewed-by: kbarrett, tschatzl
2022-11-04 11:13:42 +00:00
Stefan Karlsson
8ee0f7d598 8296231: Fix MEMFLAGS for CHeapBitMaps
Reviewed-by: coleenp, dholmes
2022-11-04 09:36:26 +00:00
Tobias Holenstein
bd729e6906 8296380: IGV: Shortcut for quick search not working
Reviewed-by: chagedorn
2022-11-04 09:32:53 +00:00
Dingli Zhang
c116ae75a7 8295967: RISC-V: Support negVI/negVL instructions for Vector API
Reviewed-by: yadongwang, fyang
2022-11-04 09:08:26 +00:00
Yoshiki Sato
9d3b4ef2ad 8296108: (tz) Update Timezone Data to 2022f
Reviewed-by: serb, naoto
2022-11-04 02:23:17 +00:00
Fei Yang
4d1bc1b5ad 8296285: test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java fails after JDK-8280378
Reviewed-by: jiefu, thartmann, chagedorn
2022-11-04 00:56:47 +00:00
Kim Barrett
034980393f 8295319: pending_cards_at_gc_start doesn't include cards in thread buffers
Reviewed-by: iwalulya, tschatzl
2022-11-03 23:35:37 +00:00
Ioi Lam
8f6c048911 8296337: CDS SharedArchiveConsistency tests fail after JDK-8296157
Reviewed-by: ccheung
2022-11-03 22:30:28 +00:00
Matias Saavedra Silva
a8070fba21 8296157: Rename FileMapInfo::space_at() to region_at()
Reviewed-by: iklam, ccheung
2022-11-03 21:24:12 +00:00
Yi-Fan Tsai
f43bb9feaa 8296190: TestMD5Intrinsics and TestMD5MultiBlockIntrinsics don't test the intrinsics
Reviewed-by: eastigeevich, phh, simonis
2022-11-03 19:26:20 +00:00
Harshitha Onkar
b685fc2de4 8295685: Update Libpng to 1.6.38
Reviewed-by: prr, azvegint
2022-11-03 18:28:54 +00:00
Coleen Phillimore
94eb25a4f1 8256072: Eliminate JVMTI tagmap rehashing
Reviewed-by: kbarrett, eosterlund
2022-11-03 17:27:00 +00:00
Daniel Fuchs
4338f527aa 8294241: Deprecate URL public constructors
Reviewed-by: joehw, prr, alanb, aefimov, michaelm
2022-11-03 17:18:14 +00:00
Lance Andersen
68209adfa7 8288232: Address typos in jar man page
Reviewed-by: joehw, naoto, bpb
2022-11-03 17:05:28 +00:00
Joe Wang
2ff9d3af81 8294858: XMLStreamReader does not respect jdk.xml.maxXMLNameLimit=0 for namespace names
Reviewed-by: lancea, naoto
2022-11-03 17:04:14 +00:00
Lance Andersen
72f74df49a 8292427: Improve specification of InflaterInputStream.fill()
Reviewed-by: bpb, alanb, simonis
2022-11-03 17:02:33 +00:00
Stuart Marks
53905e600a 8178355: IdentityHashMap uses identity-based comparison for values everywhere except remove(K,V) and replace(K,V,V)
Reviewed-by: smarks
2022-11-03 16:36:29 +00:00
Brian Burkhalter
25dfcbdea5 8289689: (fs) Re-examine the need for normalization to Unicode Normalization Format D (macOS)
Reviewed-by: jpai, alanb
2022-11-03 15:47:51 +00:00
Magnus Ihse Bursie
b7442d12e2 8295653: Add a graph of the sealed class hierarchy for marked classes
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jjg
2022-11-03 14:51:24 +00:00
Martin Doerr
59a13b1856 8295872: [PPC64] JfrGetCallTrace: Need pc == nullptr check before frame constructor
Reviewed-by: shade, lucy, mbaesken
2022-11-03 14:29:51 +00:00
ravi.ra.gupta
2a79dfc1f9 8295774: Write a test to verify List sends ItemEvent/ActionEvent
Reviewed-by: serb, aivanov
2022-11-03 13:39:00 +00:00
Erik Österlund
cc3c5a18ed 8296101: nmethod::is_unloading result unstable with concurrent unloading
Reviewed-by: kbarrett, dlong
2022-11-03 13:31:07 +00:00
Jie Fu
d771abb2fb 8295970: Add vector api sanity tests in tier1
Reviewed-by: shade, erikj, kvn
2022-11-03 12:13:10 +00:00
Vicente Romero
7a85441a85 8232933: Javac inferred type does not conform to equality constraint
Reviewed-by: mcimadamore
2022-11-03 12:08:23 +00:00
Claes Redestad
6ee8ccfcfe 8296168: x86: Add reasonable constraints between AVX and SSE
Reviewed-by: kvn, vlivanov
2022-11-03 12:05:13 +00:00
Emanuel Peter
19507470c4 8279913: obsolete ExtendedDTraceProbes
Reviewed-by: thartmann, chagedorn
2022-11-03 07:10:48 +00:00
David Holmes
13b20e0e6d 8296262: Remove dead code from InstanceKlass::signature_name()
Reviewed-by: iklam
2022-11-03 02:27:30 +00:00
Jonathan Gibbons
fd60036a34 8296188: Update style and header in JDWP Protocol spec and JVMTI spec
Reviewed-by: erikj
2022-11-02 21:12:25 +00:00
Kim Barrett
c7b95a895f 8296163: [aarch64] Cleanup Pre/Post addressing mode classes
Reviewed-by: chagedorn, aph
2022-11-02 20:29:58 +00:00
Justin Lu
f84b0ad07c 8295670: Remove duplication in java/util/Formatter/Basic*.java
Reviewed-by: bchristi, lancea, naoto
2022-11-02 17:30:02 +00:00
Julian Waters
a124d8e047 8296115: Allow for compiling the JDK with strict standards conformance
8241499: Enable new "permissive-" for standard C++ compliance on Visual Studio if possible

Reviewed-by: erikj, ihse
2022-11-02 17:03:19 +00:00
Erik Österlund
491d43c187 8289838: ZGC: OOM before clearing all SoftReferences
Reviewed-by: ayang, tschatzl
2022-11-02 16:36:38 +00:00
Tobias Holenstein
a1c349f8b3 8290063: IGV: Give the graphs a unique number in the outline
Reviewed-by: thartmann, chagedorn
2022-11-02 16:05:58 +00:00
Tobias Holenstein
b807470af4 8296235: IGV: Change shortcut to delete graph from ctrl+del to del
Reviewed-by: chagedorn, thartmann
2022-11-02 16:00:37 +00:00
Daniel Fuchs
e15d2419ab 8295991: java/net/httpclient/CancelRequestTest.java fails intermittently
Reviewed-by: jpai
2022-11-02 15:31:50 +00:00
Weijun Wang
16a041a67a 8296142: CertAttrSet::(getName|getElements|delete) are mostly useless
Reviewed-by: mullan
2022-11-02 14:40:47 +00:00
Thomas Schatzl
6626a29a74 8294845: Make globals accessed by G1 young gen revising atomic
Reviewed-by: iwalulya, kbarrett
2022-11-02 13:30:37 +00:00
Julian Waters
dac6ecc857 8295990: Improve make handling of strip flags
Reviewed-by: erikj
2022-11-02 13:07:20 +00:00
Albert Mingkun Yang
38c1f2a70e 8296130: G1: Remove G1YoungCollector::_target_pause_time_ms
Reviewed-by: iwalulya, kbarrett
2022-11-02 13:01:12 +00:00
Dingli Zhang
2bd24c4542 8295968: RISC-V: Rename some assembler intrinsic functions for RVV 1.0
Reviewed-by: fyang
2022-11-02 12:34:23 +00:00
Ivan Walulya
1a58cb1c02 8233697: CHT: Iteration parallelization
Reviewed-by: tschatzl, rehn
2022-11-02 11:38:45 +00:00
Roman Kennke
7619602c36 8296136: Use correct register in aarch64_enc_fast_unlock()
Reviewed-by: aph, fyang
2022-11-02 11:32:14 +00:00
Renjith
47d513baa2 8252075: Documentation error in LayoutManager2 interface
Reviewed-by: aivanov
2022-11-02 11:11:35 +00:00
Thomas Schatzl
8de3edac6d 8295476: Split G1 cost per byte predictor on gc phase
Reviewed-by: ayang, iwalulya, kbarrett
2022-11-02 09:35:24 +00:00
Xiaolin Zheng
2634eff24f 8295646: Ignore zero pairs in address descriptors read by dwarf parser
Reviewed-by: chagedorn
2022-11-02 09:09:39 +00:00
Brian Burkhalter
50d91a31d4 8057113: (fs) Path should have a method to obtain the filename extension
Reviewed-by: rriggs, lancea, mr, alanb
2022-11-01 21:35:54 +00:00
Jonathan Gibbons
d17bf51f91 8295914: Add a header to generated HTML files in specs
Reviewed-by: erikj, iris
2022-11-01 18:39:50 +00:00
Rajat Mahajan
9911405e54 8282958: Rendering issues of borders, TextFields on Windows High-DPI systems
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, honkar, kizune
2022-11-01 18:38:00 +00:00
Kim Barrett
2fb64a4a4f 8296162: [aarch64] Remove unused Address::_is_lval
Reviewed-by: chagedorn, aph
2022-11-01 17:15:19 +00:00
Kim Barrett
15b8b45178 8296161: [aarch64] Remove unused "pcrel" addressing mode tag
Reviewed-by: chagedorn, aph
2022-11-01 16:59:17 +00:00
Christian Hagedorn
f829b5a73f 8280378: [IR Framework] Support IR matching for different compile phases
Reviewed-by: kvn, rcastanedalo
2022-11-01 15:41:09 +00:00
Weijun Wang
da0ae5128a 8296167: test/langtools/tools/jdeps/jdkinternals/ShowReplacement.java failing after JDK-8296072
Reviewed-by: alanb
2022-11-01 15:14:19 +00:00
Weijun Wang
0d0bd7bd40 8296072: CertAttrSet::encode and DerEncoder::derEncode should write into DerOutputStream
Reviewed-by: xuelei, mullan
2022-11-01 12:49:11 +00:00
Dean Long
37107fc157 8296007: crash in runtime/DefineClass/NullClassBytesTest.java
Reviewed-by: dcubed, dholmes
2022-11-01 00:46:24 +00:00
Brian Burkhalter
4999f2cb16 8156593: DataOutput.write(byte[],int,int) and its implementations do not specify index out bounds
Reviewed-by: alanb, aturbanov
2022-10-31 22:18:26 +00:00
Mark Powers
8480f87044 8291974: PrivateCredentialPermission should not use local variable to enable debugging
Reviewed-by: mullan
2022-10-31 19:55:47 +00:00
Naoto Sato
590de37bd7 8284842: Update Unicode Data Files to Version 15.0.0
8284844: Update ICU4J to Version 72.1

Reviewed-by: joehw
2022-10-31 17:57:30 +00:00
Sean Mullan
16744b3449 8256660: Disable DTLS 1.0
Reviewed-by: xuelei, hchao, wetmore
2022-10-31 16:46:40 +00:00
Tyler Steele
f4d8c20c3b 8294729: [s390] Implement nmethod entry barriers
Reviewed-by: mdoerr, eosterlund
2022-10-31 15:58:44 +00:00
Coleen Phillimore
7e88209e6c 8295964: Move InstanceKlass::_misc_flags
Reviewed-by: sspitsyn, dholmes
2022-10-31 13:00:09 +00:00
Prasanta Sadhukhan
91072ee393 5074006: Swing JOptionPane shows </html> tag as a string after newline
8042134: JOptionPane bungles HTML messages

Reviewed-by: jdv, tr
2022-10-31 12:30:23 +00:00
Matthias Baesken
274ea1db5b 8295993: use K instead of 1024 in a couple of hotspot outputs
Reviewed-by: lucy, dholmes
2022-10-31 09:09:43 +00:00
David Holmes
9b9be88bca 8295125: os::signal should be os specific
Reviewed-by: jsjolen, kbarrett
2022-10-31 05:55:54 +00:00
Phil Race
f8cc067792 8296087: Problem list headful tests which may fail on Linux VMs
Reviewed-by: jdv
2022-10-31 05:19:11 +00:00
Andrey Turbanov
2e7163759c 8282463: javax/sound/sampled/Clip/DataPusherThreadCheck.java fails
Reviewed-by: prr, serb
2022-10-30 17:33:12 +00:00
Boris Ulasevich
f3ca0cab75 8293999: [JVMCI] need support for aligned constants in generated code larger than 8 bytes
Reviewed-by: dlong, dnsimon
2022-10-29 14:08:30 +00:00
Vladimir Kozlov
8aa1526b44 8285835: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work
Reviewed-by: roland, vlivanov
2022-10-29 12:32:36 +00:00
Roman Kennke
a44ebd5fbc 8295849: Consolidate Threads::owning_thread*
Reviewed-by: dcubed, sspitsyn
2022-10-28 20:23:21 +00:00
Chris Plummer
1c86cf5507 8294672: Typo in description of JDWP VirtualMachine/AllThreads command
Reviewed-by: jpai, dholmes
2022-10-28 17:27:52 +00:00
bobpengxie
823fd4a9df 8293785: Add a jtreg test for TraceOptoParse
Reviewed-by: chagedorn, jiefu
2022-10-28 13:18:39 +00:00
Jie Fu
754bd53137 8296030: compiler/c2/irTests/TestVectorizeTypeConversion.java fails with release VMs after JDK-8291781
Reviewed-by: chagedorn
2022-10-28 12:46:32 +00:00
Xiaolin Zheng
1fdbb1ba33 8295926: RISC-V: C1: Fix LIRGenerator::do_LibmIntrinsic
Reviewed-by: yadongwang, fyang
2022-10-28 11:56:21 +00:00
SuperCoder79
cf5546b3ac 8291336: Add ideal rule to convert floating point multiply by 2 into addition
Reviewed-by: qamai, thartmann, chagedorn
2022-10-28 10:04:38 +00:00
Fei Gao
4b89fce083 8291781: assert(!is_visited) failed: visit only once with -XX:+SuperWordRTDepCheck
Reviewed-by: thartmann
2022-10-28 07:27:02 +00:00
Matthias Baesken
d5d34241e2 8295405: Add cause in a couple of IllegalArgumentException and InvalidParameterException shown by sun/security/pkcs11 tests
Reviewed-by: mdoerr, mullan
2022-10-28 07:04:27 +00:00
Ioi Lam
fd668dc44f 8295537: Enhance TRACE_METHOD_LINKAGE to show the target MethodHandle
Reviewed-by: jvernee, redestad, mchung
2022-10-27 22:07:54 +00:00
Michael McMahon
182c215888 8295994: Remove left over InetAddressContainer class
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: dfuchs
2022-10-27 21:05:44 +00:00
Justin Lu
78763fc8e0 8295000: java/util/Formatter/Basic test cleanup
Reviewed-by: bchristi, naoto, lancea
2022-10-27 20:55:26 +00:00
Andrey Turbanov
907d583376 8295323: Unnecessary HashTable usage in StyleSheet
Reviewed-by: aivanov, prr
2022-10-27 19:00:53 +00:00
Sean Mullan
2157145766 8293858: Change PKCS7 code to use default SecureRandom impl instead of SHA1PRNG
Reviewed-by: weijun, xuelei
2022-10-27 17:30:11 +00:00
Archie L. Cobbs
b8ad6cd98a 8294461: wrong effectively final determination by javac
Reviewed-by: vromero
2022-10-27 15:58:46 +00:00
Brian Burkhalter
d6678952a6 8294399: (ch) Refactor some methods out of sun.nio.ch.UnixFileDispatcherImpl
Reviewed-by: alanb
2022-10-27 15:35:24 +00:00
Kevin Walls
628820f47e 8283093: JMX connections should default to using an ObjectInputFilter
Reviewed-by: dfuchs, sspitsyn
2022-10-27 08:24:01 +00:00
Ioi Lam
521e71222a 8286431: Do not use resource array in posix mmap_attach_shared()
Reviewed-by: dholmes, jsjolen
2022-10-27 05:14:22 +00:00
Srikanth Adayapalam
4d9a1cd26f 8292159: TYPE_USE annotations on generic type arguments of record components discarded
Reviewed-by: vromero
2022-10-27 04:56:22 +00:00
Tejesh R
210fe49e25 6244831: JFileChooser does not have tooltip for Desktop, Recent etc ToggleButton on Windows Look and feel
Reviewed-by: psadhukhan
2022-10-27 04:37:06 +00:00
Chris Plummer
c2d7a35a4b 8269235: serviceability/sa/ClhsdbJstackXcompStress.java timed out
Reviewed-by: dcubed
2022-10-26 22:58:47 +00:00
Igor Veresov
58a7141a0d 8295066: Folding of loads is broken in C2 after JDK-8242115
Reviewed-by: kvn, thartmann
2022-10-26 20:45:26 +00:00
Coleen Phillimore
a8450b37ee 8295713: runtime/ParallelLoad/SuperWait/SuperWaitTest.java fails intermittently on Windows
Reviewed-by: pchilanomate, dholmes
2022-10-26 17:28:44 +00:00
Andrey Turbanov
46e6aee0d0 8295823: Use enhanced-for cycle instead of Enumeration in java.naming
Reviewed-by: aefimov, dfuchs, vtewari
2022-10-26 16:50:31 +00:00
Mark Powers
8e5d680a98 8293093: NPE in P11KeyStore.getID
Reviewed-by: ascarpino, xuelei
2022-10-26 15:53:52 +00:00
Tobias Holenstein
3135914362 8265441: IGV: select block nodes by clicking on it
Reviewed-by: rcastanedalo, thartmann
2022-10-26 14:04:38 +00:00
Erik Gahlin
78454b69da 8295879: JFR: Remove warnings in the jdk.jfr module
Reviewed-by: mgronlun
2022-10-26 09:33:43 +00:00
Albert Mingkun Yang
33ff80dd7a 8295402: G1: Tighten assertion in G1ScanHRForRegionClosure::scan_heap_roots
Reviewed-by: tschatzl, iwalulya
2022-10-26 09:25:40 +00:00
Albert Mingkun Yang
303548babc 8294752: G1: Remove redundant checks in check_obj_during_refinement
Reviewed-by: tschatzl, iwalulya
2022-10-26 09:16:15 +00:00
Thomas Stuefe
cf121df17e 8295889: NMT preinit code does not handle allocation errors
Reviewed-by: dholmes, mbaesken
2022-10-26 08:35:05 +00:00
Aleksey Shipilev
772be2e02b 8295868: 32-bit Windows build failures after JDK-8294466
Reviewed-by: erikj
2022-10-26 08:10:42 +00:00
Zixian Cai
e173fd7922 8295885: GHA: Bump gcc versions
Reviewed-by: shade
2022-10-26 07:59:44 +00:00
Matthias Baesken
b2878c904b 8295710: remove os::dll_file_extension
Reviewed-by: dholmes, mdoerr, lucy
2022-10-26 06:35:20 +00:00
Andrey Turbanov
e3a5a34c4d 8295767: Remove unused fields in sun.awt.geom.Edge
Reviewed-by: prr
2022-10-26 06:07:23 +00:00
Erik Gahlin
324bec19aa 8295863: JFR: Use expected size for Maps and Sets
Reviewed-by: mgronlun
2022-10-26 03:04:14 +00:00
Leonid Mesnik
3bd3caf897 8294486: Remove vmTestbase/nsk/jvmti/ tests ported to serviceability/jvmti.
Reviewed-by: sspitsyn
2022-10-25 22:48:00 +00:00
Chris Plummer
fec61746d1 8295816: jdwp jck tests failing with "FATAL ERROR in native method: JDWP SetTag, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)"
8295815: misc JDI tests failed with "JDWP exit error JVMTI_ERROR_WRONG_PHASE(112)"

Reviewed-by: sspitsyn, amenkov, dcubed
2022-10-25 22:14:36 +00:00
Ludovic Henry
e0c29307f7 8295282: Use Zicboz/cbo.zero to zero-out memory on RISC-V
Reviewed-by: yadongwang, vkempik, fyang
2022-10-25 20:11:48 +00:00
Justin Lu
d393e051e6 8294989: ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java
Reviewed-by: naoto, lancea, bchristi
2022-10-25 19:21:34 +00:00
Calvin Cheung
0caea818b5 8295895: build error after JDK-8279366
Reviewed-by: dcubed
2022-10-25 18:54:48 +00:00
Thomas Schatzl
ee0dec8bf5 8295838: Document why we do not print Code Cache Roots phase in G1 logging
Reviewed-by: ayang, iwalulya
2022-10-25 18:51:43 +00:00
Thomas Schatzl
ef606086a9 8295732: Directly embed TruncatedSeqs in G1Analytics
Reviewed-by: iwalulya, sjohanss
2022-10-25 18:50:08 +00:00
Thomas Schatzl
3e49f8fd28 8295839: G1: Single threaded phases (within parallel phases) report as using multiple threads in logs
Reviewed-by: ayang, iwalulya
2022-10-25 18:49:06 +00:00
Calvin Cheung
427f50624f 8279366: CDS should allow alternative locations for JAR files in classpath
Reviewed-by: iklam, coleenp
2022-10-25 17:52:18 +00:00
Kim Barrett
3a873d3c5b 8295808: GrowableArray should support capacity management
Reviewed-by: aboldtch, tschatzl, sspitsyn
2022-10-25 17:42:48 +00:00
Chris Plummer
6289600fe8 8295810: cleanup debug agent removeThread() api
Reviewed-by: kevinw, sspitsyn, amenkov
2022-10-25 16:28:57 +00:00
Thomas Schatzl
5c4d99a051 8295118: G1: Clear CLD claim marks concurrently
Reviewed-by: iwalulya, sjohanss, ayang
2022-10-25 16:21:18 +00:00
Erik Joelsson
af2de975cb 8287754: Update jib GNU make dependency on Windows to latest cygwin build
Reviewed-by: djelinski, ihse, mikael
2022-10-25 12:44:23 +00:00
Kevin Walls
9051dded84 8294993: LingeredApp test update
Reviewed-by: cjplummer, amenkov
2022-10-25 11:44:39 +00:00
Thomas Schatzl
f37a6055c4 8295212: G1: Add wrapper for TruncatedSeqs that need separation by gc phase
Reviewed-by: iwalulya, sjohanss
2022-10-25 10:18:44 +00:00
Sergey Bylokhov
6673cd8577 8295554: Move the "sizecalc.h" to the correct location
Reviewed-by: erikj, ihse, prr, kizune, aivanov
2022-10-25 09:45:33 +00:00
Daniel Jeliński
706d1b7508 8295798: (ch) Test java/nio/channels/Channels/ReadXBytes.java is very slow on Windows
Reviewed-by: alanb, bpb
2022-10-25 07:25:07 +00:00
Ioi Lam
89dafc002f 8292699: Improve printing of classes in native debugger
Reviewed-by: coleenp
2022-10-24 22:17:51 +00:00
Daniel D. Daugherty
7520d0a725 8295855: ProblemList jdk/jshell/CommandCompletionTest.java on linux-all
Reviewed-by: dholmes
2022-10-24 21:39:16 +00:00
Magnus Ihse Bursie
1d15e5cdd6 8295716: Minimize disabled warnings in security libs
Reviewed-by: erikj
2022-10-24 20:47:24 +00:00
Magnus Ihse Bursie
8c86e92535 8295847: slow debug build error after JDK-8294466
Reviewed-by: erikj, dcubed
2022-10-24 20:32:31 +00:00
Vladimir Kozlov
e122321cb5 8295844: jdk/test/whitebox/CPUInfoTest.java failed with "not all features are known: expected true, was false"
Reviewed-by: tschatzl, dnsimon
2022-10-24 19:11:56 +00:00
Alexey Ivanov
df81b3c66a 8295738: Automate javax/swing/JFileChooser/FileSizeCheck.java
Reviewed-by: serb
2022-10-24 17:39:57 +00:00
Alexey Ivanov
68cf248b44 8295298: Automate javax/swing/JFileChooser/FileViewNPETest.java
Reviewed-by: tr, serb
2022-10-24 17:29:51 +00:00
Matias Saavedra Silva
fefbddf835 8291443: Obsolete the PrintSharedDictionary flag
Reviewed-by: dholmes, iklam
2022-10-24 16:08:51 +00:00
Naoto Sato
5b3de6e143 8284840: Update CLDR to Version 42.0
Reviewed-by: erikj, iris, joehw
2022-10-24 15:48:38 +00:00
Daniel Jeliński
2f3f3b6185 8295792: Clean up old async close code
Reviewed-by: alanb
2022-10-24 15:25:48 +00:00
Tobias Holenstein
5ac6f185ee 8290010: IGV: Fix UndoRedo Action
Reviewed-by: thartmann, rcastanedalo
2022-10-24 15:04:35 +00:00
Tobias Holenstein
c055dfc3ce 8294565: IGV: ClassCastException when clicking on an edge in the graph
Reviewed-by: rcastanedalo, thartmann
2022-10-24 14:17:33 +00:00
Tobias Holenstein
3898385788 8295461: IGV: Wrong src/dest nodes highlighted for edge
Reviewed-by: thartmann, rcastanedalo
2022-10-24 14:14:12 +00:00
Matthias Neugschwandtner
d50b6eb342 8295776: [JVMCI] Add x86 CPU flags for MPK and CET
Reviewed-by: kvn, dnsimon
2022-10-24 12:09:05 +00:00
Michael McMahon
5596d9ad5c 8288493: Document JDK specific system properties in jdk.httpserver
Reviewed-by: dfuchs, jpai, aefimov
2022-10-24 11:40:15 +00:00
Magnus Ihse Bursie
7a49c9baa1 8295717: Minimize disabled warnings in accessibility native code
Reviewed-by: erikj, prr
2022-10-24 10:01:04 +00:00
Magnus Ihse Bursie
74606614e0 8294466: Minimize disabled warnings in java.desktop
Reviewed-by: erikj, prr
2022-10-24 09:50:58 +00:00
Johan Sjölen
89a94d0502 8293873: Centralize the initialization of UL
Reviewed-by: stuefe, rehn
2022-10-24 09:12:59 +00:00
Richard Reingruber
08d3ef4fe6 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode
Reviewed-by: lmesnik, kvn, sspitsyn
2022-10-24 08:00:06 +00:00
Daniel Jeliński
65c84e0cf8 8295777: java/net/httpclient/ConnectExceptionTest.java should not rely on system resolver
Reviewed-by: dfuchs, jpai
2022-10-24 06:08:40 +00:00
Daniel Jeliński
329b49a938 8266900: java/net/httpclient/ShortResponseBody.java fails on windows with java.io.IOException: Unable to establish loopback connection
Reviewed-by: dfuchs
2022-10-24 06:07:10 +00:00
Ioi Lam
aad81f2eba 8293979: Resolve JVM_CONSTANT_Class references at CDS dump time
Reviewed-by: coleenp, ccheung
2022-10-23 23:26:05 +00:00
Jie Fu
7cbf6721dc 8295811: serviceability/sa/TestObjectAlignment.java fails on x86_32
Reviewed-by: cjplummer
2022-10-23 04:01:16 +00:00
Jie Fu
adad59ee11 8295762: [Vector API] Update generate_iota_indices for x86_32 after JDK-8293409
Reviewed-by: xgong, kvn
2022-10-22 03:50:41 +00:00
Dean Long
b5efa2afe2 8294538: missing is_unloading() check in SharedRuntime::fixup_callers_callsite()
Reviewed-by: kvn, thartmann, eosterlund
2022-10-22 02:11:55 +00:00
Alex Menkov
6acbdb59da 8295427: popframe004: report more details on error
Reviewed-by: cjplummer, lmesnik, sspitsyn
2022-10-22 00:18:39 +00:00
Justin Lu
902162ca9f 8295239: Refactor java/util/Formatter/Basic script into a Java native test launcher
Reviewed-by: lancea, bchristi, naoto
2022-10-21 22:59:18 +00:00
Jonathan Gibbons
f5dabf9440 8295088: Update External Spec page to show tabs for hosts
Reviewed-by: hannesw
2022-10-21 19:27:54 +00:00
Chris Plummer
218104247e 8295375: debug agent class tracking should not piggy back on the cbClassPrepare() callback
Reviewed-by: amenkov, sspitsyn
2022-10-21 18:34:43 +00:00
Erik Gahlin
f41711ef63 8295650: JFR: jfr scrub should warn if an event type doesn't exist
Reviewed-by: mgronlun
2022-10-21 17:14:24 +00:00
Lance Andersen
0c13d66622 8295530: Update Zlib Data Compression Library to Version 1.2.13
Reviewed-by: alanb, jpai
2022-10-21 10:45:54 +00:00
Boris Ulasevich
15bebf922f 8295666: Linux x86 build fails after 8292591
Reviewed-by: dholmes, shade
2022-10-21 08:59:24 +00:00
Boris Ulasevich
50647187e8 8294460: CodeSection::alignment checks for CodeBuffer::SECT_STUBS incorrectly
Reviewed-by: phh, kvn
2022-10-21 08:57:20 +00:00
Jaikiran Pai
8b010e014c 8030616: sun/management/jmxremote/bootstrap/RmiBootstrapTest fails intermittently with cannot find a free port
Reviewed-by: sspitsyn, msheppar
2022-10-21 08:29:09 +00:00
Magnus Ihse Bursie
b35922be6d 8295714: GHA ::set-output is deprecated and will be removed
Reviewed-by: shade
2022-10-21 08:23:45 +00:00
Aleksey Shipilev
dfd2d83144 8295657: SA: Allow larger object alignments
Reviewed-by: stuefe, cjplummer
2022-10-21 08:15:49 +00:00
Erik Gahlin
a345df20d0 8280131: jcmd reports "Module jdk.jfr not found." when "jdk.management.jfr" is missing
Reviewed-by: mgronlun, alanb
2022-10-21 08:14:24 +00:00
Fei Yang
ef62b614d1 8295703: RISC-V: Remove implicit noreg temp register arguments in MacroAssembler
Reviewed-by: shade, fjiang
2022-10-21 02:29:45 +00:00
Alex Menkov
6240431b38 8295697: Resolve conflicts between serviceability/jvmti and nsk/jvmti shared code
Reviewed-by: lmesnik, sspitsyn, cjplummer
2022-10-20 23:41:54 +00:00
Kim Barrett
1164258ec7 8295124: Atomic::add to pointer type may return wrong value
Reviewed-by: tschatzl, coleenp
2022-10-20 22:24:53 +00:00
Dean Long
d3eba859f9 8295414: [Aarch64] C2: assert(false) failed: bad AD file
Reviewed-by: kvn, chagedorn, aph
2022-10-20 21:24:36 +00:00
Kim Barrett
028e8b3d5e 8137022: Concurrent refinement thread adjustment and (de-)activation suboptimal
8155996: Improve concurrent refinement green zone control
8134303: Introduce -XX:-G1UseConcRefinement

Reviewed-by: sjohanss, tschatzl, iwalulya, ayang
2022-10-20 20:29:19 +00:00
Magnus Ihse Bursie
faa6b66257 8295715: Minimize disabled warnings in serviceability libs
Reviewed-by: cjplummer, erikj
2022-10-20 18:51:34 +00:00
Magnus Ihse Bursie
de1e0c57a7 8295719: Remove unneeded disabled warnings in jdk.sctp
Reviewed-by: erikj, dfuchs
2022-10-20 18:48:08 +00:00
Joe Darcy
9612cf998a 8295529: Add link to JBS to README.md
Reviewed-by: jpai
2022-10-20 17:30:11 +00:00
Naoto Sato
b37421e757 8295564: Norwegian Nynorsk Locale is missing formatting
Reviewed-by: iris, joehw
2022-10-20 15:59:22 +00:00
Vicente Romero
6707bfbc15 8029633: Raw inner class constructor ref should not perform diamond inference
Reviewed-by: jlahoda
2022-10-20 15:43:10 +00:00
Jan Lahoda
7bc9692a51 8294670: Enhanced switch statements have an implicit default which does not complete normally
Reviewed-by: vromero
2022-10-20 15:21:26 +00:00
Vicente Romero
95dd376ba2 8291914: generated constructors are considered compact when they shouldn't
Reviewed-by: darcy, jlahoda
2022-10-20 14:58:56 +00:00
Archie L. Cobbs
9b971626f7 7039014: Confusing error message for method conflict
Reviewed-by: vromero
2022-10-20 13:58:09 +00:00
Jan Lahoda
78dc497786 8294550: Sealed check for casts isn't applied to array components
Reviewed-by: vromero
2022-10-20 13:01:12 +00:00
Raffaello Giulietti
c08ff2c7b8 8294705: Disable an assertion in test/jdk/java/util/DoubleStreamSums/CompensatedSums.java
Reviewed-by: bpb
2022-10-20 10:47:39 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Daniel Fuchs
9d0cfd1130 8294948: Document IllegalArgumentException and NullPointerException thrown by URLStreamHandler::parseURL and URLStreamHandler::setURL
Reviewed-by: jpai, aefimov, alanb, michaelm
2022-10-20 08:54:45 +00:00
Daniel Fuchs
dcd46501e6 8294916: Cancelling a request must eventually cause its response body subscriber to be unregistered
Reviewed-by: michaelm, jpai
2022-10-20 08:48:40 +00:00
Aleksey Shipilev
4f994c0370 8295709: Linux AArch64 builds broken after JDK-8294438
Reviewed-by: dholmes, aph
2022-10-20 07:58:35 +00:00
Aleksey Shipilev
545021b18d 8294438: Fix misleading-indentation warnings in hotspot
Reviewed-by: ihse, dholmes, coleenp
2022-10-20 07:16:41 +00:00
Serguei Spitsyn
c5e0464098 8291456: com/sun/jdi/ClassUnloadEventTest.java failed with: Wrong number of class unload events: expected 10 got 4
Reviewed-by: cjplummer, amenkov
2022-10-20 01:18:39 +00:00
Ioi Lam
8d4c077218 8295302: Do not use ArrayList when LambdaForm has a single ClassData
Reviewed-by: vlivanov, redestad, mchung
2022-10-19 21:11:36 +00:00
Coleen Phillimore
017e7988b1 8293939: Move continuation_enter_setup and friends
Reviewed-by: dlong, pchilanomate
2022-10-19 20:12:48 +00:00
Joshua Cao
f872467d69 8255746: Make PrintCompilation available on a per method level
Reviewed-by: chagedorn, kvn, xliu
2022-10-19 19:40:18 +00:00
Aleksey Shipilev
388a56e4c4 8294467: Fix sequence-point warnings in Hotspot
Reviewed-by: dholmes, thartmann, roland
2022-10-19 18:52:10 +00:00
Aleksey Shipilev
ceb5b08964 8294468: Fix char-subscripts warnings in Hotspot
Reviewed-by: dholmes, kbarrett
2022-10-19 18:51:14 +00:00
Quan Anh Mai
7b1c6767fc 8295662: jdk/incubator/vector tests fail "assert(VM_Version::supports_avx512vlbw()) failed"
Reviewed-by: chagedorn, thartmann
2022-10-19 16:39:25 +00:00
Daniel D. Daugherty
5eaf568665 8295668: validate-source failure after JDK-8290011
Reviewed-by: chagedorn
2022-10-19 16:32:18 +00:00
Naoto Sato
e238920bb6 8295372: CompactNumberFormat handling of number one with decimal part
Reviewed-by: joehw
2022-10-19 16:24:15 +00:00
Brian Burkhalter
a5f6e31ccb 8295456: (ch) sun.nio.ch.Util::checkBufferPositionAligned gives misleading/incorrect error
Reviewed-by: alanb
2022-10-19 15:53:01 +00:00
Tobias Holenstein
e27bea0c4d 8290011: IGV: Remove dead code and cleanup
Reviewed-by: chagedorn
2022-10-19 15:49:22 +00:00
Aleksei Efimov
d37ce4cdd1 8290368: Introduce LDAP and RMI protocol-specific object factory filters to JNDI implementation
Reviewed-by: dfuchs, rriggs, jpai
2022-10-19 14:41:28 +00:00
Damon Nguyen
21aeb9e794 8295429: Update harfbuzz md file
Reviewed-by: azvegint
2022-10-19 14:17:41 +00:00
Aleksey Shipilev
1d883c5312 8295417: Pass $AR to binutils cross-build
Reviewed-by: erikj, ihse
2022-10-19 11:58:24 +00:00
Joakim Nordström
fc889577ea 8286707: JFR: Don't commit JFR internal jdk.JavaMonitorWait events
Reviewed-by: dholmes, egahlin
2022-10-19 10:34:17 +00:00
Xiaohong Gong
857b0f9b05 8293409: [vectorapi] Intrinsify VectorSupport.indexVector
Reviewed-by: eliu, jbhateja
2022-10-19 09:24:05 +00:00
Aleksey Shipilev
3f3d63d02a 8294211: Zero: Decode arch-specific error context if possible
Reviewed-by: stuefe, luhenry
2022-10-19 08:40:15 +00:00
Jie Fu
f502ab85c9 8295435: Build failure with GCC7 after JDK-8294314 due to strict-overflow warnings
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, ihse
2022-10-19 07:41:27 +00:00
Ioi Lam
3f4964f83d 8293291: Simplify relocation of native pointers in archive heap
Reviewed-by: ccheung, coleenp
2022-10-19 04:57:56 +00:00
Jaikiran Pai
1553551d82 8286918: Better HttpServer service
Reviewed-by: dfuchs, michaelm, ahgross, rhalade
2022-10-18 22:41:16 +00:00
Alexander Zuev
400aa2fb2c 8286511: Improve macro allocation
Reviewed-by: azvegint, rhalade, prr
2022-10-18 22:41:16 +00:00
Daniel Jeliński
2cee77444f 8289366: Improve HTTP/2 client usage
Reviewed-by: dfuchs, rhalade
2022-10-18 22:41:16 +00:00
Weijun Wang
1ae6836521 8288508: Enhance ECDSA usage
Reviewed-by: ascarpino, ahgross, rhalade
2022-10-18 22:41:15 +00:00
Daniel Fuchs
40539de8da 8286910: Improve JNDI lookups
Reviewed-by: jpai, msheppar, rhalade, aefimov
2022-10-18 22:41:15 +00:00
Alexander Zuev
896a29dfae 8287446: Enhance icon presentations
Reviewed-by: prr, azvegint
2022-10-18 22:41:15 +00:00
Hai-May Chao
5a8e5ea3e2 8286526: Improve NTLM support
Reviewed-by: weijun, rhalade
2022-10-18 22:41:15 +00:00
Harold Seigel
c622d56a0d 8286519: Better memory handling
Reviewed-by: coleenp, rhalade
2022-10-18 22:41:14 +00:00
Jamil Nimeh
48cc9a8717 8285662: Better permission resolution
Reviewed-by: rhalade, weijun, mullan
2022-10-18 22:41:14 +00:00
Weijun Wang
ff1867438f 8286077: Wider MultiByte conversions
Reviewed-by: rhalade, valeriep
2022-10-18 22:41:14 +00:00
Joe Darcy
25e88b21af 8282252: Improve BigInteger/Decimal validation
Reviewed-by: jboes, rhalade, skoivu, bpb, smarks
2022-10-18 22:41:14 +00:00
Erik Gahlin
ecfb6bce5a 8295419: JFR: Change name of jdk.JitRestart
Reviewed-by: mgronlun
2022-10-18 21:43:06 +00:00
Joe Darcy
95baf83dd6 8295517: Fix stutter typo in JDK-8294539
Reviewed-by: naoto, bpb, lancea
2022-10-18 21:00:41 +00:00
Coleen Phillimore
37f93b6728 8295029: runtime/cds/appcds/LotsOfClasses.java fail with jfx
Reviewed-by: iklam, ccheung, gziemski
2022-10-18 20:26:15 +00:00
Leonid Mesnik
0233ba763d 8284614: on macOS "spindump" should be run from failure_handler as root
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dnsimon, dcubed
2022-10-18 17:34:07 +00:00
Magnus Ihse Bursie
2a799e5c82 8285306: Fix typos in java.desktop
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: aturbanov, prr
2022-10-18 17:08:49 +00:00
Brian Burkhalter
d1f794587c 6924219: (fc spec) FileChannel.write(ByteBuffer, position) behavior when file opened for append not specified
Reviewed-by: alanb
2022-10-18 16:58:45 +00:00
Zixian Cai
5dbd495115 8295457: Make the signatures of write barrier methods consistent
Reviewed-by: tschatzl, shade
2022-10-18 15:32:20 +00:00
Aleksey Shipilev
7b2e83b395 8295469: S390X: Optimized builds are broken
Reviewed-by: stuefe
2022-10-18 15:27:13 +00:00
Xin Liu
63867c4b52 8295433: EpsilonHeap doesn't need to override post_initialize()
Reviewed-by: shade, tschatzl
2022-10-18 15:08:50 +00:00
Aleksey Shipilev
e7375f9c52 8295468: RISC-V: Minimal builds are broken
Reviewed-by: stuefe, luhenry, fyang
2022-10-18 15:07:01 +00:00
Daniel Fuchs
bd41428a56 8293590: Some syntax checks performed by URL.openConnection() could be performed earlier, at URL construction
Reviewed-by: jpai, michaelm
2022-10-18 14:30:51 +00:00
Prasanta Sadhukhan
78fed9d307 7175397: The divider color is not changed to green when dragging for Nimbus LaF.
Reviewed-by: jdv
2022-10-18 14:05:37 +00:00
Sean Coffey
8c40b7dc8c 8292177: InitialSecurityProperty JFR event
Reviewed-by: mullan
2022-10-18 11:41:07 +00:00
Aleksey Shipilev
e7a964b4db 8295268: Optimized builds are broken due to incorrect assert_is_rfp shortcuts
Reviewed-by: jiefu
2022-10-18 09:59:05 +00:00
Raffaello Giulietti
0b7d811c98 8294730: Add @throws and @implNote clauses to BigInteger::isProblablePrime and BigInteger::nextProblablePrime
Reviewed-by: darcy, bpb
2022-10-18 09:56:03 +00:00
Ludovic Henry
4434cbb719 8295264: Fix PaX check on RISC-V
Reviewed-by: yadongwang, fyang
2022-10-18 09:47:23 +00:00
Axel Boldt-Christmas
a8c18ebc15 8295257: Remove implicit noreg temp register arguments in aarch64 MacroAssembler
Reviewed-by: aph, tschatzl
2022-10-18 08:59:25 +00:00
Axel Boldt-Christmas
6553065cab 8295273: Remove unused argument in [load/store]_sized_value on aarch64 and riscv
Reviewed-by: fyang, haosun
2022-10-18 08:58:25 +00:00
Aleksey Shipilev
b06f1b149c 8294594: Fix cast-function-type warnings in signal handling code
Reviewed-by: dholmes, kbarrett
2022-10-18 08:45:28 +00:00
Jan Lahoda
71aa821091 8295176: some langtools test pollutes source tree
Reviewed-by: sadayapalam, darcy, vromero
2022-10-18 07:45:23 +00:00
Matthias Baesken
bca7ab3c11 8295412: support latest VS2022 MSC_VER in abstract_vm_version.cpp
Reviewed-by: dholmes, lucy
2022-10-18 07:43:59 +00:00
Prasanta Sadhukhan
c33ca0c5ed 6229853: BasicTextAreaUI:create incompletely documents the possible returned View types
Reviewed-by: aivanov, prr
2022-10-18 05:11:51 +00:00
Damon Nguyen
358ac07255 8294254: [macOS] javax/swing/plaf/aqua/CustomComboBoxFocusTest.java failure
Reviewed-by: jdv, achung
2022-10-18 03:55:23 +00:00
Fei Gao
490fcd0c25 8293833: Error mixing types with -XX:+UseCMoveUnconditionally -XX:+UseVectorCmov
Reviewed-by: chagedorn, kvn
2022-10-18 02:00:53 +00:00
Xiaolin Zheng
529cc48f35 8295396: RISC-V: Cleanup useless CompressibleRegions
Reviewed-by: fyang
2022-10-18 01:15:49 +00:00
Zixian Cai
692cdab2be 8295016: Make the arraycopy_epilogue signature consistent with its usage
Reviewed-by: shade
2022-10-18 00:53:17 +00:00
Serguei Spitsyn
21a825e059 8288387: GetLocalXXX/SetLocalXXX spec should require suspending target thread
Reviewed-by: lmesnik, dsamersoff
2022-10-17 23:36:22 +00:00
Julian Waters
8d751de319 8295231: Move all linking of native libraries to make
Reviewed-by: ihse, erikj
2022-10-17 20:57:26 +00:00
Jonathan Gibbons
f300ec8631 8294546: document where javac differs when invoked via launcher and ToolProvider
Reviewed-by: darcy
2022-10-17 20:18:25 +00:00
Aleksey Shipilev
b269c51d10 8295395: Linux Alpha Zero builds fail after JDK-8292591
Reviewed-by: stuefe
2022-10-17 17:56:49 +00:00
Hao Sun
ae60599e2b 8295023: Interpreter(AArch64): Implement -XX:+PrintBytecodeHistogram and -XX:+PrintBytecodePairHistogram options
Reviewed-by: aph, ngasson
2022-10-17 14:46:12 +00:00
Ludovic Henry
4d37ef2d54 8295262: Build binutils out of source tree
Reviewed-by: shade, erikj, ihse
2022-10-17 14:02:47 +00:00
Eric Liu
0919a3a0c1 8294186: AArch64: VectorMaskToLong failed on SVE2 machine with -XX:UseSVE=1
Reviewed-by: njian, aph
2022-10-17 13:28:33 +00:00
Thomas Stuefe
ec2981b83b 8293711: Factor out size parsing functions from arguments.cpp
Reviewed-by: dholmes, jsjolen
2022-10-17 12:44:51 +00:00
Coleen Phillimore
5d273b9f04 8295278: Add parallel class loading tests
Reviewed-by: vlivanov, ccheung
2022-10-17 12:31:39 +00:00
Albert Mingkun Yang
172006c0e9 8295333: G1: Remove unnecessary check in G1Policy::calculate_desired_eden_length_by_mmu
Reviewed-by: tschatzl, kbarrett
2022-10-17 09:44:43 +00:00
Magnus Ihse Bursie
7743345f6f 8294314: Minimize disabled warnings in hotspot
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: erikj, shade
2022-10-17 09:29:50 +00:00
Magnus Ihse Bursie
552d8a2821 8295192: Use original configure command line when called from a script
Reviewed-by: erikj
2022-10-17 09:28:23 +00:00
Srikanth Adayapalam
cf07eaeb92 8295020: javac emits incorrect code for for-each on an intersection type.
Reviewed-by: mcimadamore
2022-10-17 07:40:19 +00:00
Matthias Baesken
b3bb3e6ed8 8295325: tools/jlink/plugins/SaveJlinkArgfilesPluginTest.java fails on Linux ppc64le
Reviewed-by: alanb, mdoerr, mchung
2022-10-17 06:53:49 +00:00
Xiaolin Zheng
9005af3b90 8295110: RISC-V: Mark out relocations as incompressible
Reviewed-by: fyang, yadongwang
2022-10-17 05:56:59 +00:00
Sergey Tsypanov
74a51ccc86 8292698: Improve performance of DataInputStream
Reviewed-by: dfuchs
2022-10-17 04:41:12 +00:00
Yadong Wang
d3781ac8a3 8295009: RISC-V: Interpreter intrinsify Thread.currentThread()
Reviewed-by: fyang, shade
2022-10-16 10:36:26 +00:00
Daniel D. Daugherty
e7d0ab227f 8295379: ProblemList java/lang/Float/Binary16Conversion.java in Xcomp mode on x64
8295380: ProblemList gc/cslocker/TestCSLocker.java in Xcomp mode on x64

Reviewed-by: alanb
2022-10-15 14:50:10 +00:00
Quan Anh Mai
404e8de155 8294865: x86: Improve the code generation of MulVB and MulVL
Reviewed-by: kvn, vlivanov
2022-10-15 11:28:02 +00:00
Roger Riggs
2087424736 8295370: Update java.io.ObjectStreamField to use Class.descriptorString
Reviewed-by: bpb, mchung
2022-10-14 23:45:03 +00:00
Vladimir Ivanov
8487c56f7e 8295294: Misc cleanups in runtime/InvocationTests
Reviewed-by: dholmes
2022-10-14 17:46:11 +00:00
Jatin Bhateja
0043d58c5d 8293531: C2: some vectorapi tests fail assert "Not monotonic" with flag -XX:TypeProfileLevel=222
Reviewed-by: kvn
2022-10-14 16:34:48 +00:00
Thomas Schatzl
2e2a51ee22 8295267: Improve G1 scan to merge ratio calculation
Reviewed-by: ayang, iwalulya
2022-10-14 14:45:56 +00:00
Ioi Lam
dfcd9d538e 8295320: [BACKOUT] 8276687 Remove support for JDK 1.4.1 PerfData shared memory files
Reviewed-by: redestad, kevinw
2022-10-14 14:26:39 +00:00
Nikita Provotorov
2da079c64e 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks
Reviewed-by: prr
2022-10-14 14:14:23 +00:00
Thomas Schatzl
449b52fd23 8295158: G1: Increase card-based cost sample reporting threshold
Reviewed-by: iwalulya, ayang
2022-10-14 14:12:26 +00:00
Thomas Schatzl
312985eea6 8295156: G1: Improve constant other time calculation
Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Reviewed-by: kbarrett, iwalulya
2022-10-14 13:53:52 +00:00
Archie L. Cobbs
786ce1c27b 8295024: Cyclic constructor error is non-deterministic and inconsistent
Reviewed-by: vromero
2022-10-14 13:52:50 +00:00
Thomas Schatzl
1efa93e602 8294844: Improve G1 young gen length revise trigger
Reviewed-by: iwalulya, kbarrett
2022-10-14 13:37:15 +00:00
Joshua Cao
3dbc38a2c9 8295288: Some vm_flags tests associate with a wrong BugID
Reviewed-by: phh
2022-10-14 13:36:12 +00:00
Thomas Schatzl
ef5210fce0 8295149: Misnomer for_young_gc instead of for_young_only_phase in G1Analytics
Reviewed-by: kbarrett, iwalulya
2022-10-14 13:12:55 +00:00
Thomas Schatzl
64813f48c8 8294850: Make rs length/pending card predictors dependent on gc phase
Reviewed-by: kbarrett, iwalulya, ayang
2022-10-14 12:46:48 +00:00
Markus Grönlund
21e4f06ada 8295274: HelidonAppTest.java fails "assert(event->should_commit()) failed: invariant" from compiled frame"
Reviewed-by: egahlin
2022-10-14 12:34:42 +00:00
Thomas Schatzl
f31c80d951 8294842: Pass actual pending cards to G1Policy::update_young_length_bounds during young gen revise
Reviewed-by: kbarrett, ayang
2022-10-14 11:26:06 +00:00
Prasanta Sadhukhan
7133fc93e1 7172359: HTML parser StackOverflowError on invalid HTML: <li> tag inside an <option>
Reviewed-by: tr, jdv, aivanov
2022-10-14 09:05:39 +00:00
Fei Yang
3d75e88eb2 8295270: RISC-V: Clean up and refactoring for assembler functions
Reviewed-by: fjiang, yadongwang, shade
2022-10-14 07:53:56 +00:00
Andrey Turbanov
be3b335452 8295026: Remove unused fields in StyleSheet
Reviewed-by: aivanov
2022-10-14 06:43:05 +00:00
Ioi Lam
67046ae49a 8276687: Remove support for JDK 1.4.1 PerfData shared memory files
Reviewed-by: dholmes, kevinw, redestad
2022-10-14 04:28:45 +00:00
Darragh Clarke
b30d922009 8292876: Do not include the deprecated userinfo component of the URI in HTTP/2 headers
Reviewed-by: aefimov, dfuchs, jpai
2022-10-14 01:37:29 +00:00
Julian Waters
2b4830a395 8295017: Remove Windows specific workaround in JLI_Snprintf
Reviewed-by: dholmes
2022-10-13 23:50:01 +00:00
Phil Race
fdb74ed452 8295301: Problem list TrayIcon tests that fail on Ubuntu 22.04
Reviewed-by: dholmes
2022-10-13 21:37:28 +00:00
David Alvarez
21407dec01 8295173: (tz) Update Timezone Data to 2022e
Reviewed-by: naoto
2022-10-13 20:48:43 +00:00
Ioi Lam
f5f8df11ce 8295295: CDS ArchivedEnumTest fails with StaticProperty::JAVA_LOCALE_USE_OLD_ISO_CODES
Reviewed-by: ccheung
2022-10-13 18:50:29 +00:00
Brian Burkhalter
18dd9ee701 8295025: (bf) ByteBuffer "Access to binary data" section suggests putFloat is void
Reviewed-by: alanb
2022-10-13 18:39:48 +00:00
Naoto Sato
4224d45132 8295232: "java.locale.useOldISOCodes" property is read lazily
Reviewed-by: lancea, bpb, iris, rriggs, coffeys
2022-10-13 16:18:53 +00:00
Abhishek Kumar
3b3438752c 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB
Reviewed-by: aivanov, angorya, psadhukhan
2022-10-13 16:14:49 +00:00
Erik Gahlin
c7f65438bb 8295223: JFR: At most one native periodic event thread at a time
Reviewed-by: mgronlun
2022-10-13 15:53:33 +00:00
Thomas Schatzl
7e4868de7b 8294847: Fix calculation of G1 effective scanned cards prediction
Reviewed-by: kbarrett, ayang
2022-10-13 12:00:01 +00:00
Daniel Jeliński
2f60675e06 8294997: Improve ECC math operations
Reviewed-by: xuelei
2022-10-13 10:16:33 +00:00
Daniel Jeliński
94caecbe57 8294906: Memory leak in PKCS11 NSS TLS server
Reviewed-by: valeriep
2022-10-13 09:29:17 +00:00
Doug Simon
03e63a2b87 8295225: [JVMCI] codeStart should be cleared when entryPoint is cleared
Reviewed-by: never
2022-10-13 08:34:36 +00:00
Michael McMahon
26ac836636 8291638: Keep-Alive timeout of 0 should close connection immediately
Reviewed-by: dfuchs, jpai
2022-10-13 08:32:48 +00:00
Andrey Turbanov
6ae7e4d4aa 8293984: Unnecessary Vector usage in PropertyEditorSupport
Reviewed-by: serb
2022-10-13 06:56:20 +00:00
Magnus Ihse Bursie
cd1357b0af 8295229: Try to verify gtest version
Reviewed-by: erikj
2022-10-13 06:16:15 +00:00
Ioi Lam
90fb9a085b 8295102: Always load @lambda-form-invoker lines from default classlist
Reviewed-by: redestad, ccheung
2022-10-13 00:01:06 +00:00
Bill Huang
ac1941425b 8294994: Update Jarsigner and Keytool i18n tests to validate i18n compliance
Reviewed-by: naoto
2022-10-12 22:17:19 +00:00
Mahendra Chhipa
1961e81e02 8289509: Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling
Reviewed-by: bhuang, joehw
2022-10-12 18:13:20 +00:00
Johan Sjölen
5699041adb 8294772: Remove workaround in os::dll_address_to_library_name
Reviewed-by: dholmes, iklam
2022-10-12 16:23:19 +00:00
Daniel Jeliński
d1252653b0 8277970: Test jdk/sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java fails with "tag mismatch"
Reviewed-by: jnimeh, xuelei
2022-10-12 15:32:36 +00:00
Leonid Mesnik
0475c34120 8292386: jvmti/thread/SuspendThread/suspendthrd03 failed with "FAIL: Status is 2"
Reviewed-by: sspitsyn, dcubed
2022-10-12 14:59:19 +00:00
Magnus Ihse Bursie
760a260fbb 8295213: Run GHA manually with user-specified make and configure arguments
Reviewed-by: shade
2022-10-12 13:34:50 +00:00
Magnus Ihse Bursie
8402260535 8295198: Update more openjdk.java.net => openjdk.org URLs
Reviewed-by: erikj
2022-10-12 13:34:07 +00:00
Magnus Ihse Bursie
c357b5908a 8295211: Fix autoconf 2.71 warning "AC_CHECK_HEADERS: you should use literals"
Reviewed-by: shade, erikj
2022-10-12 13:32:49 +00:00
Magnus Ihse Bursie
860784238e 8295205: Add jcheck whitespace checking for markdown files
Reviewed-by: erikj
2022-10-12 13:31:54 +00:00
Michael McMahon
cb62f1c5c0 8295218: New KeepAliveTest.java has invalid copyright notice
Reviewed-by: dfuchs, tschatzl
2022-10-12 12:10:07 +00:00
Stefan Karlsson
9cf6651202 8294238: ZGC: Move CLD claimed mark clearing
Reviewed-by: coleenp, tschatzl, eosterlund
2022-10-12 12:06:21 +00:00
Stefan Karlsson
adaff7d585 8294900: Refactor ZObjArrayAllocator
Reviewed-by: eosterlund
2022-10-12 12:05:20 +00:00
Ramesh Bhagavatam Gangadhar
86ec158dfb 8291226: Create Test Cases to cover scenarios for JDK-8278067
Reviewed-by: dfuchs, michaelm
2022-10-12 11:44:44 +00:00
Erik Gahlin
94ec729faa 8263044: jdk/jfr/jvm/TestDumpOnCrash.java timed out
Reviewed-by: mgronlun
2022-10-12 11:42:47 +00:00
Richard Reingruber
bdb4ed0fb1 8294580: frame::interpreter_frame_print_on() crashes if free BasicObjectLock exists in frame
Reviewed-by: dholmes, mdoerr
2022-10-12 08:48:26 +00:00
Thomas Schatzl
461d9030d8 8294841: G1: Refactor predict_base_elapsed_time_ms
Reviewed-by: ayang, iwalulya
2022-10-12 08:38:25 +00:00
Dingli Zhang
392f35df4b 8295033: hsdis configure error when cross-compiling with --with-binutils-src
Reviewed-by: erikj, ihse, shade
2022-10-12 07:24:30 +00:00
Johan Sjölen
16e0c5994a 8294950: print_sys_devices_cpu_info doesn't use the provided buffer
Reviewed-by: dholmes, stefank
2022-10-12 07:10:57 +00:00
14258 changed files with 1072728 additions and 485660 deletions

View File

@@ -42,5 +42,5 @@ runs:
run: |
# Extract value from configuration file
value="$(grep -h ${{ inputs.var }}= make/conf/github-actions.conf | cut -d '=' -f 2-)"
echo "::set-output name=value::$value"
echo "value=$value" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -61,7 +61,7 @@ runs:
$build_dir/make-support/failure-summary.log \
$build_dir/make-support/failure-logs/* \
failure-logs/ 2> /dev/null || true
echo '::set-output name=failure::true'
echo 'failure=true' >> $GITHUB_OUTPUT
fi
shell: bash

View File

@@ -42,7 +42,7 @@ runs:
run: |
# Convert platform name to upper case
platform_prefix="$(echo ${{ inputs.platform }} | tr [a-z-] [A-Z_])"
echo "::set-output name=value::$platform_prefix"
echo "value=$platform_prefix" >> $GITHUB_OUTPUT
shell: bash
- name: 'Get URL configuration'
@@ -105,5 +105,5 @@ runs:
id: path-name
run: |
# Export the path
echo '::set-output name=path::bootjdk/jdk'
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
shell: bash

View File

@@ -103,7 +103,7 @@ runs:
tests_dir="$(cygpath $tests_dir)"
fi
echo "::set-output name=jdk::$jdk_dir"
echo "::set-output name=symbols::$symbols_dir"
echo "::set-output name=tests::$tests_dir"
echo "jdk=$jdk_dir" >> $GITHUB_OUTPUT
echo "symbols=$symbols_dir" >> $GITHUB_OUTPUT
echo "tests=$tests_dir" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, 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
@@ -43,12 +43,12 @@ runs:
uses: actions/checkout@v3
with:
repository: google/googletest
ref: 'release-${{ steps.version.outputs.value }}'
ref: 'v${{ steps.version.outputs.value }}'
path: gtest
- name: 'Export path to where GTest is installed'
id: path-name
run: |
# Export the path
echo '::set-output name=path::gtest'
echo 'path=gtest' >> $GITHUB_OUTPUT
shell: bash

View File

@@ -68,5 +68,5 @@ runs:
id: path-name
run: |
# Export the path
echo '::set-output name=path::jtreg/installed'
echo 'path=jtreg/installed' >> $GITHUB_OUTPUT
shell: bash

View File

@@ -34,11 +34,11 @@ runs:
with:
install: 'autoconf tar unzip zip make'
path-type: minimal
location: msys2
location: ${{ runner.tool_cache }}/msys2
# We can't run bash until this is completed, so stick with pwsh
- name: 'Set MSYS2 path'
run: |
# Prepend msys2/msys64/usr/bin to the PATH
echo "$env:GITHUB_WORKSPACE/msys2/msys64/usr/bin" >> $env:GITHUB_PATH
echo "$env:RUNNER_TOOL_CACHE/msys2/msys64/usr/bin" >> $env:GITHUB_PATH
shell: pwsh

View File

@@ -62,9 +62,9 @@ runs:
fi
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle" != "" ]]; then
echo '::set-output name=bundles-found::true'
echo 'bundles-found=true' >> $GITHUB_OUTPUT
else
echo '::set-output name=bundles-found::false'
echo 'bundles-found=false' >> $GITHUB_OUTPUT
fi
shell: bash

View File

@@ -25,6 +25,7 @@
#
GITHUB_STEP_SUMMARY="$1"
GITHUB_OUTPUT="$2"
test_suite_name=$(cat build/run-test-prebuilt/test-support/test-last-ids.txt)
results_dir=build/run-test-prebuilt/test-results/$test_suite_name/text
@@ -41,12 +42,12 @@ error_count=$(echo $errors | wc -w || true)
if [[ "$failures" = "" && "$errors" = "" ]]; then
# We know something went wrong, but not what
echo '::set-output name=error-message::Unspecified test suite failure. Please see log for job for details.'
echo 'error-message=Unspecified test suite failure. Please see log for job for details.' >> $GITHUB_OUTPUT
exit 0
fi
echo '::set-output name=failure::true'
echo "::set-output name=error-message::Test run reported $failure_count test failure(s) and $error_count error(s). See summary for details."
echo 'failure=true' >> $GITHUB_OUTPUT
echo "error-message=Test run reported $failure_count test failure(s) and $error_count error(s). See summary for details." >> $GITHUB_OUTPUT
echo '### :boom: Test failures summary' >> $GITHUB_STEP_SUMMARY

View File

@@ -40,6 +40,12 @@ on:
extra-conf-options:
required: false
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-cross-compile:
@@ -165,7 +171,7 @@ jobs:
--with-jmod-compress=zip-1
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
${{ inputs.extra-conf-options }} || (
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
@@ -174,5 +180,5 @@ jobs:
id: build
uses: ./.github/actions/do-build
with:
make-target: 'hotspot'
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, 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,12 @@ on:
apt-extra-packages:
required: false
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-linux:
@@ -96,7 +102,7 @@ jobs:
run: |
# Set a proper suffix for packages if using a different architecture
if [[ '${{ inputs.apt-architecture }}' != '' ]]; then
echo '::set-output name=suffix:::${{ inputs.apt-architecture }}'
echo 'suffix=:${{ inputs.apt-architecture }}' >> $GITHUB_OUTPUT
fi
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
@@ -120,10 +126,9 @@ jobs:
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-jtreg=${{ steps.jtreg.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--enable-jtreg-failure-handler
--with-zlib=system
--with-jmod-compress=zip-1
${{ inputs.extra-conf-options }} || (
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
@@ -132,7 +137,7 @@ jobs:
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, 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
@@ -45,6 +45,12 @@ on:
xcode-toolset-version:
required: true
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-macos:
@@ -95,10 +101,9 @@ jobs:
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-jtreg=${{ steps.jtreg.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--enable-jtreg-failure-handler
--with-zlib=system
--with-jmod-compress=zip-1
${{ inputs.extra-conf-options }} || (
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
@@ -107,7 +112,7 @@ jobs:
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, 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,6 +48,12 @@ on:
msvc-toolset-architecture:
required: true
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -92,12 +98,26 @@ jobs:
id: gtest
uses: ./.github/actions/get-gtest
- name: 'Check toolchain installed'
id: toolchain-check
run: |
set +e
'/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/vc/auxiliary/build/vcvars64.bat' -vcvars_ver=${{ inputs.msvc-toolset-version }}
if [ $? -eq 0 ]; then
echo "Toolchain is already installed"
echo "toolchain-installed=true" >> $GITHUB_OUTPUT
else
echo "Toolchain is not yet installed"
echo "toolchain-installed=false" >> $GITHUB_OUTPUT
fi
- name: 'Install toolchain and dependencies'
run: |
# Run Visual Studio Installer
'/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
modify --quiet --installPath 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise' \
modify --quiet --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' \
--add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
if: steps.toolchain-check.outputs.toolchain-installed != 'true'
- name: 'Configure'
run: >
@@ -108,10 +128,9 @@ jobs:
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-jtreg=${{ steps.jtreg.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--enable-jtreg-failure-handler
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
--with-jmod-compress=zip-1
${{ inputs.extra-conf-options }} || (
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
@@ -119,12 +138,13 @@ jobs:
# We need a minimal PATH on Windows
# Set PATH to "", so just GITHUB_PATH is included
PATH: ''
shell: env /usr/bin/bash --login -eo pipefail {0}
- name: 'Build'
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -35,7 +35,13 @@ on:
platforms:
description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
required: true
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64'
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
configure-arguments:
description: 'Additional configure arguments'
required: false
make-arguments:
description: 'Additional make arguments'
required: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -59,6 +65,7 @@ jobs:
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
windows-x64: ${{ steps.include.outputs.windows-x64 }}
windows-aarch64: ${{ steps.include.outputs.windows-aarch64 }}
docs: ${{ steps.include.outputs.docs }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
@@ -71,19 +78,17 @@ jobs:
# 'false' otherwise.
# arg $1: platform name or names to look for
function check_platform() {
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
echo 'false'
return
fi
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'
elif [[ $GITHUB_EVENT_NAME == push ]]; then
input='${{ secrets.JDK_SUBMIT_PLATFORMS }}'
else
echo 'Internal error in GHA'
exit 1
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
>&2 echo 'JDK_SUBMIT_FILTER is set and not a "submit/" branch'
echo 'false'
return
else
input='${{ secrets.JDK_SUBMIT_PLATFORMS }}'
fi
fi
normalized_input="$(echo ,$input, | tr -d ' ')"
@@ -104,14 +109,15 @@ jobs:
echo 'false'
}
echo "::set-output name=linux-x64::$(check_platform linux-x64 linux x64)"
echo "::set-output name=linux-x86::$(check_platform linux-x86 linux x86)"
echo "::set-output name=linux-x64-variants::$(check_platform linux-x64-variants variants)"
echo "::set-output name=linux-cross-compile::$(check_platform linux-cross-compile cross-compile)"
echo "::set-output name=macos-x64::$(check_platform macos-x64 macos x64)"
echo "::set-output name=macos-aarch64::$(check_platform macos-aarch64 macos aarch64)"
echo "::set-output name=windows-x64::$(check_platform windows-x64 windows x64)"
echo "::set-output name=windows-aarch64::$(check_platform windows-aarch64 windows aarch64)"
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
echo "macos-aarch64=$(check_platform macos-aarch64 macos aarch64)" >> $GITHUB_OUTPUT
echo "windows-x64=$(check_platform windows-x64 windows x64)" >> $GITHUB_OUTPUT
echo "windows-aarch64=$(check_platform windows-aarch64 windows aarch64)" >> $GITHUB_OUTPUT
echo "docs=$(check_platform docs)" >> $GITHUB_OUTPUT
###
### Build jobs
@@ -124,7 +130,9 @@ jobs:
with:
platform: linux-x64
gcc-major-version: '10'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
@@ -136,12 +144,14 @@ jobs:
platform: linux-x86
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386'
apt-extra-packages: 'libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
build-linux-x64-hs-nopch:
@@ -153,8 +163,10 @@ jobs:
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
@@ -166,8 +178,10 @@ jobs:
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
@@ -179,8 +193,10 @@ jobs:
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
@@ -193,8 +209,10 @@ jobs:
# Technically this is not the "debug" level, but we can't inject a new matrix state for just this job
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
@@ -205,8 +223,10 @@ jobs:
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
apt-gcc-version: '10.3.0-15ubuntu1'
apt-gcc-cross-version: '10.3.0-8ubuntu1cross1'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-gcc-cross-version: '10.4.0-4ubuntu1~22.04cross1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
build-macos-x64:
@@ -215,7 +235,9 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '11.7'
xcode-toolset-version: '12.5.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
build-macos-aarch64:
@@ -224,8 +246,10 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.4'
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
build-windows-x64:
@@ -236,6 +260,8 @@ jobs:
platform: windows-x64
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
build-windows-aarch64:
@@ -248,8 +274,27 @@ jobs:
msvc-toolset-architecture: 'arm64'
make-target: 'hotspot'
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
debug-levels: '[ "debug" ]'
make-target: 'docs-jdk-bundles'
# Make sure we never try to make full docs, since that would require a
# build JDK, and we do not need the additional testing of the graphs.
extra-conf-options: '--disable-full-docs'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
###
### Test jobs
###

View File

@@ -64,6 +64,7 @@ jobs:
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
- 'lib-test/tier1'
include:
- test-name: 'jdk/tier1 part 1'
@@ -98,6 +99,10 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_serviceability'
debug-suffix: -debug
- test-name: 'lib-test/tier1'
test-suite: 'test/lib-test/:tier1'
debug-suffix: -debug
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
@@ -138,9 +143,9 @@ jobs:
# We need a minimal PATH on Windows
# Set PATH to "", so just GITHUB_PATH is included
if [[ '${{ runner.os }}' == 'Windows' ]]; then
echo "::set-output name=value::"
echo "value=" >> $GITHUB_OUTPUT
else
echo "::set-output name=value::$PATH"
echo "value=$PATH" >> $GITHUB_OUTPUT
fi
- name: 'Run tests'
@@ -154,7 +159,7 @@ jobs:
SYMBOLS_IMAGE_DIR=${{ steps.bundles.outputs.symbols-path }}
TEST_IMAGE_DIR=${{ steps.bundles.outputs.tests-path }}
JTREG='JAVA_OPTIONS=-XX:-CreateCoredumpOnCrash;VERBOSE=fail,error,time;KEYWORDS=!headful'
&& bash ./.github/scripts/gen-test-summary.sh "$GITHUB_STEP_SUMMARY"
&& bash ./.github/scripts/gen-test-summary.sh "$GITHUB_STEP_SUMMARY" "$GITHUB_OUTPUT"
env:
PATH: ${{ steps.path.outputs.value }}
@@ -187,7 +192,7 @@ jobs:
fi
artifact_name="results-${{ inputs.platform }}-$(echo ${{ matrix.test-name }} | tr '/ ' '__')"
echo "::set-output name=artifact-name::$artifact_name"
echo "artifact-name=$artifact_name" >> $GITHUB_OUTPUT
if: always()
- name: 'Upload test results'

5
.gitignore vendored
View File

@@ -18,3 +18,8 @@ NashornProfile.txt
/src/utils/LogCompilation/target/
/.project/
/.settings/
/.project
/.classpath
/.cproject
/compile_commands.json
/.cache

View File

@@ -1,7 +1,7 @@
[general]
project=jdk
jbs=JDK
version=20
version=22
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
@@ -15,7 +15,7 @@ version=0
domain=openjdk.org
[checks "whitespace"]
files=.*\.cpp|.*\.hpp|.*\.c|.*\.h|.*\.java|.*\.cc|.*\.hh|.*\.m|.*\.mm|.*\.gmk|.*\.m4|.*\.ac|Makefile
files=.*\.cpp|.*\.hpp|.*\.c|.*\.h|.*\.java|.*\.cc|.*\.hh|.*\.m|.*\.mm|.*\.md|.*\.gmk|.*\.m4|.*\.ac|Makefile
ignore-tabs=.*\.gmk|Makefile
[checks "merge"]

View File

@@ -2,8 +2,8 @@
OPENJDK ASSEMBLY EXCEPTION
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
openjdk.org ("OpenJDK Code") is distributed under the terms of the GNU
General Public License <https://www.gnu.org/copyleft/gpl.html> version 2
only ("GPL2"), with the following clarification and special exception.
Linking this OpenJDK Code statically or dynamically with other code
@@ -12,7 +12,7 @@ only ("GPL2"), with the following clarification and special exception.
As a special exception, Oracle gives you permission to link this
OpenJDK Code with certain code licensed by Oracle as indicated at
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
https://openjdk.org/legal/exception-modules-2007-05-08.html
("Designated Exception Modules") to produce an executable,
regardless of the license terms of the Designated Exception Modules,
and to copy and distribute the resulting executable under GPL2,

View File

@@ -1,3 +1,3 @@
# Contributing to the JDK
Please see <https://openjdk.java.net/contribute/> for how to contribute.
Please see <https://openjdk.org/contribute> for how to contribute.

View File

@@ -7,5 +7,6 @@ or either of these files:
- [doc/building.html](doc/building.html) (html version)
- [doc/building.md](doc/building.md) (markdown version)
See <https://openjdk.org/> for more information about
the OpenJDK Community and the JDK.
See <https://openjdk.org/> for more information about the OpenJDK
Community and the JDK and see <https://bugs.openjdk.org> for JDK issue
tracking.

View File

@@ -193,17 +193,7 @@ for root in $MODULE_ROOTS; do
root=`wslpath -am $root`
fi
VM_CI="jdk.internal.vm.ci/share/classes"
VM_COMPILER="src/jdk.internal.vm.compiler/share/classes"
if test "${root#*$VM_CI}" != "$root" || test "${root#*$VM_COMPILER}" != "$root"; then
for subdir in "$root"/*; do
if [ -d "$subdir" ]; then
SOURCES=$SOURCES" $SOURCE_PREFIX""$subdir"/src"$SOURCE_POSTFIX"
fi
done
else
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
fi
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
done
add_replacement "###SOURCE_ROOTS###" "$SOURCES"
@@ -274,4 +264,4 @@ $BOOT_JDK/bin/$JAVAC -d $JAVAC_CLASSES -sourcepath $JAVAC_SOURCE_PATH -cp $JAVAC
if [ "x$WSL_DISTRO_NAME" != "x" ]; then
rm -rf $ANT_TEMP
fi
fi

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2022, 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
@@ -128,6 +128,15 @@ install_jib() {
exit 1
fi
fi
# Want to check the filetype using file, to see if we got served a HTML error page.
# This is sensitive to the filename containing a specific string, but good enough.
file "${installed_jib_script}.gz" | grep "gzip compressed data" > /dev/null
if [ $? -ne 0 ]; then
echo "Warning: ${installed_jib_script}.gz is not a gzip file."
echo "If you are behind a proxy you may need to configure exceptions using no_proxy."
echo "The download URL was: ${jib_url}"
exit 1
fi
echo "Extracting JIB bootstrap script"
rm -f "${installed_jib_script}"
gunzip "${installed_jib_script}.gz"
@@ -135,6 +144,28 @@ install_jib() {
echo "${data_string}" > "${install_data}"
}
# Returns a shell-escaped version of the argument given.
shell_quote() {
if [[ -n "$1" ]]; then
# Uses only shell-safe characters? No quoting needed.
# '=' is a zsh meta-character, but only in word-initial position.
if echo "$1" | grep '^[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\.:,%/+=_-]\{1,\}$' > /dev/null \
&& ! echo "$1" | grep '^=' > /dev/null; then
quoted="$1"
else
if echo "$1" | grep "[\'!]" > /dev/null; then
# csh does history expansion within single quotes, but not
# when backslash-escaped!
local quoted_quote="'\\''" quoted_exclam="'\\!'"
word="${1//\'/${quoted_quote}}"
word="${1//\!/${quoted_exclam}}"
fi
quoted="'$1'"
fi
echo "$quoted"
fi
}
# Main body starts here
setup_url
@@ -151,4 +182,16 @@ if [ -z "${JIB_SRC_DIR}" ]; then
export JIB_SRC_DIR="${mydir}/../"
fi
# Save the original command line
conf_quoted_arguments=()
for conf_option; do
conf_quoted_arguments=("${conf_quoted_arguments[@]}" "$(shell_quote "$conf_option")")
done
export REAL_CONFIGURE_COMMAND_LINE="${conf_quoted_arguments[@]}"
myfulldir="$(cd "${mydir}" > /dev/null && pwd)"
export REAL_CONFIGURE_COMMAND_EXEC_FULL="$BASH $myfulldir/$myname"
export REAL_CONFIGURE_COMMAND_EXEC_SHORT="$myname"
${installed_jib_script} "$@"

File diff suppressed because it is too large Load Diff

View File

@@ -126,6 +126,8 @@ space is required.
Even for 32-bit builds, it is recommended to use a 64-bit build machine, and
instead create a 32-bit target using `--with-target-bits=32`.
Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.
### Building on aarch64
At a minimum, a machine with 8 cores is advisable, as well as 8 GB of RAM.
@@ -162,11 +164,11 @@ This table lists the OS versions used by Oracle when building the JDK. Such
information is always subject to change, but this table is up to date at the
time of writing.
Operating system Vendor/version used
----------------- -------------------------------------------------------
Linux Oracle Enterprise Linux 6.4 / 7.6
macOS Mac OS X 10.13 (High Sierra)
Windows Windows Server 2012 R2
| Operating system | Vendor/version used |
| ----------------- | ---------------------------------- |
| Linux | Oracle Enterprise Linux 6.4 / 7.6 |
| macOS | Mac OS X 10.13 (High Sierra) |
| Windows | Windows Server 2012 R2 |
The double version numbers for Linux are due to the hybrid model
used at Oracle, where header files and external libraries from an older version
@@ -199,6 +201,8 @@ rule also applies to input to the build system, e.g. in arguments to
`--with-msvcr-dll=c:\msvcr100.dll`. For details on this conversion, see the section
on [Fixpath](#fixpath).
Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.
#### Cygwin
A functioning [Cygwin](http://www.cygwin.com/) environment is required for
@@ -311,14 +315,17 @@ Build Wiki page for details about which versions of AIX are supported.
Large portions of the JDK consists of native code, that needs to be compiled to
be able to run on the target platform. In theory, toolchain and operating
system should be independent factors, but in practice there's more or less a
one-to-one correlation between target operating system and toolchain.
one-to-one correlation between target operating system and toolchain. There are
ongoing efforts to loosen this strict coupling between compiler and operating
system (see [JDK-8288293](https://bugs.openjdk.org/browse/JDK-8288293)) but it
will likely be a very long time before this goal can be realized.
Operating system Supported toolchain
------------------ -------------------------
Linux gcc, clang
macOS Apple Xcode (using clang)
AIX IBM XL C/C++
Windows Microsoft Visual Studio
| Operating system | Supported toolchain |
| ------------------ | ------------------------- |
| Linux | gcc, clang |
| macOS | Apple Xcode (using clang) |
| AIX | IBM XL C/C++ |
| Windows | Microsoft Visual Studio |
Please see the individual sections on the toolchains for version
recommendations. As a reference, these versions of the toolchains are used, at
@@ -327,11 +334,11 @@ possible to compile the JDK with both older and newer versions, but the closer
you stay to this list, the more likely you are to compile successfully without
issues.
Operating system Toolchain version
------------------ -------------------------------------------------------
Linux gcc 11.2.0
macOS Apple Xcode 10.1 (using clang 10.0.0)
Windows Microsoft Visual Studio 2022 update 17.1.0
| Operating system | Toolchain version |
| ------------------ | ------------------------------------------ |
| Linux | gcc 11.2.0 |
| macOS | Apple Xcode 10.1 (using clang 10.0.0) |
| Windows | Microsoft Visual Studio 2022 update 17.1.0 |
All compilers are expected to be able to compile to the C99 language standard,
as some C99 features are used in the source code. Microsoft Visual Studio
@@ -359,20 +366,20 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 8.
You will need the Xcode command lines developers tools to be able to build
the JDK. (Actually, *only* the command lines tools are needed, not the IDE.)
You will need the Xcode command line developer tools to be able to build
the JDK. (Actually, *only* the command line tools are needed, not the IDE.)
The simplest way to install these is to run:
```
xcode-select --install
```
It is advisable to keep an older version of Xcode for building the JDK when
updating Xcode. This [blog page](
http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html) has
good suggestions on managing multiple Xcode versions. To use a specific version
of Xcode, use `xcode-select -s` before running `configure`, or use
`--with-toolchain-path` to point to the version of Xcode to use, e.g.
`configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin`
When updating Xcode, it is advisable to keep an older version for building the JDK.
To use a specific version of Xcode you have multiple options:
* Use `xcode-select -s` before running `configure`, e.g. `xcode-select -s /Applications/Xcode13.1.app`. The drawback is that the setting
is system wide and you may have to revert it after an OpenJDK build.
* Use configure option `--with-xcode-path`, e.g. `configure --with-xcode-path=/Applications/Xcode13.1.app`
This allows using a specific Xcode version for an OpenJDK build, independently of the active Xcode version by `xcode-select`.
If you have recently (inadvertently) updated your OS and/or Xcode version, and
the JDK can no longer be built, please see the section on [Problems with the
@@ -468,6 +475,19 @@ rather than bundling the JDK's own copy.
Use `--with-freetype-include=<path>` and `--with-freetype-lib=<path>`
if `configure` does not automatically locate the platform FreeType files.
### Fontconfig
Fontconfig from [freedesktop.org Fontconfig](http://fontconfig.org) is required
on all platforms except Windows and macOS.
* To install on an apt-based Linux, try running `sudo apt-get install
libfontconfig-dev`.
* To install on an rpm-based Linux, try running `sudo yum install
fontconfig-devel`.
Use `--with-fontconfig-include=<path>` and `--with-fontconfig=<path>`
if `configure` does not automatically locate the platform Fontconfig files.
### CUPS
CUPS, [Common UNIX Printing System](http://www.cups.org) header files are
@@ -857,17 +877,18 @@ containing `lib/jtreg.jar` etc.
The [Adoption Group](https://wiki.openjdk.org/display/Adoption) provides
recent builds of jtreg [here](
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.
Building of Hotspot Gtest suite requires the source code of Google Test framework.
The top directory, which contains both `googletest` and `googlemock`
directories, should be specified via `--with-gtest`.
The supported version of Google Test is 1.8.1, whose source code can be obtained:
Building of Hotspot Gtest suite requires the source code of Google
Test framework. The top directory, which contains both `googletest`
and `googlemock` directories, should be specified via `--with-gtest`.
The minimum supported version of Google Test is 1.13.0, whose source
code can be obtained:
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/release-1.8.1)
* or by checking out `release-1.8.1` tag of `googletest` project: `git clone -b release-1.8.1 https://github.com/google/googletest`
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.13.0)
* or by checking out `v1.13.0` tag of `googletest` project: `git clone -b v1.13.0 https://github.com/google/googletest`
To execute the most basic tests (tier 1), use:
```
@@ -966,14 +987,14 @@ https://sourceware.org/autobook/autobook/autobook_17.html). If no
targets are given, a native toolchain for the current platform will be
created. Currently, at least the following targets are known to work:
Supported devkit targets
-------------------------
x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
ppc64-linux-gnu
ppc64le-linux-gnu
s390x-linux-gnu
| Supported devkit targets |
| ------------------------ |
| x86_64-linux-gnu |
| aarch64-linux-gnu |
| arm-linux-gnueabihf |
| ppc64-linux-gnu |
| ppc64le-linux-gnu |
| s390x-linux-gnu |
`BASE_OS` must be one of "OEL6" for Oracle Enterprise Linux 6 or
"Fedora" (if not specified "OEL6" will be the default). If the base OS
@@ -1143,7 +1164,7 @@ Note that X11 is needed even if you only want to build a headless JDK.
### Cross compiling with Debian sysroots
Fortunately, you can create sysroots for foreign architectures with tools
provided by your OS. On Debian/Ubuntu systems, one could use `qemu-deboostrap` to
provided by your OS. On Debian/Ubuntu systems, one could use `debootstrap` to
create the *target* system chroot, which would have the native libraries and headers
specific to that *target* system. After that, we can use the cross-compiler on the *build*
system, pointing into chroot to get the build dependencies right. This allows building
@@ -1158,7 +1179,7 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
* Create chroot on the *build* system, configuring it for *target* system:
```
sudo qemu-debootstrap \
sudo debootstrap \
--arch=arm64 \
--verbose \
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \
@@ -1166,6 +1187,8 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
buster \
~/sysroot-arm64 \
http://httpredir.debian.org/debian/
# If the target architecture is `riscv64`,
# the path should be `debian-ports` instead of `debian`.
```
* Make sure the symlinks inside the newly created chroot point to proper locations:
@@ -1198,21 +1221,22 @@ it might require a little nudge with:
Architectures that are known to successfully cross-compile like this are:
Target Debian tree Debian arch `--openjdk-target=...` `--with-jvm-variants=...`
------------ ------------ ------------- ------------------------ --------------
x86 buster i386 i386-linux-gnu (all)
arm buster armhf arm-linux-gnueabihf (all)
aarch64 buster arm64 aarch64-linux-gnu (all)
ppc64le buster ppc64el powerpc64le-linux-gnu (all)
s390x buster s390x s390x-linux-gnu (all)
mipsle buster mipsel mipsel-linux-gnu zero
mips64le buster mips64el mips64el-linux-gnueabi64 zero
armel buster arm arm-linux-gnueabi zero
ppc sid powerpc powerpc-linux-gnu zero
ppc64be sid ppc64 powerpc64-linux-gnu (all)
m68k sid m68k m68k-linux-gnu zero
alpha sid alpha alpha-linux-gnu zero
sh4 sid sh4 sh4-linux-gnu zero
| Target | Debian tree | Debian arch | `--openjdk-target=...` | `--with-jvm-variants=...` |
| ------------ | ------------ | ------------- | ------------------------ | ------------------------- |
| x86 | buster | i386 | i386-linux-gnu | (all) |
| arm | buster | armhf | arm-linux-gnueabihf | (all) |
| aarch64 | buster | arm64 | aarch64-linux-gnu | (all) |
| ppc64le | buster | ppc64el | powerpc64le-linux-gnu | (all) |
| s390x | buster | s390x | s390x-linux-gnu | (all) |
| mipsle | buster | mipsel | mipsel-linux-gnu | zero |
| mips64le | buster | mips64el | mips64el-linux-gnueabi64 | zero |
| armel | buster | arm | arm-linux-gnueabi | zero |
| ppc | sid | powerpc | powerpc-linux-gnu | zero |
| ppc64be | sid | ppc64 | powerpc64-linux-gnu | (all) |
| m68k | sid | m68k | m68k-linux-gnu | zero |
| alpha | sid | alpha | alpha-linux-gnu | zero |
| sh4 | sid | sh4 | sh4-linux-gnu | zero |
| riscv64 | sid | riscv64 | riscv64-linux-gnu | (all) |
### Building for ARM/aarch64
@@ -1222,6 +1246,44 @@ available using `--with-abi-profile`: arm-vfp-sflt, arm-vfp-hflt, arm-sflt,
armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer
properly supported by the JDK.
### Building for RISC-V
The RISC-V community provides a basic
[GNU compiler toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain),
but the [external libraries](#External-Library-Requirements) required by OpenJDK
complicate the building process. The placeholder `<toolchain-installed-path>`
shown below is the path where you want to install the toolchain.
* Install the RISC-V GNU compiler toolchain:
```
git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain
cd riscv-gnu-toolchain
./configure --prefix=<toolchain-installed-path>
make linux
export PATH=<toolchain-installed-path>/bin:$PATH
```
* Cross-compile all the required libraries:
```
# An example for libffi
git clone https://github.com/libffi/libffi
cd libffi
./configure --host=riscv64-unknown-linux-gnu --prefix=<toolchain-installed-path>/sysroot/usr
make
make install
```
* Configure and build OpenJDK:
```
bash configure \
--with-boot-jdk=$BOOT_JDK \
--openjdk-target=riscv64-linux-gnu \
--with-sysroot=<toolchain-installed-path>/sysroot \
--with-toolchain-path=<toolchain-installed-path>/bin \
--with-extra-path=<toolchain-installed-path>/bin
make images
```
### Building for musl
Just like it's possible to cross-compile for a different CPU, it's possible to
@@ -1330,12 +1392,12 @@ it.
To use, setup an icecc network, and install icecc on the build machine. Then
run `configure` using `--enable-icecc`.
### Using sjavac
### Using the javac server
To speed up compilation of Java code, especially during incremental compilations,
the sjavac server is automatically enabled in the configuration step by default.
To explicitly enable or disable sjavac, use either `--enable-javac-server`
or `--disable-javac-server`.
To speed up compilation of Java code, especially during incremental
compilations, the javac server is automatically enabled in the configuration
step by default. To explicitly enable or disable the javac server, use either
`--enable-javac-server` or `--disable-javac-server`.
### Building the Right Target

File diff suppressed because it is too large Load Diff

View File

@@ -572,8 +572,12 @@ There are a few exceptions to this rule.
* `#include <new>` to use placement `new`, `std::nothrow`, and `std::nothrow_t`.
* `#include <limits>` to use `std::numeric_limits`.
* `#include <type_traits>`.
* `#include <cstddef>` to use `std::nullptr_t`.
* `#include <type_traits>` with some restrictions, listed below.
* `#include <cstddef>` to use `std::nullptr_t` and `std::max_align_t`.
Certain restrictions apply to the declarations provided by `<type_traits>`.
* The `alignof` operator should be used rather than `std::alignment_of<>`.
TODO: Rather than directly \#including (permitted) Standard Library
headers, use a convention of \#including wrapper headers (in some
@@ -651,6 +655,51 @@ constant members. Compilers having such bugs are no longer supported.
Except where an enum is semantically appropriate, new code should use
integral constants.
### alignas
_Alignment-specifiers_ (`alignas`
[n2341](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf))
are permitted, with restrictions.
_Alignment-specifiers_ are permitted when the requested alignment is a
_fundamental alignment_ (not greater than `alignof(std::max_align_t)`
[C++14 3.11/2](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).
_Alignment-specifiers_ with an _extended alignment_ (greater than
`alignof(std::max_align_t)`
[C++14 3.11/3](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf))
may only be used to align variables with static or automatic storage duration
([C++14 3.7.1, 3.7.3](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).
As a consequence, _over-aligned types_ are forbidden; this may change if
HotSpot updates to using C++17 or later
([p0035r4](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0035r4.html)).
Large _extended alignments_ should be avoided, particularly for stack
allocated objects. What is a large value may depend on the platform and
configuration. There may also be hard limits for some platforms.
An _alignment-specifier_ must always be applied to a definition
([C++14 10.6.2/6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).
(C++ allows an _alignment-specifier_ to optionally also be applied to a
declaration, so long as the definition has equivalent alignment. There isn't
any known benefit from duplicating the alignment in a non-definition
declaration, so such duplication should be avoided in HotSpot code.)
Enumerations are forbidden from having _alignment-specifiers_. Aligned
enumerations were originally permitted but insufficiently specified, and were
later (C++20) removed
([CWG 2354](https://cplusplus.github.io/CWG/issues/2354.html)).
Permitting such usage in HotSpot now would just cause problems in the future.
_Alignment-specifiers_ are forbidden in `typedef` and _alias-declarations_.
This may work or may have worked in some versions of some compilers, but was
later (C++14) explicitly disallowed
([CWG 1437](https://cplusplus.github.io/CWG/issues/1437.html)).
The HotSpot macro `ATTRIBUTE_ALIGNED` provides similar capabilities for
platforms that define it. This macro predates the use by HotSpot of C++
versions providing `alignas`. New code should use `alignas`.
### thread_local
Avoid use of `thread_local`
@@ -1009,8 +1058,37 @@ and other supported compilers may not have anything similar.
[p0136r1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html
"p0136r1"
### Attributes
The use of some attributes
([n2761](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf))
(listed below) is permitted. (Note that some of the attributes defined in
that paper didn't make it into the final specification.)
Attributes are syntactically permitted in a broad set of locations, but
specific attributes are only permitted in a subset of those locations. In
some cases an attribute that appertains to a given element may be placed in
any of several locations with the same meaning. In those cases HotSpot has a
preferred location.
* An attribute that appertains to a function is placed at the beginning of the
function's declaration, rather than between the function name and the parameter
list.
Only the following attributes are permitted:
* `[[noreturn]]`
The following attributes are expressly forbidden:
* `[[carries_dependency]]` - Related to `memory_order_consume`.
* `[[deprecated]]` - Not relevant in HotSpot code.
### Additional Permitted Features
* `alignof`
([n2341](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf))
* `constexpr`
([n2235](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf))
([n3652](https://isocpp.org/files/papers/N3652.html))
@@ -1108,10 +1186,6 @@ difficult to deal with and lead to surprises, as can destruction
ordering. HotSpot doesn't generally try to cleanup on exit, and
running destructors at exit can also lead to problems.
* `[[deprecated]]` attribute
([n3760](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html)) &mdash;
Not relevant in HotSpot code.
* Avoid most operator overloading, preferring named functions. When
operator overloading is used, ensure the semantics conform to the
normal expected behavior of the operation.
@@ -1136,9 +1210,6 @@ features that have not yet been discussed.
* Member initializers and aggregates
([n3653](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3653.html))
* `[[noreturn]]` attribute
([n2761](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf))
* Rvalue references and move semantics
[ADL]: https://en.cppreference.com/w/cpp/language/adl

View File

@@ -5,11 +5,19 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Native/Unit Test Development Guidelines</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
@@ -20,174 +28,442 @@
<header id="title-block-header">
<h1 class="title">Native/Unit Test Development Guidelines</h1>
</header>
<nav id="TOC">
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#good-test-properties">Good test properties</a><ul>
<li><a href="#lightness">Lightness</a></li>
<li><a href="#isolation">Isolation</a></li>
<li><a href="#atomicity-and-self-containment">Atomicity and self-containment</a></li>
<li><a href="#repeatability">Repeatability</a></li>
<li><a href="#informativeness">Informativeness</a></li>
<li><a href="#testing-instead-of-visiting">Testing instead of visiting</a></li>
<li><a href="#nearness">Nearness</a></li>
<li><a href="#good-test-properties" id="toc-good-test-properties">Good
test properties</a>
<ul>
<li><a href="#lightness" id="toc-lightness">Lightness</a></li>
<li><a href="#isolation" id="toc-isolation">Isolation</a></li>
<li><a href="#atomicity-and-self-containment"
id="toc-atomicity-and-self-containment">Atomicity and
self-containment</a></li>
<li><a href="#repeatability"
id="toc-repeatability">Repeatability</a></li>
<li><a href="#informativeness"
id="toc-informativeness">Informativeness</a></li>
<li><a href="#testing-instead-of-visiting"
id="toc-testing-instead-of-visiting">Testing instead of
visiting</a></li>
<li><a href="#nearness" id="toc-nearness">Nearness</a></li>
</ul></li>
<li><a href="#asserts">Asserts</a><ul>
<li><a href="#several-checks">Several checks</a></li>
<li><a href="#first-parameter-is-expected-value">First parameter is expected value</a></li>
<li><a href="#floating-point-comparison">Floating-point comparison</a></li>
<li><a href="#c-string-comparison">C string comparison</a></li>
<li><a href="#error-messages">Error messages</a></li>
<li><a href="#uncluttered-output">Uncluttered output</a></li>
<li><a href="#failures-propagation">Failures propagation</a></li>
<li><a href="#asserts" id="toc-asserts">Asserts</a>
<ul>
<li><a href="#several-checks" id="toc-several-checks">Several
checks</a></li>
<li><a href="#first-parameter-is-expected-value"
id="toc-first-parameter-is-expected-value">First parameter is expected
value</a></li>
<li><a href="#floating-point-comparison"
id="toc-floating-point-comparison">Floating-point comparison</a></li>
<li><a href="#c-string-comparison" id="toc-c-string-comparison">C string
comparison</a></li>
<li><a href="#error-messages" id="toc-error-messages">Error
messages</a></li>
<li><a href="#uncluttered-output"
id="toc-uncluttered-output">Uncluttered output</a></li>
<li><a href="#failures-propagation"
id="toc-failures-propagation">Failures propagation</a></li>
</ul></li>
<li><a href="#naming-and-grouping">Naming and Grouping</a><ul>
<li><a href="#test-group-names">Test group names</a></li>
<li><a href="#filename">Filename</a></li>
<li><a href="#file-location">File location</a></li>
<li><a href="#test-names">Test names</a></li>
<li><a href="#fixture-classes">Fixture classes</a></li>
<li><a href="#friend-classes">Friend classes</a></li>
<li><a href="#oscpu-specific-tests">OS/CPU specific tests</a></li>
<li><a href="#naming-and-grouping" id="toc-naming-and-grouping">Naming
and Grouping</a>
<ul>
<li><a href="#test-group-names" id="toc-test-group-names">Test group
names</a></li>
<li><a href="#filename" id="toc-filename">Filename</a></li>
<li><a href="#file-location" id="toc-file-location">File
location</a></li>
<li><a href="#test-names" id="toc-test-names">Test names</a></li>
<li><a href="#fixture-classes" id="toc-fixture-classes">Fixture
classes</a></li>
<li><a href="#friend-classes" id="toc-friend-classes">Friend
classes</a></li>
<li><a href="#oscpu-specific-tests" id="toc-oscpu-specific-tests">OS/CPU
specific tests</a></li>
</ul></li>
<li><a href="#miscellaneous">Miscellaneous</a><ul>
<li><a href="#hotspot-style">Hotspot style</a></li>
<li><a href="#codetest-metrics">Code/test metrics</a></li>
<li><a href="#access-to-non-public-members">Access to non-public members</a></li>
<li><a href="#death-tests">Death tests</a></li>
<li><a href="#external-flags">External flags</a></li>
<li><a href="#test-specific-flags">Test-specific flags</a></li>
<li><a href="#flag-restoring">Flag restoring</a></li>
<li><a href="#googletest-documentation">GoogleTest documentation</a></li>
<li><a href="#miscellaneous" id="toc-miscellaneous">Miscellaneous</a>
<ul>
<li><a href="#hotspot-style" id="toc-hotspot-style">Hotspot
style</a></li>
<li><a href="#codetest-metrics" id="toc-codetest-metrics">Code/test
metrics</a></li>
<li><a href="#access-to-non-public-members"
id="toc-access-to-non-public-members">Access to non-public
members</a></li>
<li><a href="#death-tests" id="toc-death-tests">Death tests</a></li>
<li><a href="#external-flags" id="toc-external-flags">External
flags</a></li>
<li><a href="#test-specific-flags"
id="toc-test-specific-flags">Test-specific flags</a></li>
<li><a href="#flag-restoring" id="toc-flag-restoring">Flag
restoring</a></li>
<li><a href="#googletest-documentation"
id="toc-googletest-documentation">GoogleTest documentation</a></li>
</ul></li>
<li><a href="#todo">TODO</a></li>
<li><a href="#todo" id="toc-todo">TODO</a></li>
</ul>
</nav>
<p>The purpose of these guidelines is to establish a shared vision on what kind of native tests and how we want to develop them for Hotspot using GoogleTest. Hence these guidelines include style items as well as test approach items.</p>
<p>First section of this document describes properties of good tests which are common for almost all types of test regardless of language, framework, etc. Further sections provide recommendations to achieve those properties and other HotSpot and/or GoogleTest specific guidelines.</p>
<p>The purpose of these guidelines is to establish a shared vision on
what kind of native tests and how we want to develop them for Hotspot
using GoogleTest. Hence these guidelines include style items as well as
test approach items.</p>
<p>First section of this document describes properties of good tests
which are common for almost all types of test regardless of language,
framework, etc. Further sections provide recommendations to achieve
those properties and other HotSpot and/or GoogleTest specific
guidelines.</p>
<h2 id="good-test-properties">Good test properties</h2>
<h3 id="lightness">Lightness</h3>
<p>Use the most lightweight type of tests.</p>
<p>In Hotspot, there are 3 different types of tests regarding their dependency on a JVM, each next level is slower than previous</p>
<p>In Hotspot, there are 3 different types of tests regarding their
dependency on a JVM, each next level is slower than previous</p>
<ul>
<li><p><code>TEST</code> : a test does not depend on a JVM</p></li>
<li><p><code>TEST_VM</code> : a test does depend on an initialized JVM, but are supposed not to break a JVM, i.e. leave it in a workable state.</p></li>
<li><p><code>TEST_OTHER_VM</code> : a test depends on a JVM and requires a freshly initialized JVM or leaves a JVM in non-workable state</p></li>
<li><p><code>TEST_VM</code> : a test does depend on an initialized JVM,
but are supposed not to break a JVM, i.e. leave it in a workable
state.</p></li>
<li><p><code>TEST_OTHER_VM</code> : a test depends on a JVM and requires
a freshly initialized JVM or leaves a JVM in non-workable state</p></li>
</ul>
<h3 id="isolation">Isolation</h3>
<p>Tests have to be isolated: not to have visible side-effects, influences on other tests results.</p>
<p>Results of one test should not depend on test execution order, other tests, otherwise it is becoming almost impossible to find out why a test failed. Due to hotspot-specific, it is not so easy to get a full isolation, e.g. we share an initialized JVM between all <code>TEST_VM</code> tests, so if your test changes JVM's state too drastically and does not change it back, you had better consider <code>TEST_OTHER_VM</code>.</p>
<h3 id="atomicity-and-self-containment">Atomicity and self-containment</h3>
<p>Tests should be <em>atomic</em> and <em>self-contained</em> at the same time.</p>
<p>One test should check a particular part of a class, subsystem, functionality, etc. Then it is quite easy to determine what parts of a product are broken basing on test failures. On the other hand, a test should test that part more-or-less entirely, because when one sees a test <code>FooTest::bar</code>, they assume all aspects of bar from <code>Foo</code> are tested.</p>
<p>However, it is impossible to cover all aspects even of a method, not to mention a subsystem. In such cases, it is recommended to have several tests, one for each aspect of a thing under test. For example one test to tests how <code>Foo::bar</code> works if an argument is <code>null</code>, another test to test how it works if an argument is acceptable but <code>Foo</code> is not in the right state to accept it and so on. This helps not only to make tests atomic, self-contained but also makes test name self-descriptive (discussed in more details in <a href="#test-names">Test names</a>).</p>
<p>Tests have to be isolated: not to have visible side-effects,
influences on other tests results.</p>
<p>Results of one test should not depend on test execution order, other
tests, otherwise it is becoming almost impossible to find out why a test
failed. Due to hotspot-specific, it is not so easy to get a full
isolation, e.g. we share an initialized JVM between all
<code>TEST_VM</code> tests, so if your test changes JVM's state too
drastically and does not change it back, you had better consider
<code>TEST_OTHER_VM</code>.</p>
<h3 id="atomicity-and-self-containment">Atomicity and
self-containment</h3>
<p>Tests should be <em>atomic</em> and <em>self-contained</em> at the
same time.</p>
<p>One test should check a particular part of a class, subsystem,
functionality, etc. Then it is quite easy to determine what parts of a
product are broken basing on test failures. On the other hand, a test
should test that part more-or-less entirely, because when one sees a
test <code>FooTest::bar</code>, they assume all aspects of bar from
<code>Foo</code> are tested.</p>
<p>However, it is impossible to cover all aspects even of a method, not
to mention a subsystem. In such cases, it is recommended to have several
tests, one for each aspect of a thing under test. For example one test
to tests how <code>Foo::bar</code> works if an argument is
<code>null</code>, another test to test how it works if an argument is
acceptable but <code>Foo</code> is not in the right state to accept it
and so on. This helps not only to make tests atomic, self-contained but
also makes test name self-descriptive (discussed in more details in <a
href="#test-names">Test names</a>).</p>
<h3 id="repeatability">Repeatability</h3>
<p>Tests have to be repeatable.</p>
<p>Reproducibility is very crucial for a test. No one likes sporadic test failures, they are hard to investigate, fix and verify a fix.</p>
<p>In some cases, it is quite hard to write a 100% repeatable test, since besides a test there can be other moving parts, e.g. in case of <code>TEST_VM</code> there are several concurrently running threads. Despite this, we should try to make a test as reproducible as possible.</p>
<p>Reproducibility is very crucial for a test. No one likes sporadic
test failures, they are hard to investigate, fix and verify a fix.</p>
<p>In some cases, it is quite hard to write a 100% repeatable test,
since besides a test there can be other moving parts, e.g. in case of
<code>TEST_VM</code> there are several concurrently running threads.
Despite this, we should try to make a test as reproducible as
possible.</p>
<h3 id="informativeness">Informativeness</h3>
<p>In case of a failure, a test should be as <em>informative</em> as possible.</p>
<p>Having more information about a test failure than just compared values can be very useful for failure troubleshooting, it can reduce or even completely eliminate debugging hours. This is even more important in case of not 100% reproducible failures.</p>
<p>Achieving this property, one can easily make a test too verbose, so it will be really hard to find useful information in the ocean of useless information. Hence they should not only think about how to provide <a href="#error-messages">good information</a>, but also <a href="#uncluttered-output">when to do it</a>.</p>
<p>In case of a failure, a test should be as <em>informative</em> as
possible.</p>
<p>Having more information about a test failure than just compared
values can be very useful for failure troubleshooting, it can reduce or
even completely eliminate debugging hours. This is even more important
in case of not 100% reproducible failures.</p>
<p>Achieving this property, one can easily make a test too verbose, so
it will be really hard to find useful information in the ocean of
useless information. Hence they should not only think about how to
provide <a href="#error-messages">good information</a>, but also <a
href="#uncluttered-output">when to do it</a>.</p>
<h3 id="testing-instead-of-visiting">Testing instead of visiting</h3>
<p>Tests should <em>test</em>.</p>
<p>It is not enough just to &quot;visit&quot; some code, a test should check that code does that it has to do, compare return values with expected values, check that desired side effects are done, and undesired are not, and so on. In other words, a test should contain at least one GoogleTest assertion and do not rely on JVM asserts.</p>
<p>Generally speaking to write a good test, one should create a model of the system under tests, a model of possible bugs (or bugs which one wants to find) and design tests using those models.</p>
<p>It is not enough just to "visit" some code, a test should check that
code does that it has to do, compare return values with expected values,
check that desired side effects are done, and undesired are not, and so
on. In other words, a test should contain at least one GoogleTest
assertion and do not rely on JVM asserts.</p>
<p>Generally speaking to write a good test, one should create a model of
the system under tests, a model of possible bugs (or bugs which one
wants to find) and design tests using those models.</p>
<h3 id="nearness">Nearness</h3>
<p>Prefer having checks inside test code.</p>
<p>Not only does having test logic outside, e.g. verification method, depending on asserts in product code contradict with several items above but also decreases tests readability and stability. It is much easier to understand that a test is testing when all testing logic is located inside a test or nearby in shared test libraries. As a rule of thumb, the closer a check to a test, the better.</p>
<p>Not only does having test logic outside, e.g. verification method,
depending on asserts in product code contradict with several items above
but also decreases tests readability and stability. It is much easier
to understand that a test is testing when all testing logic is located
inside a test or nearby in shared test libraries. As a rule of thumb,
the closer a check to a test, the better.</p>
<h2 id="asserts">Asserts</h2>
<h3 id="several-checks">Several checks</h3>
<p>Prefer <code>EXPECT</code> over <code>ASSERT</code> if possible.</p>
<p>This is related to the <a href="#informativeness">informativeness</a> property of tests, information for other checks can help to better localize a defects root-cause. One should use <code>ASSERT</code> if it is impossible to continue test execution or if it does not make much sense. Later in the text, <code>EXPECT</code> forms will be used to refer to both <code>ASSERT/EXPECT</code>.</p>
<p>When it is possible to make several different checks, but impossible to continue test execution if at least one check fails, you can use <code>::testing::Test::HasNonfatalFailure()</code> function. The recommended way to express that is <code>ASSERT_FALSE(::testing::Test::HasNonfatalFailure())</code>. Besides making it clear why a test is aborted, it also allows you to provide more information about a failure.</p>
<h3 id="first-parameter-is-expected-value">First parameter is expected value</h3>
<p>In all equality assertions, expected values should be passed as the first parameter.</p>
<p>This convention is adopted by GoogleTest, and there is a slight difference in how GoogleTest treats parameters, the most important one is <code>null</code> detection. Due to different reasons, <code>null</code> detection is enabled only for the first parameter, that is to said <code>EXPECT_EQ(NULL, object)</code> checks that object is <code>null</code>, while <code>EXPECT_EQ(object, NULL)</code> checks that object equals to <code>NULL</code>, GoogleTest is very strict regarding types of compared values so the latter will generates a compile-time error.</p>
<p>This is related to the <a href="#informativeness">informativeness</a>
property of tests, information for other checks can help to better
localize a defects root-cause. One should use <code>ASSERT</code> if it
is impossible to continue test execution or if it does not make much
sense. Later in the text, <code>EXPECT</code> forms will be used to
refer to both <code>ASSERT/EXPECT</code>.</p>
<p>When it is possible to make several different checks, but impossible
to continue test execution if at least one check fails, you can use
<code>::testing::Test::HasNonfatalFailure()</code> function. The
recommended way to express that is
<code>ASSERT_FALSE(::testing::Test::HasNonfatalFailure())</code>.
Besides making it clear why a test is aborted, it also allows you to
provide more information about a failure.</p>
<h3 id="first-parameter-is-expected-value">First parameter is expected
value</h3>
<p>In all equality assertions, expected values should be passed as the
first parameter.</p>
<p>This convention is adopted by GoogleTest, and there is a slight
difference in how GoogleTest treats parameters, the most important one
is <code>null</code> detection. Due to different reasons,
<code>null</code> detection is enabled only for the first parameter,
that is to said <code>EXPECT_EQ(NULL, object)</code> checks that object
is <code>null</code>, while <code>EXPECT_EQ(object, NULL)</code> checks
that object equals to <code>NULL</code>, GoogleTest is very strict
regarding types of compared values so the latter will generates a
compile-time error.</p>
<h3 id="floating-point-comparison">Floating-point comparison</h3>
<p>Use floating-point special macros to compare <code>float/double</code> values.</p>
<p>Because of floating-point number representations and round-off errors, regular equality comparison will not return true in most cases. There are special <code>EXPECT_FLOAT_EQ/EXPECT_DOUBLE_EQ</code> assertions which check that the distance between compared values is not more than 4 ULPs, there is also <code>EXPECT_NEAR(v1, v2, eps)</code> which checks that the absolute value of the difference between <code>v1</code> and <code>v2</code> is not greater than <code>eps</code>.</p>
<p>Use floating-point special macros to compare
<code>float/double</code> values.</p>
<p>Because of floating-point number representations and round-off
errors, regular equality comparison will not return true in most cases.
There are special <code>EXPECT_FLOAT_EQ/EXPECT_DOUBLE_EQ</code>
assertions which check that the distance between compared values is not
more than 4 ULPs, there is also <code>EXPECT_NEAR(v1, v2, eps)</code>
which checks that the absolute value of the difference between
<code>v1</code> and <code>v2</code> is not greater than
<code>eps</code>.</p>
<h3 id="c-string-comparison">C string comparison</h3>
<p>Use string special macros for C strings comparisons.</p>
<p><code>EXPECT_EQ</code> just compares pointers values, which is hardly what one wants comparing C strings. GoogleTest provides <code>EXPECT_STREQ</code> and <code>EXPECT_STRNE</code> macros to compare C string contents. There are also case-insensitive versions <code>EXPECT_STRCASEEQ</code>, <code>EXPECT_STRCASENE</code>.</p>
<p><code>EXPECT_EQ</code> just compares pointers values, which is
hardly what one wants comparing C strings. GoogleTest provides
<code>EXPECT_STREQ</code> and <code>EXPECT_STRNE</code> macros to
compare C string contents. There are also case-insensitive versions
<code>EXPECT_STRCASEEQ</code>, <code>EXPECT_STRCASENE</code>.</p>
<h3 id="error-messages">Error messages</h3>
<p>Provide informative, but not too verbose error messages.</p>
<p>All GoogleTest asserts print compared expressions and their values, so there is no need to have them in error messages. Asserts print only compared values, they do not print any of interim variables, e.g. <code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8)) || i == 18)</code> prints only one value. If you use some complex predicates, please consider <code>EXPECT_PRED*</code> or <code>EXPECT_FORMAT_PRED</code> assertions family, they check that a predicate returns true/success and print out all parameters values.</p>
<p>However in some cases, default information is not enough, a commonly used example is an assert inside a loop, GoogleTest will not print iteration values (unless it is an assert's parameter). Other demonstrative examples are printing error code and a corresponding error message; printing internal states which might have an impact on results. One should add this information to assert message using <code>&lt;&lt;</code> operator.</p>
<p>All GoogleTest asserts print compared expressions and their values,
so there is no need to have them in error messages. Asserts print only
compared values, they do not print any of interim variables, e.g.
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8)) || i == 18)</code>
prints only one value. If you use some complex predicates, please
consider <code>EXPECT_PRED*</code> or <code>EXPECT_FORMAT_PRED</code>
assertions family, they check that a predicate returns true/success and
print out all parameters values.</p>
<p>However in some cases, default information is not enough, a commonly
used example is an assert inside a loop, GoogleTest will not print
iteration values (unless it is an assert's parameter). Other
demonstrative examples are printing error code and a corresponding error
message; printing internal states which might have an impact on results.
One should add this information to assert message using
<code>&lt;&lt;</code> operator.</p>
<h3 id="uncluttered-output">Uncluttered output</h3>
<p>Print information only if it is needed.</p>
<p>Too verbose tests which print all information even if they pass are very bad practice. They just pollute output, so it becomes harder to find useful information. In order not print information till it is really needed, one should consider saving it to a temporary buffer and pass to an assert. <a href="https://hg.openjdk.java.net/jdk/jdk/file/tip/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp" class="uri">https://hg.openjdk.java.net/jdk/jdk/file/tip/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp</a> has a good example how to do that.</p>
<p>Too verbose tests which print all information even if they pass are
very bad practice. They just pollute output, so it becomes harder to
find useful information. In order not print information till it is
really needed, one should consider saving it to a temporary buffer and
pass to an assert. <a
href="https://git.openjdk.org/jdk/blob/master/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp"
class="uri">https://git.openjdk.org/jdk/blob/master/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp</a>
has a good example how to do that.</p>
<h3 id="failures-propagation">Failures propagation</h3>
<p>Wrap a subroutine call into <code>EXPECT_NO_FATAL_FAILURE</code> macro to propagate failures.</p>
<p><code>ASSERT</code> and <code>FAIL</code> abort only the current function, so if you have them in a subroutine, a test will not be aborted after the subroutine even if <code>ASSERT</code> or <code>FAIL</code> fails. You should call such subroutines in <code>ASSERT_NO_FATAL_FAILURE</code> macro to propagate fatal failures and abort a test. <code>(EXPECT|ASSERT)_NO_FATAL_FAILURE</code> can also be used to provide more information.</p>
<p>Due to obvious reasons, there are no <code>(EXPECT|ASSERT)_NO_NONFATAL_FAILURE</code> macros. However, if you need to check if a subroutine generated a nonfatal failure (failed an <code>EXPECT</code>), you can use <code>::testing::Test::HasNonfatalFailure</code> function, or <code>::testing::Test::HasFailure</code> function to check if a subroutine generated any failures, see <a href="#several-checks">Several checks</a>.</p>
<p>Wrap a subroutine call into <code>EXPECT_NO_FATAL_FAILURE</code>
macro to propagate failures.</p>
<p><code>ASSERT</code> and <code>FAIL</code> abort only the current
function, so if you have them in a subroutine, a test will not be
aborted after the subroutine even if <code>ASSERT</code> or
<code>FAIL</code> fails. You should call such subroutines in
<code>ASSERT_NO_FATAL_FAILURE</code> macro to propagate fatal failures
and abort a test. <code>(EXPECT|ASSERT)_NO_FATAL_FAILURE</code> can also
be used to provide more information.</p>
<p>Due to obvious reasons, there are no
<code>(EXPECT|ASSERT)_NO_NONFATAL_FAILURE</code> macros. However, if you
need to check if a subroutine generated a nonfatal failure (failed an
<code>EXPECT</code>), you can use
<code>::testing::Test::HasNonfatalFailure</code> function, or
<code>::testing::Test::HasFailure</code> function to check if a
subroutine generated any failures, see <a href="#several-checks">Several
checks</a>.</p>
<h2 id="naming-and-grouping">Naming and Grouping</h2>
<h3 id="test-group-names">Test group names</h3>
<p>Test group names should be in CamelCase, start and end with a letter. A test group should be named after tested class, functionality, subsystem, etc.</p>
<p>This naming scheme helps to find tests, filter them and simplifies test failure analysis. For example, class <code>Foo</code> - test group <code>Foo</code>, compiler logging subsystem - test group <code>CompilerLogging</code>, G1 GC — test group <code>G1GC</code>, and so forth.</p>
<p>Test group names should be in CamelCase, start and end with a letter.
A test group should be named after tested class, functionality,
subsystem, etc.</p>
<p>This naming scheme helps to find tests, filter them and simplifies
test failure analysis. For example, class <code>Foo</code> - test group
<code>Foo</code>, compiler logging subsystem - test group
<code>CompilerLogging</code>, G1 GC — test group <code>G1GC</code>, and
so forth.</p>
<h3 id="filename">Filename</h3>
<p>A test file must have <code>test_</code> prefix and <code>.cpp</code> suffix.</p>
<p>Both are actually requirements from the current build system to recognize your tests.</p>
<p>A test file must have <code>test_</code> prefix and <code>.cpp</code>
suffix.</p>
<p>Both are actually requirements from the current build system to
recognize your tests.</p>
<h3 id="file-location">File location</h3>
<p>Test file location should reflect a location of the tested part of the product.</p>
<p>Test file location should reflect a location of the tested part of
the product.</p>
<ul>
<li><p>All unit tests for a class from <code>foo/bar/baz.cpp</code> should be placed <code>foo/bar/test_baz.cpp</code> in <code>hotspot/test/native/</code> directory. Having all tests for a class in one file is a common practice for unit tests, it helps to see all existing tests at once, share functions and/or resources without losing encapsulation.</p></li>
<li><p>For tests which test more than one class, directory hierarchy should be the same as product hierarchy, and file name should reflect the name of the tested subsystem/functionality. For example, if a sub-system under tests belongs to <code>gc/g1</code>, tests should be placed in <code>gc/g1</code> directory.</p></li>
<li><p>All unit tests for a class from <code>foo/bar/baz.cpp</code>
should be placed <code>foo/bar/test_baz.cpp</code> in
<code>hotspot/test/native/</code> directory. Having all tests for a
class in one file is a common practice for unit tests, it helps to see
all existing tests at once, share functions and/or resources without
losing encapsulation.</p></li>
<li><p>For tests which test more than one class, directory hierarchy
should be the same as product hierarchy, and file name should reflect
the name of the tested subsystem/functionality. For example, if a
sub-system under tests belongs to <code>gc/g1</code>, tests should be
placed in <code>gc/g1</code> directory.</p></li>
</ul>
<p>Please note that framework prepends directory name to a test group name. For example, if <code>TEST(foo, check_this)</code> and <code>TEST(bar, check_that)</code> are defined in <code>hotspot/test/native/gc/shared/test_foo.cpp</code> file, they will be reported as <code>gc/shared/foo::check_this</code> and <code>gc/shared/bar::check_that</code>.</p>
<p>Please note that framework prepends directory name to a test group
name. For example, if <code>TEST(foo, check_this)</code> and
<code>TEST(bar, check_that)</code> are defined in
<code>hotspot/test/native/gc/shared/test_foo.cpp</code> file, they will
be reported as <code>gc/shared/foo::check_this</code> and
<code>gc/shared/bar::check_that</code>.</p>
<h3 id="test-names">Test names</h3>
<p>Test names should be in small_snake_case, start and end with a letter. A test name should reflect that a test checks.</p>
<p>Such naming makes tests self-descriptive and helps a lot during the whole test life cycle. It is easy to do test planning, test inventory, to see what things are not tested, to review tests, to analyze test failures, to evolve a test, etc. For example <code>foo_return_0_if_name_is_null</code> is better than <code>foo_sanity</code> or <code>foo_basic</code> or just <code>foo</code>, <code>humongous_objects_can_not_be_moved_by_young_gc</code> is better than <code>ho_young_gc</code>.</p>
<p>Actually using underscore is against GoogleTest project convention, because it can lead to illegal identifiers, however, this is too strict. Restricting usage of underscore for test names only and prohibiting test name starts or ends with an underscore are enough to be safe.</p>
<p>Test names should be in small_snake_case, start and end with a
letter. A test name should reflect that a test checks.</p>
<p>Such naming makes tests self-descriptive and helps a lot during the
whole test life cycle. It is easy to do test planning, test inventory,
to see what things are not tested, to review tests, to analyze test
failures, to evolve a test, etc. For example
<code>foo_return_0_if_name_is_null</code> is better than
<code>foo_sanity</code> or <code>foo_basic</code> or just
<code>foo</code>,
<code>humongous_objects_can_not_be_moved_by_young_gc</code> is better
than <code>ho_young_gc</code>.</p>
<p>Actually using underscore is against GoogleTest project convention,
because it can lead to illegal identifiers, however, this is too strict.
Restricting usage of underscore for test names only and prohibiting test
name starts or ends with an underscore are enough to be safe.</p>
<h3 id="fixture-classes">Fixture classes</h3>
<p>Fixture classes should be named after tested classes, subsystems, etc (follow <a href="#test-group-names">Test group names rule</a>) and have <code>Test</code> suffix to prevent class name conflicts.</p>
<p>Fixture classes should be named after tested classes, subsystems, etc
(follow <a href="#test-group-names">Test group names rule</a>) and have
<code>Test</code> suffix to prevent class name conflicts.</p>
<h3 id="friend-classes">Friend classes</h3>
<p>All test purpose friends should have either <code>Test</code> or <code>Testable</code> suffix.</p>
<p>It greatly simplifies understanding of friendships purpose and allows statically check that private members are not exposed unexpectedly. Having <code>FooTest</code> as a friend of <code>Foo</code> without any comments will be understood as a necessary evil to get testability.</p>
<p>All test purpose friends should have either <code>Test</code> or
<code>Testable</code> suffix.</p>
<p>It greatly simplifies understanding of friendships purpose and
allows statically check that private members are not exposed
unexpectedly. Having <code>FooTest</code> as a friend of
<code>Foo</code> without any comments will be understood as a necessary
evil to get testability.</p>
<h3 id="oscpu-specific-tests">OS/CPU specific tests</h3>
<p>Guard OS/CPU specific tests by <code>#ifdef</code> and have OS/CPU name in filename.</p>
<p>For the time being, we do not support separate directories for OS, CPU, OS-CPU specific tests, in case we will have lots of such tests, we will change directory layout and build system to support that in the same way it is done in hotspot.</p>
<p>Guard OS/CPU specific tests by <code>#ifdef</code> and have OS/CPU
name in filename.</p>
<p>For the time being, we do not support separate directories for OS,
CPU, OS-CPU specific tests, in case we will have lots of such tests, we
will change directory layout and build system to support that in the
same way it is done in hotspot.</p>
<h2 id="miscellaneous">Miscellaneous</h2>
<h3 id="hotspot-style">Hotspot style</h3>
<p>Abide the norms and rules accepted in Hotspot style guide.</p>
<p>Tests are a part of Hotspot, so everything (if applicable) we use for Hotspot, should be used for tests as well. Those guidelines cover test-specific things.</p>
<p>Tests are a part of Hotspot, so everything (if applicable) we use for
Hotspot, should be used for tests as well. Those guidelines cover
test-specific things.</p>
<h3 id="codetest-metrics">Code/test metrics</h3>
<p>Coverage information and other code/test metrics are quite useful to decide what tests should be written, what tests should be improved and what can be removed.</p>
<p>For unit tests, widely used and well-known coverage metric is branch coverage, which provides good quality of tests with relatively easy test development process. For other levels of testing, branch coverage is not as good, and one should consider others metrics, e.g. transaction flow coverage, data flow coverage.</p>
<p>Coverage information and other code/test metrics are quite useful to
decide what tests should be written, what tests should be improved and
what can be removed.</p>
<p>For unit tests, widely used and well-known coverage metric is branch
coverage, which provides good quality of tests with relatively easy test
development process. For other levels of testing, branch coverage is not
as good, and one should consider others metrics, e.g. transaction flow
coverage, data flow coverage.</p>
<h3 id="access-to-non-public-members">Access to non-public members</h3>
<p>Use explicit friend class to get access to non-public members.</p>
<p>We do not use GoogleTest macro to declare friendship relation, because, from our point of view, it is less clear than an explicit declaration.</p>
<p>Declaring a test fixture class as a friend class of a tested test is the easiest and the clearest way to get access. However, it has some disadvantages, here is some of them:</p>
<p>We do not use GoogleTest macro to declare friendship relation,
because, from our point of view, it is less clear than an explicit
declaration.</p>
<p>Declaring a test fixture class as a friend class of a tested test is
the easiest and the clearest way to get access. However, it has some
disadvantages, here is some of them:</p>
<ul>
<li>Each test has to be declared as a friend</li>
<li>Subclasses do not inheritance friendship relation</li>
</ul>
<p>In other words, it is harder to share code between tests. Hence if you want to share code or expect it to be useful in other tests, you should consider making members in a tested class protected and introduce a shared test-only class which expose those members via public functions, or even making members publicly accessible right away in a product class. If it is not an option to change members visibility, one can create a friend class which exposes members.</p>
<p>In other words, it is harder to share code between tests. Hence if
you want to share code or expect it to be useful in other tests, you
should consider making members in a tested class protected and introduce
a shared test-only class which expose those members via public
functions, or even making members publicly accessible right away in a
product class. If it is not an option to change members visibility, one
can create a friend class which exposes members.</p>
<h3 id="death-tests">Death tests</h3>
<p>You can not use death tests inside <code>TEST_OTHER_VM</code> and <code>TEST_VM_ASSERT*</code>.</p>
<p>We tried to make Hotspot-GoogleTest integration as transparent as possible, however, due to the current implementation of <code>TEST_OTHER_VM</code> and <code>TEST_VM_ASSERT*</code> tests, you cannot use death test functionality in them. These tests are implemented as GoogleTest death tests, and GoogleTest does not allow to have a death test inside another death test.</p>
<p>You can not use death tests inside <code>TEST_OTHER_VM</code> and
<code>TEST_VM_ASSERT*</code>.</p>
<p>We tried to make Hotspot-GoogleTest integration as transparent as
possible, however, due to the current implementation of
<code>TEST_OTHER_VM</code> and <code>TEST_VM_ASSERT*</code> tests, you
cannot use death test functionality in them. These tests are implemented
as GoogleTest death tests, and GoogleTest does not allow to have a death
test inside another death test.</p>
<h3 id="external-flags">External flags</h3>
<p>Passing external flags to a tested JVM is not supported.</p>
<p>The rationality of such design decision is to simplify both tests and a test framework and to avoid failures related to incompatible flags combination till there is a good solution for that. However there are cases when one wants to test a JVM with specific flags combination, <code>_JAVA_OPTIONS</code> environment variable can be used to do that. Flags from <code>_JAVA_OPTIONS</code> will be used in <code>TEST_VM</code>, <code>TEST_OTHER_VM</code> and <code>TEST_VM_ASSERT*</code> tests.</p>
<p>The rationality of such design decision is to simplify both tests and
a test framework and to avoid failures related to incompatible flags
combination till there is a good solution for that. However there are
cases when one wants to test a JVM with specific flags combination,
<code>_JAVA_OPTIONS</code> environment variable can be used to do that.
Flags from <code>_JAVA_OPTIONS</code> will be used in
<code>TEST_VM</code>, <code>TEST_OTHER_VM</code> and
<code>TEST_VM_ASSERT*</code> tests.</p>
<h3 id="test-specific-flags">Test-specific flags</h3>
<p>Passing flags to a tested JVM in <code>TEST_OTHER_VM</code> and <code>TEST_VM_ASSERT*</code> should be possible, but is not implemented yet.</p>
<p>Facility to pass test-specific flags is needed for system, regression or other types of tests which require a fully initialized JVM in some particular configuration, e.g. with Serial GC selected. There is no support for such tests now, however, there is a plan to add that in upcoming releases.</p>
<p>For now, if a test depends on flags values, it should have <code>if (!&lt;flag&gt;) { return }</code> guards in the very beginning and <code>@requires</code> comment similar to jtreg <code>@requires</code> directive right before test macros. <a href="https://hg.openjdk.java.net/jdk/jdk/file/tip/test/hotspot/gtest/gc/g1/test_g1IHOPControl.cpp" class="uri">https://hg.openjdk.java.net/jdk/jdk/file/tip/test/hotspot/gtest/gc/g1/test_g1IHOPControl.cpp</a> ha an example of this temporary workaround. It is important to follow that pattern as it allows us to easily find all such tests and update them as soon as there is an implementation of flag passing facility.</p>
<p>In long-term, we expect jtreg to support GoogleTest tests as first class citizens, that is to say, jtreg will parse <span class="citation" data-cites="requires">@requires</span> comments and filter out inapplicable tests.</p>
<p>Passing flags to a tested JVM in <code>TEST_OTHER_VM</code> and
<code>TEST_VM_ASSERT*</code> should be possible, but is not implemented
yet.</p>
<p>Facility to pass test-specific flags is needed for system, regression
or other types of tests which require a fully initialized JVM in some
particular configuration, e.g. with Serial GC selected. There is no
support for such tests now, however, there is a plan to add that in
upcoming releases.</p>
<p>For now, if a test depends on flags values, it should have
<code>if (!&lt;flag&gt;) { return }</code> guards in the very beginning
and <code>@requires</code> comment similar to jtreg
<code>@requires</code> directive right before test macros. <a
href="https://git.openjdk.org/jdk/blob/master/test/hotspot/gtest/gc/g1/test_g1IHOPControl.cpp"
class="uri">https://git.openjdk.org/jdk/blob/master/test/hotspot/gtest/gc/g1/test_g1IHOPControl.cpp</a>
ha an example of this temporary workaround. It is important to follow
that pattern as it allows us to easily find all such tests and update
them as soon as there is an implementation of flag passing facility.</p>
<p>In long-term, we expect jtreg to support GoogleTest tests as first
class citizens, that is to say, jtreg will parse <span class="citation"
data-cites="requires">@requires</span> comments and filter out
inapplicable tests.</p>
<h3 id="flag-restoring">Flag restoring</h3>
<p>Restore changed flags.</p>
<p>It is quite common for tests to configure JVM in a certain way changing flags values. GoogleTest provides two ways to set up environment before a test and restore it afterward: using either constructor and destructor or <code>SetUp</code> and <code>TearDown</code> functions. Both ways require to use a test fixture class, which sometimes is too wordy. The simpler facilities like <code>FLAG_GUARD</code> macro or <code>*FlagSetting</code> classes could be used in such cases to restore/set values.</p>
<p>It is quite common for tests to configure JVM in a certain way
changing flags values. GoogleTest provides two ways to set up
environment before a test and restore it afterward: using either
constructor and destructor or <code>SetUp</code> and
<code>TearDown</code> functions. Both ways require to use a test fixture
class, which sometimes is too wordy. The simpler facilities like
<code>FLAG_GUARD</code> macro or <code>*FlagSetting</code> classes could
be used in such cases to restore/set values.</p>
<p>Caveats:</p>
<ul>
<li><p>Changing a flags value could break the invariants between flags' values and hence could lead to unexpected/unsupported JVM state.</p></li>
<li><p><code>FLAG_SET_*</code> macros can change more than one flag (in order to maintain invariants) so it is hard to predict what flags will be changed and it makes restoring all changed flags a nontrivial task. Thus in case one uses <code>FLAG_SET_*</code> macros, they should use <code>TEST_OTHER_VM</code> test type.</p></li>
<li><p>Changing a flags value could break the invariants between flags'
values and hence could lead to unexpected/unsupported JVM
state.</p></li>
<li><p><code>FLAG_SET_*</code> macros can change more than one flag (in
order to maintain invariants) so it is hard to predict what flags will
be changed and it makes restoring all changed flags a nontrivial task.
Thus in case one uses <code>FLAG_SET_*</code> macros, they should use
<code>TEST_OTHER_VM</code> test type.</p></li>
</ul>
<h3 id="googletest-documentation">GoogleTest documentation</h3>
<p>In case you have any questions regarding GoogleTest itself, its asserts, test declaration macros, other macros, etc, please consult its documentation.</p>
<p>In case you have any questions regarding GoogleTest itself, its
asserts, test declaration macros, other macros, etc, please consult its
documentation.</p>
<h2 id="todo">TODO</h2>
<p>Although this document provides guidelines on the most important parts of test development using GTest, it still misses a few items:</p>
<p>Although this document provides guidelines on the most important
parts of test development using GTest, it still misses a few items:</p>
<ul>
<li><p>Examples, esp for <a href="#access-to-non-public-members">access to non-public members</a></p></li>
<li>test types: purpose, drawbacks, limitation
<li><p>Examples, esp for <a href="#access-to-non-public-members">access
to non-public members</a></p></li>
<li><p>test types: purpose, drawbacks, limitation</p>
<ul>
<li><code>TEST_VM</code></li>
<li><code>TEST_VM_F</code></li>
@@ -195,7 +471,7 @@
<li><code>TEST_VM_ASSERT</code></li>
<li><code>TEST_VM_ASSERT_MSG</code></li>
</ul></li>
<li>Miscellaneous
<li><p>Miscellaneous</p>
<ul>
<li>Test libraries
<ul>
@@ -208,7 +484,8 @@
<li>how to run tests in random order</li>
<li>how to run only specific tests</li>
<li>how to run each test separately</li>
<li>check that a test can find bugs it is supposed to by introducing them</li>
<li>check that a test can find bugs it is supposed to by introducing
them</li>
</ul></li>
<li>mocks/stubs/dependency injection</li>
<li>setUp/tearDown

View File

@@ -100,7 +100,7 @@ Generally speaking to write a good test, one should create a model of
the system under tests, a model of possible bugs (or bugs which one
wants to find) and design tests using those models.
### Nearness
### Nearness
Prefer having checks inside test code.
@@ -156,7 +156,7 @@ that the distance between compared values is not more than 4 ULPs,
there is also `EXPECT_NEAR(v1, v2, eps)` which checks that the absolute
value of the difference between `v1` and `v2` is not greater than `eps`.
### C string comparison
### C string comparison
Use string special macros for C strings comparisons.
@@ -194,7 +194,7 @@ very bad practice. They just pollute output, so it becomes harder to
find useful information. In order not print information till it is
really needed, one should consider saving it to a temporary buffer and
pass to an assert.
<https://hg.openjdk.java.net/jdk/jdk/file/tip/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp>
<https://git.openjdk.org/jdk/blob/master/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp>
has a good example how to do that.
### Failures propagation
@@ -229,7 +229,7 @@ test failure analysis. For example, class `Foo` - test group `Foo`,
compiler logging subsystem - test group `CompilerLogging`, G1 GC — test
group `G1GC`, and so forth.
### Filename
### Filename
A test file must have `test_` prefix and `.cpp` suffix.
@@ -283,7 +283,7 @@ Fixture classes should be named after tested classes, subsystems, etc
(follow [Test group names rule](#test-group-names)) and have
`Test` suffix to prevent class name conflicts.
### Friend classes
### Friend classes
All test purpose friends should have either `Test` or `Testable` suffix.
@@ -303,7 +303,7 @@ the same way it is done in hotspot.
## Miscellaneous
### Hotspot style
### Hotspot style
Abide the norms and rules accepted in Hotspot style guide.
@@ -383,7 +383,7 @@ upcoming releases.
For now, if a test depends on flags values, it should have `if
(!<flag>) { return }` guards in the very beginning and `@requires`
comment similar to jtreg `@requires` directive right before test macros.
<https://hg.openjdk.java.net/jdk/jdk/file/tip/test/hotspot/gtest/gc/g1/test_g1IHOPControl.cpp>
<https://git.openjdk.org/jdk/blob/master/test/hotspot/gtest/gc/g1/test_g1IHOPControl.cpp>
ha an example of this temporary workaround. It is important to follow
that pattern as it allows us to easily find all such tests and update
them as soon as there is an implementation of flag passing facility.
@@ -392,7 +392,7 @@ In long-term, we expect jtreg to support GoogleTest tests as first
class citizens, that is to say, jtreg will parse @requires comments
and filter out inapplicable tests.
### Flag restoring
### Flag restoring
Restore changed flags.
@@ -404,7 +404,7 @@ require to use a test fixture class, which sometimes is too wordy. The
simpler facilities like `FLAG_GUARD` macro or `*FlagSetting` classes could
be used in such cases to restore/set values.
Caveats:
Caveats:
* Changing a flags value could break the invariants between flags' values and hence could lead to unexpected/unsupported JVM state.

View File

@@ -5,11 +5,19 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>IDE support in the JDK</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
@@ -20,41 +28,144 @@
<header id="title-block-header">
<h1 class="title">IDE support in the JDK</h1>
</header>
<nav id="TOC">
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#introduction">Introduction</a><ul>
<li><a href="#ide-support-for-native-code">IDE support for native code</a></li>
<li><a href="#ide-support-for-java-code">IDE support for Java code</a></li>
<li><a href="#introduction" id="toc-introduction">Introduction</a>
<ul>
<li><a href="#ide-support-for-native-code"
id="toc-ide-support-for-native-code">IDE support for native
code</a></li>
<li><a href="#ide-support-for-java-code"
id="toc-ide-support-for-java-code">IDE support for Java code</a></li>
</ul></li>
</ul>
</nav>
<h2 id="introduction">Introduction</h2>
<p>When you are familiar with building and testing the JDK, you may want to configure an IDE to work with the source code. The instructions differ a bit depending on whether you are interested in working with the native (C/C++) or the Java code.</p>
<p>When you are familiar with building and testing the JDK, you may want
to configure an IDE to work with the source code. The instructions
differ a bit depending on whether you are interested in working with the
native (C/C++) or the Java code.</p>
<h3 id="ide-support-for-native-code">IDE support for native code</h3>
<p>There are a few ways to generate IDE configuration for the native sources, depending on which IDE to use.</p>
<p>There are a few ways to generate IDE configuration for the native
sources, depending on which IDE to use.</p>
<h4 id="visual-studio-code">Visual Studio Code</h4>
<p>The make system can generate a <a href="https://code.visualstudio.com">Visual Studio Code</a> workspace that has C/C++ source indexing configured correctly, as well as launcher targets for tests and the Java launcher. After configuring, a workspace for the configuration can be generated using:</p>
<p>The make system can generate a <a
href="https://code.visualstudio.com">Visual Studio Code</a> workspace
that has C/C++ source indexing configured correctly, as well as launcher
targets for tests and the Java launcher. After configuring, a workspace
for the configuration can be generated using:</p>
<pre class="shell"><code>make vscode-project</code></pre>
<p>This creates a file called <code>jdk.code-workspace</code> in the build output folder. The full location will be printed after the workspace has been generated. To use it, choose <code>File -&gt; Open Workspace...</code> in Visual Studio Code.</p>
<p>This creates a file called <code>jdk.code-workspace</code> in the
build output folder. The full location will be printed after the
workspace has been generated. To use it, choose
<code>File -&gt; Open Workspace...</code> in Visual Studio Code.</p>
<h5 id="alternative-indexers">Alternative indexers</h5>
<p>The main <code>vscode-project</code> target configures the default C++ support in Visual Studio Code. There are also other source indexers that can be installed, that may provide additional features. It's currently possible to generate configuration for two such indexers, <a href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can be configured by appending the name of the indexer to the make target, such as:</p>
<p>The main <code>vscode-project</code> target configures the default
C++ support in Visual Studio Code. There are also other source indexers
that can be installed, that may provide additional features. It's
currently possible to generate configuration for two such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a
href="https://github.com/Andersbakken/rtags">rtags</a>. These can be
configured by appending the name of the indexer to the make target, such
as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be displayed after the workspace has been generated.</p>
<p>Additional instructions for configuring the given indexer will be
displayed after the workspace has been generated.</p>
<h4 id="visual-studio">Visual Studio</h4>
<p>The make system can generate a Visual Studio project for the Hotspot native source. After configuring, the project is generated using:</p>
<p>The make system can generate a Visual Studio project for the Hotspot
native source. After configuring, the project is generated using:</p>
<pre class="shell"><code>make hotspot-ide-project</code></pre>
<p>This creates a file named <code>jvm.vcxproj</code> in <code>ide\hotspot-visualstudio</code> subfolder of the build output folder. The file can be opened in Visual Studio via <code>File -&gt; Open -&gt; Project/Solution</code>.</p>
<p>This creates a file named <code>jvm.vcxproj</code> in
<code>ide\hotspot-visualstudio</code> subfolder of the build output
folder. The file can be opened in Visual Studio via
<code>File -&gt; Open -&gt; Project/Solution</code>.</p>
<h4 id="eclipse-cdt">Eclipse CDT</h4>
<p>The make system can generate an Eclipse CDT Workspace that enables
Eclipse indexing for the C and C++ sources throughout the entire
codebase, as well as registering all common make targets to be runnable
from the Eclipse explorer. This can be done after configuring by
running:</p>
<pre><code>make eclipse-native-env</code></pre>
<p>After this is run, simply open and import the workspace in Eclipse
through
<code>File -&gt; Import -&gt; Projects from Folder or Archive</code> and
at <code>Import source</code> click on the directory
<code>ide\eclipse</code>, which can be found in the build output
folder.</p>
<p>If this doesn't work, you can also try
<code>File -&gt; Import -&gt; Existing Projects into Workspace</code>
instead.</p>
<p>Setting up an Eclipse Workspace is relatively lightweight compared to
other supported IDEs, but requires that your CDT installation has Cross
GCC support enabled at the moment, even if you aren't cross compiling.
The Visual C++ compiler is, at present, not supported as an indexer.</p>
<p>If desired, you can instead request make to only include indexing
support for just the Java Virtual Machine instead of the entire native
codebase, by running:</p>
<pre><code>make eclipse-hotspot-env</code></pre>
<p>If you think your particular Eclipse installation can handle the
strain, the make system also supports generating a combined Java and
C/C++ Workspace for Eclipse which can then conveniently switch between
Java and C/C++ natures during development by running:</p>
<pre><code>make eclipse-mixed-env</code></pre>
<p>Do note that this generates all features that come with both Java and
C/C++ natures.</p>
<p>By default, the Eclipse Workspace is located in the ide subdirectory
in the build output. To share the JDK's source directory with the
Eclipse Workspace, you can instead run:</p>
<pre><code>make eclipse-shared-&lt;ENV&gt;-env</code></pre>
<p>Eclipse support in the JDK is relatively new, so do keep in mind that
not everything may work at the moment. As such, the resulting Workspace
also has compilation database parsing support enabled, so you can pass
Eclipse the compile commands file (see below) if all else fails.</p>
<h4 id="compilation-database">Compilation Database</h4>
<p>The make system can generate generic native code indexing support in the form of a <a href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation Database</a> that can be used by many different IDEs and source code indexers.</p>
<p>The make system can generate generic native code indexing support in
the form of a <a
href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation
Database</a> that can be used by many different IDEs and source code
indexers.</p>
<pre class="shell"><code>make compile-commands</code></pre>
<p>It's also possible to generate the Compilation Database for the HotSpot source code only, which is a bit faster as it includes less information.</p>
<p>It's also possible to generate the Compilation Database for the
HotSpot source code only, which is a bit faster as it includes less
information.</p>
<pre class="shell"><code>make compile-commands-hotspot</code></pre>
<h3 id="ide-support-for-java-code">IDE support for Java code</h3>
<h4 id="intellij-idea">IntelliJ IDEA</h4>
<p>The JDK project has a script that can be used for indexing the project with IntelliJ. After configuring and building the JDK, an IntelliJ workspace can be generated by running the following command in the top-level folder of the cloned repository:</p>
<p>The JDK project has a script that can be used for indexing the
project with IntelliJ. After configuring and building the JDK, an
IntelliJ workspace can be generated by running the following command in
the top-level folder of the cloned repository:</p>
<pre class="shell"><code>bash bin/idea.sh</code></pre>
<p>To use it, choose <code>File -&gt; Open...</code> in IntelliJ and select the folder where you ran the above script.</p>
<p>Next, configure the project SDK in IntelliJ. Open <code>File -&gt; Project Structure -&gt; Project</code> and select <code>build/&lt;config&gt;/images/jdk</code> as the SDK to use.</p>
<p>In order to run the tests from the IDE, you can use the JTReg plugin. Instructions for building and using the plugin can be found <a href="https://github.com/openjdk/jtreg/tree/master/plugins/idea">here</a>.</p>
<p>To use it, choose <code>File -&gt; Open...</code> in IntelliJ and
select the folder where you ran the above script.</p>
<p>Next, configure the project SDK in IntelliJ. Open
<code>File -&gt; Project Structure -&gt; Project</code> and select
<code>build/&lt;config&gt;/images/jdk</code> as the SDK to use.</p>
<p>In order to run the tests from the IDE, you can use the JTReg plugin.
Instructions for building and using the plugin can be found <a
href="https://github.com/openjdk/jtreg/tree/master/plugins/idea">here</a>.</p>
<h4 id="eclipse">Eclipse</h4>
<p>Eclipse JDT is a widely used Java IDE and has been for a very long
time, being a popular choice alongside IntelliJ IDEA for Java
development. Likewise, the JDK now includes support for developing its
Java sources with Eclipse, which can be achieved by setting up a Java
Workspace by running:</p>
<pre><code>make eclipse-java-env</code></pre>
<p>After the workspace has been generated you can import it in the same
way as you would with Eclipse CDT:</p>
<p>Follow
<code>File -&gt; Import -&gt; Projects from Folder or Archive</code> and
select the <code>ide\eclipse</code> directory in the build output folder
to import the newly created Java Workspace.</p>
<p>If doing so results in an error, you can also import the JDK via
<code>File -&gt; Import -&gt; Existing Projects into Workspace</code> as
a last resort.</p>
<p>Alternatively, if you want a Java Workspace inside the JDK's source
directory, you can instead run:</p>
<pre><code>make eclipse-shared-java-env</code></pre>
<p>As mentioned above for Eclipse CDT, you can create a combined Java
and C/C++ Workspace which can conveniently switch between Java and C/C++
natures during development by running:</p>
<pre><code>make eclipse-mixed-env</code></pre>
</body>
</html>

View File

@@ -56,6 +56,63 @@ This creates a file named `jvm.vcxproj` in `ide\hotspot-visualstudio`
subfolder of the build output folder. The file can be opened in Visual Studio
via `File -> Open -> Project/Solution`.
#### Eclipse CDT
The make system can generate an Eclipse CDT Workspace that enables Eclipse
indexing for the C and C++ sources throughout the entire codebase, as well as
registering all common make targets to be runnable from the Eclipse explorer.
This can be done after configuring by running:
```
make eclipse-native-env
```
After this is run, simply open and import the workspace in Eclipse through
`File -> Import -> Projects from Folder or Archive` and at
`Import source` click on the directory `ide\eclipse`, which can be
found in the build output folder.
If this doesn't work, you can also try
`File -> Import -> Existing Projects into Workspace`
instead.
Setting up an Eclipse Workspace is relatively lightweight compared to other
supported IDEs, but requires that your CDT installation has Cross GCC support
enabled at the moment, even if you aren't cross compiling. The Visual C++
compiler is, at present, not supported as an indexer.
If desired, you can instead request make to only include indexing support for
just the Java Virtual Machine instead of the entire native codebase, by running:
```
make eclipse-hotspot-env
```
If you think your particular Eclipse installation can handle the strain, the
make system also supports generating a combined Java and C/C++ Workspace for
Eclipse which can then conveniently switch between Java and C/C++ natures
during development by running:
```
make eclipse-mixed-env
```
Do note that this generates all features that come with both Java and C/C++
natures.
By default, the Eclipse Workspace is located in the ide subdirectory in the
build output. To share the JDK's source directory with the Eclipse Workspace,
you can instead run:
```
make eclipse-shared-<ENV>-env
```
Eclipse support in the JDK is relatively new, so do keep in mind that not
everything may work at the moment. As such, the resulting Workspace also
has compilation database parsing support enabled, so you can pass Eclipse
the compile commands file (see below) if all else fails.
#### Compilation Database
The make system can generate generic native code indexing support in the form of
@@ -96,3 +153,40 @@ as the SDK to use.
In order to run the tests from the IDE, you can use the JTReg plugin.
Instructions for building and using the plugin can be found
[here](https://github.com/openjdk/jtreg/tree/master/plugins/idea).
#### Eclipse
Eclipse JDT is a widely used Java IDE and has been for a very long time, being
a popular choice alongside IntelliJ IDEA for Java development. Likewise, the
JDK now includes support for developing its Java sources with Eclipse, which
can be achieved by setting up a Java Workspace by running:
```
make eclipse-java-env
```
After the workspace has been generated you can import it in the same way as
you would with Eclipse CDT:
Follow `File -> Import -> Projects from Folder or Archive` and select the
`ide\eclipse` directory in the build output folder to import the newly created
Java Workspace.
If doing so results in an error, you can also import the JDK via
`File -> Import -> Existing Projects into Workspace`
as a last resort.
Alternatively, if you want a Java Workspace inside the JDK's source directory,
you can instead run:
```
make eclipse-shared-java-env
```
As mentioned above for Eclipse CDT, you can create a combined Java and C/C++
Workspace which can conveniently switch between Java and C/C++ natures during
development by running:
```
make eclipse-mixed-env
```

View File

@@ -5,54 +5,99 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Testing the JDK</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head>
<body>
<header id="title-block-header">
<h1 class="title">Testing the JDK</h1>
</header>
<nav id="TOC">
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#using-make-test-the-run-test-framework">Using &quot;make test&quot; (the run-test framework)</a><ul>
<li><a href="#configuration">Configuration</a></li>
<li><a href="#overview" id="toc-overview">Overview</a></li>
<li><a href="#running-tests-locally-with-make-test"
id="toc-running-tests-locally-with-make-test">Running tests locally with
<code>make test</code></a>
<ul>
<li><a href="#configuration"
id="toc-configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
<li><a href="#common-test-groups">Common Test Groups</a></li>
<li><a href="#jtreg">JTReg</a></li>
<li><a href="#gtest">Gtest</a></li>
<li><a href="#microbenchmarks">Microbenchmarks</a></li>
<li><a href="#special-tests">Special tests</a></li>
<li><a href="#test-selection" id="toc-test-selection">Test selection</a>
<ul>
<li><a href="#common-test-groups" id="toc-common-test-groups">Common
Test Groups</a></li>
<li><a href="#jtreg" id="toc-jtreg">JTReg</a></li>
<li><a href="#gtest" id="toc-gtest">Gtest</a></li>
<li><a href="#microbenchmarks"
id="toc-microbenchmarks">Microbenchmarks</a></li>
<li><a href="#special-tests" id="toc-special-tests">Special
tests</a></li>
</ul></li>
<li><a href="#test-results-and-summary">Test results and summary</a></li>
<li><a href="#test-suite-control">Test suite control</a><ul>
<li><a href="#general-keywords-test_opts">General keywords (TEST_OPTS)</a></li>
<li><a href="#jtreg-keywords">JTReg keywords</a></li>
<li><a href="#gtest-keywords">Gtest keywords</a></li>
<li><a href="#microbenchmark-keywords">Microbenchmark keywords</a></li>
<li><a href="#test-results-and-summary"
id="toc-test-results-and-summary">Test results and summary</a></li>
<li><a href="#test-suite-control" id="toc-test-suite-control">Test suite
control</a>
<ul>
<li><a href="#general-keywords-test_opts"
id="toc-general-keywords-test_opts">General keywords
(TEST_OPTS)</a></li>
<li><a href="#jtreg-keywords" id="toc-jtreg-keywords">JTReg
keywords</a></li>
<li><a href="#gtest-keywords" id="toc-gtest-keywords">Gtest
keywords</a></li>
<li><a href="#microbenchmark-keywords"
id="toc-microbenchmark-keywords">Microbenchmark keywords</a></li>
</ul></li>
<li><a href="#notes-for-specific-tests">Notes for Specific Tests</a><ul>
<li><a href="#docker-tests">Docker Tests</a></li>
<li><a href="#non-us-locale">Non-US locale</a></li>
<li><a href="#pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#client-ui-tests">Client UI Tests</a></li>
<li><a href="#notes-for-specific-tests"
id="toc-notes-for-specific-tests">Notes for Specific Tests</a>
<ul>
<li><a href="#docker-tests" id="toc-docker-tests">Docker Tests</a></li>
<li><a href="#non-us-locale" id="toc-non-us-locale">Non-US
locale</a></li>
<li><a href="#pkcs11-tests" id="toc-pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#client-ui-tests" id="toc-client-ui-tests">Client UI
Tests</a></li>
</ul></li>
<li><a href="#editing-this-document">Editing this document</a></li>
<li><a href="#editing-this-document"
id="toc-editing-this-document">Editing this document</a></li>
</ul>
</nav>
<h2 id="using-make-test-the-run-test-framework">Using &quot;make test&quot; (the run-test framework)</h2>
<p>This new way of running tests is developer-centric. It assumes that you have built a JDK locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>The main target <code>test</code> uses the jdk-image as the tested product. There is also an alternate target <code>exploded-test</code> that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</p>
<p>Previously, <code>make test</code> was used to invoke an old system for running tests, and <code>make run-test</code> was used for the new test framework. For backward compatibility with scripts and muscle memory, <code>run-test</code> (and variants like <code>exploded-run-test</code> or <code>run-test-tier1</code>) are kept as aliases.</p>
<h2 id="overview">Overview</h2>
<p>The bulk of JDK tests use <a
href="https://openjdk.org/jtreg/">jtreg</a>, a regression test framework
and test runner built for the JDK's specific needs. Other test
frameworks are also used. The different test frameworks can be executed
directly, but there is also a set of make targets intended to simplify
the interface, and figure out how to run your tests for you.</p>
<h2 id="running-tests-locally-with-make-test">Running tests locally with
<code>make test</code></h2>
<p>This is the easiest way to get started. Assuming you've built the JDK
locally, execute:</p>
<pre><code>$ make test</code></pre>
<p>This will run a default set of tests against the JDK, and present you
with the results. <code>make test</code> is part of a family of
test-related make targets which simplify running tests, because they
invoke the various test frameworks for you. The "make test framework" is
simple to start with, but more complex ad-hoc combination of tests is
also possible. You can always invoke the test frameworks directly if you
want even more control.</p>
<p>Some example command-lines:</p>
<pre><code>$ make test-tier1
$ make test-jdk_lang JTREG=&quot;JOBS=8&quot;
@@ -62,51 +107,214 @@ $ make test TEST=&quot;hotspot:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT_FACTO
$ make test TEST=&quot;jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java&quot;
$ make test TEST=&quot;micro:java.lang.reflect&quot; MICRO=&quot;FORK=1;WARMUP_ITER=2&quot;
$ make exploded-test TEST=tier2</code></pre>
<p>"tier1" and "tier2" refer to tiered testing, see further down. "TEST"
is a test selection argument which the make test framework will use to
try to find the tests you want. It iterates over the available test
frameworks, and if the test isn't present in one, it tries the next one.
The main target <code>test</code> uses the jdk-image as the tested
product. There is also an alternate target <code>exploded-test</code>
that uses the exploded image instead. Not all tests will run
successfully on the exploded image, but using this target can greatly
improve rebuild times for certain workflows.</p>
<p>Previously, <code>make test</code> was used to invoke an old system
for running tests, and <code>make run-test</code> was used for the new
test framework. For backward compatibility with scripts and muscle
memory, <code>run-test</code> and variants like
<code>exploded-run-test</code> or <code>run-test-tier1</code> are kept
as aliases.</p>
<h3 id="configuration">Configuration</h3>
<p>To be able to run JTReg tests, <code>configure</code> needs to know where to find the JTReg test framework. If it is not picked up automatically by configure, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc. (An alternative is to set the <code>JT_HOME</code> environment variable to point to the JTReg home before running <code>configure</code>.)</p>
<p>To be able to run microbenchmarks, <code>configure</code> needs to know where to find the JMH dependency. Use <code>--with-jmh=&lt;path to JMH jars&gt;</code> to point to a directory containing the core JMH and transitive dependencies. The recommended dependencies can be retrieved by running <code>sh make/devkit/createJMHBundle.sh</code>, after which <code>--with-jmh=build/jmh/jars</code> should work.</p>
<p>When tests fail or timeout, jtreg runs its failure handler to capture necessary data from the system where the test was run. This data can then be used to analyze the test failures. Collecting this data involves running various commands (which are listed in files residing in <code>test/failure_handler/src/share/conf</code>) and some of these commands use <code>sudo</code>. If the system's <code>sudoers</code> file isn't configured to allow running these commands, then it can result in password being prompted during the failure handler execution. Typically, when running locally, collecting this additional data isn't always necessary. To disable running the failure handler, use <code>--enable-jtreg-failure-handler=no</code> when running <code>configure</code>. If, however, you want to let the failure handler to run and don't want to be prompted for sudo password, then you can configure your <code>sudoers</code> file appropriately. Please read the necessary documentation of your operating system to see how to do that; here we only show one possible way of doing that - edit the <code>/etc/sudoers.d/sudoers</code> file to include the following line:</p>
<p>To be able to run JTReg tests, <code>configure</code> needs to know
where to find the JTReg test framework. If it is not picked up
automatically by configure, use the
<code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to
the JTReg framework. Note that this option should point to the JTReg
home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.
(An alternative is to set the <code>JT_HOME</code> environment variable
to point to the JTReg home before running <code>configure</code>.)</p>
<p>To be able to run microbenchmarks, <code>configure</code> needs to
know where to find the JMH dependency. Use
<code>--with-jmh=&lt;path to JMH jars&gt;</code> to point to a directory
containing the core JMH and transitive dependencies. The recommended
dependencies can be retrieved by running
<code>sh make/devkit/createJMHBundle.sh</code>, after which
<code>--with-jmh=build/jmh/jars</code> should work.</p>
<p>When tests fail or timeout, jtreg runs its failure handler to capture
necessary data from the system where the test was run. This data can
then be used to analyze the test failures. Collecting this data involves
running various commands (which are listed in files residing in
<code>test/failure_handler/src/share/conf</code>) and some of these
commands use <code>sudo</code>. If the system's <code>sudoers</code>
file isn't configured to allow running these commands, then it can
result in password being prompted during the failure handler execution.
Typically, when running locally, collecting this additional data isn't
always necessary. To disable running the failure handler, use
<code>--enable-jtreg-failure-handler=no</code> when running
<code>configure</code>. If, however, you want to let the failure handler
to run and don't want to be prompted for sudo password, then you can
configure your <code>sudoers</code> file appropriately. Please read the
necessary documentation of your operating system to see how to do that;
here we only show one possible way of doing that - edit the
<code>/etc/sudoers.d/sudoers</code> file to include the following
line:</p>
<pre><code>johndoe ALL=(ALL) NOPASSWD: /sbin/dmesg</code></pre>
<p>This line configures <code>sudo</code> to <em>not</em> prompt for password for the <code>/sbin/dmesg</code> command (this is one of the commands that is listed in the files at <code>test/failure_handler/src/share/conf</code>), for the user <code>johndoe</code>. Here <code>johndoe</code> is the user account under which the jtreg tests are run. Replace the username with a relevant user account of your system.</p>
<p>This line configures <code>sudo</code> to <em>not</em> prompt for
password for the <code>/sbin/dmesg</code> command (this is one of the
commands that is listed in the files at
<code>test/failure_handler/src/share/conf</code>), for the user
<code>johndoe</code>. Here <code>johndoe</code> is the user account
under which the jtreg tests are run. Replace the username with a
relevant user account of your system.</p>
<h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the <code>test</code> make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, <code>test-only</code> can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<p>All functionality is available using the <code>test</code> make
target. In this use case, the test or tests to be executed is controlled
using the <code>TEST</code> variable. To speed up subsequent test runs
with no source code changes, <code>test-only</code> can be used instead,
which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been
generated. This includes all JTReg test groups, the hotspot gtest, and
custom tests (if present). This means that <code>make test-tier1</code>
is equivalent to <code>make test TEST="tier1"</code>, but the latter is
more tab-completion friendly. For more complex test runs, the
<code>test TEST="x"</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into
fully qualified test descriptors, which clearly and unambigously show
which tests will be run. As an example, <code>:tier1</code> will expand
to
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>.
You can always submit a list of fully qualified test descriptors in the
<code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
<p>Ideally, all tests are run for every change but this may not be practical due to the limited testing resources, the scope of the change, etc.</p>
<p>The source tree currently defines a few common test groups in the relevant <code>TEST.groups</code> files. There are test groups that cover a specific component, for example <code>hotspot_gc</code>. It is a good idea to look into <code>TEST.groups</code> files to get a sense what tests are relevant to a particular JDK component.</p>
<p>Component-specific tests may miss some unintended consequences of a change, so other tests should also be run. Again, it might be impractical to run all tests, and therefore <em>tiered</em> test groups exist. Tiered test groups are not component-specific, but rather cover the significant parts of the entire JDK.</p>
<p>Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain progressively more thorough, slower, and sometimes less stable tests, or the tests that require special configuration.</p>
<p>Contributors are expected to run the tests for the areas that are changed, and the first N tiers they can afford to run, but at least tier1.</p>
<p>Ideally, all tests are run for every change but this may not be
practical due to the limited testing resources, the scope of the change,
etc.</p>
<p>The source tree currently defines a few common test groups in the
relevant <code>TEST.groups</code> files. There are test groups that
cover a specific component, for example <code>hotspot_gc</code>. It is a
good idea to look into <code>TEST.groups</code> files to get a sense
what tests are relevant to a particular JDK component.</p>
<p>Component-specific tests may miss some unintended consequences of a
change, so other tests should also be run. Again, it might be
impractical to run all tests, and therefore <em>tiered</em> test groups
exist. Tiered test groups are not component-specific, but rather cover
the significant parts of the entire JDK.</p>
<p>Multiple tiers allow balancing test coverage and testing costs. Lower
test tiers are supposed to contain the simpler, quicker and more stable
tests. Higher tiers are supposed to contain progressively more thorough,
slower, and sometimes less stable tests, or the tests that require
special configuration.</p>
<p>Contributors are expected to run the tests for the areas that are
changed, and the first N tiers they can afford to run, but at least
tier1.</p>
<p>A brief description of the tiered test groups:</p>
<ul>
<li><p><code>tier1</code>: This is the lowest test tier. Multiple developers run these tests every day. Because of the widespread use, the tests in <code>tier1</code> are carefully selected and optimized to run fast, and to run in the most stable manner. The test failures in <code>tier1</code> are usually followed up on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows, if enabled, run <code>tier1</code> tests.</p></li>
<li><p><code>tier2</code>: This test group covers even more ground. These contain, among other things, tests that either run for too long to be at <code>tier1</code>, or may require special configuration, or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components (for example, XML).</p></li>
<li><p><code>tier3</code>: This test group includes more stressful tests, the tests for corner cases not covered by previous tiers, plus the tests that require GUIs. As such, this suite should either be run with low concurrency (<code>TEST_JOBS=1</code>), or without headful tests (<code>JTREG_KEYWORDS=\!headful</code>), or both.</p></li>
<li><p><code>tier4</code>: This test group includes every other test not covered by previous tiers. It includes, for example, <code>vmTestbase</code> suites for Hotspot, which run for many hours even on large machines. It also runs GUI tests, so the same <code>TEST_JOBS</code> and <code>JTREG_KEYWORDS</code> caveats apply.</p></li>
<li><p><code>tier1</code>: This is the lowest test tier. Multiple
developers run these tests every day. Because of the widespread use, the
tests in <code>tier1</code> are carefully selected and optimized to run
fast, and to run in the most stable manner. The test failures in
<code>tier1</code> are usually followed up on quickly, either with
fixes, or adding relevant tests to problem list. GitHub Actions
workflows, if enabled, run <code>tier1</code> tests.</p></li>
<li><p><code>tier2</code>: This test group covers even more ground.
These contain, among other things, tests that either run for too long to
be at <code>tier1</code>, or may require special configuration, or tests
that are less stable, or cover the broader range of non-core JVM and JDK
features/components(for example, XML).</p></li>
<li><p><code>tier3</code>: This test group includes more stressful
tests, the tests for corner cases not covered by previous tiers, plus
the tests that require GUIs. As such, this suite should either be run
with low concurrency (<code>TEST_JOBS=1</code>), or without headful
tests(<code>JTREG_KEYWORDS=\!headful</code>), or both.</p></li>
<li><p><code>tier4</code>: This test group includes every other test not
covered by previous tiers. It includes, for example,
<code>vmTestbase</code> suites for Hotspot, which run for many hours
even on large machines. It also runs GUI tests, so the same
<code>TEST_JOBS</code> and <code>JTREG_KEYWORDS</code> caveats
apply.</p></li>
</ul>
<h3 id="jtreg">JTReg</h3>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests. Documentation can be found at <a href="https://openjdk.org/jtreg/">https://openjdk.org/jtreg/</a>, note especially the extensive <a href="https://openjdk.org/jtreg/faq.html">FAQ</a>.</p>
<p>JTReg test groups can be specified either without a test root, e.g. <code>:tier1</code> (or <code>tier1</code>, the initial colon is optional), or with, e.g. <code>hotspot:tier1</code>, <code>test/jdk:jdk_util</code> or <code>$(TOPDIR)/test/hotspot/jtreg:hotspot_all</code>. The test root can be specified either as an absolute path, or a path relative to the JDK top directory, or the <code>test</code> directory. For simplicity, the hotspot JTReg test root, which really is <code>hotspot/jtreg</code> can be abbreviated as just <code>hotspot</code>.</p>
<p>When specified without a test root, all matching groups from all test roots will be added. Otherwise, only the group from the specified test root will be added.</p>
<p>Individual JTReg tests or directories containing JTReg tests can also be specified, like <code>test/hotspot/jtreg/native_sanity/JniVersion.java</code> or <code>hotspot/jtreg/native_sanity</code>. Just like for test root selection, you can either specify an absolute path (which can even point to JTReg tests outside the source tree), or a path relative to either the JDK top directory or the <code>test</code> directory. <code>hotspot</code> can be used as an alias for <code>hotspot/jtreg</code> here as well.</p>
<p>As long as the test groups or test paths can be uniquely resolved, you do not need to enter the <code>jtreg:</code> prefix. If this is not possible, or if you want to use a fully qualified test descriptor, add <code>jtreg:</code>, e.g. <code>jtreg:test/hotspot/jtreg/native_sanity</code>.</p>
<p>JTReg tests can be selected either by picking a JTReg test group, or
a selection of files or directories containing JTReg tests.
Documentation can be found at <a
href="https://openjdk.org/jtreg/">https://openjdk.org/jtreg/</a>, note
especially the extensive <a
href="https://openjdk.org/jtreg/faq.html">FAQ</a>.</p>
<p>JTReg test groups can be specified either without a test root, e.g.
<code>:tier1</code> (or <code>tier1</code>, the initial colon is
optional), or with, e.g. <code>hotspot:tier1</code>,
<code>test/jdk:jdk_util</code> or
<code>$(TOPDIR)/test/hotspot/jtreg:hotspot_all</code>. The test root can
be specified either as an absolute path, or a path relative to the JDK
top directory, or the <code>test</code> directory. For simplicity, the
hotspot JTReg test root, which really is <code>hotspot/jtreg</code> can
be abbreviated as just <code>hotspot</code>.</p>
<p>When specified without a test root, all matching groups from all test
roots will be added. Otherwise, only the group from the specified test
root will be added.</p>
<p>Individual JTReg tests or directories containing JTReg tests can also
be specified, like
<code>test/hotspot/jtreg/native_sanity/JniVersion.java</code> or
<code>hotspot/jtreg/native_sanity</code>. Just like for test root
selection, you can either specify an absolute path (which can even point
to JTReg tests outside the source tree), or a path relative to either
the JDK top directory or the <code>test</code> directory.
<code>hotspot</code> can be used as an alias for
<code>hotspot/jtreg</code> here as well.</p>
<p>As long as the test groups or test paths can be uniquely resolved,
you do not need to enter the <code>jtreg:</code> prefix. If this is not
possible, or if you want to use a fully qualified test descriptor, add
<code>jtreg:</code>, e.g.
<code>jtreg:test/hotspot/jtreg/native_sanity</code>.</p>
<h3 id="gtest">Gtest</h3>
<p>Since the Hotspot Gtest suite is so quick, the default is to run all tests. This is specified by just <code>gtest</code>, or as a fully qualified test descriptor <code>gtest:all</code>.</p>
<p>If you want, you can single out an individual test or a group of tests, for instance <code>gtest:LogDecorations</code> or <code>gtest:LogDecorations.level_test_vm</code>. This can be particularly useful if you want to run a shaky test repeatedly.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no variant, gtest will run once for each JVM variant present (e.g. server, client). So if you only have the server JVM present, then <code>gtest:all</code> will be equivalent to <code>gtest:all/server</code>.</p>
<p><strong>Note:</strong> To be able to run the Gtest suite, you need to
configure your build to be able to find a proper version of the gtest
source. For details, see the section <a
href="building.html#running-tests">"Running Tests" in the build
documentation</a>.</p>
<p>Since the Hotspot Gtest suite is so quick, the default is to run all
tests. This is specified by just <code>gtest</code>, or as a fully
qualified test descriptor <code>gtest:all</code>.</p>
<p>If you want, you can single out an individual test or a group of
tests, for instance <code>gtest:LogDecorations</code> or
<code>gtest:LogDecorations.level_test_vm</code>. This can be
particularly useful if you want to run a shaky test repeatedly.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The
JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the
test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no
variant, gtest will run once for each JVM variant present (e.g. server,
client). So if you only have the server JVM present, then
<code>gtest:all</code> will be equivalent to
<code>gtest:all/server</code>.</p>
<h3 id="microbenchmarks">Microbenchmarks</h3>
<p>Which microbenchmarks to run is selected using a regular expression following the <code>micro:</code> test descriptor, e.g., <code>micro:java.lang.reflect</code>. This delegates the test selection to JMH, meaning package name, class name and even benchmark method names can be used to select tests.</p>
<p>Using special characters like <code>|</code> in the regular expression is possible, but needs to be escaped multiple times: <code>micro:ArrayCopy\\\\\|reflect</code>.</p>
<p>Which microbenchmarks to run is selected using a regular expression
following the <code>micro:</code> test descriptor, e.g.,
<code>micro:java.lang.reflect</code>. This delegates the test selection
to JMH, meaning package name, class name and even benchmark method names
can be used to select tests.</p>
<p>Using special characters like <code>|</code> in the regular
expression is possible, but needs to be escaped multiple times:
<code>micro:ArrayCopy\\\\\|reflect</code>.</p>
<h3 id="special-tests">Special tests</h3>
<p>A handful of odd tests that are not covered by any other testing framework are accessible using the <code>special:</code> test descriptor. Currently, this includes <code>failure-handler</code> and <code>make</code>.</p>
<p>A handful of odd tests that are not covered by any other testing
framework are accessible using the <code>special:</code> test
descriptor. Currently, this includes <code>failure-handler</code> and
<code>make</code>.</p>
<ul>
<li><p>Failure handler testing is run using <code>special:failure-handler</code> or just <code>failure-handler</code> as test descriptor.</p></li>
<li><p>Tests for the build system, including both makefiles and related functionality, is run using <code>special:make</code> or just <code>make</code> as test descriptor. This is equivalent to <code>special:make:all</code>.</p>
<p>A specific make test can be run by supplying it as argument, e.g. <code>special:make:idea</code>. As a special syntax, this can also be expressed as <code>make-idea</code>, which allows for command lines as <code>make test-make-idea</code>.</p></li>
<li><p>Failure handler testing is run using
<code>special:failure-handler</code> or just
<code>failure-handler</code> as test descriptor.</p></li>
<li><p>Tests for the build system, including both makefiles and related
functionality, is run using <code>special:make</code> or just
<code>make</code> as test descriptor. This is equivalent to
<code>special:make:all</code>.</p>
<p>A specific make test can be run by supplying it as argument, e.g.
<code>special:make:idea</code>. As a special syntax, this can also be
expressed as <code>make-idea</code>, which allows for command lines as
<code>make test-make-idea</code>.</p></li>
</ul>
<h2 id="test-results-and-summary">Test results and summary</h2>
<p>At the end of the test run, a summary of all tests run will be presented. This will have a consistent look, regardless of what test suites were used. This is a sample summary:</p>
<p>At the end of the test run, a summary of all tests run will be
presented. This will have a consistent look, regardless of what test
suites were used. This is a sample summary:</p>
<pre><code>==============================
Test summary
==============================
@@ -116,20 +324,61 @@ Test summary
jtreg:nashorn/test:tier1 133 133 0 0
==============================
TEST FAILURE</code></pre>
<p>Tests where the number of TOTAL tests does not equal the number of PASSed tests will be considered a test failure. These are marked with the <code>&gt;&gt; ... &lt;&lt;</code> marker for easy identification.</p>
<p>The classification of non-passed tests differs a bit between test suites. In the summary, ERROR is used as a catch-all for tests that neither passed nor are classified as failed by the framework. This might indicate test framework error, timeout or other problems.</p>
<p>In case of test failures, <code>make test</code> will exit with a non-zero exit value.</p>
<p>All tests have their result stored in <code>build/$BUILD/test-results/$TEST_ID</code>, where TEST_ID is a path-safe conversion from the fully qualified test descriptor, e.g. for <code>jtreg:jdk/test:tier1</code> the TEST_ID is <code>jtreg_jdk_test_tier1</code>. This path is also printed in the log at the end of the test run.</p>
<p>Additional work data is stored in <code>build/$BUILD/test-support/$TEST_ID</code>. For some frameworks, this directory might contain information that is useful in determining the cause of a failed test.</p>
<p>Tests where the number of TOTAL tests does not equal the number of
PASSed tests will be considered a test failure. These are marked with
the <code>&gt;&gt; ... &lt;&lt;</code> marker for easy
identification.</p>
<p>The classification of non-passed tests differs a bit between test
suites. In the summary, ERROR is used as a catch-all for tests that
neither passed nor are classified as failed by the framework. This might
indicate test framework error, timeout or other problems.</p>
<p>In case of test failures, <code>make test</code> will exit with a
non-zero exit value.</p>
<p>All tests have their result stored in
<code>build/$BUILD/test-results/$TEST_ID</code>, where TEST_ID is a
path-safe conversion from the fully qualified test descriptor, e.g. for
<code>jtreg:jdk/test:tier1</code> the TEST_ID is
<code>jtreg_jdk_test_tier1</code>. This path is also printed in the log
at the end of the test run.</p>
<p>Additional work data is stored in
<code>build/$BUILD/test-support/$TEST_ID</code>. For some frameworks,
this directory might contain information that is useful in determining
the cause of a failed test.</p>
<h2 id="test-suite-control">Test suite control</h2>
<p>It is possible to control various aspects of the test suites using make control variables.</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG=&quot;JOBS=1;TIMEOUT_FACTOR=8&quot;</code> will set the JTReg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT_FACTOR=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG=&quot;TMIEOUT_FACTOR=8&quot;</code> would give an error, while <code>JTREG_TMIEOUT_FACTOR=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG=&quot;...;...&quot;</code>. This will also make sure spaces are preserved, as in <code>JTREG=&quot;JAVA_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT_FACTOR=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=JAVA_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
<p>It is possible to control various aspects of the test suites using
make control variables.</p>
<p>These variables use a keyword=value approach to allow multiple values
to be set. So, for instance,
<code>JTREG="JOBS=1;TIMEOUT_FACTOR=8"</code> will set the JTReg
concurrency level to 1 and the timeout factor to 8. This is equivalent
to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT_FACTOR=8</code>, but using
the keyword format means that the <code>JTREG</code> variable is parsed
and verified for correctness, so <code>JTREG="TMIEOUT_FACTOR=8"</code>
would give an error, while <code>JTREG_TMIEOUT_FACTOR=8</code> would
just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code>
(semicolon). Since the shell normally eats <code>;</code>, the
recommended usage is to write the assignment inside qoutes, e.g.
<code>JTREG="...;..."</code>. This will also make sure spaces are
preserved, as in
<code>JTREG="JAVA_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"</code>.</p>
<p>(Other ways are possible, e.g. using backslash:
<code>JTREG=JOBS=1\;TIMEOUT_FACTOR=8</code>. Also, as a special
technique, the string <code>%20</code> will be replaced with space for
certain options, e.g.
<code>JTREG=JAVA_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>.
This can be useful if you have layers of scripts and have trouble
getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized
between test suites.</p>
<h3 id="general-keywords-test_opts">General keywords (TEST_OPTS)</h3>
<p>Some keywords are valid across different test suites. If you want to run tests from multiple test suites, or just don't want to care which test suite specific control variable to use, then you can use the general TEST_OPTS control variable.</p>
<p>There are also some keywords that applies globally to the test runner system, not to any specific test suites. These are also available as TEST_OPTS keywords.</p>
<p>Some keywords are valid across different test suites. If you want to
run tests from multiple test suites, or just don't want to care which
test suite specific control variable to use, then you can use the
general TEST_OPTS control variable.</p>
<p>There are also some keywords that applies globally to the test runner
system, not to any specific test suites. These are also available as
TEST_OPTS keywords.</p>
<h4 id="jobs">JOBS</h4>
<p>Currently only applies to JTReg.</p>
<h4 id="timeout_factor">TIMEOUT_FACTOR</h4>
@@ -141,28 +390,57 @@ TEST FAILURE</code></pre>
<h4 id="aot_modules">AOT_MODULES</h4>
<p>Applies to JTReg and GTest.</p>
<h4 id="jcov">JCOV</h4>
<p>This keywords applies globally to the test runner system. If set to <code>true</code>, it enables JCov coverage reporting for all tests run. To be useful, the JDK under test must be run with a JDK built with JCov instrumentation (<code>configure --with-jcov=&lt;path to directory containing lib/jcov.jar&gt;</code>, <code>make jcov-image</code>).</p>
<p>The simplest way to run tests with JCov coverage report is to use the special target <code>jcov-test</code> instead of <code>test</code>, e.g. <code>make jcov-test TEST=jdk_lang</code>. This will make sure the JCov image is built, and that JCov reporting is enabled.</p>
<p>The JCov report is stored in <code>build/$BUILD/test-results/jcov-output/report</code>.</p>
<p>Please note that running with JCov reporting can be very memory intensive.</p>
<p>This keywords applies globally to the test runner system. If set to
<code>true</code>, it enables JCov coverage reporting for all tests run.
To be useful, the JDK under test must be run with a JDK built with JCov
instrumentation
(<code>configure --with-jcov=&lt;path to directory containing lib/jcov.jar&gt;</code>,
<code>make jcov-image</code>).</p>
<p>The simplest way to run tests with JCov coverage report is to use the
special target <code>jcov-test</code> instead of <code>test</code>, e.g.
<code>make jcov-test TEST=jdk_lang</code>. This will make sure the JCov
image is built, and that JCov reporting is enabled.</p>
<p>The JCov report is stored in
<code>build/$BUILD/test-results/jcov-output/report</code>.</p>
<p>Please note that running with JCov reporting can be very memory
intensive.</p>
<h4 id="jcov_diff_changeset">JCOV_DIFF_CHANGESET</h4>
<p>While collecting code coverage with JCov, it is also possible to find coverage for only recently changed code. JCOV_DIFF_CHANGESET specifies a source revision. A textual report will be generated showing coverage of the diff between the specified revision and the repository tip.</p>
<p>The report is stored in <code>build/$BUILD/test-results/jcov-output/diff_coverage_report</code> file.</p>
<p>While collecting code coverage with JCov, it is also possible to find
coverage for only recently changed code. JCOV_DIFF_CHANGESET specifies a
source revision. A textual report will be generated showing coverage of
the diff between the specified revision and the repository tip.</p>
<p>The report is stored in
<code>build/$BUILD/test-results/jcov-output/diff_coverage_report</code>
file.</p>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<h4 id="jobs-1">JOBS</h4>
<p>The test concurrency (<code>-concurrency</code>).</p>
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em>, but never more than <em>memory size in GB/2</em>.</p>
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>),
otherwise it defaults to JOBS, except for Hotspot, where the default is
<em>number of CPU cores/2</em>, but never more than <em>memory size in
GB/2</em>.</p>
<h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p>
<h4 id="failure_handler_timeout">FAILURE_HANDLER_TIMEOUT</h4>
<p>Sets the argument <code>-timeoutHandlerTimeout</code> for JTReg. The default value is 0. This is only valid if the failure handler is built.</p>
<p>Sets the argument <code>-timeoutHandlerTimeout</code> for JTReg. The
default value is 0. This is only valid if the failure handler is
built.</p>
<h4 id="jtreg_test_thread_factory">JTREG_TEST_THREAD_FACTORY</h4>
<p>Sets the <code>-testThreadFactory</code> for JTReg. It should be the
fully qualified classname of a class which implements
<code>java.util.concurrent.ThreadFactory</code>. One such implementation
class, named Virtual, is currently part of the JDK build in the
<code>test/jtreg_test_thread_factory/</code> directory. This class gets
compiled during the test image build. The implementation of the Virtual
class creates a new virtual thread for executing each test class.</p>
<h4 id="test_mode">TEST_MODE</h4>
<p>The test mode (<code>agentvm</code> or <code>othervm</code>).</p>
<p>Defaults to <code>agentvm</code>.</p>
<h4 id="assert">ASSERT</h4>
<p>Enable asserts (<code>-ea -esa</code>, or none).</p>
<p>Set to <code>true</code> or <code>false</code>. If true, adds <code>-ea -esa</code>. Defaults to true, except for hotspot.</p>
<p>Set to <code>true</code> or <code>false</code>. If true, adds
<code>-ea -esa</code>. Defaults to true, except for hotspot.</p>
<h4 id="verbose">VERBOSE</h4>
<p>The verbosity level (<code>-verbose</code>).</p>
<p>Defaults to <code>fail,error,summary</code>.</p>
@@ -170,92 +448,200 @@ TEST FAILURE</code></pre>
<p>What test data to retain (<code>-retain</code>).</p>
<p>Defaults to <code>fail,error</code>.</p>
<h4 id="max_mem">MAX_MEM</h4>
<p>Limit memory consumption (<code>-Xmx</code> and <code>-vmoption:-Xmx</code>, or none).</p>
<p>Limit memory consumption for JTReg test framework and VM under test. Set to 0 to disable the limits.</p>
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).</p>
<p>Limit memory consumption (<code>-Xmx</code> and
<code>-vmoption:-Xmx</code>, or none).</p>
<p>Limit memory consumption for JTReg test framework and VM under test.
Set to 0 to disable the limits.</p>
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no
limit).</p>
<h4 id="max_output">MAX_OUTPUT</h4>
<p>Set the property <code>javatest.maxOutputSize</code> for the launcher, to change the default JTReg log limit.</p>
<p>Set the property <code>javatest.maxOutputSize</code> for the
launcher, to change the default JTReg log limit.</p>
<h4 id="keywords">KEYWORDS</h4>
<p>JTReg keywords sent to JTReg using <code>-k</code>. Please be careful in making sure that spaces and special characters (like <code>!</code>) are properly quoted. To avoid some issues, the special value <code>%20</code> can be used instead of space.</p>
<p>JTReg keywords sent to JTReg using <code>-k</code>. Please be careful
in making sure that spaces and special characters (like <code>!</code>)
are properly quoted. To avoid some issues, the special value
<code>%20</code> can be used instead of space.</p>
<h4 id="extra_problem_lists">EXTRA_PROBLEM_LISTS</h4>
<p>Use additional problem lists file or files, in addition to the default ProblemList.txt located at the JTReg test roots.</p>
<p>If multiple file names are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<p>The file names should be either absolute, or relative to the JTReg test root of the tests to be run.</p>
<p>Use additional problem lists file or files, in addition to the
default ProblemList.txt located at the JTReg test roots.</p>
<p>If multiple file names are specified, they should be separated by
space (or, to help avoid quoting issues, the special value
<code>%20</code>).</p>
<p>The file names should be either absolute, or relative to the JTReg
test root of the tests to be run.</p>
<h4 id="run_problem_lists">RUN_PROBLEM_LISTS</h4>
<p>Use the problem lists to select tests instead of excluding them.</p>
<p>Set to <code>true</code> or <code>false</code>. If <code>true</code>, JTReg will use <code>-match:</code> option, otherwise <code>-exclude:</code> will be used. Default is <code>false</code>.</p>
<p>Set to <code>true</code> or <code>false</code>. If <code>true</code>,
JTReg will use <code>-match:</code> option, otherwise
<code>-exclude:</code> will be used. Default is <code>false</code>.</p>
<h4 id="options">OPTIONS</h4>
<p>Additional options to the JTReg test framework.</p>
<p>Use <code>JTREG=&quot;OPTIONS=--help all&quot;</code> to see all available JTReg options.</p>
<p>Use <code>JTREG="OPTIONS=--help all"</code> to see all available
JTReg options.</p>
<h4 id="java_options-1">JAVA_OPTIONS</h4>
<p>Additional Java options for running test classes (sent to JTReg as <code>-javaoption</code>).</p>
<p>Additional Java options for running test classes (sent to JTReg as
<code>-javaoption</code>).</p>
<h4 id="vm_options-1">VM_OPTIONS</h4>
<p>Additional Java options to be used when compiling and running classes (sent to JTReg as <code>-vmoption</code>).</p>
<p>This option is only needed in special circumstances. To pass Java options to your test classes, use <code>JAVA_OPTIONS</code>.</p>
<p>Additional Java options to be used when compiling and running classes
(sent to JTReg as <code>-vmoption</code>).</p>
<p>This option is only needed in special circumstances. To pass Java
options to your test classes, use <code>JAVA_OPTIONS</code>.</p>
<h4 id="launcher_options">LAUNCHER_OPTIONS</h4>
<p>Additional Java options that are sent to the java launcher that starts the JTReg harness.</p>
<p>Additional Java options that are sent to the java launcher that
starts the JTReg harness.</p>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<p>Generate AOT modules before testing for the specified module, or set
of modules. If multiple modules are specified, they should be separated
by space (or, to help avoid quoting issues, the special value
<code>%20</code>).</p>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times, until they pass. This allows to pass the tests with intermittent failures. Defaults to 0.</p>
<p>Retry failed tests up to a set number of times, until they pass. This
allows to pass the tests with intermittent failures. Defaults to 0.</p>
<h4 id="repeat_count">REPEAT_COUNT</h4>
<p>Repeat the tests up to a set number of times, stopping at first failure. This helps to reproduce intermittent test failures. Defaults to 0.</p>
<p>Repeat the tests up to a set number of times, stopping at first
failure. This helps to reproduce intermittent test failures. Defaults to
0.</p>
<h4 id="report">REPORT</h4>
<p>Use this report style when reporting test results (sent to JTReg as
<code>-report</code>). Defaults to <code>files</code>.</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
<p>Default is 1. Set to -1 to repeat indefinitely. This can be especially useful combined with <code>OPTIONS=--gtest_break_on_failure</code> to reproduce an intermittent problem.</p>
<p>The number of times to repeat the tests
(<code>--gtest_repeat</code>).</p>
<p>Default is 1. Set to -1 to repeat indefinitely. This can be
especially useful combined with
<code>OPTIONS=--gtest_break_on_failure</code> to reproduce an
intermittent problem.</p>
<h4 id="options-1">OPTIONS</h4>
<p>Additional options to the Gtest test framework.</p>
<p>Use <code>GTEST=&quot;OPTIONS=--help&quot;</code> to see all available Gtest options.</p>
<p>Use <code>GTEST="OPTIONS=--help"</code> to see all available Gtest
options.</p>
<h4 id="aot_modules-2">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<p>Generate AOT modules before testing for the specified module, or set
of modules. If multiple modules are specified, they should be separated
by space (or, to help avoid quoting issues, the special value
<code>%20</code>).</p>
<h3 id="microbenchmark-keywords">Microbenchmark keywords</h3>
<h4 id="fork">FORK</h4>
<p>Override the number of benchmark forks to spawn. Same as specifying <code>-f &lt;num&gt;</code>.</p>
<p>Override the number of benchmark forks to spawn. Same as specifying
<code>-f &lt;num&gt;</code>.</p>
<h4 id="iter">ITER</h4>
<p>Number of measurement iterations per fork. Same as specifying <code>-i &lt;num&gt;</code>.</p>
<p>Number of measurement iterations per fork. Same as specifying
<code>-i &lt;num&gt;</code>.</p>
<h4 id="time">TIME</h4>
<p>Amount of time to spend in each measurement iteration, in seconds. Same as specifying <code>-r &lt;num&gt;</code></p>
<p>Amount of time to spend in each measurement iteration, in seconds.
Same as specifying <code>-r &lt;num&gt;</code></p>
<h4 id="warmup_iter">WARMUP_ITER</h4>
<p>Number of warmup iterations to run before the measurement phase in each fork. Same as specifying <code>-wi &lt;num&gt;</code>.</p>
<p>Number of warmup iterations to run before the measurement phase in
each fork. Same as specifying <code>-wi &lt;num&gt;</code>.</p>
<h4 id="warmup_time">WARMUP_TIME</h4>
<p>Amount of time to spend in each warmup iteration. Same as specifying <code>-w &lt;num&gt;</code>.</p>
<p>Amount of time to spend in each warmup iteration. Same as specifying
<code>-w &lt;num&gt;</code>.</p>
<h4 id="results_format">RESULTS_FORMAT</h4>
<p>Specify to have the test run save a log of the values. Accepts the same values as <code>-rff</code>, i.e., <code>text</code>, <code>csv</code>, <code>scsv</code>, <code>json</code>, or <code>latex</code>.</p>
<p>Specify to have the test run save a log of the values. Accepts the
same values as <code>-rff</code>, i.e., <code>text</code>,
<code>csv</code>, <code>scsv</code>, <code>json</code>, or
<code>latex</code>.</p>
<h4 id="vm_options-2">VM_OPTIONS</h4>
<p>Additional VM arguments to provide to forked off VMs. Same as <code>-jvmArgs &lt;args&gt;</code></p>
<p>Additional VM arguments to provide to forked off VMs. Same as
<code>-jvmArgs &lt;args&gt;</code></p>
<h4 id="options-2">OPTIONS</h4>
<p>Additional arguments to send to JMH.</p>
<h2 id="notes-for-specific-tests">Notes for Specific Tests</h2>
<h3 id="docker-tests">Docker Tests</h3>
<p>Docker tests with default parameters may fail on systems with glibc versions not compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:</p>
<p>Docker tests with default parameters may fail on systems with glibc
versions not compatible with the one used in the default docker image
(e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04
but fail on Ubuntu 18.04 if run like this on x86:</p>
<pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot;</code></pre>
<p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
<p>To run these tests correctly, additional parameters for the correct
docker image are required on Ubuntu 18.04 by using
<code>JAVA_OPTIONS</code>.</p>
<pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot; \
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu
-Djdk.test.docker.image.version=latest&quot;</code></pre>
<h3 id="non-us-locale">Non-US locale</h3>
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG=&quot;en_US&quot;</code> in the environment before running tests should work. On Windows or MacOS, setting <code>JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot;</code> helps for most, but not all test cases.</p>
<p>If your locale is non-US, some tests are likely to fail. To work
around this you can set the locale to US. On Unix platforms simply
setting <code>LANG="en_US"</code> in the environment before running
tests should work. On Windows or MacOS, setting
<code>JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"</code>
helps for most, but not all test cases.</p>
<p>For example:</p>
<pre><code>$ export LANG=&quot;en_US&quot; &amp;&amp; make test TEST=...
$ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TEST=...</code></pre>
<h3 id="pkcs11-tests">PKCS11 Tests</h3>
<p>It is highly recommended to use the latest NSS version when running PKCS11 tests. Improper NSS version may lead to unexpected failures which are hard to diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04 with the default NSS version in the system. To run these tests correctly, the system property <code>test.nss.lib.paths</code> is required on Ubuntu 18.04 to specify the alternative NSS lib directories.</p>
<p>It is highly recommended to use the latest NSS version when running
PKCS11 tests. Improper NSS version may lead to unexpected failures which
are hard to diagnose. For example,
sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04
with the default NSS version in the system. To run these tests
correctly, the system property <code>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to test/jdk/sun/security/pkcs11/README.</p>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect &quot;Turn keyboard access on or off&quot; option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for &quot;Turn off Windows key hotkeys&quot; and double click on it; enable or disable hotkeys.</p>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the
operating system. Usually that causes the test failure. So it is highly
recommended to disable system key shortcuts prior testing. The steps to
access and disable system key shortcuts for various platforms are
provided below.</p>
<h5 id="macos">macOS</h5>
<p>Choose Apple menu; System Preferences, click Keyboard, then click
Shortcuts; select or deselect desired shortcut.</p>
<p>For example,
test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java
fails on MacOS because it uses <code>CTRL + F1</code> key sequence to
show or hide tooltip message but the key combination is reserved by the
operating system. To run the test correctly the default global key
shortcut should be disabled using the steps described above, and then
deselect "Turn keyboard access on or off" option which is responsible
for <code>CTRL + F1</code> combination.</p>
<h5 id="linux">Linux</h5>
<p>Open the Activities overview and start typing Settings; Choose
Settings, click Devices, then click Keyboard; set or override desired
shortcut.</p>
<h5 id="windows">Windows</h5>
<p>Type <code>gpedit</code> in the Search and then click Edit group
policy; navigate to User Configuration -&gt; Administrative Templates
-&gt; Windows Components -&gt; File Explorer; in the right-side pane
look for "Turn off Windows key hotkeys" and double click on it; enable
or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
<h4 id="robot-api">Robot API</h4>
<p>Most automated Client UI tests use <code>Robot</code> API to control
the UI. Usually, the default operating system settings need to be
adjusted for Robot to work correctly. The detailed steps how to access
and update these settings for different platforms are provided
below.</p>
<h5 id="macos-1">macOS</h5>
<p><code>Robot</code> is not permitted to control your Mac by default
since macOS 10.15. To allow it, choose Apple menu -&gt; System Settings,
click Privacy &amp; Security; then click Accessibility and ensure the
following apps are allowed to control your computer: <em>Java</em> and
<em>Terminal</em>. If the tests are run from an IDE, the IDE should be
granted this permission too.</p>
<h5 id="windows-1">Windows</h5>
<p>On Windows if Cygwin terminal is used to run the tests, there is a
delay in focus transfer. Usually it causes automated UI test failure. To
disable the delay, type <code>regedit</code> in the Search and then
select Registry Editor; navigate to the following key:
<code>HKEY_CURRENT_USER\Control Panel\Desktop</code>; make sure the
<code>ForegroundLockTimeout</code> value is set to 0.</p>
<p>Additional information about Client UI tests configuration for
various operating systems can be obtained at <a
href="https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements">Automated
client GUI testing system set up requirements</a></p>
<h2 id="editing-this-document">Editing this document</h2>
<p>If you want to contribute changes to this document, edit <code>doc/testing.md</code> and then run <code>make update-build-docs</code> to generate the same changes in <code>doc/testing.html</code>.</p>
<p>If you want to contribute changes to this document, edit
<code>doc/testing.md</code> and then run
<code>make update-build-docs</code> to generate the same changes in
<code>doc/testing.html</code>.</p>
</body>
</html>

View File

@@ -1,21 +1,26 @@
% Testing the JDK
## Using "make test" (the run-test framework)
## Overview
This new way of running tests is developer-centric. It assumes that you have
built a JDK locally and want to test it. Running common test targets is simple,
and more complex ad-hoc combination of tests is possible. The user interface is
forgiving, and clearly report errors it cannot resolve.
The bulk of JDK tests use [jtreg](https://openjdk.org/jtreg/), a regression
test framework and test runner built for the JDK's specific needs. Other test
frameworks are also used. The different test frameworks can be executed
directly, but there is also a set of make targets intended to simplify the
interface, and figure out how to run your tests for you.
The main target `test` uses the jdk-image as the tested product. There is
also an alternate target `exploded-test` that uses the exploded image
instead. Not all tests will run successfully on the exploded image, but using
this target can greatly improve rebuild times for certain workflows.
## Running tests locally with `make test`
Previously, `make test` was used to invoke an old system for running tests, and
`make run-test` was used for the new test framework. For backward compatibility
with scripts and muscle memory, `run-test` (and variants like
`exploded-run-test` or `run-test-tier1`) are kept as aliases.
This is the easiest way to get started. Assuming you've built the JDK locally,
execute:
$ make test
This will run a default set of tests against the JDK, and present you with the
results. `make test` is part of a family of test-related make targets which
simplify running tests, because they invoke the various test frameworks for
you. The "make test framework" is simple to start with, but more complex
ad-hoc combination of tests is also possible. You can always invoke the test
frameworks directly if you want even more control.
Some example command-lines:
@@ -28,6 +33,20 @@ Some example command-lines:
$ make test TEST="micro:java.lang.reflect" MICRO="FORK=1;WARMUP_ITER=2"
$ make exploded-test TEST=tier2
"tier1" and "tier2" refer to tiered testing, see further down. "TEST" is a
test selection argument which the make test framework will use to try to
find the tests you want. It iterates over the available test frameworks, and
if the test isn't present in one, it tries the next one. The main target
`test` uses the jdk-image as the tested product. There is also an alternate
target `exploded-test` that uses the exploded image instead. Not all tests
will run successfully on the exploded image, but using this target can
greatly improve rebuild times for certain workflows.
Previously, `make test` was used to invoke an old system for running tests,
and `make run-test` was used for the new test framework. For backward
compatibility with scripts and muscle memory, `run-test` and variants like
`exploded-run-test` or `run-test-tier1` are kept as aliases.
### Configuration
To be able to run JTReg tests, `configure` needs to know where to find the
@@ -91,54 +110,58 @@ if you want to shortcut the parser.
### Common Test Groups
Ideally, all tests are run for every change but this may not be practical due to the limited
testing resources, the scope of the change, etc.
Ideally, all tests are run for every change but this may not be practical due
to the limited testing resources, the scope of the change, etc.
The source tree currently defines a few common test groups in the relevant `TEST.groups`
files. There are test groups that cover a specific component, for example `hotspot_gc`.
It is a good idea to look into `TEST.groups` files to get a sense what tests are relevant
to a particular JDK component.
The source tree currently defines a few common test groups in the relevant
`TEST.groups` files. There are test groups that cover a specific component,
for example `hotspot_gc`. It is a good idea to look into `TEST.groups` files
to get a sense what tests are relevant to a particular JDK component.
Component-specific tests may miss some unintended consequences of a change, so other
tests should also be run. Again, it might be impractical to run all tests, and therefore
_tiered_ test groups exist. Tiered test groups are not component-specific, but rather cover
the significant parts of the entire JDK.
Component-specific tests may miss some unintended consequences of a change, so
other tests should also be run. Again, it might be impractical to run all
tests, and therefore
_tiered_ test groups exist. Tiered test groups are not component-specific, but
rather cover the significant parts of the entire JDK.
Multiple tiers allow balancing test coverage and testing costs. Lower test tiers are supposed to
contain the simpler, quicker and more stable tests. Higher tiers are supposed to contain
progressively more thorough, slower, and sometimes less stable tests, or the tests that require
special configuration.
Multiple tiers allow balancing test coverage and testing costs. Lower test
tiers are supposed to contain the simpler, quicker and more stable tests.
Higher tiers are supposed to contain progressively more thorough, slower, and
sometimes less stable tests, or the tests that require special
configuration.
Contributors are expected to run the tests for the areas that are changed, and the first N tiers
they can afford to run, but at least tier1.
Contributors are expected to run the tests for the areas that are changed, and
the first N tiers they can afford to run, but at least tier1.
A brief description of the tiered test groups:
- `tier1`: This is the lowest test tier. Multiple developers run these tests every day.
Because of the widespread use, the tests in `tier1` are carefully selected and optimized to run
fast, and to run in the most stable manner. The test failures in `tier1` are usually followed up
on quickly, either with fixes, or adding relevant tests to problem list. GitHub Actions workflows,
if enabled, run `tier1` tests.
- `tier1`: This is the lowest test tier. Multiple developers run these tests
every day. Because of the widespread use, the tests in `tier1` are
carefully selected and optimized to run fast, and to run in the most stable
manner. The test failures in `tier1` are usually followed up on quickly,
either with fixes, or adding relevant tests to problem list. GitHub Actions
workflows, if enabled, run `tier1` tests.
- `tier2`: This test group covers even more ground. These contain, among other things,
tests that either run for too long to be at `tier1`, or may require special configuration,
or tests that are less stable, or cover the broader range of non-core JVM and JDK features/components
(for example, XML).
- `tier2`: This test group covers even more ground. These contain, among other
things, tests that either run for too long to be at `tier1`, or may require
special configuration, or tests that are less stable, or cover the broader
range of non-core JVM and JDK features/components(for example, XML).
- `tier3`: This test group includes more stressful tests, the tests for corner cases
not covered by previous tiers, plus the tests that require GUIs. As such, this suite
should either be run with low concurrency (`TEST_JOBS=1`), or without headful tests
(`JTREG_KEYWORDS=\!headful`), or both.
- `tier3`: This test group includes more stressful tests, the tests for corner
cases not covered by previous tiers, plus the tests that require GUIs. As
such, this suite should either be run with low concurrency
(`TEST_JOBS=1`), or without headful tests(`JTREG_KEYWORDS=\!headful`), or
both.
- `tier4`: This test group includes every other test not covered by previous tiers. It includes,
for example, `vmTestbase` suites for Hotspot, which run for many hours even on large
machines. It also runs GUI tests, so the same `TEST_JOBS` and `JTREG_KEYWORDS` caveats
apply.
- `tier4`: This test group includes every other test not covered by previous
tiers. It includes, for example, `vmTestbase` suites for Hotspot, which run
for many hours even on large machines. It also runs GUI tests, so the same
`TEST_JOBS` and `JTREG_KEYWORDS` caveats apply.
### JTReg
JTReg tests can be selected either by picking a JTReg test group, or a selection
of files or directories containing JTReg tests. Documentation can be found at
of files or directories containing JTReg tests. Documentation can be found at
[https://openjdk.org/jtreg/](https://openjdk.org/jtreg/), note especially the
extensive [FAQ](https://openjdk.org/jtreg/faq.html).
@@ -169,6 +192,11 @@ use a fully qualified test descriptor, add `jtreg:`, e.g.
### Gtest
**Note:** To be able to run the Gtest suite, you need to configure your build to
be able to find a proper version of the gtest source. For details, see the
section ["Running Tests" in the build
documentation](building.html#running-tests).
Since the Hotspot Gtest suite is so quick, the default is to run all tests.
This is specified by just `gtest`, or as a fully qualified test descriptor
`gtest:all`.
@@ -350,6 +378,15 @@ Defaults to 4.
Sets the argument `-timeoutHandlerTimeout` for JTReg. The default value is 0.
This is only valid if the failure handler is built.
#### JTREG_TEST_THREAD_FACTORY
Sets the `-testThreadFactory` for JTReg. It should be the fully qualified classname
of a class which implements `java.util.concurrent.ThreadFactory`.
One such implementation class, named Virtual, is currently part of the JDK build
in the `test/jtreg_test_thread_factory/` directory. This class gets compiled during
the test image build. The implementation of the Virtual class creates a new virtual
thread for executing each test class.
#### TEST_MODE
The test mode (`agentvm` or `othervm`).
@@ -456,6 +493,11 @@ Repeat the tests up to a set number of times, stopping at first failure.
This helps to reproduce intermittent test failures.
Defaults to 0.
#### REPORT
Use this report style when reporting test results (sent to JTReg as `-report`).
Defaults to `files`.
### Gtest keywords
#### REPEAT
@@ -573,12 +615,14 @@ test/jdk/sun/security/pkcs11/README.
### Client UI Tests
#### System key shortcuts
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to
disable system key shortcuts prior testing. The steps to access and disable
system key shortcuts for various platforms are provided below.
#### MacOS
##### macOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
@@ -591,12 +635,12 @@ test correctly the default global key shortcut should be disabled using the
steps described above, and then deselect "Turn keyboard access on or off"
option which is responsible for `CTRL + F1` combination.
#### Linux
##### Linux
Open the Activities overview and start typing Settings; Choose Settings, click
Devices, then click Keyboard; set or override desired shortcut.
#### Windows
##### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to User
Configuration -> Administrative Templates -> Windows Components -> File
@@ -605,10 +649,37 @@ double click on it; enable or disable hotkeys.
Note: restart is required to make the settings take effect.
#### Robot API
Most automated Client UI tests use `Robot` API to control the UI. Usually,
the default operating system settings need to be adjusted for Robot
to work correctly. The detailed steps how to access and update these settings
for different platforms are provided below.
##### macOS
`Robot` is not permitted to control your Mac by default since
macOS 10.15. To allow it, choose Apple menu -> System Settings, click
Privacy & Security; then click Accessibility and ensure the following apps are
allowed to control your computer: *Java* and *Terminal*. If the tests are run
from an IDE, the IDE should be granted this permission too.
##### Windows
On Windows if Cygwin terminal is used to run the tests, there is a delay in
focus transfer. Usually it causes automated UI test failure. To disable the
delay, type `regedit` in the Search and then select Registry Editor; navigate
to the following key: `HKEY_CURRENT_USER\Control Panel\Desktop`; make sure
the `ForegroundLockTimeout` value is set to 0.
Additional information about Client UI tests configuration for various operating
systems can be obtained at [Automated client GUI testing system set up
requirements](https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements)
## Editing this document
If you want to contribute changes to this document, edit `doc/testing.md` and
then run `make update-build-docs` to generate the same changes in
If you want to contribute changes to this document, edit `doc/testing.md` and
then run `make update-build-docs` to generate the same changes in
`doc/testing.html`.
---

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2023, 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
@@ -449,7 +449,7 @@ ifneq ($(filter jcov-bundles, $(MAKECMDGOALS)), )
BUNDLE_NAME := $(JCOV_BUNDLE_NAME), \
FILES := $(JCOV_BUNDLE_FILES), \
BASE_DIRS := $(JCOV_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
SUBDIR := jdk-$(VERSION_NUMBER), \
))
JCOV_TARGETS += $(BUILD_JCOV_BUNDLE)

View File

@@ -171,41 +171,41 @@ $(BUILD_DEMO_CodePointIM_JAR): $(CODEPOINT_METAINF_SERVICE_FILE)
$(eval $(call SetupBuildDemo, FileChooserDemo, \
DEMO_SUBDIR := jfc, \
DISABLED_WARNINGS := rawtypes deprecation unchecked, \
DISABLED_WARNINGS := rawtypes deprecation unchecked this-escape, \
))
$(eval $(call SetupBuildDemo, SwingSet2, \
DEMO_SUBDIR := jfc, \
EXTRA_COPY_TO_JAR := .java, \
EXTRA_MANIFEST_ATTR := SplashScreen-Image: resources/images/splash.png, \
DISABLED_WARNINGS := rawtypes deprecation unchecked static serial cast, \
DISABLED_WARNINGS := rawtypes deprecation unchecked static serial cast this-escape, \
))
$(eval $(call SetupBuildDemo, Font2DTest, \
DISABLED_WARNINGS := rawtypes deprecation unchecked serial cast, \
DISABLED_WARNINGS := rawtypes deprecation unchecked serial cast this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, J2Ddemo, \
DEMO_SUBDIR := jfc, \
MAIN_CLASS := java2d.J2Ddemo, \
DISABLED_WARNINGS := rawtypes deprecation unchecked cast lossy-conversions, \
DISABLED_WARNINGS := rawtypes deprecation unchecked cast lossy-conversions this-escape, \
JAR_NAME := J2Ddemo, \
))
$(eval $(call SetupBuildDemo, Metalworks, \
DISABLED_WARNINGS := rawtypes unchecked, \
DISABLED_WARNINGS := rawtypes unchecked this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, Notepad, \
DISABLED_WARNINGS := rawtypes, \
DISABLED_WARNINGS := rawtypes this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, Stylepad, \
DEMO_SUBDIR := jfc, \
DISABLED_WARNINGS := rawtypes unchecked, \
DISABLED_WARNINGS := rawtypes unchecked this-escape, \
EXTRA_SRC_DIR := $(DEMO_SHARE_SRC)/jfc/Notepad, \
EXCLUDE_FILES := $(DEMO_SHARE_SRC)/jfc/Notepad/README.txt, \
))
@@ -215,11 +215,12 @@ $(eval $(call SetupBuildDemo, SampleTree, \
))
$(eval $(call SetupBuildDemo, TableExample, \
DISABLED_WARNINGS := rawtypes unchecked deprecation, \
DISABLED_WARNINGS := rawtypes unchecked deprecation this-escape, \
DEMO_SUBDIR := jfc, \
))
$(eval $(call SetupBuildDemo, TransparentRuler, \
DISABLED_WARNINGS := this-escape, \
DEMO_SUBDIR := jfc, \
MAIN_CLASS := transparentruler.Ruler, \
))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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
@@ -98,6 +98,7 @@ define SetupInterimModule
EXCLUDES := sun javax/tools/snippet-files, \
EXCLUDE_FILES := $(TOPDIR)/src/$1/share/classes/module-info.java \
$(TOPDIR)/src/$1/share/classes/javax/tools/ToolProvider.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/Main.java \
Standard.java, \
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java \
$($1.interim_EXTRA_FILES), \
@@ -109,7 +110,9 @@ define SetupInterimModule
$$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim \
--add-exports java.base/jdk.internal.javac=java.compiler.interim \
--add-exports java.base/jdk.internal.javac=jdk.compiler.interim, \
--add-exports java.base/jdk.internal.javac=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
$1_DEPS_INTERIM := $$(addsuffix .interim, $$(filter \
@@ -125,5 +128,20 @@ $(foreach m, $(INTERIM_LANGTOOLS_BASE_MODULES), \
)
################################################################################
# Setup the compilation of the javac server build tool. Technically, this is not
# really "interim" langtools, but just like it, it is needed henceforth for all
# java compilation using the interim compiler.
$(eval $(call SetupJavaCompilation, BUILD_JAVAC_SERVER, \
COMPILER := bootjdk, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/langtools/tools, \
INCLUDES := javacserver, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/langtools_javacserver_classes, \
))
TARGETS += $(BUILD_JAVAC_SERVER)
################################################################################
all: $(TARGETS)

View File

@@ -53,7 +53,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JIGSAW_TOOLS, \
build/tools/jigsaw, \
COPY := .properties .html, \
BIN := $(TOOLS_CLASSES_DIR), \
DISABLED_WARNINGS := fallthrough, \
DISABLED_WARNINGS := fallthrough this-escape, \
JAVAC_FLAGS := \
--add-modules jdk.jdeps \
--add-exports java.base/jdk.internal.module=ALL-UNNAMED \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -57,7 +57,9 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
JAVAC_FLAGS := \
--add-exports java.desktop/sun.awt=ALL-UNNAMED \
--add-exports java.base/sun.text=ALL-UNNAMED \
--add-exports java.base/sun.security.util=ALL-UNNAMED, \
--add-exports java.base/sun.security.util=ALL-UNNAMED \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
TARGETS += $(BUILD_TOOLS_JDK)
@@ -69,6 +71,13 @@ $(eval $(call SetupCopyFiles,COPY_NIMBUS_TEMPLATES, \
TARGETS += $(COPY_NIMBUS_TEMPLATES)
$(eval $(call SetupCopyFiles,COPY_CLDRCONVERTER_PROPERTIES, \
SRC := $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes/build/tools/cldrconverter, \
FILES := $(wildcard $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter/*.properties)))
TARGETS += $(COPY_CLDRCONVERTER_PROPERTIES)
################################################################################
$(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
@@ -83,7 +92,9 @@ $(eval $(call SetupJavaCompilation, COMPILE_DEPEND, \
--add-exports jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED, \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim, \
))
DEPEND_SERVICE_PROVIDER := $(BUILDTOOLS_OUTPUTDIR)/depend/META-INF/services/com.sun.source.util.Plugin

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 2023, 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
@@ -80,6 +80,7 @@ JAVADOC_TAGS := \
-taglet build.tools.taglet.JSpec\$$JLS \
-taglet build.tools.taglet.JSpec\$$JVMS \
-taglet build.tools.taglet.ModuleGraph \
-taglet build.tools.taglet.SealedGraph \
-taglet build.tools.taglet.ToolGuide \
-tag since \
-tag serialData \
@@ -101,17 +102,23 @@ REFERENCE_TAGS := $(JAVADOC_TAGS)
JAVADOC_DISABLED_DOCLINT_WARNINGS := missing
JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio
# Allow overriding on the command line
# (intentionally sharing name with the javac option)
JAVA_WARNINGS_ARE_ERRORS ?= -Werror
# The initial set of options for javadoc
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary
--override-methods=summary \
--no-external-specs-page
# The reference options must stay stable to allow for comparisons across the
# development cycle.
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
-html5 -javafx --expand-requires transitive
-html5 -javafx --expand-requires transitive \
--no-external-specs-page
# Should we add DRAFT stamps to the generated javadoc?
ifeq ($(VERSION_IS_GA), true)
@@ -187,25 +194,55 @@ JAVASE_LONG_NAME := Java<sup>&reg;</sup> Platform, Standard Edition
# Functions
# Helper function for creating a svg file from a dot file generated by the
# GenGraphs tool.
# GenGraphs tool for a module.
# param 1: SetupJavadocGeneration namespace ($1)
# param 2: module name
#
define setup_gengraph_dot_to_svg
$1_$2_DOT_SRC := $$($1_GENGRAPHS_DIR)/$2.dot
define setup_module_graph_dot_to_svg
$1_$2_DOT_SRC := $$($1_MODULE_GRAPHS_DIR)/$2.dot
$1_$2_SVG_TARGET := $$($1_TARGET_DIR)/$2/module-graph.svg
# For each module needing a graph, create a svg file from the dot file
# generated by the GenGraphs tool and store it in the target dir.
$$(eval $$(call SetupExecute, gengraphs_svg_$1_$2, \
$$(eval $$(call SetupExecute, module_graphs_svg_$1_$2, \
INFO := Running dot for module graphs for $2, \
DEPS := $$(gengraphs_$1_TARGET), \
DEPS := $$(module_graphs_dot_$1_TARGET), \
OUTPUT_FILE := $$($1_$2_SVG_TARGET), \
SUPPORT_DIR := $$($1_GENGRAPHS_DIR), \
SUPPORT_DIR := $$($1_MODULE_GRAPHS_DIR), \
COMMAND := $$(DOT) -Tsvg -o $$($1_$2_SVG_TARGET) $$($1_$2_DOT_SRC), \
))
$1_MODULEGRAPH_TARGETS += $$($1_$2_SVG_TARGET)
$1_GRAPHS_TARGETS += $$($1_$2_SVG_TARGET)
endef
# Helper function for creating a svg file for a class for which the SealedGraph
# taglet has generated a dot file. The dot file has a special name which
# encodes the module and class the graph belongs to.
#
# param 1: SetupJavadocGeneration namespace ($1)
# param 2: dot file name
#
define setup_sealed_graph_dot_to_svg
$1_$2_DOT_SRC := $$($1_SEALED_GRAPHS_DIR)/$2.dot
$1_$2_TARGET_CLASS := $$(word 2, $$(subst _, , $2))
$1_$2_SLASHED_NAME := $$(subst .,/, $$($1_$2_TARGET_CLASS))
$1_$2_TARGET_MODULE := $$(word 1, $$(subst _, , $2))
$1_$2_TARGET_PATH := $$($1_TARGET_DIR)/$$($1_$2_TARGET_MODULE)/$$(dir $$($1_$2_SLASHED_NAME))
$1_$2_TARGET_NAME := $$(notdir $$($1_$2_SLASHED_NAME))
$1_$2_SVG_TARGET := $$($1_$2_TARGET_PATH)/$$($1_$2_TARGET_NAME)-sealed-graph.svg
$$(call MakeDir, $$($1_$2_TARGET_PATH))
# For each class needing a graph, create a svg file from the dot file
# generated by the SealedGraph taglet and store it in the target dir.
$$(eval $$(call SetupExecute, sealed_graphs_svg_$1_$2, \
INFO := Running dot for sealed graphs for $$($1_$2_TARGET_MODULE)/$$($1_$2_TARGET_CLASS), \
DEPS := $$($1_$2_DOT_SRC), \
OUTPUT_FILE := $$($1_$2_SVG_TARGET), \
SUPPORT_DIR := $$($1_SEALED_GRAPHS_DIR), \
COMMAND := $$(DOT) -Tsvg -o $$($1_$2_SVG_TARGET) $$($1_$2_DOT_SRC), \
))
$1_GRAPHS_TARGETS += $$($1_$2_SVG_TARGET)
endef
# Helper function to create the overview.html file to use with the -overview
@@ -253,7 +290,7 @@ endef
#
# Parameter 1 is the name of the rule. This name is used as variable prefix.
# Targets generated are returned as $1_JAVADOC_TARGETS and
# $1_MODULEGRAPH_TARGETS. Note that the index.html file will work as a "touch
# $1_GRAPHS_TARGETS. Note that the index.html file will work as a "touch
# file" for all the magnitude of files that are generated by javadoc.
#
# Remaining parameters are named arguments. These include:
@@ -276,9 +313,12 @@ define SetupApiDocsGenerationBody
-Djspec.version=$$(VERSION_SPECIFICATION)
ifeq ($$(ENABLE_FULL_DOCS), true)
# Tell the ModuleGraph taglet to generate html links to soon-to-be-created
# svg files with module graphs.
$1_JAVA_ARGS += -DenableModuleGraph=true
$1_SEALED_GRAPHS_DIR := $$(SUPPORT_OUTPUTDIR)/docs/$1-sealed-graphs
# Tell the ModuleGraph and SealedGraph taglets to generate html links to
# soon-to-be-created svg files with module/sealed graphs.
$1_JAVA_ARGS += -DenableModuleGraph=true -DsealedDotOutputDir=$$($1_SEALED_GRAPHS_DIR)
$$(call MakeDir, $$($1_SEALED_GRAPHS_DIR))
endif
# Start with basic options and tags
@@ -299,6 +339,7 @@ define SetupApiDocsGenerationBody
# Ignore the doclint warnings in certain packages
$1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$(addprefix -, \
$$(JAVADOC_DISABLED_DOCLINT_PACKAGES)))
$1_OPTIONS += $$(JAVA_WARNINGS_ARE_ERRORS)
$1_DOC_TITLE := $$($1_LONG_NAME)<br>Version $$(VERSION_SPECIFICATION) API \
Specification
@@ -384,30 +425,46 @@ define SetupApiDocsGenerationBody
# First we run the GenGraph tool. It will query the module structure of the
# running JVM and output .dot files for all existing modules.
GENGRAPHS_PROPS := \
MODULE_GRAPHS_PROPS := \
$$(TOPDIR)/make/jdk/src/classes/build/tools/jigsaw/javadoc-graphs.properties
$1_GENGRAPHS_DIR := $$(SUPPORT_OUTPUTDIR)/docs/$1-gengraphs
$1_MODULE_GRAPHS_DIR := $$(SUPPORT_OUTPUTDIR)/docs/$1-module-graphs
$$(eval $$(call SetupExecute, gengraphs_$1, \
INFO := Running gengraphs for $1 documentation, \
DEPS := $$(BUILD_JIGSAW_TOOLS) $$(GENGRAPHS_PROPS), \
OUTPUT_DIR := $$($1_GENGRAPHS_DIR), \
COMMAND := $$(TOOL_GENGRAPHS) --spec --output $$($1_GENGRAPHS_DIR) \
--dot-attributes $$(GENGRAPHS_PROPS), \
$$(eval $$(call SetupExecute, module_graphs_dot_$1, \
INFO := Generating module graphs for $1 documentation, \
DEPS := $$(BUILD_JIGSAW_TOOLS) $$(MODULE_GRAPHS_PROPS), \
OUTPUT_DIR := $$($1_MODULE_GRAPHS_DIR), \
COMMAND := $$(TOOL_GENGRAPHS) --spec --output $$($1_MODULE_GRAPHS_DIR) \
--dot-attributes $$(MODULE_GRAPHS_PROPS), \
))
# For each module needing a graph, create a svg file from the dot file
# generated by the GenGraphs tool and store it in the target dir.
# They will depend on gengraphs_$1_TARGET, and will be added to $1.
# They will depend on module_graphs_dot_$1_TARGET, and will be added to
# $1_GRAPHS_TARGETS.
$$(foreach m, $$($1_MODULES_NEEDING_GRAPH), \
$$(eval $$(call setup_gengraph_dot_to_svg,$1,$$m)) \
$$(eval $$(call setup_module_graph_dot_to_svg,$1,$$m)) \
)
# We have asked SealedGraph to generate dot files and links to svg files.
# Now we must produce the svg files from the dot files.
# Get a list of classes for which SealedGraph has generated dot files
$1_SEALED_CLASSES := $$(patsubst %.dot,%,$$(patsubst \
$$($1_SEALED_GRAPHS_DIR)/%,%, \
$$(wildcard $$($1_SEALED_GRAPHS_DIR)/*.dot)))
# For each class needing a graph, create a svg file from the dot file
# generated by the SealedGraph taglet and store it in the target dir.
# They will will be added to $1_GRAPHS_TARGETS.
$$(foreach c, $$($1_SEALED_CLASSES), \
$$(eval $$(call setup_sealed_graph_dot_to_svg,$1,$$c)) \
)
endif
endef
################################################################################
# Setup generation of the JDK API documentation (javadoc + modulegraph)
# Setup generation of the JDK API documentation (javadoc + graphs)
# Define the groups of the JDK API documentation
JavaSE_GROUP_NAME := Java SE
@@ -456,10 +513,10 @@ $(eval $(call SetupApiDocsGeneration, JDK_API, \
))
# Targets generated are returned in JDK_API_JAVADOC_TARGETS and
# JDK_API_MODULEGRAPH_TARGETS.
# JDK_API_GRAPHS_TARGETS.
################################################################################
# Setup generation of the Java SE API documentation (javadoc + modulegraph)
# Setup generation of the Java SE API documentation (javadoc + graphs)
# The Java SE module scope is just java.se and its transitive indirect
# exports.
@@ -473,10 +530,10 @@ $(eval $(call SetupApiDocsGeneration, JAVASE_API, \
))
# Targets generated are returned in JAVASE_API_JAVADOC_TARGETS and
# JAVASE_API_MODULEGRAPH_TARGETS.
# JAVASE_API_GRAPHS_TARGETS.
################################################################################
# Setup generation of the reference Java SE API documentation (javadoc + modulegraph)
# Setup generation of the reference Java SE API documentation (javadoc + graphs)
# The reference javadoc is just the same as javase, but using the BootJDK javadoc
# and a stable set of javadoc options. Typically it is used for generating
@@ -494,7 +551,7 @@ $(eval $(call SetupApiDocsGeneration, REFERENCE_API, \
))
# Targets generated are returned in REFERENCE_API_JAVADOC_TARGETS and
# REFERENCE_API_MODULEGRAPH_TARGETS.
# REFERENCE_API_GRAPHS_TARGETS.
################################################################################
@@ -564,7 +621,7 @@ $(foreach n, 0 1 2, \
$(eval specs_bottom_rel_path := $(specs_bottom_rel_path)../) \
)
SPECS_TOP := $(if $(filter true, $(IS_DRAFT)), <header class="draft-header">$(DRAFT_TEXT)</header>)
SPECS_TOP := $(if $(filter true, $(IS_DRAFT)), <header class="draft-header" role="banner">$(DRAFT_TEXT)</header>)
# For all html files in $module/share/specs directories, copy and add the
# copyright footer.
@@ -593,6 +650,9 @@ ifeq ($(ENABLE_PANDOC), true)
# html, if we have pandoc (otherwise we'll just skip this).
GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/resources/jdk-default.css
# Unset the following to suppress the link to the tool guides
NAV_LINK_GUIDES := --nav-link-guides
HEADER_RIGHT_SIDE_INFO := <strong>$(subst &amp;,&,$(JDK_SHORT_NAME))$(DRAFT_MARKER_STR)</strong>
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
@@ -609,7 +669,8 @@ ifeq ($(ENABLE_PANDOC), true)
REPLACEMENTS := \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
@@VERSION_STRING@@ => $(VERSION_STRING), \
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
POST_PROCESS := $(TOOL_FIXUPPANDOC) --insert-nav --nav-right-info '$(HEADER_RIGHT_SIDE_INFO)' \
--nav-subdirs $($m_$f_NOF_SUBDIRS) $(NAV_LINK_GUIDES), \
)) \
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
) \
@@ -643,7 +704,8 @@ ifeq ($(ENABLE_PANDOC), true)
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
POST_PROCESS := $(TOOL_FIXUPPANDOC) --insert-nav --nav-right-info '$(HEADER_RIGHT_SIDE_INFO)' \
--nav-subdirs 1 --nav-link-guides, \
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
$(PANDOC_HTML_MANPAGE_FILTER_SOURCE), \
)) \
@@ -658,13 +720,25 @@ endif
# Special treatment for generated documentation
SPEC_HEADER_BLOCK := \
<header id="title-block-header"> \
<div class="navbar"> \
<div>$(HEADER_RIGHT_SIDE_INFO)</div> \
<nav><ul><li><a href="PATH_TO_SPECS/../api/index.html">API</a> \
<li><a href="PATH_TO_SPECS/index.html">OTHER SPECIFICATIONS \
<li><a href="PATH_TO_SPECS/man/index.html">TOOL GUIDES</a></ul></nav> \
</div> \
</header>
JDWP_PROTOCOL := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html
ifneq ($(call ApplySpecFilter, $(JDWP_PROTOCOL)), )
JDWP_HEADER_BLOCK := $(subst PATH_TO_SPECS,..,$(SPEC_HEADER_BLOCK))
$(eval $(call SetupTextFileProcessing, PROCESS_JDWP_PROTOCOL, \
SOURCE_FILES := $(JDWP_PROTOCOL), \
OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/jdwp, \
REPLACEMENTS := \
<body> => <body>$(SPECS_TOP) ; \
<style> => <link rel="stylesheet" href="../../resources/jdk-default.css"/><style> ; \
<body> => <body>$(SPECS_TOP)$(JDWP_HEADER_BLOCK) ; \
</body> => $(SPECS_BOTTOM_1)</body>, \
))
JDK_SPECS_TARGETS += $(PROCESS_JDWP_PROTOCOL)
@@ -673,11 +747,13 @@ endif
# Get jvmti.html from the main jvm variant (all variants' jvmti.html are identical).
JVMTI_HTML ?= $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html
ifneq ($(call ApplySpecFilter, $(JVMTI_HTML)), )
JVMTI_HEADER_BLOCK := $(subst PATH_TO_SPECS,.,$(SPEC_HEADER_BLOCK))
$(eval $(call SetupTextFileProcessing, PROCESS_JVMTI_HTML, \
SOURCE_FILES := $(JVMTI_HTML), \
OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/, \
REPLACEMENTS := \
<body> => <body>$(SPECS_TOP) ; \
<style> => <link rel="stylesheet" href="../resources/jdk-default.css"/><style> ; \
<body> => <body>$(SPECS_TOP)$(JVMTI_HEADER_BLOCK) ; \
</body> => $(SPECS_BOTTOM_0)</body>, \
))
JDK_SPECS_TARGETS += $(PROCESS_JVMTI_HTML)
@@ -692,7 +768,7 @@ JAVADOC_ZIP_FILE := $(OUTPUTDIR)/bundles/$(JAVADOC_ZIP_NAME)
$(eval $(call SetupZipArchive, BUILD_JAVADOC_ZIP, \
SRC := $(DOCS_OUTPUTDIR), \
ZIP := $(JAVADOC_ZIP_FILE), \
EXTRA_DEPS := $(JDK_API_JAVADOC_TARGETS) $(JDK_API_MODULEGRAPH_TARGETS) \
EXTRA_DEPS := $(JDK_API_JAVADOC_TARGETS) $(JDK_API_GRAPHS_TARGETS) \
$(JDK_SPECS_TARGETS), \
))
@@ -720,15 +796,15 @@ SPECS_ZIP_TARGETS += $(BUILD_SPECS_ZIP)
docs-jdk-api-javadoc: $(JDK_API_JAVADOC_TARGETS) $(JDK_API_CUSTOM_TARGETS)
docs-jdk-api-modulegraph: $(JDK_API_MODULEGRAPH_TARGETS)
docs-jdk-api-graphs: $(JDK_API_GRAPHS_TARGETS)
docs-javase-api-javadoc: $(JAVASE_API_JAVADOC_TARGETS) $(JAVASE_API_CUSTOM_TARGETS)
docs-javase-api-modulegraph: $(JAVASE_API_MODULEGRAPH_TARGETS)
docs-javase-api-graphs: $(JAVASE_API_GRAPHS_TARGETS)
docs-reference-api-javadoc: $(REFERENCE_API_JAVADOC_TARGETS) $(REFERENCE_API_CUSTOM_TARGETS)
docs-reference-api-modulegraph: $(REFERENCE_API_MODULEGRAPH_TARGETS)
docs-reference-api-graphs: $(REFERENCE_API_GRAPHS_TARGETS)
docs-jdk-specs: $(JDK_SPECS_TARGETS)
@@ -738,12 +814,12 @@ docs-zip: $(ZIP_TARGETS)
docs-specs-zip: $(SPECS_ZIP_TARGETS)
all: docs-jdk-api-javadoc docs-jdk-api-modulegraph docs-javase-api-javadoc \
docs-javase-api-modulegraph docs-reference-api-javadoc \
docs-reference-api-modulegraph docs-jdk-specs docs-jdk-index docs-zip \
all: docs-jdk-api-javadoc docs-jdk-api-graphs docs-javase-api-javadoc \
docs-javase-api-graphs docs-reference-api-javadoc \
docs-reference-api-graphs docs-jdk-specs docs-jdk-index docs-zip \
docs-specs-zip
.PHONY: default all docs-jdk-api-javadoc docs-jdk-api-modulegraph \
docs-javase-api-javadoc docs-javase-api-modulegraph \
docs-reference-api-javadoc docs-reference-api-modulegraph docs-jdk-specs \
.PHONY: default all docs-jdk-api-javadoc docs-jdk-api-graphs \
docs-javase-api-javadoc docs-javase-api-graphs \
docs-reference-api-javadoc docs-reference-api-graphs docs-jdk-specs \
docs-jdk-index docs-zip docs-specs-zip

View File

@@ -125,6 +125,11 @@ test-prebuilt:
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
test-prebuilt CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
test-prebuilt-with-exit-code:
@( cd $(topdir) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
test-prebuilt-with-exit-code CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
# Alias for backwards compatibility
run-test-prebuilt: test-prebuilt

View File

@@ -277,15 +277,20 @@ else # HAS_SPEC=true
$(ECHO) $(CONFIGURE_COMMAND_LINE)
reconfigure:
ifneq ($(CONFIGURE_COMMAND_LINE), )
ifneq ($(REAL_CONFIGURE_COMMAND_EXEC_FULL), )
$(ECHO) "Re-running configure using original command line '$(REAL_CONFIGURE_COMMAND_EXEC_SHORT) $(REAL_CONFIGURE_COMMAND_LINE)'"
$(eval RECONFIGURE_COMMAND := $(REAL_CONFIGURE_COMMAND_EXEC_FULL) $(REAL_CONFIGURE_COMMAND_LINE))
else ifneq ($(CONFIGURE_COMMAND_LINE), )
$(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"
$(eval RECONFIGURE_COMMAND := $(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE))
else
$(ECHO) "Re-running configure using default settings"
$(eval RECONFIGURE_COMMAND := $(BASH) $(TOPDIR)/configure)
endif
( cd $(CONFIGURE_START_DIR) && PATH="$(ORIGINAL_PATH)" AUTOCONF="$(AUTOCONF)" \
CUSTOM_ROOT="$(CUSTOM_ROOT)" \
CUSTOM_CONFIG_DIR="$(CUSTOM_CONFIG_DIR)" \
$(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )
$(RECONFIGURE_COMMAND) )
##############################################################################
# The main target, for delegating into Main.gmk
@@ -319,7 +324,7 @@ else # HAS_SPEC=true
ifneq ($(PARALLEL_TARGETS), )
$(call PrepareFailureLogs)
$(call StartGlobalTimer)
$(call PrepareSmartJavac)
$(call PrepareJavacServer)
# JOBS will only be empty for a bootcycle-images recursive call
# or if specified via a make argument directly. In those cases
# treat it as NOT using jobs at all.
@@ -334,7 +339,7 @@ else # HAS_SPEC=true
cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -j 1 -f make/Init.gmk \
HAS_SPEC=true on-failure ; \
exit $$exitcode ) )
$(call CleanupSmartJavac)
$(call CleanupJavacServer)
$(call StopGlobalTimer)
$(call ReportBuildTimes)
endif
@@ -346,7 +351,7 @@ else # HAS_SPEC=true
endif
on-failure:
$(call CleanupSmartJavac)
$(call CleanupJavacServer)
$(call StopGlobalTimer)
$(call ReportBuildTimes)
$(call PrintFailureReports)
@@ -359,11 +364,11 @@ else # HAS_SPEC=true
# Support targets for COMPARE_BUILD, used for makefile development
pre-compare-build:
$(call WaitForSmartJavacFinish)
$(call WaitForJavacServerFinish)
$(call PrepareCompareBuild)
post-compare-build:
$(call WaitForSmartJavacFinish)
$(call WaitForJavacServerFinish)
$(call CleanupCompareBuild)
$(call CompareBuildDoComparison)

View File

@@ -204,6 +204,15 @@ ifeq ($(HAS_SPEC),)
# Otherwise select those that contain the given CONF string
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
$$(if $$(findstring $$(CONF), $$(var)), $$(var))))
ifneq ($$(filter $$(CONF), $$(matching_confs)), )
# If we found an exact match, use that
matching_confs := $$(CONF)
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS),)
$$(info Using exact match for CONF=$$(CONF) (other matches are possible))
endif
endif
endif
ifeq ($$(matching_confs),)
$$(info Error: No configurations found matching CONF=$$(CONF).)
@@ -426,10 +435,10 @@ else # $(HAS_SPEC)=true
# Compare first and second build. Ignore any error code from compare.sh.
$(ECHO) "Comparing between comparison rebuild (this/new) and baseline (other/old)"
$(if $(COMPARE_BUILD_COMP_DIR), \
+(cd $(COMPARE_BUILD_OUTPUTDIR) && ./compare.sh $(COMPARE_BUILD_COMP_OPTS) \
+(cd $(COMPARE_BUILD_OUTPUTDIR) && ./compare.sh -vv $(COMPARE_BUILD_COMP_OPTS) \
-2dirs $(COMPARE_BUILD_OUTPUTDIR)/$(COMPARE_BUILD_COMP_DIR) \
$(OUTPUTDIR)/$(COMPARE_BUILD_COMP_DIR) $(COMPARE_BUILD_IGNORE_RESULT)), \
+(cd $(COMPARE_BUILD_OUTPUTDIR) && ./compare.sh $(COMPARE_BUILD_COMP_OPTS) \
+(cd $(COMPARE_BUILD_OUTPUTDIR) && ./compare.sh -vv $(COMPARE_BUILD_COMP_OPTS) \
-o $(OUTPUTDIR) $(COMPARE_BUILD_IGNORE_RESULT)) \
)
endef
@@ -493,15 +502,15 @@ else # $(HAS_SPEC)=true
# Remove any javac server logs and port files. This
# prevents a new make run to reuse the previous servers.
define PrepareSmartJavac
define PrepareJavacServer
$(if $(JAVAC_SERVER_DIR), \
$(RM) -r $(JAVAC_SERVER_DIR) 2> /dev/null && \
$(MKDIR) -p $(JAVAC_SERVER_DIR) \
)
endef
define CleanupSmartJavac
[ -f $(JAVAC_SERVER_DIR)/server.port ] && $(ECHO) Stopping sjavac server && \
define CleanupJavacServer
[ -f $(JAVAC_SERVER_DIR)/server.port ] && $(ECHO) Stopping javac server && \
$(TOUCH) $(JAVAC_SERVER_DIR)/server.port.stop; true
endef
@@ -510,13 +519,13 @@ else # $(HAS_SPEC)=true
# move or remove the build output directory. Since we have no proper
# synchronization process, wait for a while and hope it helps. This is only
# used by build comparisons.
define WaitForSmartJavacFinish
define WaitForJavacServerFinish
$(if $(JAVAC_SERVER_DIR), \
sleep 5\
)
endef
else
define WaitForSmartJavacFinish
define WaitForJavacServerFinish
endef
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -257,6 +257,46 @@ $(eval $(call SetupTarget, hotspot-ide-project, \
ARGS := -I$(TOPDIR)/make/hotspot, \
))
$(eval $(call SetupTarget, eclipse-java-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=java SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-hotspot-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=hotspot SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-native-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=native SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-mixed-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make SHARED=false, \
))
$(eval $(call SetupTarget, eclipse-shared-java-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=java SHARED=true, \
))
$(eval $(call SetupTarget, eclipse-shared-hotspot-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=hotspot SHARED=true, \
))
$(eval $(call SetupTarget, eclipse-shared-native-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make WORKSPACE=native SHARED=true, \
))
$(eval $(call SetupTarget, eclipse-shared-mixed-env, \
MAKEFILE := ide/eclipse/CreateWorkspace, \
ARGS := --always-make SHARED=true, \
))
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS)
@@ -466,15 +506,15 @@ ALL_TARGETS += bootcycle-images
# Docs targets
# If building full docs, to complete docs-*-api we need both the javadoc and
# modulegraph targets.
# graphs targets.
$(eval $(call SetupTarget, docs-jdk-api-javadoc, \
MAKEFILE := Docs, \
TARGET := docs-jdk-api-javadoc, \
))
$(eval $(call SetupTarget, docs-jdk-api-modulegraph, \
$(eval $(call SetupTarget, docs-jdk-api-graphs, \
MAKEFILE := Docs, \
TARGET := docs-jdk-api-modulegraph, \
TARGET := docs-jdk-api-graphs, \
DEPS := buildtools-modules runnable-buildjdk, \
))
@@ -483,9 +523,9 @@ $(eval $(call SetupTarget, docs-javase-api-javadoc, \
TARGET := docs-javase-api-javadoc, \
))
$(eval $(call SetupTarget, docs-javase-api-modulegraph, \
$(eval $(call SetupTarget, docs-javase-api-graphs, \
MAKEFILE := Docs, \
TARGET := docs-javase-api-modulegraph, \
TARGET := docs-javase-api-graphs, \
DEPS := buildtools-modules runnable-buildjdk, \
))
@@ -494,9 +534,9 @@ $(eval $(call SetupTarget, docs-reference-api-javadoc, \
TARGET := docs-reference-api-javadoc, \
))
$(eval $(call SetupTarget, docs-reference-api-modulegraph, \
$(eval $(call SetupTarget, docs-reference-api-graphs, \
MAKEFILE := Docs, \
TARGET := docs-reference-api-modulegraph, \
TARGET := docs-reference-api-graphs, \
DEPS := buildtools-modules runnable-buildjdk, \
))
@@ -707,6 +747,22 @@ ifeq ($(BUILD_FAILURE_HANDLER), true)
))
endif
ifeq ($(BUILD_JTREG_TEST_THREAD_FACTORY), true)
# Builds the test thread factory jtreg extension
$(eval $(call SetupTarget, build-test-test-thread-factory, \
MAKEFILE := test/BuildJtregTestThreadFactory, \
TARGET := build, \
DEPS := interim-langtools exploded-image, \
))
# Copies the jtreg test thread factory into the test image
$(eval $(call SetupTarget, test-image-test-thread-factory, \
MAKEFILE := test/BuildJtregTestThreadFactory, \
TARGET := images, \
DEPS := build-test-test-thread-factory, \
))
endif
$(eval $(call SetupTarget, build-microbenchmark, \
MAKEFILE := test/BuildMicrobenchmark, \
DEPS := interim-langtools exploded-image, \
@@ -1107,9 +1163,14 @@ docs-reference-api: docs-reference-api-javadoc
# If we're building full docs, we must also generate the module graphs to
# get non-broken api documentation.
ifeq ($(ENABLE_FULL_DOCS), true)
docs-jdk-api: docs-jdk-api-modulegraph
docs-javase-api: docs-javase-api-modulegraph
docs-reference-api: docs-reference-api-modulegraph
docs-jdk-api: docs-jdk-api-graphs
docs-javase-api: docs-javase-api-graphs
docs-reference-api: docs-reference-api-graphs
# We must generate javadoc first so we know what graphs are needed
docs-jdk-api-graphs: docs-jdk-api-javadoc
docs-javase-api-graphs: docs-javase-api-javadoc
docs-reference-api-graphs: docs-reference-api-javadoc
endif
docs-jdk: docs-jdk-api docs-jdk-specs docs-jdk-index
@@ -1182,6 +1243,10 @@ ifeq ($(BUILD_FAILURE_HANDLER), true)
test-image: test-image-failure-handler
endif
ifeq ($(BUILD_JTREG_TEST_THREAD_FACTORY), true)
test-image: test-image-test-thread-factory
endif
ifneq ($(JMH_CORE_JAR), )
test-image: build-microbenchmark
endif

View File

@@ -51,6 +51,7 @@ define create-info-file
$(if $(VENDOR_VERSION_STRING), \
$(call info-file-item, "IMPLEMENTOR_VERSION", "$(VENDOR_VERSION_STRING)"))
$(call info-file-item, "JAVA_VERSION_DATE", "$(VERSION_DATE)")
$(call info-file-item, "JAVA_RUNTIME_VERSION", "$(VERSION_STRING)")
$(call info-file-item, "OS_NAME", "$(RELEASE_FILE_OS_NAME)")
$(call info-file-item, "OS_ARCH", "$(RELEASE_FILE_OS_ARCH)")
$(call info-file-item, "LIBC", "$(RELEASE_FILE_LIBC)")

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2023, 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
@@ -93,6 +93,9 @@ endif
JTREG_FAILURE_HANDLER_DIR := $(TEST_IMAGE_DIR)/failure_handler
JTREG_FAILURE_HANDLER := $(JTREG_FAILURE_HANDLER_DIR)/jtregFailureHandler.jar
JTREG_TEST_THREAD_FACTORY_DIR := $(TEST_IMAGE_DIR)/jtreg_test_thread_factory
JTREG_TEST_THREAD_FACTORY_JAR := $(JTREG_TEST_THREAD_FACTORY_DIR)/jtregTestThreadFactory.jar
JTREG_FAILURE_HANDLER_TIMEOUT ?= 0
ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
@@ -196,11 +199,12 @@ $(eval $(call SetTestOpt,JAVA_OPTIONS,JTREG))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
$(eval $(call SetTestOpt,FAILURE_HANDLER_TIMEOUT,JTREG))
$(eval $(call SetTestOpt,REPORT,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \
TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
TEST_MODE ASSERT VERBOSE RETAIN TEST_THREAD_FACTORY MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT REPORT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS \
$(CUSTOM_JTREG_STRING_KEYWORDS), \
@@ -352,7 +356,7 @@ ExpandJtregPath = \
# with test id: dir/Test.java#selection -> Test.java#selection -> .java#selection -> #selection
# without: dir/Test.java -> Test.java -> .java -> <<empty string>>
TestID = \
$(subst .java,,$(suffix $(notdir $1)))
$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
# The test id starting with a hash (#testid) will be stripped by all
# evals in ParseJtregTestSelectionInner and will be reinserted by calling
@@ -742,9 +746,11 @@ define SetupRunJtregTestBody
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
JTREG_TEST_THREAD_FACTORY ?=
JTREG_RUN_PROBLEM_LISTS ?= false
JTREG_RETRY_COUNT ?= 0
JTREG_REPEAT_COUNT ?= 0
JTREG_REPORT ?= files
ifneq ($$(JTREG_RETRY_COUNT), 0)
ifneq ($$(JTREG_REPEAT_COUNT), 0)
@@ -754,6 +760,14 @@ define SetupRunJtregTestBody
endif
endif
ifneq ($$(JTREG_TEST_THREAD_FACTORY), )
$1_JTREG_BASIC_OPTIONS += -testThreadFactoryPath:$$(JTREG_TEST_THREAD_FACTORY_JAR)
$1_JTREG_BASIC_OPTIONS += -testThreadFactory:$$(JTREG_TEST_THREAD_FACTORY)
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(addprefix $$($1_TEST_ROOT)/, ProblemList-$$(JTREG_TEST_THREAD_FACTORY).txt) \
))
endif
ifneq ($$(JTREG_LAUNCHER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += $$(JTREG_LAUNCHER_OPTIONS)
endif
@@ -770,10 +784,13 @@ define SetupRunJtregTestBody
# Make sure the tmp dir is normalized as some tests will react badly otherwise
$1_TEST_TMP_DIR := $$(abspath $$($1_TEST_SUPPORT_DIR)/tmp)
# test.boot.jdk is used by some test cases that want to execute a previous
# version of the JDK.
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) \
-vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE) \
-vmoption:-Dtest.boot.jdk="$$(BOOT_JDK)" \
-vmoption:-Djava.io.tmpdir="$$($1_TEST_TMP_DIR)"
$1_JTREG_BASIC_OPTIONS += -automatic -ignore:quiet
@@ -854,6 +871,7 @@ define SetupRunJtregTestBody
-dir:$$(JTREG_TOPDIR) \
-reportDir:$$($1_TEST_RESULTS_DIR) \
-workDir:$$($1_TEST_SUPPORT_DIR) \
-report:$${JTREG_REPORT} \
$$$${JTREG_STATUS} \
$$(JTREG_OPTIONS) \
$$(JTREG_FAILURE_HANDLER_OPTIONS) \

View File

@@ -295,6 +295,11 @@ test-prebuilt:
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
TEST="$(TEST)"
test-prebuilt-with-exit-code: test-prebuilt
@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
all: test-prebuilt
.PHONY: default all test-prebuilt

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, 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
@@ -31,6 +31,7 @@ include JavaCompilation.gmk
include Modules.gmk
SRC_ZIP_WORK_DIR := $(SUPPORT_OUTPUTDIR)/src
$(if $(filter $(TOPDIR)/%, $(SUPPORT_OUTPUTDIR)), $(eval SRC_ZIP_BASE := $(TOPDIR)), $(eval SRC_ZIP_BASE := $(SUPPORT_OUTPUTDIR)))
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, ZipSource.gmk))
@@ -45,10 +46,10 @@ ALL_MODULES := $(FindAllModules)
# again to create src.zip.
$(foreach m, $(ALL_MODULES), \
$(foreach d, $(call FindModuleSrcDirs, $m), \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$d)/$m) \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$(patsubst $(SUPPORT_OUTPUTDIR)/%,%,$d))/$m) \
$(if $(SRC_GENERATED), , \
$(eval $$($d_TARGET): $d ; \
$$(if $(filter $(TOPDIR)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
$$(if $(filter $(SRC_ZIP_BASE)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
) \
) \
$(eval SRC_ZIP_SRCS += $$($d_TARGET)) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -31,6 +31,11 @@ AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
AC_SUBST(CONFIGURE_COMMAND_LINE)
# We might have the original command line if the wrapper was called by some
# other script.
AC_SUBST(REAL_CONFIGURE_COMMAND_EXEC_SHORT)
AC_SUBST(REAL_CONFIGURE_COMMAND_EXEC_FULL)
AC_SUBST(REAL_CONFIGURE_COMMAND_LINE)
# AUTOCONF might be set in the environment by the user. Preserve for "make reconfigure".
AC_SUBST(AUTOCONF)
# Save the path variable before it gets changed
@@ -55,6 +60,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
###############################################################################
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
# Save the current directory this script was started from
@@ -96,6 +102,29 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AUTOCONF_DIR=$TOPDIR/make/autoconf
])
###############################################################################
# Setup what kind of build environment type we have (CI or local developer)
AC_DEFUN_ONCE([BASIC_SETUP_BUILD_ENV],
[
if test "x$CI" = "xtrue"; then
DEFAULT_BUILD_ENV="ci"
AC_MSG_NOTICE([CI environment variable set to $CI])
else
DEFAULT_BUILD_ENV="dev"
fi
UTIL_ARG_WITH(NAME: build-env, TYPE: literal,
RESULT: BUILD_ENV,
VALID_VALUES: [auto dev ci], DEFAULT: auto,
CHECKING_MSG: [for build environment type],
DESC: [select build environment type (affects certain default values)],
IF_AUTO: [
RESULT=$DEFAULT_BUILD_ENV
]
)
AC_SUBST(BUILD_ENV)
])
###############################################################################
# Evaluates platform specific overrides for devkit variables.
# $1: Name of variable
@@ -139,6 +168,15 @@ AC_DEFUN([BASIC_SETUP_XCODE_SYSROOT],
if test $? -ne 0; then
AC_MSG_ERROR([The xcodebuild tool in the devkit reports an error: $XCODEBUILD_OUTPUT])
fi
elif test "x$TOOLCHAIN_PATH" != x; then
UTIL_LOOKUP_PROGS(XCODEBUILD, xcodebuild, $TOOLCHAIN_PATH)
if test "x$XCODEBUILD" != x; then
XCODEBUILD_OUTPUT=`"$XCODEBUILD" -version 2>&1`
if test $? -ne 0; then
AC_MSG_WARN([Ignoring the located xcodebuild tool $XCODEBUILD due to an error: $XCODEBUILD_OUTPUT])
XCODEBUILD=
fi
fi
else
UTIL_LOOKUP_PROGS(XCODEBUILD, xcodebuild)
if test "x$XCODEBUILD" != x; then
@@ -288,6 +326,22 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],$with_toolchain_path)]
)
AC_ARG_WITH([xcode-path], [AS_HELP_STRING([--with-xcode-path],
[set up toolchain on Mac OS using a path to an Xcode installation])])
if test "x$with_xcode_path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],
$with_xcode_path/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:$with_xcode_path/Contents/Developer/usr/bin)
else
AC_MSG_WARN([Option --with-xcode-path is only valid on Mac OS, ignoring.])
fi
fi
AC_MSG_CHECKING([for toolchain path])
AC_MSG_RESULT([$TOOLCHAIN_PATH])
AC_SUBST(TOOLCHAIN_PATH)
AC_ARG_WITH([extra-path], [AS_HELP_STRING([--with-extra-path],
[prepend these directories to the default path])],
[UTIL_PREPEND_TO_PATH([EXTRA_PATH],$with_extra_path)]
@@ -306,10 +360,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
AC_MSG_RESULT([$SYSROOT])
AC_SUBST(SYSROOT)
AC_MSG_CHECKING([for toolchain path])
AC_MSG_RESULT([$TOOLCHAIN_PATH])
AC_SUBST(TOOLCHAIN_PATH)
AC_MSG_CHECKING([for extra path])
AC_MSG_RESULT([$EXTRA_PATH])
])
@@ -428,7 +478,11 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
# df on AIX does not understand -l. On modern AIXes it understands "-T local" which
# is the same. On older AIXes we just continue to live with a "not local build" warning.
if test "x$OPENJDK_TARGET_OS" = xaix; then
DF_LOCAL_ONLY_OPTION='-T local'
if "$DF -T local > /dev/null 2>&1"; then
DF_LOCAL_ONLY_OPTION='-T local'
else # AIX may use GNU-utils instead
DF_LOCAL_ONLY_OPTION='-l'
fi
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl1"; then
# In WSL1, we can only build on a drvfs file system (that is, a mounted real Windows drive)
DF_LOCAL_ONLY_OPTION='-t drvfs'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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,8 +24,13 @@
#
###############################################################################
# Setup the most fundamental tools that relies on not much else to set up,
# but is used by much of the early bootstrap code.
# It is recommended to use exactly this version of pandoc, especially for
# re-generating checked in html files
RECOMMENDED_PANDOC_VERSION=2.19.2
###############################################################################
# Setup the most fundamental tools, used for setting up build platform and
# path handling.
AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
[
# Bootstrapping: These tools are needed by UTIL_LOOKUP_PROGS
@@ -37,7 +42,28 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_CHECK_NONEMPTY(FILE)
AC_PATH_PROGS(LDD, ldd)
# First are all the fundamental required tools.
# Required tools
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
])
###############################################################################
# Setup further tools that should be resolved early but after setting up
# build platform and path handling.
AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
[
# Required tools
UTIL_REQUIRE_PROGS(BASH, bash)
UTIL_REQUIRE_PROGS(CAT, cat)
UTIL_REQUIRE_PROGS(CHMOD, chmod)
@@ -45,7 +71,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(CUT, cut)
UTIL_REQUIRE_PROGS(DATE, date)
UTIL_REQUIRE_PROGS(DIFF, gdiff diff)
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(EXPR, expr)
UTIL_REQUIRE_PROGS(FIND, find)
UTIL_REQUIRE_PROGS(GUNZIP, gunzip)
@@ -67,27 +92,20 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(TAR, gtar tar)
UTIL_REQUIRE_PROGS(TEE, tee)
UTIL_REQUIRE_PROGS(TOUCH, touch)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
UTIL_REQUIRE_PROGS(XARGS, xargs)
# Then required tools that require some special treatment.
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(FGREP, [AC_PROG_FGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Optional tools, we can do without them
UTIL_LOOKUP_PROGS(DF, df)
UTIL_LOOKUP_PROGS(GIT, git)
UTIL_LOOKUP_PROGS(NICE, nice)
UTIL_LOOKUP_PROGS(READLINK, greadlink readlink)
UTIL_LOOKUP_PROGS(WHOAMI, whoami)
# These are only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(LSB_RELEASE, lsb_release)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
# For compare.sh only
UTIL_LOOKUP_PROGS(CMP, cmp)
@@ -280,7 +298,7 @@ AC_DEFUN([BASIC_CHECK_TAR],
if test "x$TAR_TYPE" = "xgnu"; then
TAR_INCLUDE_PARAM="T"
TAR_SUPPORTS_TRANSFORM="true"
elif test "x$TAR_TYPE" = "aix"; then
elif test "x$TAR_TYPE" = "xaix"; then
# -L InputList of aix tar: name of file listing the files and directories
# that need to be archived or extracted
TAR_INCLUDE_PARAM="L"
@@ -426,22 +444,29 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
[
UTIL_LOOKUP_PROGS(PANDOC, pandoc)
PANDOC_MARKDOWN_FLAG="markdown"
if test -n "$PANDOC"; then
AC_MSG_CHECKING(if the pandoc smart extension needs to be disabled for markdown)
if $PANDOC --list-extensions | $GREP -q '\+smart'; then
if test "x$PANDOC" != x; then
AC_MSG_CHECKING([for pandoc version])
PANDOC_VERSION=`$PANDOC --version 2>&1 | $TR -d '\r' | $HEAD -1 | $CUT -d " " -f 2`
AC_MSG_RESULT([$PANDOC_VERSION])
if test "x$PANDOC_VERSION" != x$RECOMMENDED_PANDOC_VERSION; then
AC_MSG_WARN([pandoc is version $PANDOC_VERSION, not the recommended version $RECOMMENDED_PANDOC_VERSION])
fi
PANDOC_MARKDOWN_FLAG="markdown"
AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown])
if $PANDOC --list-extensions | $GREP -q '+smart'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="markdown-smart"
else
AC_MSG_RESULT([no])
fi
fi
if test -n "$PANDOC"; then
ENABLE_PANDOC="true"
else
ENABLE_PANDOC="false"
fi
AC_SUBST(ENABLE_PANDOC)
AC_SUBST(PANDOC_MARKDOWN_FLAG)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -382,7 +382,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# Finally, set some other options...
# Determine if the boot jdk jar supports the --date option
if $JAR --help 2>&1 | $GREP -q "\-\-date=TIMESTAMP"; then
if $JAR --help 2>&1 | $GREP -q -e "--date=TIMESTAMP"; then
BOOT_JDK_JAR_SUPPORTS_DATE=true
else
BOOT_JDK_JAR_SUPPORTS_DATE=false

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2021, Azul Systems, Inc. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
@@ -29,16 +29,27 @@
# and fix the broken property, if needed.
DIR=`dirname $0`
OUT=`. $DIR/autoconf-config.guess`
OUT=`. $DIR/autoconf-config.guess 2> /dev/null`
# Detect C library.
# Use '-gnu' suffix on systems that use glibc.
# Use '-musl' suffix on systems that use the musl libc.
echo $OUT | grep -- -linux- > /dev/null 2> /dev/null
if test $? = 0; then
libc_vendor=`ldd --version 2>&1 | sed -n '1s/.*\(musl\).*/\1/p'`
if [ x"${libc_vendor}" = x"musl" ]; then
OUT=`echo $OUT | sed 's/-gnu/-musl/'`
# Handle some cases that autoconf-config.guess is not capable of
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
# Test and fix little endian MIPS.
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
fi
# Test and fix cygwin machine arch .x86_64
elif [[ `uname -s` = CYGWIN* ]]; then
if [ `uname -m` = ".x86_64" ]; then
OUT=x86_64-unknown-cygwin
fi
fi
if [ "x$OUT" = x ]; then
# Run autoconf-config.guess again to get the error message.
. $DIR/autoconf-config.guess > /dev/null
else
printf "guessed by custom config.guess... " >&2
fi
fi
@@ -57,11 +68,11 @@ if test $? = 0; then
fi
# Test and fix wsl
echo $OUT | grep unknown-linux-gnu > /dev/null 2> /dev/null
echo $OUT | grep '\(unknown\|pc\)-linux-gnu' > /dev/null 2> /dev/null
if test $? = 0; then
uname -r | grep -i microsoft > /dev/null 2> /dev/null
if test $? = 0; then
OUT=`echo $OUT | sed -e 's/unknown-linux-gnu/pc-wsl/'`
OUT=`echo $OUT | sed -e 's/\(unknown\|pc\)-linux-gnu/pc-wsl/'`
fi
fi
@@ -81,57 +92,6 @@ if test $? = 0; then
OUT=powerpc$KERNEL_BITMODE`echo $OUT | sed -e 's/[^-]*//'`
fi
# Test and fix little endian PowerPC64.
# TODO: should be handled by autoconf-config.guess.
if [ "x$OUT" = x ]; then
if [ `uname -m` = ppc64le ]; then
if [ `uname -s` = Linux ]; then
OUT=powerpc64le-unknown-linux-gnu
fi
fi
fi
# Test and fix little endian MIPS.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
fi
fi
fi
# Test and fix LoongArch64.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
fi
fi
fi
# Test and fix RISC-V.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = riscv64 ]; then
OUT=riscv64-unknown-linux-gnu
fi
fi
fi
# Test and fix cpu on macos-aarch64, uname -p reports arm, buildsys expects aarch64
echo $OUT | grep arm-apple-darwin > /dev/null 2> /dev/null
if test $? != 0; then
# The GNU version of uname may be on the PATH which reports arm64 instead
echo $OUT | grep arm64-apple-darwin > /dev/null 2> /dev/null
fi
if test $? = 0; then
if [ `uname -m` = arm64 ]; then
OUT=aarch64`echo $OUT | sed -e 's/[^-]*//'`
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

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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
@@ -29,46 +29,16 @@
DIR=`dirname $0`
if echo $* | grep linux-musl >/dev/null ; then
echo $*
exit
fi
# Allow wsl
if echo $* | grep pc-wsl >/dev/null ; then
echo $*
exit
fi
# Allow msys2
if echo $* | grep pc-msys >/dev/null ; then
echo $*
exit
fi
# Canonicalize for riscv which autoconf-config.sub doesn't handle
if echo $* | grep '^riscv\(32\|64\)-linux' >/dev/null ; then
result=`echo $@ | sed 's/linux/unknown-linux/'`
echo $result
exit
fi
# Filter out everything that doesn't begin with "aarch64-"
if ! echo $* | grep '^aarch64-' >/dev/null ; then
. $DIR/autoconf-config.sub "$@"
# autoconf-config.sub exits, so we never reach here, but just in
# case we do:
exit
fi
while test $# -gt 0 ; do
case $1 in
-- ) # Stop option processing
shift; break ;;
aarch64-* )
config=`echo $1 | sed 's/^aarch64-/arm-/'`
sub_args="$sub_args $config"
shift; ;;
- ) # Use stdin as input.
sub_args="$sub_args $1"
shift; break ;;
@@ -81,7 +51,5 @@ done
result=`. $DIR/autoconf-config.sub $sub_args "$@"`
exitcode=$?
result=`echo $result | sed "s/^arm-/aarch64-/"`
echo $result
exit $exitcode

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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,39 +26,29 @@
AC_DEFUN([BPERF_CHECK_CORES],
[
AC_MSG_CHECKING([for number of cores])
NUM_CORES=1
FOUND_CORES=no
if test -f /proc/cpuinfo; then
# Looks like a Linux (or cygwin) system
NUM_CORES=`cat /proc/cpuinfo | grep -c processor`
NUM_CORES=`cat /proc/cpuinfo | grep -cw processor`
if test "$NUM_CORES" -eq "0"; then
NUM_CORES=`cat /proc/cpuinfo | grep -c ^CPU`
fi
if test "$NUM_CORES" -ne "0"; then
FOUND_CORES=yes
fi
elif test -x /usr/sbin/sysctl; then
# Looks like a MacOSX system
NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
FOUND_CORES=yes
elif test "x$OPENJDK_BUILD_OS" = xaix ; then
NUM_LCPU=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[[0-9]]*" | $CUT -d "=" -f 2`
if test -n "$NUM_LCPU"; then
NUM_CORES=$NUM_LCPU
FOUND_CORES=yes
fi
NUM_CORES=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[[0-9]]*" | $CUT -d "=" -f 2`
elif test -n "$NUMBER_OF_PROCESSORS"; then
# On windows, look in the env
NUM_CORES=$NUMBER_OF_PROCESSORS
FOUND_CORES=yes
fi
if test "x$FOUND_CORES" = xyes; then
AC_MSG_RESULT([$NUM_CORES])
else
if test "$NUM_CORES" -eq "0"; then
NUM_CORES=1
AC_MSG_RESULT([could not detect number of cores, defaulting to 1])
AC_MSG_WARN([This will disable all parallelism from build!])
else
AC_MSG_RESULT([$NUM_CORES])
fi
])

View File

@@ -103,3 +103,7 @@ JVM_FEATURES_server := cds compiler1 compiler2 g1gc serialgc
override EXTRA_CFLAGS :=
override EXTRA_CXXFLAGS :=
override EXTRA_LDFLAGS :=
# hsdis is not needed
HSDIS_BACKEND := none
ENABLE_HSDIS_BUNDLING := false

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -86,6 +86,8 @@ PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET
# Continue setting up basic stuff. Most remaining code require fundamental tools.
BASIC_SETUP_PATHS
BASIC_SETUP_TOOLS
BASIC_SETUP_BUILD_ENV
# Check if it's a pure open build or if custom sources are to be used.
JDKOPT_SETUP_OPEN_OR_CUSTOM
@@ -215,6 +217,16 @@ JDKOPT_SETUP_CODE_COVERAGE
# AddressSanitizer
JDKOPT_SETUP_ADDRESS_SANITIZER
# UndefinedBehaviorSanitizer
JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER
# LeakSanitizer
JDKOPT_SETUP_LEAK_SANITIZER
# Fallback linker
# This needs to go before 'LIB_DETERMINE_DEPENDENCIES'
JDKOPT_SETUP_FALLBACK_LINKER
###############################################################################
#
# Check dependencies for external and internal libraries.
@@ -242,6 +254,7 @@ HOTSPOT_SETUP_MISC
###############################################################################
LIB_TESTS_ENABLE_DISABLE_FAILURE_HANDLER
LIB_TESTS_ENABLE_DISABLE_JTREG_TEST_THREAD_FACTORY
JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST
JDKOPT_EXCLUDE_TRANSLATIONS

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -51,6 +51,14 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
SET_SHARED_LIBRARY_NAME='-Wl,-install_name,@rpath/[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-exported_symbols_list,[$]1'
elif test "x$OPENJDK_TARGET_OS" = xaix; then
# Linking is different on aix
SHARED_LIBRARY_FLAGS="-shared -Wl,-bM:SRE -Wl,-bnoentry"
SET_EXECUTABLE_ORIGIN=""
SET_SHARED_LIBRARY_ORIGIN=''
SET_SHARED_LIBRARY_NAME=''
SET_SHARED_LIBRARY_MAPFILE=''
else
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
@@ -128,7 +136,12 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
)
fi
CFLAGS_DEBUG_SYMBOLS="-g"
# -gdwarf-4 and -gdwarf-aranges were introduced in clang 5.0
GDWARF_FLAGS="-gdwarf-4 -gdwarf-aranges"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${GDWARF_FLAGS}],
IF_FALSE: [GDWARF_FLAGS=""])
CFLAGS_DEBUG_SYMBOLS="-g ${GDWARF_FLAGS}"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
CFLAGS_DEBUG_SYMBOLS="-g1"
@@ -184,6 +197,10 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"
DISABLED_WARNINGS="unused-parameter unused"
# gcc10/11 on ppc generate lots of abi warnings about layout of aggregates containing vectors
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
DISABLED_WARNINGS="$DISABLED_WARNINGS psabi"
fi
;;
clang)
@@ -197,7 +214,6 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
DISABLED_WARNINGS="unknown-warning-option unused-parameter unused"
;;
xlc)
@@ -275,9 +291,15 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
if test "x$OPENJDK_TARGET_OS" = xaix; then
C_O_FLAG_HIGHEST_JVM="-O3 -finline-functions"
C_O_FLAG_HIGHEST="-O3 -finline-functions"
C_O_FLAG_HI="-O3 -finline-functions"
else
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
fi
C_O_FLAG_NORM="-O2"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_SIZE="-Os"
@@ -449,6 +471,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# so for debug we build with '-qpic=large -bbigtoc'.
DEBUG_CFLAGS_JVM="-qpic=large"
fi
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
DEBUG_CFLAGS_JVM="-fpic -mcmodel=large"
fi
fi
if test "x$DEBUG_LEVEL" != xrelease; then
@@ -471,8 +496,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
ALWAYS_DEFINES_JDK="-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \
-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DIAL"
ALWAYS_DEFINES_JVM="-DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \
-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE \
-D_WINSOCK_DEPRECATED_NO_WARNINGS"
-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE"
fi
###############################################################################
@@ -485,8 +509,14 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
-fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer"
fi
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
# clang compiler on aix needs -ffunction-sections
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -ftls-model -fno-math-errno -fstack-protector"
TOOLCHAIN_CFLAGS_JDK="-ffunction-sections -fsigned-char -fstack-protector"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fstack-protector"
TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
# reduce lib size on linux in link step, this needs also special compile flags
# do this on s390x also for libjvm (where serviceability agent is not supported)
@@ -527,7 +557,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# Suggested additions: -qsrcmsg to get improved error reporting
# set -qtbtable=full for a better traceback table/better stacks in hs_err when xlc16 is used
TOOLCHAIN_CFLAGS_JDK="-qtbtable=full -qchars=signed -qfullpath -qsaveopt -qstackprotect" # add on both CFLAGS
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced \
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -MP"
@@ -593,6 +623,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
PICFLAG="-fPIC"
PIEFLAG="-fPIE"
elif test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
JVM_PICFLAG="-fpic -mcmodel=large -Wl,-bbigtoc
JDK_PICFLAG="-fpic
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
# '-qpic' defaults to 'qpic=small'. This means that the compiler generates only
# one instruction for accessing the TOC. If the TOC grows larger than 64K, the linker
@@ -629,7 +662,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections \
-DJNIEXPORT='__attribute__((visibility(\"hidden\")))'"
-DJNIEXPORT='__attribute__((visibility(\"default\")))'"
else
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT="
fi
@@ -738,6 +771,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
$1_CFLAGS_CPU="-mcpu=pwr8"
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
if test "x$FLAGS_CPU" = xppc64; then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -70,12 +70,16 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
fi
fi
BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1"
BASIC_LDFLAGS_JVM_ONLY=""
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-fPIC"
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
-Wl,-bernotok -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
BASIC_LDFLAGS_JVM_ONLY="$BASIC_LDFLAGS_JVM_ONLY -Wl,-lC_r -Wl,-bbigtoc"
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
BASIC_LDFLAGS="-b64 -brtl -bnorwexec -bnolibpath -bnoexpall -bernotok -btextpsize:64K \
-bdatapsize:64K -bstackpsize:64K"
@@ -88,7 +92,8 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
if (test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang) \
&& test "x$OPENJDK_TARGET_OS" != xaix; then
if test -n "$HAS_NOEXECSTACK"; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,noexecstack"
fi
@@ -116,6 +121,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
if test "x$DEBUG_LEVEL" != xrelease; then
DEBUGLEVEL_LDFLAGS_JVM_ONLY="$DEBUGLEVEL_LDFLAGS_JVM_ONLY -bbigtoc"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
# We need '-fpic' or '-fpic -mcmodel=large -Wl,-bbigtoc' if the TOC overflows.
# Hotspot now overflows its 64K TOC (currently only for debug),
# so we build with '-fpic -mcmodel=large -Wl,-bbigtoc'.
if test "x$DEBUG_LEVEL" != xrelease; then
DEBUGLEVEL_LDFLAGS_JVM_ONLY="$DEBUGLEVEL_LDFLAGS_JVM_ONLY -Wl,-bbigtoc"
fi
fi
# Setup LDFLAGS for linking executables

View File

@@ -46,15 +46,31 @@ AC_DEFUN([FLAGS_SETUP_ARFLAGS],
AC_DEFUN([FLAGS_SETUP_STRIPFLAGS],
[
## Setup strip.
# FIXME: should this really be per platform, or should it be per toolchain type?
# strip is not provided by clang; so guessing platform makes most sense.
# FIXME: we should really only export STRIPFLAGS from here, not POST_STRIP_CMD.
if test "x$OPENJDK_TARGET_OS" = xlinux; then
STRIPFLAGS="-g"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
STRIPFLAGS="-S"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
STRIPFLAGS="-X32_64"
if test "x$STRIP" != x; then
AC_MSG_CHECKING([how to run strip])
# Easy cheat: Check strip variant by passing --version as an argument.
# Different types of strip have varying command line syntaxes for querying their
# version string, and all noisily fail if the provided version option is not
# recognised.
#
# The actual version string or failure to execute strip are hidden by redirection
# to config.log with 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD
if $STRIP "--version" 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD; then
# strip that comes from the GNU family uses --version
# This variant of strip is usually found accompanying gcc and clang
STRIPFLAGS="--strip-debug"
elif $STRIP "-V" 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD; then
# IBM strip that works with AIX binaries only supports -V
STRIPFLAGS="-X32_64"
else
# The only strip variant left is MacOS/Xcode strip, which does not have any
# way whatsoever to be identified (lacking even basic help or version options),
# so we leave it as the last fallback when all other tests have failed.
STRIPFLAGS="-S"
fi
AC_MSG_RESULT($STRIPFLAGS)
fi
AC_SUBST(STRIPFLAGS)
@@ -117,4 +133,3 @@ AC_DEFUN([FLAGS_SETUP_ASFLAGS_CPU_DEP],
AC_SUBST($2JVM_ASFLAGS)
])

View File

@@ -342,6 +342,7 @@ AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
AC_MSG_CHECKING([if @file is supported by gcc])
# Extra empty "" to prevent ECHO from interpreting '--version' as argument
$ECHO "" "--version" > command.file
# Redirect stderr and stdout to config.log (AS_MESSAGE_LOG_FD) via merge
if $CXX @command.file 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD; then
AC_MSG_RESULT(yes)
COMPILER_COMMAND_FILE_FLAG="@"
@@ -502,14 +503,14 @@ UTIL_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
UTIL_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: ARG_ARGUMENT,
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
PREFIX: ARG_PREFIX)
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: ARG_ARGUMENT,
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
PREFIX: ARG_PREFIX)
AC_MSG_CHECKING([if both ARG_PREFIX[CC] and ARG_PREFIX[CXX] support "ARG_ARGUMENT"])
supports=no

View File

@@ -278,6 +278,11 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
printf "using default settings.\n"
fi
if test "x$REAL_CONFIGURE_COMMAND_EXEC_FULL" != x; then
printf "\n"
printf "The original configure invocation was '$REAL_CONFIGURE_COMMAND_EXEC_SHORT $REAL_CONFIGURE_COMMAND_LINE'.\n"
fi
printf "\n"
printf "Configuration summary:\n"
printf "* Name: $CONF_NAME\n"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -410,10 +410,56 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
#
AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
[
UTIL_ARG_ENABLE(NAME: asan, DEFAULT: false,
UTIL_ARG_ENABLE(NAME: asan, DEFAULT: false, RESULT: ASAN_ENABLED,
DESC: [enable AddressSanitizer],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if AddressSanitizer (asan) is available])
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
test "x$TOOLCHAIN_TYPE" = "xclang" ||
test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AVAILABLE=false
fi
],
IF_ENABLED: [
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
test "x$TOOLCHAIN_TYPE" = "xclang"; then
# ASan is simply incompatible with gcc -Wstringop-truncation. See
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85650
# It's harmless to be suppressed in clang as well.
ASAN_CFLAGS="-fsanitize=address -Wno-stringop-truncation -fno-omit-frame-pointer -fno-common -DADDRESS_SANITIZER"
ASAN_LDFLAGS="-fsanitize=address"
elif test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
# -Oy- is equivalent to -fno-omit-frame-pointer in GCC/Clang.
ASAN_CFLAGS="-fsanitize=address -Oy- -DADDRESS_SANITIZER"
# MSVC produces a warning if you pass -fsanitize=address to the linker. It also complains
$ if -DEBUG is not passed to the linker when building with ASan.
ASAN_LDFLAGS="-debug"
fi
JVM_CFLAGS="$JVM_CFLAGS $ASAN_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $ASAN_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $ASAN_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $ASAN_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $ASAN_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
])
AC_SUBST(ASAN_ENABLED)
])
###############################################################################
#
# LeakSanitizer
#
AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
[
UTIL_ARG_ENABLE(NAME: lsan, DEFAULT: false, RESULT: LSAN_ENABLED,
DESC: [enable LeakSanitizer],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if LeakSanitizer (lsan) is available])
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
test "x$TOOLCHAIN_TYPE" = "xclang"; then
AC_MSG_RESULT([yes])
@@ -423,26 +469,60 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
fi
],
IF_ENABLED: [
# ASan is simply incompatible with gcc -Wstringop-truncation. See
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85650
# It's harmless to be suppressed in clang as well.
ASAN_CFLAGS="-fsanitize=address -Wno-stringop-truncation -fno-omit-frame-pointer"
ASAN_LDFLAGS="-fsanitize=address"
JVM_CFLAGS="$JVM_CFLAGS $ASAN_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $ASAN_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $ASAN_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $ASAN_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $ASAN_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
ASAN_ENABLED="yes"
],
IF_DISABLED: [
ASAN_ENABLED="no"
LSAN_CFLAGS="-fsanitize=leak -fno-omit-frame-pointer -DLEAK_SANITIZER"
LSAN_LDFLAGS="-fsanitize=leak"
JVM_CFLAGS="$JVM_CFLAGS $LSAN_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $LSAN_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $LSAN_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $LSAN_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $LSAN_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $LSAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $LSAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $LSAN_LDFLAGS"
])
AC_SUBST(LSAN_ENABLED)
])
AC_SUBST(ASAN_ENABLED)
###############################################################################
#
# UndefinedBehaviorSanitizer
#
AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
# GCC reports lots of likely false positives for stringop-truncation and format-overflow.
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
DESC: [enable UndefinedBehaviorSanitizer],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if UndefinedBehaviorSanitizer (ubsan) is available])
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
test "x$TOOLCHAIN_TYPE" = "xclang"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AVAILABLE=false
fi
],
IF_ENABLED: [
JVM_CFLAGS="$JVM_CFLAGS $UBSAN_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $UBSAN_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $UBSAN_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $UBSAN_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $UBSAN_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $UBSAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $UBSAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $UBSAN_LDFLAGS"
])
if test "x$UBSAN_ENABLED" = xfalse; then
UBSAN_CFLAGS=""
UBSAN_LDFLAGS=""
fi
AC_SUBST(UBSAN_CFLAGS)
AC_SUBST(UBSAN_LDFLAGS)
AC_SUBST(UBSAN_ENABLED)
])
################################################################################
@@ -742,7 +822,7 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
$RM "$CODESIGN_TESTFILE"
$TOUCH "$CODESIGN_TESTFILE"
CODESIGN_SUCCESS=false
$CODESIGN $PARAMS "$CODESIGN_TESTFILE" 2>&AS_MESSAGE_LOG_FD \
eval \"$CODESIGN\" $PARAMS \"$CODESIGN_TESTFILE\" 2>&AS_MESSAGE_LOG_FD \
>&AS_MESSAGE_LOG_FD && CODESIGN_SUCCESS=true
$RM "$CODESIGN_TESTFILE"
AC_MSG_CHECKING([$MESSAGE])
@@ -755,7 +835,7 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
AC_DEFUN([JDKOPT_CHECK_CODESIGN_HARDENED],
[
JDKOPT_CHECK_CODESIGN_PARAMS([-s "$MACOSX_CODESIGN_IDENTITY" --option runtime],
JDKOPT_CHECK_CODESIGN_PARAMS([-s \"$MACOSX_CODESIGN_IDENTITY\" --option runtime],
[if codesign with hardened runtime is possible])
])
@@ -781,7 +861,7 @@ AC_DEFUN([JDKOPT_SETUP_MACOSX_SIGNING],
# Check for user provided code signing identity.
UTIL_ARG_WITH(NAME: macosx-codesign-identity, TYPE: string,
DEFAULT: openjdk_codesign, CHECK_VALUE: UTIL_CHECK_STRING_NON_EMPTY,
DEFAULT: openjdk_codesign, CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY],
DESC: [specify the macosx code signing identity],
CHECKING_MSG: [for macosx code signing identity]
)
@@ -823,3 +903,22 @@ AC_DEFUN([JDKOPT_SETUP_MACOSX_SIGNING],
AC_SUBST(MACOSX_CODESIGN_MODE)
fi
])
################################################################################
#
# fallback linker
#
AC_DEFUN_ONCE([JDKOPT_SETUP_FALLBACK_LINKER],
[
FALLBACK_LINKER_DEFAULT=false
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
FALLBACK_LINKER_DEFAULT=true
fi
UTIL_ARG_ENABLE(NAME: fallback-linker, DEFAULT: $FALLBACK_LINKER_DEFAULT,
RESULT: ENABLE_FALLBACK_LINKER,
DESC: [enable libffi-based fallback implementation of java.lang.foreign.Linker],
CHECKING_MSG: [if fallback linker enabled])
AC_SUBST(ENABLE_FALLBACK_LINKER)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2023, 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
@@ -69,149 +69,137 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(HOTSPOT_VM_DISTRO)
# Setup username (for use in adhoc version strings etc)
AC_ARG_WITH([build-user], [AS_HELP_STRING([--with-build-user],
[build username to use in version strings])])
if test "x$with_build_user" = xyes || test "x$with_build_user" = xno; then
AC_MSG_ERROR([--with-build-user must have a value])
elif test "x$with_build_user" != x; then
USERNAME="$with_build_user"
else
# Outer [ ] to quote m4.
[ USERNAME=`$ECHO "$USER" | $TR -d -c '[a-z][A-Z][0-9]'` ]
# Note: UTIL_ARG_WITH treats empty strings as valid values when OPTIONAL is false!
# Outer [ ] to quote m4.
[ USERNAME=`$ECHO "$USER" | $TR -d -c '[a-z][A-Z][0-9]'` ]
# $USER may be not defined in dockers, so try to check with $WHOAMI
if test "x$USERNAME" = x && test "x$WHOAMI" != x; then
[ USERNAME=`$WHOAMI | $TR -d -c '[a-z][A-Z][0-9]'` ]
fi
# Setup username (for use in adhoc version strings etc)
UTIL_ARG_WITH(NAME: build-user, TYPE: string,
RESULT: USERNAME,
DEFAULT: $USERNAME,
DESC: [build username to use in version strings],
DEFAULT_DESC: [current username, sanitized],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY])
AC_SUBST(USERNAME)
# Set the JDK RC name
AC_ARG_WITH(jdk-rc-name, [AS_HELP_STRING([--with-jdk-rc-name],
[Set JDK RC name. This is used for FileDescription and ProductName properties
of MS Windows binaries. @<:@not specified@:>@])])
if test "x$with_jdk_rc_name" = xyes || test "x$with_jdk_rc_name" = xno; then
AC_MSG_ERROR([--with-jdk-rc-name must have a value])
elif [ ! [[ $with_jdk_rc_name =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-jdk-rc-name contains non-printing characters: $with_jdk_rc_name])
elif test "x$with_jdk_rc_name" != x; then
# Set JDK_RC_NAME to a custom value if '--with-jdk-rc-name' was used and is not empty.
JDK_RC_NAME="$with_jdk_rc_name"
else
# Otherwise calculate from "branding.conf" included above.
JDK_RC_NAME="$PRODUCT_NAME $JDK_RC_PLATFORM_NAME"
fi
# Otherwise calculate from "branding.conf" included above.
UTIL_ARG_WITH(NAME: jdk-rc-name, TYPE: string,
DEFAULT: $PRODUCT_NAME $JDK_RC_PLATFORM_NAME,
DESC: [Set JDK RC name. This is used for FileDescription and ProductName
properties of MS Windows binaries.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(JDK_RC_NAME)
# The vendor name, if any
AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name],
[Set vendor name. Among others, used to set the 'java.vendor'
and 'java.vm.vendor' system properties. @<:@not specified@:>@])])
if test "x$with_vendor_name" = xyes || test "x$with_vendor_name" = xno; then
AC_MSG_ERROR([--with-vendor-name must have a value])
elif [ ! [[ $with_vendor_name =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-name contains non-printing characters: $with_vendor_name])
elif test "x$with_vendor_name" != x; then
# Only set COMPANY_NAME if '--with-vendor-name' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
COMPANY_NAME="$with_vendor_name"
fi
# Only set COMPANY_NAME if '--with-vendor-name' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
UTIL_ARG_WITH(NAME: vendor-name, TYPE: string,
RESULT: COMPANY_NAME,
DEFAULT: $COMPANY_NAME,
DESC: [Set vendor name. Among others, used to set the 'java.vendor'
and 'java.vm.vendor' system properties.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(COMPANY_NAME)
# The vendor URL, if any
AC_ARG_WITH(vendor-url, [AS_HELP_STRING([--with-vendor-url],
[Set the 'java.vendor.url' system property @<:@not specified@:>@])])
if test "x$with_vendor_url" = xyes || test "x$with_vendor_url" = xno; then
AC_MSG_ERROR([--with-vendor-url must have a value])
elif [ ! [[ $with_vendor_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-url contains non-printing characters: $with_vendor_url])
elif test "x$with_vendor_url" != x; then
# Only set VENDOR_URL if '--with-vendor-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
VENDOR_URL="$with_vendor_url"
fi
# Only set VENDOR_URL if '--with-vendor-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
UTIL_ARG_WITH(NAME: vendor-url, TYPE: string,
DEFAULT: $VENDOR_URL,
DESC: [Set the 'java.vendor.url' system property],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(VENDOR_URL)
# The vendor bug URL, if any
AC_ARG_WITH(vendor-bug-url, [AS_HELP_STRING([--with-vendor-bug-url],
[Set the 'java.vendor.url.bug' system property @<:@not specified@:>@])])
if test "x$with_vendor_bug_url" = xyes || test "x$with_vendor_bug_url" = xno; then
AC_MSG_ERROR([--with-vendor-bug-url must have a value])
elif [ ! [[ $with_vendor_bug_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-bug-url contains non-printing characters: $with_vendor_bug_url])
elif test "x$with_vendor_bug_url" != x; then
# Only set VENDOR_URL_BUG if '--with-vendor-bug-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
VENDOR_URL_BUG="$with_vendor_bug_url"
fi
# Only set VENDOR_URL_BUG if '--with-vendor-bug-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
UTIL_ARG_WITH(NAME: vendor-bug-url, TYPE: string,
RESULT: VENDOR_URL_BUG,
DEFAULT: $VENDOR_URL_BUG,
DESC: [Set the 'java.vendor.url.bug' system property],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(VENDOR_URL_BUG)
# The vendor VM bug URL, if any
AC_ARG_WITH(vendor-vm-bug-url, [AS_HELP_STRING([--with-vendor-vm-bug-url],
[Sets the bug URL which will be displayed when the VM crashes @<:@not specified@:>@])])
if test "x$with_vendor_vm_bug_url" = xyes || test "x$with_vendor_vm_bug_url" = xno; then
AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value])
elif [ ! [[ $with_vendor_vm_bug_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-vm-bug-url contains non-printing characters: $with_vendor_vm_bug_url])
elif test "x$with_vendor_vm_bug_url" != x; then
# Only set VENDOR_URL_VM_BUG if '--with-vendor-vm-bug-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
VENDOR_URL_VM_BUG="$with_vendor_vm_bug_url"
fi
# Only set VENDOR_URL_VM_BUG if '--with-vendor-vm-bug-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.
UTIL_ARG_WITH(NAME: vendor-vm-bug-url, TYPE: string,
RESULT: VENDOR_URL_VM_BUG,
DEFAULT: $VENDOR_URL_VM_BUG,
DESC: [Sets the bug URL which will be displayed when the VM crashes],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(VENDOR_URL_VM_BUG)
# Override version from arguments
# If --with-version-string is set, process it first. It is possible to
# override parts with more specific flags, since these are processed later.
AC_ARG_WITH(version-string, [AS_HELP_STRING([--with-version-string],
[Set version string @<:@calculated@:>@])])
if test "x$with_version_string" = xyes || test "x$with_version_string" = xno; then
AC_MSG_ERROR([--with-version-string must have a value])
elif test "x$with_version_string" != x; then
# Additional [] needed to keep m4 from mangling shell constructs.
if [ [[ $with_version_string =~ ^([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(-([a-zA-Z0-9]+))?(((\+)([0-9]*))?(-([-a-zA-Z0-9.]+))?)?$ ]] ]; then
VERSION_FEATURE=${BASH_REMATCH[[1]]}
VERSION_INTERIM=${BASH_REMATCH[[3]]}
VERSION_UPDATE=${BASH_REMATCH[[5]]}
VERSION_PATCH=${BASH_REMATCH[[7]]}
VERSION_EXTRA1=${BASH_REMATCH[[9]]}
VERSION_EXTRA2=${BASH_REMATCH[[11]]}
VERSION_EXTRA3=${BASH_REMATCH[[13]]}
VERSION_PRE=${BASH_REMATCH[[15]]}
version_plus_separator=${BASH_REMATCH[[18]]}
VERSION_BUILD=${BASH_REMATCH[[19]]}
VERSION_OPT=${BASH_REMATCH[[21]]}
# Unspecified numerical fields are interpreted as 0.
if test "x$VERSION_INTERIM" = x; then
VERSION_INTERIM=0
UTIL_ARG_WITH(NAME: version-string, TYPE: string,
DEFAULT: [],
DESC: [Set version string],
DEFAULT_DESC: [calculated],
CHECK_VALUE: [
if test "x$RESULT" != x; then
# Additional [] needed to keep m4 from mangling shell constructs.
if [ [[ $RESULT =~ ^([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(-([a-zA-Z0-9]+))?(((\+)([0-9]*))?(-([-a-zA-Z0-9.]+))?)?$ ]] ]; then
VERSION_FEATURE=${BASH_REMATCH[[1]]}
VERSION_INTERIM=${BASH_REMATCH[[3]]}
VERSION_UPDATE=${BASH_REMATCH[[5]]}
VERSION_PATCH=${BASH_REMATCH[[7]]}
VERSION_EXTRA1=${BASH_REMATCH[[9]]}
VERSION_EXTRA2=${BASH_REMATCH[[11]]}
VERSION_EXTRA3=${BASH_REMATCH[[13]]}
VERSION_PRE=${BASH_REMATCH[[15]]}
version_plus_separator=${BASH_REMATCH[[18]]}
VERSION_BUILD=${BASH_REMATCH[[19]]}
VERSION_OPT=${BASH_REMATCH[[21]]}
# Unspecified numerical fields are interpreted as 0.
if test "x$VERSION_INTERIM" = x; then
VERSION_INTERIM=0
fi
if test "x$VERSION_UPDATE" = x; then
VERSION_UPDATE=0
fi
if test "x$VERSION_PATCH" = x; then
VERSION_PATCH=0
fi
if test "x$VERSION_EXTRA1" = x; then
VERSION_EXTRA1=0
fi
if test "x$VERSION_EXTRA2" = x; then
VERSION_EXTRA2=0
fi
if test "x$VERSION_EXTRA3" = x; then
VERSION_EXTRA3=0
fi
if test "x$version_plus_separator" != x \
&& test "x$VERSION_BUILD$VERSION_OPT" = x; then
AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing])
fi
if test "x$VERSION_BUILD" = x0; then
AC_MSG_WARN([Version build 0 is interpreted as no build number])
VERSION_BUILD=
fi
# Stop the version part process from setting default values.
# We still allow them to explicitly override though.
NO_DEFAULT_VERSION_PARTS=true
else
FAILURE="--with-version-string fails to parse as a valid version string: $RESULT"
fi
fi
if test "x$VERSION_UPDATE" = x; then
VERSION_UPDATE=0
fi
if test "x$VERSION_PATCH" = x; then
VERSION_PATCH=0
fi
if test "x$VERSION_EXTRA1" = x; then
VERSION_EXTRA1=0
fi
if test "x$VERSION_EXTRA2" = x; then
VERSION_EXTRA2=0
fi
if test "x$VERSION_EXTRA3" = x; then
VERSION_EXTRA3=0
fi
if test "x$version_plus_separator" != x \
&& test "x$VERSION_BUILD$VERSION_OPT" = x; then
AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing])
fi
if test "x$VERSION_BUILD" = x0; then
AC_MSG_WARN([Version build 0 is interpreted as no build number])
VERSION_BUILD=
fi
# Stop the version part process from setting default values.
# We still allow them to explicitly override though.
NO_DEFAULT_VERSION_PARTS=true
else
AC_MSG_ERROR([--with-version-string fails to parse as a valid version string: $with_version_string])
fi
fi
])
AC_ARG_WITH(version-pre, [AS_HELP_STRING([--with-version-pre],
[Set the base part of the version 'PRE' field (pre-release identifier) @<:@'internal'@:>@])],
@@ -290,23 +278,19 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
fi
fi
AC_ARG_WITH(version-feature, [AS_HELP_STRING([--with-version-feature],
[Set version 'FEATURE' field (first number) @<:@current source value@:>@])],
[with_version_feature_present=true], [with_version_feature_present=false])
if test "x$with_version_feature_present" = xtrue; then
if test "x$with_version_feature" = xyes || test "x$with_version_feature" = xno; then
AC_MSG_ERROR([--with-version-feature must have a value])
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_FEATURE, $with_version_feature)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
# Default is to get value from version-numbers.conf
VERSION_FEATURE="$DEFAULT_VERSION_FEATURE"
fi
# Default is to get value from version-numbers.conf
if test "x$NO_DEFAULT_VERSION_PARTS" = xtrue; then
DEFAULT_VERSION_FEATURE="$VERSION_FEATURE"
fi
UTIL_ARG_WITH(NAME: version-feature, TYPE: string,
DEFAULT: $DEFAULT_VERSION_FEATURE,
DESC: [Set version 'FEATURE' field (first number)],
DEFAULT_DESC: [current source value],
CHECK_VALUE: [
JDKVER_CHECK_AND_SET_NUMBER(VERSION_FEATURE, $RESULT)
])
AC_ARG_WITH(version-interim, [AS_HELP_STRING([--with-version-interim],
[Set version 'INTERIM' field (second number) @<:@current source value@:>@])],
[with_version_interim_present=true], [with_version_interim_present=false])
@@ -480,91 +464,81 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
VERSION_SHORT=$VERSION_NUMBER${VERSION_PRE:+-$VERSION_PRE}
# The version date
AC_ARG_WITH(version-date, [AS_HELP_STRING([--with-version-date],
[Set version date @<:@current source value@:>@])])
if test "x$with_version_date" = xyes || test "x$with_version_date" = xno; then
AC_MSG_ERROR([--with-version-date must have a value])
elif test "x$with_version_date" != x; then
if [ ! [[ $with_version_date =~ ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ ]] ]; then
AC_MSG_ERROR(["$with_version_date" is not a valid version date])
else
VERSION_DATE="$with_version_date"
fi
else
VERSION_DATE="$DEFAULT_VERSION_DATE"
fi
UTIL_ARG_WITH(NAME: version-date, TYPE: string,
DEFAULT: $DEFAULT_VERSION_DATE,
DESC: [Set version date],
DEFAULT_DESC: [current source value],
CHECK_VALUE: [
if test "x$RESULT" = x; then
FAILURE="--with-version-date cannot be empty"
elif [ ! [[ $RESULT =~ ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ ]] ]; then
FAILURE="\"$RESULT\" is not a valid version date"
fi
])
# The vendor version string, if any
AC_ARG_WITH(vendor-version-string, [AS_HELP_STRING([--with-vendor-version-string],
[Set vendor version string @<:@not specified@:>@])])
if test "x$with_vendor_version_string" = xyes; then
AC_MSG_ERROR([--with-vendor-version-string must have a value])
elif [ ! [[ $with_vendor_version_string =~ ^[[:graph:]]*$ ]] ]; then
AC_MSG_ERROR([--with--vendor-version-string contains non-graphical characters: $with_vendor_version_string])
elif test "x$with_vendor_version_string" != xno; then
# Set vendor version string if --without is not passed
# Check not required if an empty value is passed, since VENDOR_VERSION_STRING
# would then be set to ""
VENDOR_VERSION_STRING="$with_vendor_version_string"
# DEFAULT is set to an empty string in the case of --with-vendor-version-string without
# any value, which would set VENDOR_VERSION_STRING_ENABLED to true and ultimately also
# cause VENDOR_VERSION_STRING to fall back to the value in DEFAULT
UTIL_ARG_WITH(NAME: vendor-version-string, TYPE: string,
DEFAULT: [],
OPTIONAL: true,
DESC: [Set vendor version string],
DEFAULT_DESC: [not specified])
if test "x$VENDOR_VERSION_STRING_ENABLED" = xtrue; then
if [ ! [[ $VENDOR_VERSION_STRING =~ ^[[:graph:]]*$ ]] ]; then
AC_MSG_ERROR([--with--vendor-version-string contains non-graphical characters: $VENDOR_VERSION_STRING])
fi
fi
# Set the MACOSX Bundle Name base
AC_ARG_WITH(macosx-bundle-name-base, [AS_HELP_STRING([--with-macosx-bundle-name-base],
[Set the MacOSX Bundle Name base. This is the base name for calculating MacOSX Bundle Names.
@<:@not specified@:>@])])
if test "x$with_macosx_bundle_name_base" = xyes || test "x$with_macosx_bundle_name_base" = xno; then
AC_MSG_ERROR([--with-macosx-bundle-name-base must have a value])
elif [ ! [[ $with_macosx_bundle_name_base =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-name-base contains non-printing characters: $with_macosx_bundle_name_base])
elif test "x$with_macosx_bundle_name_base" != x; then
# Set MACOSX_BUNDLE_NAME_BASE to the configured value.
MACOSX_BUNDLE_NAME_BASE="$with_macosx_bundle_name_base"
fi
UTIL_ARG_WITH(NAME: macosx-bundle-name-base, TYPE: string,
DEFAULT: $MACOSX_BUNDLE_NAME_BASE,
DESC: [Set the MacOSX Bundle Name base. This is the base name for calculating MacOSX Bundle Names.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
# Set the MACOSX Bundle ID base
AC_ARG_WITH(macosx-bundle-id-base, [AS_HELP_STRING([--with-macosx-bundle-id-base],
[Set the MacOSX Bundle ID base. This is the base ID for calculating MacOSX Bundle IDs.
@<:@not specified@:>@])])
if test "x$with_macosx_bundle_id_base" = xyes || test "x$with_macosx_bundle_id_base" = xno; then
AC_MSG_ERROR([--with-macosx-bundle-id-base must have a value])
elif [ ! [[ $with_macosx_bundle_id_base =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-id-base contains non-printing characters: $with_macosx_bundle_id_base])
elif test "x$with_macosx_bundle_id_base" != x; then
# Set MACOSX_BUNDLE_ID_BASE to the configured value.
MACOSX_BUNDLE_ID_BASE="$with_macosx_bundle_id_base"
else
# If using the default value, append the VERSION_PRE if there is one
# to make it possible to tell official builds apart from developer builds
if test "x$VERSION_PRE" != x; then
MACOSX_BUNDLE_ID_BASE="$MACOSX_BUNDLE_ID_BASE-$VERSION_PRE"
fi
# If using the default value, append the VERSION_PRE if there is one
# to make it possible to tell official builds apart from developer builds
if test "x$VERSION_PRE" != x; then
MACOSX_BUNDLE_ID_BASE="$MACOSX_BUNDLE_ID_BASE-$VERSION_PRE"
fi
# Set the MACOSX Bundle ID base
UTIL_ARG_WITH(NAME: macosx-bundle-id-base, TYPE: string,
DEFAULT: $MACOSX_BUNDLE_ID_BASE,
DESC: [Set the MacOSX Bundle ID base. This is the base ID for calculating MacOSX Bundle IDs.],
DEFAULT_DESC: [based on branding.conf and VERSION_PRE],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
# Set the MACOSX CFBundleVersion field
AC_ARG_WITH(macosx-bundle-build-version, [AS_HELP_STRING([--with-macosx-bundle-build-version],
[Set the MacOSX Bundle CFBundleVersion field. This key is a machine-readable
string composed of one to three period-separated integers and should represent the
build version. Defaults to the build number.])])
if test "x$with_macosx_bundle_build_version" = xyes || test "x$with_macosx_bundle_build_version" = xno; then
AC_MSG_ERROR([--with-macosx-bundle-build-version must have a value])
elif [ ! [[ $with_macosx_bundle_build_version =~ ^[0-9\.]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-build-version contains non numbers and periods: $with_macosx_bundle_build_version])
elif test "x$with_macosx_bundle_build_version" != x; then
MACOSX_BUNDLE_BUILD_VERSION="$with_macosx_bundle_build_version"
if test "x$VERSION_BUILD" != x; then
MACOSX_BUNDLE_BUILD_VERSION="$VERSION_BUILD"
else
if test "x$VERSION_BUILD" != x; then
MACOSX_BUNDLE_BUILD_VERSION="$VERSION_BUILD"
else
MACOSX_BUNDLE_BUILD_VERSION=0
fi
# If VERSION_OPT consists of only numbers and periods, add it.
if [ [[ $VERSION_OPT =~ ^[0-9\.]+$ ]] ]; then
MACOSX_BUNDLE_BUILD_VERSION="$MACOSX_BUNDLE_BUILD_VERSION.$VERSION_OPT"
fi
MACOSX_BUNDLE_BUILD_VERSION=0
fi
# If VERSION_OPT consists of only numbers and periods, add it.
if [ [[ $VERSION_OPT =~ ^[0-9\.]+$ ]] ]; then
MACOSX_BUNDLE_BUILD_VERSION="$MACOSX_BUNDLE_BUILD_VERSION.$VERSION_OPT"
fi
# Set the MACOSX CFBundleVersion field
UTIL_ARG_WITH(NAME: macosx-bundle-build-version, TYPE: string,
DEFAULT: $MACOSX_BUNDLE_BUILD_VERSION,
DESC: [Set the MacOSX Bundle CFBundleVersion field. This key is a machine-readable
string composed of one to three period-separated integers and should represent the
build version.],
DEFAULT_DESC: [the build number],
CHECK_VALUE: [
if test "x$RESULT" = x; then
FAILURE="--with-macosx-bundle-build-version must have a value"
elif [ ! [[ $RESULT =~ ^[0-9\.]*$ ]] ]; then
FAILURE="--with-macosx-bundle-build-version contains non numbers and periods: $RESULT"
fi
])
AC_SUBST(MACOSX_BUNDLE_BUILD_VERSION)
# We could define --with flags for these, if really needed

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -247,8 +247,14 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
[
JVM_FEATURES_CHECK_AVAILABILITY(dtrace, [
AC_MSG_CHECKING([for dtrace tool])
if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
AC_MSG_CHECKING([for dtrace tool and platform support])
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU_ARCH])
AVAILABLE=false
elif test "x$OPENJDK_TARGET_CPU_ARCH" = "xs390"; then
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU_ARCH])
AVAILABLE=false
elif test "x$DTRACE" != "x" && test -x "$DTRACE"; then
AC_MSG_RESULT([$DTRACE])
else
AC_MSG_RESULT([no])

View File

@@ -134,6 +134,8 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
BINUTILS_SRC="$with_binutils_src"
UTIL_FIXUP_PATH(BINUTILS_SRC)
BINUTILS_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils"
if ! test -d $BINUTILS_SRC; then
AC_MSG_ERROR([--with-binutils-src is not pointing to a directory])
fi
@@ -141,10 +143,14 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
AC_MSG_ERROR([--with-binutils-src does not look like a binutils source directory])
fi
if test -e $BINUTILS_SRC/bfd/libbfd.a && \
test -e $BINUTILS_SRC/opcodes/libopcodes.a && \
test -e $BINUTILS_SRC/libiberty/libiberty.a && \
test -e $BINUTILS_SRC/zlib/libz.a; then
if ! test -d $BINUTILS_DIR; then
$MKDIR -p $BINUTILS_DIR
fi
if test -e $BINUTILS_DIR/bfd/libbfd.a && \
test -e $BINUTILS_DIR/opcodes/libopcodes.a && \
test -e $BINUTILS_DIR/libiberty/libiberty.a && \
test -e $BINUTILS_DIR/zlib/libz.a; then
AC_MSG_NOTICE([Found binutils binaries in binutils source directory -- not building])
else
# On Windows, we cannot build with the normal Microsoft CL, but must instead use
@@ -175,16 +181,20 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
fi
else
binutils_cc="$CC $SYSROOT_CFLAGS"
binutils_target=""
if test "x$COMPILE_TYPE" = xcross; then
binutils_target="--host=$OPENJDK_TARGET_AUTOCONF_NAME"
else
binutils_target=""
fi
fi
binutils_cflags="$binutils_cflags $MACHINE_FLAG $JVM_PICFLAG $C_O_FLAG_NORM"
AC_MSG_NOTICE([Running binutils configure])
AC_MSG_NOTICE([configure command line: ./configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" $binutils_target])
AC_MSG_NOTICE([configure command line: cd $BINUTILS_DIR && $BINUTILS_SRC/configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target])
saved_dir=`pwd`
cd "$BINUTILS_SRC"
./configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" $binutils_target
if test $? -ne 0 || ! test -e $BINUTILS_SRC/Makefile; then
cd "$BINUTILS_DIR"
$BINUTILS_SRC/configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target
if test $? -ne 0 || ! test -e $BINUTILS_DIR/Makefile; then
AC_MSG_NOTICE([Automatic building of binutils failed on configure. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
@@ -197,8 +207,6 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
cd $saved_dir
AC_MSG_NOTICE([Building of binutils done])
fi
BINUTILS_DIR="$BINUTILS_SRC"
])
################################################################################
@@ -234,8 +242,14 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
elif test "x$BINUTILS_DIR" != x; then
if test -e $BINUTILS_DIR/bfd/libbfd.a && \
test -e $BINUTILS_DIR/opcodes/libopcodes.a && \
test -e $BINUTILS_DIR/libiberty/libiberty.a; then
HSDIS_CFLAGS="-I$BINUTILS_DIR/include -I$BINUTILS_DIR/bfd -DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB"
test -e $BINUTILS_DIR/libiberty/libiberty.a && \
test -e $BINUTILS_DIR/zlib/libz.a; then
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB"
if test -n "$BINUTILS_SRC"; then
HSDIS_CFLAGS="$HSDIS_CFLAGS -I$BINUTILS_SRC/include -I$BINUTILS_DIR/bfd"
else
HSDIS_CFLAGS="$HSDIS_CFLAGS -I$BINUTILS_DIR/include -I$BINUTILS_DIR/bfd"
fi
HSDIS_LDFLAGS=""
HSDIS_LIBS="$BINUTILS_DIR/bfd/libbfd.a $BINUTILS_DIR/opcodes/libopcodes.a $BINUTILS_DIR/libiberty/libiberty.a $BINUTILS_DIR/zlib/libz.a"
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2023, 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,8 +27,9 @@
# Setup libraries and functionalities needed to test the JDK.
################################################################################
# Minimum supported version
JTREG_MINIMUM_VERSION=7
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.2
GTEST_MINIMUM_VERSION=1.13.0
###############################################################################
#
@@ -54,9 +55,18 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_GTEST],
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find 'googlemock/include/gmock/gmock.h' under ${with_gtest} given with the --with-gtest option.])
else
GTEST_FRAMEWORK_SRC=${with_gtest}
GTEST_FRAMEWORK_SRC=$with_gtest
AC_MSG_RESULT([$GTEST_FRAMEWORK_SRC])
UTIL_FIXUP_PATH([GTEST_FRAMEWORK_SRC])
# Verify that the version is the required one.
# This is a simplified version of TOOLCHAIN_CHECK_COMPILER_VERSION
gtest_version="`$GREP GOOGLETEST_VERSION $GTEST_FRAMEWORK_SRC/CMakeLists.txt | $SED -e 's/set(GOOGLETEST_VERSION \(.*\))/\1/'`"
comparable_actual_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$gtest_version"`
comparable_minimum_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$GTEST_MINIMUM_VERSION"`
if test $comparable_actual_version -lt $comparable_minimum_version ; then
AC_MSG_ERROR([gtest version is too old, at least version $GTEST_MINIMUM_VERSION is required])
fi
fi
fi
fi
@@ -269,10 +279,16 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JIB],
#
AC_DEFUN_ONCE([LIB_TESTS_ENABLE_DISABLE_FAILURE_HANDLER],
[
UTIL_ARG_ENABLE(NAME: jtreg-failure-handler, DEFAULT: auto,
if test "x$BUILD_ENV" = "xci"; then
BUILD_FAILURE_HANDLER_DEFAULT=auto
else
BUILD_FAILURE_HANDLER_DEFAULT=false
fi
UTIL_ARG_ENABLE(NAME: jtreg-failure-handler, DEFAULT: $BUILD_FAILURE_HANDLER_DEFAULT,
RESULT: BUILD_FAILURE_HANDLER,
DESC: [enable building of the jtreg failure handler],
DEFAULT_DESC: [enabled if jtreg is present],
DEFAULT_DESC: [enabled if jtreg is present and build env is CI],
CHECKING_MSG: [if the jtreg failure handler should be built],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if the jtreg failure handler is available])
@@ -285,3 +301,22 @@ AC_DEFUN_ONCE([LIB_TESTS_ENABLE_DISABLE_FAILURE_HANDLER],
])
AC_SUBST(BUILD_FAILURE_HANDLER)
])
AC_DEFUN_ONCE([LIB_TESTS_ENABLE_DISABLE_JTREG_TEST_THREAD_FACTORY],
[
UTIL_ARG_ENABLE(NAME: jtreg-test-thread-factory, DEFAULT: auto,
RESULT: BUILD_JTREG_TEST_THREAD_FACTORY,
DESC: [enable building of the jtreg test thread factory],
DEFAULT_DESC: [enabled if jtreg is present],
CHECKING_MSG: [if the jtreg test thread factory should be built],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if the jtreg test thread factory is available])
if test "x$JT_HOME" != "x"; then
AC_MSG_RESULT([yes])
else
AVAILABLE=false
AC_MSG_RESULT([no (jtreg not present)])
fi
])
AC_SUBST(BUILD_JTREG_TEST_THREAD_FACTORY)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, 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
@@ -96,24 +96,29 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
HEADERS_TO_CHECK="X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h"
# There is no Xrandr extension on AIX
if test "x$OPENJDK_TARGET_OS" = xaix; then
# There is no Xrandr extension on AIX. Code is duplicated to avoid autoconf
# 2.71+ warning "AC_CHECK_HEADERS: you should use literals"
X_CFLAGS="$X_CFLAGS -DNO_XRANDR"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
else
HEADERS_TO_CHECK="$HEADERS_TO_CHECK X11/extensions/Xrandr.h"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h X11/extensions/Xrandr.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
fi
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([$HEADERS_TO_CHECK],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h). $HELP_MSG])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -82,13 +82,40 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
fi
# Check if ffi is needed
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
if HOTSPOT_CHECK_JVM_VARIANT(zero) || test "x$ENABLE_FALLBACK_LINKER" = "xtrue"; then
NEEDS_LIB_FFI=true
else
NEEDS_LIB_FFI=false
fi
])
################################################################################
# Setup BASIC_JVM_LIBS that can be different depending on build/target platform
################################################################################
AC_DEFUN([LIB_SETUP_JVM_LIBS],
[
# Atomic library
# 32-bit platforms needs fallback library for 8-byte atomic ops on Zero
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
if test "x$OPENJDK_$1_OS" = xlinux &&
(test "x$OPENJDK_$1_CPU" = xarm ||
test "x$OPENJDK_$1_CPU" = xm68k ||
test "x$OPENJDK_$1_CPU" = xmips ||
test "x$OPENJDK_$1_CPU" = xmipsel ||
test "x$OPENJDK_$1_CPU" = xppc ||
test "x$OPENJDK_$1_CPU" = xsh ||
test "x$OPENJDK_$1_CPU" = xriscv32); then
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
fi
# Because RISC-V only has word-sized atomics, it requires libatomic where
# other common architectures do not, so link libatomic by default.
if test "x$OPENJDK_$1_OS" = xlinux && test "x$OPENJDK_$1_CPU" = xriscv64; then
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
])
################################################################################
# Parse library options, and setup needed libraries
################################################################################
@@ -109,6 +136,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
LIB_TESTS_SETUP_GTEST
BASIC_JDKLIB_LIBS=""
BASIC_JDKLIB_LIBS_TARGET=""
if test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
BASIC_JDKLIB_LIBS="-ljava -ljvm"
fi
@@ -135,27 +163,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lrt"
fi
# Atomic library
# 32-bit platforms needs fallback library for 8-byte atomic ops on Zero
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
if test "x$OPENJDK_TARGET_OS" = xlinux &&
(test "x$OPENJDK_TARGET_CPU" = xarm ||
test "x$OPENJDK_TARGET_CPU" = xm68k ||
test "x$OPENJDK_TARGET_CPU" = xmips ||
test "x$OPENJDK_TARGET_CPU" = xmipsel ||
test "x$OPENJDK_TARGET_CPU" = xppc ||
test "x$OPENJDK_TARGET_CPU" = xsh ||
test "x$OPENJDK_TARGET_CPU" = xriscv32); then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -latomic"
fi
fi
# Because RISC-V only has word-sized atomics, it requires libatomic where
# other common architectures do not. So link libatomic by default.
if test "x$OPENJDK_TARGET_OS" = xlinux && test "x$OPENJDK_TARGET_CPU" = xriscv64; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -latomic"
fi
# perfstat lib
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lperfstat"
@@ -163,15 +170,17 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib \
wsock32.lib winmm.lib version.lib psapi.lib"
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib powrprof.lib uuid.lib \
ws2_32.lib winmm.lib version.lib psapi.lib"
fi
LIB_SETUP_JVM_LIBS(BUILD)
LIB_SETUP_JVM_LIBS(TARGET)
JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
JDKEXE_LIBS=""
JVM_LIBS="$BASIC_JVM_LIBS"
JVM_LIBS="$BASIC_JVM_LIBS $BASIC_JVM_LIBS_TARGET"
OPENJDK_BUILD_JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
OPENJDK_BUILD_JVM_LIBS="$BASIC_JVM_LIBS"
OPENJDK_BUILD_JVM_LIBS="$BASIC_JVM_LIBS $BASIC_JVM_LIBS_BUILD"
AC_SUBST(JDKLIB_LIBS)
AC_SUBST(JDKEXE_LIBS)

View File

@@ -640,6 +640,7 @@ AC_DEFUN([PLATFORM_SET_MODULE_TARGET_OS_VALUES],
])
#%%% Build and target systems %%%
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
[
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
@@ -656,6 +657,22 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
PLATFORM_SET_MODULE_TARGET_OS_VALUES
PLATFORM_SET_RELEASE_FILE_OS_VALUES
PLATFORM_SETUP_LEGACY_VARS
PLATFORM_CHECK_DEPRECATION
])
AC_DEFUN_ONCE([PLATFORM_CHECK_DEPRECATION],
[
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
AC_REQUIRE([PLATFORM_EXTRACT_TARGET_AND_BUILD])
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$OPENJDK_TARGET_CPU" = xx86; then
if test "x$enable_deprecated_ports" = "xyes"; then
AC_MSG_WARN([The Windows 32-bit x86 port is deprecated and may be removed in a future release.])
else
AC_MSG_ERROR(m4_normalize([The Windows 32-bit x86 port is deprecated and may be removed in a future release.
Use --enable-deprecated-ports=yes to suppress this error.]))
fi
fi
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],
@@ -723,7 +740,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS],
[
###############################################################################
#
# Is the target little of big endian?
# Is the target little or big endian?
#
AC_C_BIGENDIAN([ENDIAN="big"],[ENDIAN="little"],[ENDIAN="unknown"],[ENDIAN="universal_endianness"])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -35,6 +35,11 @@ CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# The current directory when configure was run
CONFIGURE_START_DIR:=@CONFIGURE_START_DIR@
# How configure was originally called, if not called directly
REAL_CONFIGURE_COMMAND_EXEC_SHORT := @REAL_CONFIGURE_COMMAND_EXEC_SHORT@
REAL_CONFIGURE_COMMAND_EXEC_FULL := @REAL_CONFIGURE_COMMAND_EXEC_FULL@
REAL_CONFIGURE_COMMAND_LINE := @REAL_CONFIGURE_COMMAND_LINE@
# A self-referential reference to this file.
SPEC:=@SPEC@
@@ -353,6 +358,8 @@ BUILDJDK_OUTPUTDIR=$(OUTPUTDIR)/buildjdk
BUILD_FAILURE_HANDLER := @BUILD_FAILURE_HANDLER@
BUILD_JTREG_TEST_THREAD_FACTORY := @BUILD_JTREG_TEST_THREAD_FACTORY@
ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
@@ -402,6 +409,9 @@ TEST_JOBS?=@TEST_JOBS@
DEFAULT_MAKE_TARGET:=@DEFAULT_MAKE_TARGET@
DEFAULT_LOG:=@DEFAULT_LOG@
# Fallback linker
ENABLE_FALLBACK_LINKER:=@ENABLE_FALLBACK_LINKER@
FREETYPE_TO_USE:=@FREETYPE_TO_USE@
FREETYPE_LIBS:=@FREETYPE_LIBS@
FREETYPE_CFLAGS:=@FREETYPE_CFLAGS@
@@ -441,14 +451,15 @@ JCOV_INPUT_JDK=@JCOV_INPUT_JDK@
JCOV_FILTERS=@JCOV_FILTERS@
# AddressSanitizer
export ASAN_ENABLED:=@ASAN_ENABLED@
export DEVKIT_LIB_DIR:=@DEVKIT_LIB_DIR@
ifeq ($(ASAN_ENABLED), yes)
export ASAN_OPTIONS=handle_segv=0 detect_leaks=0
ifneq ($(DEVKIT_LIB_DIR),)
export LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):$(DEVKIT_LIB_DIR)
endif
endif
ASAN_ENABLED:=@ASAN_ENABLED@
# LeakSanitizer
LSAN_ENABLED:=@LSAN_ENABLED@
# UndefinedBehaviorSanitizer
UBSAN_ENABLED:=@UBSAN_ENABLED@
UBSAN_CFLAGS:=@UBSAN_CFLAGS@
UBSAN_LDFLAGS:=@UBSAN_LDFLAGS@
# Necessary additional compiler flags to compile X11
X_CFLAGS:=@X_CFLAGS@
@@ -684,6 +695,8 @@ INTERIM_LANGTOOLS_ADD_EXPORTS := \
--add-exports java.base/sun.invoke.util=jdk.compiler.interim \
--add-exports java.base/jdk.internal.javac=java.compiler.interim \
--add-exports java.base/jdk.internal.javac=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \
--add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim \
#
INTERIM_LANGTOOLS_MODULES_COMMA := $(strip $(subst $(SPACE),$(COMMA),$(strip \
$(INTERIM_LANGTOOLS_MODULES))))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -40,7 +40,7 @@ VALID_TOOLCHAINS_all="gcc clang xlc microsoft"
# These toolchains are valid on different platforms
VALID_TOOLCHAINS_linux="gcc clang"
VALID_TOOLCHAINS_macosx="clang"
VALID_TOOLCHAINS_aix="xlc"
VALID_TOOLCHAINS_aix="xlc clang"
VALID_TOOLCHAINS_windows="microsoft"
# Toolchain descriptions
@@ -53,7 +53,7 @@ TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++"
TOOLCHAIN_MINIMUM_VERSION_clang="3.5"
TOOLCHAIN_MINIMUM_VERSION_gcc="6.0"
TOOLCHAIN_MINIMUM_VERSION_microsoft="19.28.0.0" # VS2019 16.8, aka MSVC 14.28
TOOLCHAIN_MINIMUM_VERSION_xlc=""
TOOLCHAIN_MINIMUM_VERSION_xlc="16.1.0.0011"
# Minimum supported linker versions, empty means unspecified
TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.18"
@@ -234,6 +234,25 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE],
# First toolchain type in the list is the default
DEFAULT_TOOLCHAIN=${VALID_TOOLCHAINS%% *}
# On AIX the default toolchain depends on the installed (found) compiler
# xlclang++ -> xlc toolchain
# ibm-clang++_r -> clang toolchain
# The compiler is searched on the PATH and TOOLCHAIN_PATH
# xlclang++ has precedence over ibm-clang++_r if both are installed
if test "x$OPENJDK_TARGET_OS" = xaix; then
DEFAULT_TOOLCHAIN="clang"
if test "x$TOOLCHAIN_PATH" != x; then
if test -e ${TOOLCHAIN_PATH}/xlclang++; then
DEFAULT_TOOLCHAIN="xlc"
fi
else
UTIL_LOOKUP_PROGS(XLCLANG_TEST_PATH, xlclang++)
if test "x$XLCLANG_TEST_PATH" != x; then
DEFAULT_TOOLCHAIN="xlc"
fi
fi
fi
if test "x$with_toolchain_type" = xlist; then
# List all toolchains
AC_MSG_NOTICE([The following toolchains are valid on this platform:])
@@ -263,22 +282,40 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE],
if test "x$TOOLCHAIN_PATH" != x; then
XLC_TEST_PATH=${TOOLCHAIN_PATH}/
fi
XLCLANG_VERSION_OUTPUT=`${XLC_TEST_PATH}xlclang++ -qversion 2>&1 | $HEAD -n 1`
$ECHO "$XLCLANG_VERSION_OUTPUT" | $GREP "IBM XL C/C++ for AIX" > /dev/null
if test $? -eq 0; then
AC_MSG_NOTICE([xlclang++ output: $XLCLANG_VERSION_OUTPUT])
if test "x$TOOLCHAIN_TYPE" = xclang; then
TOOLCHAIN_DESCRIPTION_clang="IBM Open XL C/C++"
XLCLANG_VERSION_OUTPUT=`${XLC_TEST_PATH}ibm-clang++_r --version 2>&1 | $HEAD -n 1`
$ECHO "$XLCLANG_VERSION_OUTPUT" | $GREP "IBM Open XL C/C++ for AIX" > /dev/null
if test $? -eq 0; then
AC_MSG_NOTICE([ibm-clang++_r output: $XLCLANG_VERSION_OUTPUT])
else
AC_MSG_ERROR([ibm-clang++_r version output check failed, output: $XLCLANG_VERSION_OUTPUT])
fi
else
AC_MSG_ERROR([xlclang++ version output check failed, output: $XLCLANG_VERSION_OUTPUT])
XLCLANG_VERSION_OUTPUT=`${XLC_TEST_PATH}xlclang++ -qversion 2>&1 | $HEAD -n 1`
$ECHO "$XLCLANG_VERSION_OUTPUT" | $GREP "IBM XL C/C++ for AIX" > /dev/null
if test $? -eq 0; then
AC_MSG_NOTICE([xlclang++ output: $XLCLANG_VERSION_OUTPUT])
else
AC_MSG_ERROR([xlclang++ version output check failed, output: $XLCLANG_VERSION_OUTPUT])
fi
fi
fi
TOOLCHAIN_CC_BINARY_clang="clang"
if test "x$OPENJDK_TARGET_OS" = xaix; then
TOOLCHAIN_CC_BINARY_clang="ibm-clang_r"
else
TOOLCHAIN_CC_BINARY_clang="clang"
fi
TOOLCHAIN_CC_BINARY_gcc="gcc"
TOOLCHAIN_CC_BINARY_microsoft="cl"
TOOLCHAIN_CC_BINARY_xlc="xlclang"
TOOLCHAIN_CXX_BINARY_clang="clang++"
if test "x$OPENJDK_TARGET_OS" = xaix; then
TOOLCHAIN_CXX_BINARY_clang="ibm-clang++_r"
else
TOOLCHAIN_CXX_BINARY_clang="clang++"
fi
TOOLCHAIN_CXX_BINARY_gcc="g++"
TOOLCHAIN_CXX_BINARY_microsoft="cl"
TOOLCHAIN_CXX_BINARY_xlc="xlclang++"
@@ -384,7 +421,7 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
# Collapse compiler output into a single line
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.*, V\(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
$SED -e 's/^.*Version: \(@<:@1-9@:>@@<:@0-9.@:>@*\).*$/\1/'`
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# There is no specific version flag, but all output starts with a version string.
# First line typically looks something like:
@@ -632,7 +669,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
if test "x$TOOLCHAIN_MINIMUM_VERSION" != x; then
TOOLCHAIN_CHECK_COMPILER_VERSION(VERSION: $TOOLCHAIN_MINIMUM_VERSION,
IF_OLDER_THAN: [
AC_MSG_WARN([You are using $TOOLCHAIN_TYPE older than $TOOLCHAIN_MINIMUM_VERSION. This is not a supported configuration.])
AC_MSG_WARN([You are using $TOOLCHAIN_TYPE $CC_VERSION_NUMBER which is older than $TOOLCHAIN_MINIMUM_VERSION. This is not a supported configuration.])
]
)
fi
@@ -966,7 +1003,11 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
# Setup hotspot lecagy names for toolchains
HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE
if test "x$TOOLCHAIN_TYPE" = xclang; then
HOTSPOT_TOOLCHAIN_TYPE=gcc
if test "x$OPENJDK_TARGET_OS" = xaix; then
HOTSPOT_TOOLCHAIN_TYPE=xlc
else
HOTSPOT_TOOLCHAIN_TYPE=gcc
fi
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
HOTSPOT_TOOLCHAIN_TYPE=visCPP
fi

View File

@@ -52,7 +52,7 @@ m4_include([util_paths.m4])
AC_DEFUN([UTIL_DEFUN_NAMED],
[
AC_DEFUN($1, [
m4_foreach(arg, m4_split(m4_normalize($2)), [
m4_foreach([arg], m4_split(m4_normalize($2)), [
m4_if(m4_bregexp(arg, [^\*]), -1,
[
m4_set_add(legal_named_args, arg)
@@ -64,13 +64,18 @@ AC_DEFUN([UTIL_DEFUN_NAMED],
)
])
m4_foreach([arg], [$3], [
m4_if(m4_bregexp(arg, [: ]), -1, m4_define([arg], m4_bpatsubst(arg, [:], [: ])))
m4_define(arg_name, m4_substr(arg, 0, m4_bregexp(arg, [: ])))
# Delicate quoting and unquoting sequence to ensure the actual value is passed along unchanged
# For details on how this works, see https://git.openjdk.org/jdk/pull/11458#discussion_r1038173051
# WARNING: Proceed at the risk of your own sanity, getting this to work has made me completely
# incapable of feeling love or any other positive emotion
# ~Julian
m4_foreach([arg], m4_dquote(m4_dquote_elt($3)), [
m4_if(m4_index(arg, [: ]), -1, [m4_define([arg], m4_dquote(m4_bpatsubst(m4_dquote(arg), [:], [: ])))])
m4_define(arg_name, m4_substr(arg, 0, m4_index(arg, [: ])))
m4_set_contains(legal_named_args, arg_name, [],[AC_MSG_ERROR([Internal error: m4_if(arg_name, , arg, arg_name) is not a valid named argument to [$1]. Valid arguments are 'm4_set_contents(defined_args, [ ]) m4_set_contents(legal_named_args, [ ])'.])])
m4_set_remove(required_named_args, arg_name)
m4_set_remove(legal_named_args, arg_name)
m4_pushdef([ARG_][]arg_name, m4_bpatsubst(m4_substr(arg, m4_incr(m4_incr(m4_bregexp(arg, [: ])))), [^\s*], []))
m4_pushdef([ARG_][]arg_name, m4_bpatsubst(m4_bpatsubst(m4_dquote(m4_dquote(arg)), arg_name[: ]), [^\s*]))
m4_set_add(defined_args, arg_name)
m4_undefine([arg_name])
])
@@ -376,18 +381,18 @@ UTIL_DEFUN_NAMED([UTIL_ARG_ENABLE],
m4_define(ARG_GIVEN, m4_translit(ARG_NAME, [a-z-], [A-Z_])[_GIVEN])
# If DESC is not specified, set it to a generic description.
m4_define([ARG_DESC], m4_if(ARG_DESC, , [Enable the ARG_NAME feature], m4_normalize(ARG_DESC)))
m4_define([ARG_DESC], m4_if(m4_quote(ARG_DESC), , [[Enable the ARG_NAME feature]], [m4_normalize(ARG_DESC)]))
# If CHECKING_MSG is not specified, set it to a generic description.
m4_define([ARG_CHECKING_MSG], m4_if(ARG_CHECKING_MSG, , [for --enable-ARG_NAME], m4_normalize(ARG_CHECKING_MSG)))
m4_define([ARG_CHECKING_MSG], m4_if(m4_quote(ARG_CHECKING_MSG), , [[for --enable-ARG_NAME]], [m4_normalize(ARG_CHECKING_MSG)]))
# If the code blocks are not given, set them to the empty statements to avoid
# tripping up bash.
m4_define([ARG_CHECK_AVAILABLE], m4_if(ARG_CHECK_AVAILABLE, , :, ARG_CHECK_AVAILABLE))
m4_define([ARG_IF_GIVEN], m4_if(ARG_IF_GIVEN, , :, ARG_IF_GIVEN))
m4_define([ARG_IF_NOT_GIVEN], m4_if(ARG_IF_NOT_GIVEN, , :, ARG_IF_NOT_GIVEN))
m4_define([ARG_IF_ENABLED], m4_if(ARG_IF_ENABLED, , :, ARG_IF_ENABLED))
m4_define([ARG_IF_DISABLED], m4_if(ARG_IF_DISABLED, , :, ARG_IF_DISABLED))
m4_if(ARG_CHECK_AVAILABLE, , [m4_define([ARG_CHECK_AVAILABLE], [:])])
m4_if(ARG_IF_GIVEN, , [m4_define([ARG_IF_GIVEN], [:])])
m4_if(ARG_IF_NOT_GIVEN, , [m4_define([ARG_IF_NOT_GIVEN], [:])])
m4_if(ARG_IF_ENABLED, , [m4_define([ARG_IF_ENABLED], [:])])
m4_if(ARG_IF_DISABLED, , [m4_define([ARG_IF_DISABLED], [:])])
##########################
# Part 2: Set up autoconf shell code
@@ -650,21 +655,21 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
m4_define(ARG_GIVEN, m4_translit(ARG_NAME, [a-z-], [A-Z_])[_GIVEN])
# If DESC is not specified, set it to a generic description.
m4_define([ARG_DESC], m4_if(ARG_DESC, , [Give a value for the ARG_NAME feature], m4_normalize(ARG_DESC)))
m4_define([ARG_DESC], m4_if(m4_quote(ARG_DESC), , [[Give a value for the ARG_NAME feature]], [m4_normalize(ARG_DESC)]))
# If CHECKING_MSG is not specified, set it to a generic description.
m4_define([ARG_CHECKING_MSG], m4_if(ARG_CHECKING_MSG, , [for --with-ARG_NAME], m4_normalize(ARG_CHECKING_MSG)))
m4_define([ARG_CHECKING_MSG], m4_if(m4_quote(ARG_CHECKING_MSG), , [[for --with-ARG_NAME]], [m4_normalize(ARG_CHECKING_MSG)]))
m4_define([ARG_HAS_AUTO_BLOCK], m4_if(ARG_IF_AUTO, , false, true))
# If the code blocks are not given, set them to the empty statements to avoid
# tripping up bash.
m4_define([ARG_CHECK_AVAILABLE], m4_if(ARG_CHECK_AVAILABLE, , :, ARG_CHECK_AVAILABLE))
m4_define([ARG_CHECK_VALUE], m4_if(ARG_CHECK_VALUE, , :, ARG_CHECK_VALUE))
m4_define([ARG_CHECK_FOR_FILES], m4_if(ARG_CHECK_FOR_FILES, , :, ARG_CHECK_FOR_FILES))
m4_define([ARG_IF_AUTO], m4_if(ARG_IF_AUTO, , :, ARG_IF_AUTO))
m4_define([ARG_IF_GIVEN], m4_if(ARG_IF_GIVEN, , :, ARG_IF_GIVEN))
m4_define([ARG_IF_NOT_GIVEN], m4_if(ARG_IF_NOT_GIVEN, , :, ARG_IF_NOT_GIVEN))
m4_if(ARG_CHECK_AVAILABLE, , [m4_define([ARG_CHECK_AVAILABLE], [:])])
m4_if(ARG_CHECK_VALUE, , [m4_define([ARG_CHECK_VALUE], [:])])
m4_if(ARG_CHECK_FOR_FILES, , [m4_define([ARG_CHECK_FOR_FILES], [:])])
m4_if(ARG_IF_AUTO, , [m4_define([ARG_IF_AUTO], [:])])
m4_if(ARG_IF_GIVEN, , [m4_define([ARG_IF_GIVEN], [:])])
m4_if(ARG_IF_NOT_GIVEN, , [m4_define([ARG_IF_NOT_GIVEN], [:])])
##########################
# Part 2: Set up autoconf shell code
@@ -813,3 +818,12 @@ AC_DEFUN([UTIL_CHECK_STRING_NON_EMPTY],
FAILURE="Value cannot be empty"
fi
])
AC_DEFUN([UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE],
[
if test "x$RESULT" = x; then
FAILURE="Value cannot be empty"
elif [ ! [[ $RESULT =~ ^[[:print:]]*$ ]] ]; then
FAILURE="Value contains non-printing characters: $RESULT"
fi
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -521,7 +521,7 @@ AC_DEFUN([UTIL_REMOVE_SYMBOLIC_LINKS],
sym_link_dir=`pwd -P`
# Resolve file symlinks
while test $COUNTER -lt 20; do
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP -e '->' | $SED -e 's/.*-> \(.*\)/\1/'`
if test "x$ISLINK" == x; then
# This is not a symbolic link! We are done!
break

View File

@@ -219,31 +219,35 @@ define SetupJavaCompilationBody
# Use java server if it is enabled, and the user does not want a specialized
# class path.
ifeq ($$(ENABLE_JAVAC_SERVER)+$$($1_CLASSPATH), true+)
$1_JAVAC := $$(INTERIM_LANGTOOLS_ARGS) -m jdk.compiler.interim/com.sun.tools.sjavac.Main
# Create a configuration file with the needed information for the javac
# server to function properly.
$1_JAVAC_SERVER_CONFIG := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$$($1_SAFE_NAME)-server.conf
$1_JAVAC_SERVER_CONFIG := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$$($1_SAFE_NAME)-javacserver.conf
# Arguments needed to launch the javacserver client, as well as for the
# client to launch the server.
$1_JAVAC_SERVER_ARGS := $$(INTERIM_LANGTOOLS_ARGS) \
-cp $(BUILDTOOLS_OUTPUTDIR)/langtools_javacserver_classes
# The portfile contains the tcp/ip on which the server listens
# and the cookie necessary to talk to the server.
$1_JAVAC_PORT_FILE := $$(call FixPath, $$(JAVAC_SERVER_DIR)/server.port)
# The servercmd specifies how to launch the server. This will be executed
# by the client, if needed.
$1_JAVAC_SERVER_CMD := $$(call FixPath, $$(JAVA) $$($1_JAVA_FLAGS) $$($1_JAVAC))
# The javacmd tells the client how to run java to launch the server.
$1_JAVAC_SERVER_JAVA_CMD := $$(call FixPath, $$(JAVA) $$($1_JAVA_FLAGS) \
$$($1_JAVAC_SERVER_ARGS))
$1_CONFIG_VARDEPS := $$($1_JAVAC_PORT_FILE) $$($1_JAVAC_SERVER_CMD)
$1_CONFIG_VARDEPS := $$($1_JAVAC_PORT_FILE) $$($1_JAVAC_SERVER_JAVA_CMD)
$1_CONFIG_VARDEPS_FILE := $$(call DependOnVariable, $1_CONFIG_VARDEPS, \
$$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1.config_vardeps)
# Write these values to a config file
$$($1_JAVAC_SERVER_CONFIG): $$($1_CONFIG_VARDEPS_FILE)
$(ECHO) portfile=$$($1_JAVAC_PORT_FILE) > $$@
$(ECHO) servercmd=$$($1_JAVAC_SERVER_CMD) >> $$@
$(ECHO) javacmd=$$($1_JAVAC_SERVER_JAVA_CMD) >> $$@
# Always use small java to launch client
$1_JAVAC_CMD := $$(JAVA_SMALL) $$($1_JAVA_FLAGS) $$($1_JAVAC) \
--server:conf=$$($1_JAVAC_SERVER_CONFIG)
$1_JAVAC_CMD := $$(JAVA_SMALL) $$($1_JAVA_FLAGS) $$($1_JAVAC_SERVER_ARGS) \
javacserver.Main --conf=$$($1_JAVAC_SERVER_CONFIG)
else
# No javac server
$1_JAVAC := $$(INTERIM_LANGTOOLS_ARGS) -m jdk.compiler.interim/com.sun.tools.javac.Main

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, 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
@@ -194,7 +194,7 @@ $(eval $(call SetupLogging))
################################################################################
MAX_PARAMS := 36
MAX_PARAMS := 96
PARAM_SEQUENCE := $(call sequence, 2, $(MAX_PARAMS))
# Template for creating a macro taking named parameters. To use it, assign the
@@ -219,7 +219,7 @@ define NamedParamsMacroTemplate
$(foreach i,$(PARAM_SEQUENCE), $(if $(strip $($i)),\
$(strip $1)_$(strip $(call EscapeHash, $(call DoubleDollar, $($i))))$(NEWLINE)))
# Debug print all named parameter names and values
$(if $(findstring $(LOG_LEVEL),debug trace), \
$(if $(findstring $(LOG_LEVEL), trace), \
$(info $0 $(strip $1) $(foreach i,$(PARAM_SEQUENCE), \
$(if $(strip $($i)),$(NEWLINE) $(strip [$i] $(if $(filter $(LOG_LEVEL), trace), \
$($i), $(wordlist 1, 20, $($(i))) $(if $(word 21, $($(i))), ...)))))))
@@ -306,17 +306,36 @@ endef
# There are two versions, either creating a relative or an absolute link. Be
# careful when using this on Windows since the symlink created is only valid in
# the unix emulation environment.
define link-file-relative
# In msys2 we use mklink /J because its ln would perform a deep copy of the target.
# This inhibits performance and can lead to issues with long paths. With mklink /J
# relative linking does not work, so we handle the link as absolute path.
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $(call RelativePath, $<, $(@D)))' '$(call DecodeSpace, $@)'
endef
endef
endif
define link-file-absolute
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'
endef
endef
endif
################################################################################

View File

@@ -257,7 +257,7 @@ ifeq ($(HAS_FILE_FUNCTION), true)
else
# Use printf to get consistent behavior on all platforms.
WriteFile = \
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) > $2)
$(shell $(PRINTF) "%s\n" $(strip $(call ShellQuote, $1)) > $2)
endif
# Param 1 - Text to write
@@ -268,5 +268,5 @@ ifeq ($(HAS_FILE_FUNCTION), true)
else
# Use printf to get consistent behavior on all platforms.
AppendFile = \
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) >> $2)
$(shell $(PRINTF) "%s\n" $(strip $(call ShellQuote, $1)) >> $2)
endif

View File

@@ -345,22 +345,25 @@ define SetupCompileNativeFileBody
ifneq ($(DISABLE_WARNING_PREFIX), )
$1_WARNINGS_FLAGS := $$(addprefix $(DISABLE_WARNING_PREFIX), \
$$($$($1_BASE)_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$$($1_FILENAME)))
$$($$($1_BASE)_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$$($1_FILENAME)) \
$$($$($1_BASE)_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS)_$$($1_FILENAME)))
endif
$1_BASE_CFLAGS := $$($$($1_BASE)_CFLAGS) $$($$($1_BASE)_EXTRA_CFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_WARNINGS_FLAGS)
$$($$($1_BASE)_SYSROOT_CFLAGS)
$1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS) $$($1_WARNINGS_FLAGS)
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS)
$1_BASE_ASFLAGS := $$($$($1_BASE)_ASFLAGS) $$($$($1_BASE)_EXTRA_ASFLAGS)
ifneq ($$(filter %.c, $$($1_FILENAME)), )
# Compile as a C file
$1_CFLAGS += $$($1_WARNINGS_FLAGS)
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CFLAGS) \
$$($1_OPT_CFLAGS) $$($1_CFLAGS) -c
$1_COMPILER := $$($$($1_BASE)_CC)
else ifneq ($$(filter %.m, $$($1_FILENAME)), )
# Compile as an Objective-C file
$1_CFLAGS += $$($1_WARNINGS_FLAGS)
$1_FLAGS := -x objective-c $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) \
$$($1_BASE_CFLAGS) $$($1_OPT_CFLAGS) $$($1_CFLAGS) -c
$1_COMPILER := $$($$($1_BASE)_CC)
@@ -384,6 +387,7 @@ define SetupCompileNativeFileBody
endif
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
# Compile as a C++ or Objective-C++ file
$1_CXXFLAGS += $$($1_WARNINGS_FLAGS)
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CXXFLAGS) \
$$($1_OPT_CXXFLAGS) $$($1_CXXFLAGS) -c
$1_COMPILER := $$($$($1_BASE)_CXX)
@@ -485,7 +489,19 @@ endef
# CFLAGS the compiler flags to be used, used both for C and C++.
# CXXFLAGS the compiler flags to be used for c++, if set overrides CFLAGS.
# LDFLAGS the linker flags to be used, used both for C and C++.
# LDFLAGS_<toolchain> the linker flags to be used for the specified toolchain,
# used both for C and C++.
# LDFLAGS_<OS> the linker flags to be used for the specified target OS,
# used both for C and C++.
# LDFLAGS_<toolchain>_<OS> the linker flags to be used for the specified
# toolchain and target OS, used both for C and C++.
# LIBS the libraries to link to
# LIBS_<OS> the libraries to link to for the specified target OS,
# used both for C and C++.
# LIBS_<toolchain> the libraries to link to for the specified toolchain,
# used both for C and C++.
# LIBS_<OS>_<toolchain> the libraries to link to for the specified target
# OS and toolchain, used both for C and C++.
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
# OUTPUT_DIR the directory where the resulting binary is put
@@ -508,10 +524,20 @@ endef
# LD the linker to use, default is $(LD)
# OPTIMIZATION sets optimization level to NONE, LOW, HIGH, HIGHEST, HIGHEST_JVM, SIZE
# DISABLED_WARNINGS_<toolchain> Disable the given warnings for the specified toolchain
# DISABLED_WARNINGS_<toolchain>_<OS> Disable the given warnings for the specified
# toolchain and target OS
# DISABLED_WARNINGS_C_<toolchain> Disable the given warnings for the specified toolchain
# when compiling C code
# DISABLED_WARNINGS_C_<toolchain>_<OS> Disable the given warnings for the specified
# toolchain and target OS when compiling C code
# DISABLED_WARNINGS_CXX_<toolchain> Disable the given warnings for the specified
# toolchain when compiling C++ code
# DISABLED_WARNINGS_CXX_<toolchain>_<OS> Disable the given warnings for the specified
# toolchain and target OS when compiling C++ code
# DISABLED_WARNINGS_<toolchain>_<filename> Disable the given warnings for the specified
# toolchain when compiling the file specified by filename
# DISABLED_WARNINGS_<toolchain>_<OS>_<filename> Disable the given warnings for the specified
# toolchain and target OS when compiling the file specified by filename
# STRIP_SYMBOLS Set to false to override global strip policy and always leave
# symbols in the binary, if the toolchain allows for it
# DEBUG_SYMBOLS Set to false to disable generation of debug symbols
@@ -521,6 +547,7 @@ endef
# STRIPFLAGS Optionally change the flags given to the strip command
# PRECOMPILED_HEADER Header file to use as precompiled header
# PRECOMPILED_HEADER_EXCLUDE List of source files that should not use PCH
# BUILD_INFO_LOG_MACRO Overrides log level of the build info log message, default LogWarn
#
# After being called, some variables are exported from this macro, all prefixed
# with parameter 1 followed by a '_':
@@ -675,6 +702,19 @@ define SetupNativeCompilationBody
$$(error No sources found for $1 when looking inside the dirs $$($1_SRC))
endif
ifeq ($$($1_TYPE), EXECUTABLE)
ifeq ($(UBSAN_ENABLED), true)
# We need to set the default options for UBSan. This needs to be included in every executable.
# Rather than copy and paste code to everything with a main function, we add an additional
# source file to every executable that exports __ubsan_default_options.
ifneq ($$(filter %.cpp %.cc, $$($1_SRCS)), )
$1_SRCS += $(TOPDIR)/make/data/ubsan/ubsan_default_options.cpp
else
$1_SRCS += $(TOPDIR)/make/data/ubsan/ubsan_default_options.c
endif
endif
endif
# Calculate the expected output from compiling the sources
$1_EXPECTED_OBJS_FILENAMES := $$(call replace_with_obj_extension, $$(notdir $$($1_SRCS)))
$1_EXPECTED_OBJS := $$(addprefix $$($1_OBJECT_DIR)/, $$($1_EXPECTED_OBJS_FILENAMES))
@@ -687,10 +727,12 @@ define SetupNativeCompilationBody
# Sort to remove duplicates and provide a reproducible order on the input files to the linker.
$1_ALL_OBJS := $$(sort $$($1_EXPECTED_OBJS) $$($1_EXTRA_OBJECT_FILES))
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS, and/or OPENJDK_TARGET_OS plus
# OPENJDK_TARGET_CPU pair dependent variables for CFLAGS.
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS, TOOLCHAIN_TYPE and
# OPENJDK_TARGET_OS plus OPENJDK_TARGET_CPU pair dependent variables for CFLAGS.
$1_EXTRA_CFLAGS := $$($1_CFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_CFLAGS_$(OPENJDK_TARGET_OS)) \
$$($1_CFLAGS_$(TOOLCHAIN_TYPE)) \
$$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU))
ifneq ($(DEBUG_LEVEL), release)
# Pickup extra debug dependent variables for CFLAGS
$1_EXTRA_CFLAGS += $$($1_CFLAGS_debug)
@@ -707,8 +749,11 @@ define SetupNativeCompilationBody
$1_EXTRA_CFLAGS += $$(STATIC_LIBS_CFLAGS)
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE and/or OPENJDK_TARGET_OS dependent variables for CXXFLAGS.
$1_EXTRA_CXXFLAGS := $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS))
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and/or TOOLCHAIN_TYPE
# dependent variables for CXXFLAGS.
$1_EXTRA_CXXFLAGS := $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)) \
$$($1_CXXFLAGS_$(TOOLCHAIN_TYPE))
ifneq ($(DEBUG_LEVEL), release)
# Pickup extra debug dependent variables for CXXFLAGS
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_debug)
@@ -751,12 +796,16 @@ define SetupNativeCompilationBody
$$(DISABLED_WARNINGS) \
$$(DISABLED_WARNINGS_C) \
$$($1_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)) \
$$($1_DISABLED_WARNINGS_C_$(TOOLCHAIN_TYPE)))
$$($1_DISABLED_WARNINGS_C_$(TOOLCHAIN_TYPE)) \
$$($1_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS)) \
$$($1_DISABLED_WARNINGS_C_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS)))
$1_EXTRA_CXXFLAGS += $$(addprefix $(DISABLE_WARNING_PREFIX), \
$$(DISABLED_WARNINGS) \
$$(DISABLED_WARNINGS_CXX) \
$$($1_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)) \
$$($1_DISABLED_WARNINGS_CXX_$(TOOLCHAIN_TYPE)))
$$($1_DISABLED_WARNINGS_CXX_$(TOOLCHAIN_TYPE)) \
$$($1_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS)) \
$$($1_DISABLED_WARNINGS_CXX_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS)))
endif
# Check if warnings should be considered errors.
@@ -883,12 +932,18 @@ define SetupNativeCompilationBody
# Setup rule for printing progress info when compiling source files.
# This is a rough heuristic and may not always print accurate information.
$$($1_BUILD_INFO): $$($1_SRCS) $$($1_COMPILE_VARDEPS_FILE)
# The $1_BUILD_INFO and $1_BUILD_INFO_DEPS variables are used in
# TestFilesCompilation.gmk.
$$(call SetIfEmpty, $1_BUILD_INFO_LOG_MACRO, LogWarn)
$1_BUILD_INFO_DEPS := $$($1_SRCS) $$($1_COMPILE_VARDEPS_FILE)
$$($1_BUILD_INFO): $$($1_BUILD_INFO_DEPS)
ifeq ($$(wildcard $$($1_TARGET)), )
$$(call LogWarn, Creating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) from $$(words \
$$(call $$($1_BUILD_INFO_LOG_MACRO), \
Creating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) from $$(words \
$$(filter-out %.vardeps, $$?)) file(s))
else
$$(call LogWarn, $$(strip Updating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) \
$$(call $$($1_BUILD_INFO_LOG_MACRO), \
$$(strip Updating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) \
$$(if $$(filter-out %.vardeps, $$?), \
due to $$(words $$(filter-out %.vardeps, $$?)) file(s), \
$$(if $$(filter %.vardeps, $$?), due to makefile changes))))
@@ -967,10 +1022,15 @@ define SetupNativeCompilationBody
$1_REAL_MAPFILE := $$($1_MAPFILE)
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE and/or OPENJDK_TARGET_OS dependent variables
# for LDFLAGS and LIBS
$1_EXTRA_LDFLAGS += $$($1_LDFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS))
$1_EXTRA_LIBS += $$($1_LIBS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LIBS_$(OPENJDK_TARGET_OS))
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and TOOLCHAIN_TYPE
# dependent variables for LDFLAGS and LIBS, and additionally the pair dependent
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS for LDFLAGS, or OPENJDK_TARGET_OS plus
# TOOLCHAIN_TYPE for LIBS
$1_EXTRA_LDFLAGS += $$($1_LDFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS)) \
$$($1_LDFLAGS_$(TOOLCHAIN_TYPE)) $$($1_LDFLAGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
$1_EXTRA_LIBS += $$($1_LIBS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LIBS_$(OPENJDK_TARGET_OS)) \
$$($1_LIBS_$(OPENJDK_TARGET_OS)_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE))
ifneq ($$($1_REAL_MAPFILE), )
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
endif
@@ -1002,10 +1062,13 @@ define SetupNativeCompilationBody
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
# Setup the command line creating debuginfo files, to be run after linking.
# It cannot be run separately since it updates the original target file
# Creating the debuglink is done in another command rather than all at once
# so we can run it after strip is called, since strip can sometimes mangle the
# embedded debuglink, which we want to avoid.
$1_CREATE_DEBUGINFO_CMDS := \
$$($1_OBJCOPY) --only-keep-debug $$($1_TARGET) $$($1_DEBUGINFO_FILES) $$(NEWLINE) \
$(CD) $$($1_SYMBOLS_DIR) && \
$$($1_OBJCOPY) --add-gnu-debuglink=$$($1_DEBUGINFO_FILES) $$($1_TARGET)
$$($1_OBJCOPY) --only-keep-debug $$($1_TARGET) $$($1_DEBUGINFO_FILES) $$(NEWLINE)
$1_CREATE_DEBUGLINK_CMDS := $(CD) $$($1_SYMBOLS_DIR) && \
$$($1_OBJCOPY) --add-gnu-debuglink=$$($1_DEBUGINFO_FILES) $$($1_TARGET)
else ifeq ($(call isTargetOs, aix), true)
# AIX does not provide the equivalent of OBJCOPY to extract debug symbols,
@@ -1134,7 +1197,7 @@ define SetupNativeCompilationBody
$1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \
$$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \
$$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \
$$($1_STRIP_CMD)
$$($1_STRIP_CMD) $$($1_CREATE_DEBUGLINK_CMDS)
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
@@ -1197,6 +1260,7 @@ define SetupNativeCompilationBody
test "$$$$?" = "1" ; \
$$($1_CREATE_DEBUGINFO_CMDS)
$$($1_STRIP_CMD)
$$($1_CREATE_DEBUGLINK_CMDS)
ifeq ($(call isBuildOsEnv, windows.wsl2), true)
$$(CHMOD) +x $$($1_TARGET)
endif
@@ -1208,6 +1272,7 @@ define SetupNativeCompilationBody
$$($1_LIBS) $$($1_EXTRA_LIBS)) ; \
$$($1_CREATE_DEBUGINFO_CMDS)
$$($1_STRIP_CMD)
$$($1_CREATE_DEBUGLINK_CMDS)
endif
ifeq ($(call isTargetOs, windows), true)
ifneq ($$($1_MANIFEST), )

View File

@@ -57,7 +57,7 @@ define ProcessMarkdown
endif
ifneq ($$($1_CSS), )
ifneq ($$(findstring http:/, $$($1_CSS)), )
ifneq ($$(findstring https:/, $$($1_CSS)), )
$1_$2_CSS_OPTION := --css '$$($1_CSS)'
else
$1_$2_CSS := $$(strip $$(call RelativePath, $$($1_CSS), $$($1_$2_TARGET_DIR)))
@@ -84,7 +84,7 @@ define ProcessMarkdown
$$(call MakeDir, $$(SUPPORT_OUTPUTDIR)/markdown $$(dir $$($1_$2_PANDOC_OUTPUT)))
$$(call ExecuteWithLog, $$(SUPPORT_OUTPUTDIR)/markdown/$$($1_$2_MARKER), \
$$(PANDOC) $$($1_OPTIONS) -f $$(PANDOC_MARKDOWN_FLAG) \
-t $$($1_FORMAT) --standalone \
-t $$($1_FORMAT) --eol=lf --standalone \
$$($1_$2_CSS_OPTION) $$($1_$2_OPTIONS_FROM_SRC) $$($1_$2_OPTIONS) \
'$$($1_$2_PANDOC_INPUT)' -o '$$($1_$2_PANDOC_OUTPUT)')
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)

View File

@@ -45,6 +45,7 @@ include NativeCompilation.gmk
# SOURCE_DIRS A list of source directories to search
# OUTPUT_DIR Where to put the resulting files
# EXCLUDE A list of filenames to exclude from compilation
# EXTRA_FILES List of extra files not in SOURCE_DIRS
SetupTestFilesCompilation = $(NamedParamsMacroTemplate)
define SetupTestFilesCompilationBody
@@ -64,6 +65,7 @@ define SetupTestFilesCompilationBody
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(call SET_SHARED_LIBRARY_ORIGIN)
$1_COMPILATION_TYPE := LIBRARY
$1_LOG_TYPE := library
else ifeq ($$($1_TYPE), PROGRAM)
$1_PREFIX = exe
$1_OUTPUT_SUBDIR := bin
@@ -71,6 +73,7 @@ define SetupTestFilesCompilationBody
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKEXE)
$1_LDFLAGS := $(LDFLAGS_JDKEXE) $(LDFLAGS_TESTEXE)
$1_COMPILATION_TYPE := EXECUTABLE
$1_LOG_TYPE := executable
else
$$(error Unknown type: $$($1_TYPE))
endif
@@ -82,6 +85,8 @@ define SetupTestFilesCompilationBody
$1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE))
$1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST))
$1_BUILD_INFO := $$($1_OUTPUT_DIR)/_$1-build-info.marker
# Setup a compilation for each and every one of them
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
@@ -89,7 +94,7 @@ define SetupTestFilesCompilationBody
$$(eval $$(call SetupNativeCompilation, BUILD_TEST_$$(name), \
NAME := $$(unprefixed_name), \
TYPE := $$($1_COMPILATION_TYPE), \
EXTRA_FILES := $$(file), \
EXTRA_FILES := $$(file) $$($1_EXTRA_FILES), \
OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$(name), \
OUTPUT_DIR := $$($1_OUTPUT_DIR)/$$($1_OUTPUT_SUBDIR), \
CFLAGS := $$($1_BASE_CFLAGS) $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
@@ -103,10 +108,21 @@ define SetupTestFilesCompilationBody
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
BUILD_INFO_LOG_MACRO := LogInfo, \
)) \
$$(eval $1 += $$(BUILD_TEST_$$(name)) ) \
$$(eval $1 += $$(BUILD_TEST_$$(name)) ) \
$$(eval $1_BUILD_INFO_DEPS += $$(BUILD_TEST_$$(name)_BUILD_INFO_DEPS)) \
$$(eval $$(BUILD_TEST_$$(name)_BUILD_INFO): | $$($1_BUILD_INFO)) \
)
# Setup rule for printing a summary of all the tests being compiled. On Warn
# log level, this replaces the individual build info logging done by
# SetupNativeCompilation.
$$($1_BUILD_INFO): $$($1_BUILD_INFO_DEPS)
$$(call LogWarn, $$(strip Creating $$(words $$(filter-out %.vardeps, $$?)) \
test $$($1_LOG_TYPE) file(s) for $1))
$(TOUCH) $$@
endef
endif # _TEST_FILES_COMPILATION_GMK

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -130,7 +130,6 @@ define SetupBuildLauncherBody
$$(shell $(FIND) $(SUPPORT_OUTPUTDIR)/modules_libs/java.base -name "*.a") \
$(SUPPORT_OUTPUTDIR)/modules_libs/jdk.jdwp.agent/libdt_socket.a \
$(SUPPORT_OUTPUTDIR)/modules_libs/jdk.jdwp.agent/libjdwp.a \
$(SUPPORT_OUTPUTDIR)/native/java.base/$(LIBRARY_PREFIX)fdlibm$(STATIC_LIBRARY_SUFFIX) \
-framework CoreFoundation \
-framework Foundation \
-framework SystemConfiguration \
@@ -144,9 +143,19 @@ define SetupBuildLauncherBody
$1_WINDOWS_JLI_LIB := $(call FindStaticLib, java.base, jli, /libjli)
$1_EXTRA_FILES := $(LAUNCHER_SRC)/main.c
ifeq ($(ASAN_ENABLED), true)
$1_EXTRA_FILES += $(TOPDIR)/make/data/asan/asan_default_options.c
endif
ifeq ($(LSAN_ENABLED), true)
$1_EXTRA_FILES += $(TOPDIR)/make/data/lsan/lsan_default_options.c
endif
$$(eval $$(call SetupJdkExecutable, BUILD_LAUNCHER_$1, \
NAME := $1, \
EXTRA_FILES := $(LAUNCHER_SRC)/main.c, \
EXTRA_FILES := $$($1_EXTRA_FILES), \
OPTIMIZATION := $$($1_OPTIMIZATION), \
CFLAGS := $$(CFLAGS_JDKEXE) \
$$(LAUNCHER_CFLAGS) \

View File

@@ -41,15 +41,12 @@ ifeq ($(TOOLCHAIN_TYPE), gcc)
CFLAGS_JDKLIB += -fvisibility=hidden
CXXFLAGS_JDKLIB += -fvisibility=hidden
LDFLAGS_JDKLIB += -Wl,--exclude-libs,ALL
EXPORT_ALL_SYMBOLS := -fvisibility=default
else ifeq ($(TOOLCHAIN_TYPE), clang)
CFLAGS_JDKLIB += -fvisibility=hidden
CXXFLAGS_JDKLIB += -fvisibility=hidden
EXPORT_ALL_SYMBOLS := -fvisibility=default
else ifeq ($(TOOLCHAIN_TYPE), xlc)
CFLAGS_JDKLIB += -qvisibility=hidden
CXXFLAGS_JDKLIB += -qvisibility=hidden
EXPORT_ALL_SYMBOLS := -qvisibility=default
endif
# Put the libraries here.

View File

@@ -42,7 +42,6 @@ DOCS_MODULES= \
jdk.hotspot.agent \
jdk.httpserver \
jdk.jpackage \
jdk.incubator.concurrent \
jdk.incubator.vector \
jdk.jartool \
jdk.javadoc \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2023, 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,17 +25,17 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.8.1
JTREG_VERSION=7+1
GTEST_VERSION=1.13.0
JTREG_VERSION=7.2+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk19/877d6127e982470ba2a7faa31cc93d04/36/GPL/openjdk-19_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=f47aba585cfc9ecff1ed8e023524e8309f4315ed8b80100b40c7dcc232c12f96
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=bb863b2d542976d1ae4b7b81af3e78b1e4247a64644350b552d298d8dc5980dc
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk19/877d6127e982470ba2a7faa31cc93d04/36/GPL/openjdk-19_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=bfd33f5b2590fd552ae2d9231340c6b4704a872f927dce1c52860b78c49a5a11
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=47cf960d9bb89dbe987535a389f7e26c42de7c984ef5108612d77c81aa8cc6a4
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk19/877d6127e982470ba2a7faa31cc93d04/36/GPL/openjdk-19_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=8fabcee7c4e8d3b53486777ecd27bb906d67d7c1efd1bf22a8290cf659afa487
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=c92fae5e42b9aecf444a66c8ec563c652f60b1e231dfdd33a4f5a3e3603058fb

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, 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
@@ -67,6 +67,7 @@
* input.build_osenv
* input.build_osenv_cpu
* input.build_osenv_platform
* input.build_osenv_version
*
* For more complex nested attributes, there is a method "get":
*
@@ -241,14 +242,15 @@ var getJibProfilesCommon = function (input, data) {
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "macosx-aarch64",
"windows-x64", "windows-x86", "windows-aarch64",
"linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x"
"linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x",
"linux-riscv64"
];
// These are the base settings for all the main build profiles.
common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf", "jmh", "jcov"],
default_make_targets: ["product-bundles", "test-bundles", "static-libs-bundles"],
configure_args: concat("--enable-jtreg-failure-handler",
configure_args: concat(
"--with-exclude-translations=es,fr,it,ko,pt_BR,sv,ca,tr,cs,sk,ja_JP_A,ja_JP_HA,ja_JP_HI,ja_JP_I,zh_TW,zh_HK",
"--disable-manpages",
"--disable-jvm-feature-shenandoahgc",
@@ -388,7 +390,7 @@ var getJibProfilesCommon = function (input, data) {
};
};
common.boot_jdk_version = "19";
common.boot_jdk_version = "20";
common.boot_jdk_build_number = "36";
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
+ common.boot_jdk_version
@@ -518,6 +520,17 @@ var getJibProfilesProfiles = function (input, common, data) {
"--disable-warnings-as-errors"
],
},
"linux-riscv64": {
target_os: "linux",
target_cpu: "riscv64",
build_cpu: "x64",
dependencies: ["devkit", "gtest", "build_devkit"],
configure_args: [
"--openjdk-target=riscv64-linux-gnu", "--with-freetype=bundled",
"--disable-warnings-as-errors"
],
},
};
// Add the base settings to all the main profiles
@@ -574,21 +587,23 @@ var getJibProfilesProfiles = function (input, common, data) {
"linux-x64-zero": {
target_os: "linux",
target_cpu: "x64",
dependencies: ["devkit", "gtest"],
dependencies: ["devkit", "gtest", "libffi"],
configure_args: concat(common.configure_args_64bit, [
"--with-zlib=system",
"--with-jvm-variants=zero",
"--enable-libffi-bundling"
"--with-libffi=" + input.get("libffi", "home_path"),
"--enable-libffi-bundling",
])
},
"linux-aarch64-zero": {
target_os: "linux",
target_cpu: "aarch64",
dependencies: ["devkit", "gtest"],
dependencies: ["devkit", "gtest", "libffi"],
configure_args: concat(common.configure_args_64bit, [
"--with-zlib=system",
"--with-jvm-variants=zero",
"--with-libffi=" + input.get("libffi", "home_path"),
"--enable-libffi-bundling"
])
},
@@ -597,10 +612,11 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "gtest"],
dependencies: ["devkit", "gtest", "libffi"],
configure_args: concat(common.configure_args_32bit, [
"--with-zlib=system",
"--with-jvm-variants=zero",
"--with-libffi=" + input.get("libffi", "home_path"),
"--enable-libffi-bundling"
])
}
@@ -713,7 +729,10 @@ var getJibProfilesProfiles = function (input, common, data) {
},
"linux-s390x": {
platform: "linux-s390x",
}
},
"linux-riscv64": {
platform: "linux-riscv64",
},
}
// Generate common artifacts for all main profiles
Object.keys(artifactData).forEach(function (name) {
@@ -728,6 +747,40 @@ var getJibProfilesProfiles = function (input, common, data) {
common.debug_profile_artifacts(artifactData[name]));
});
// Define artifact just for linux-x64-zero, which is the only one we test on
["linux-x64"].forEach(function (name) {
var o = artifactData[name]
var pf = o.platform
var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
var zeroName = name + "-zero";
profiles[zeroName].artifacts = {
jdk: {
local: "bundles/\\(jdk.*bin." + jdk_suffix + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-zero." + jdk_suffix,
],
subdir: jdk_subdir,
exploded: "images/jdk",
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-zero-tests.tar.gz",
],
exploded: "images/test"
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-zero-symbols.tar.gz",
],
subdir: jdk_subdir,
exploded: "images/jdk"
},
};
});
buildJdkDep = input.build_os + "-" + input.build_cpu + ".jdk";
docsProfiles = {
"docs": {
@@ -797,24 +850,6 @@ var getJibProfilesProfiles = function (input, common, data) {
}
});
// Define the reference implementation profiles. These are basically the same
// as the open profiles, but upload artifacts to a different location.
common.main_profile_names.forEach(function (name) {
var riName = name + "-ri";
var riDebugName = riName + common.debug_suffix;
var openName = name + common.open_suffix;
var openDebugName = openName + common.debug_suffix;
profiles[riName] = clone(profiles[openName]);
profiles[riDebugName] = clone(profiles[openDebugName]);
// Rewrite all remote dirs to "bundles/openjdk/BCL/..."
for (artifactName in profiles[riName].artifacts) {
var artifact = profiles[riName].artifacts[artifactName];
artifact.remote = replaceAll(
"\/GPL\/", "/BCL/",
(artifact.remote != null ? artifact.remote : artifact.local));
}
});
// For open profiles, the non-debug jdk bundles, need an "open" prefix on the
// remote bundle names, forming the word "openjdk". See JDK-8188789.
common.main_profile_names.forEach(function (name) {
@@ -853,7 +888,7 @@ var getJibProfilesProfiles = function (input, common, data) {
[ "linux-aarch64", "linux-x64", "macosx-x64", "macosx-aarch64", "windows-x64" ]
.forEach(function (name) {
var o = artifactData[name]
var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
var jdk_subdir = "jdk-" + data.version;
var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
var pf = o.platform
var jcovName = name + "-jcov";
@@ -943,7 +978,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: input.build_cpu,
dependencies: [
"jtreg", "gnumake", "boot_jdk", "devkit", "jib", "jcov", testedProfileJdk,
testedProfileTest, testedProfile + ".jdk_symbols",
testedProfileTest,
],
src: "src.conf",
make_args: testOnlyMake,
@@ -957,6 +992,9 @@ var getJibProfilesProfiles = function (input, common, data) {
labels: "test"
}
};
if (!testedProfile.endsWith("-jcov")) {
testOnlyProfilesPrebuilt["run-test-prebuilt"]["dependencies"].push(testedProfile + ".jdk_symbols");
}
// If actually running the run-test-prebuilt profile, verify that the input
// variable is valid and if so, add the appropriate target_* values from
@@ -986,11 +1024,25 @@ var getJibProfilesProfiles = function (input, common, data) {
dependencies: [ "lldb" ],
environment_path: [
input.get("gnumake", "install_path") + "/bin",
input.get("lldb", "install_path") + "/Xcode.app/Contents/Developer/usr/bin",
input.get("lldb", "install_path") + "/Xcode/Contents/Developer/usr/bin",
],
};
profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra);
} else if (input.build_os == "windows") {
// On windows, add the devkit debugger to the path in all the run-test profiles
// to make them available to the jtreg failure handler.
var archDir = "x64";
if (input.build_arch == "aarch64") {
archDir = "arm64"
}
windowsRunTestExtra = {
environment_path: [
input.get("devkit", "install_path") + "/10/Debuggers/" + archDir
]
}
profiles["run-test"] = concatObjects(profiles["run-test"], windowsRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], windowsRunTestExtra);
}
// The profile run-test-prebuilt defines src.conf as the src bundle. When
@@ -1031,12 +1083,13 @@ var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc11.2.0-OL6.4+1.0",
macosx: "Xcode12.4+1.0",
windows_x64: "VS2022-17.1.0+1.0",
linux_aarch64: "gcc11.2.0-OL7.6+1.0",
macosx: "Xcode12.4+1.1",
windows_x64: "VS2022-17.1.0+1.1",
linux_aarch64: input.build_cpu == "x64" ? "gcc11.2.0-OL7.6+1.1" : "gcc11.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
linux_ppc64le: "gcc8.2.0-Fedora27+1.0",
linux_s390x: "gcc8.2.0-Fedora27+1.0"
linux_s390x: "gcc8.2.0-Fedora27+1.0",
linux_riscv64: "gcc11.3.0-Fedora_rawhide_68692+1.1"
};
var devkit_platform = (input.target_cpu == "x86"
@@ -1077,20 +1130,23 @@ var getJibProfilesDependencies = function (input, common) {
environment_path: common.boot_jdk_home + "/bin"
}
var pandoc_version;
if (input.build_cpu == "aarch64") {
if (input.build_os == "macosx") {
pandoc_version = "2.14.0.2+1.0";
} else {
pandoc_version = "2.5+1.0";
var makeRevision = "4.0+1.0";
var makeBinSubDir = "/bin";
var makeModule = "gnumake-" + input.build_platform;
if (input.build_os == "windows") {
makeModule = "gnumake-" + input.build_osenv_platform;
if (input.build_osenv == "cygwin") {
var versionArray = input.build_osenv_version.split(/\./);
var majorVer = parseInt(versionArray[0]);
var minorVer = parseInt(versionArray[1]);
if (majorVer > 3 || (majorVer == 3 && minorVer >= 3)) {
makeRevision = "4.3+1.0";
} else {
makeBinSubDir = "/cygwin/bin";
}
}
} else {
pandoc_version = "2.3.1+1.0";
}
var makeBinDir = (input.build_os == "windows"
? input.get("gnumake", "install_path") + "/cygwin/bin"
: input.get("gnumake", "install_path") + "/bin");
var makeBinDir = input.get("gnumake", "install_path") + makeBinSubDir;
var dependencies = {
boot_jdk: boot_jdk,
@@ -1119,7 +1175,7 @@ var getJibProfilesDependencies = function (input, common) {
organization: common.organization,
ext: "tar.gz",
module: "devkit-macosx" + (input.build_cpu == "x64" ? "_x64" : ""),
revision: (input.build_cpu == "x64" ? "Xcode11.3.1-MacOSX10.15+1.1" : devkit_platform_revisions[devkit_platform])
revision: (input.build_cpu == "x64" ? "Xcode11.3.1-MacOSX10.15+1.2" : devkit_platform_revisions[devkit_platform])
},
cups: {
@@ -1131,9 +1187,9 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "jpg",
product: "jtreg",
version: "7",
version: "7.2",
build_number: "1",
file: "bundles/jtreg-7+1.zip",
file: "bundles/jtreg-7.2+1.zip",
environment_name: "JT_HOME",
environment_path: input.get("jtreg", "home_path") + "/bin",
configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),
@@ -1147,7 +1203,7 @@ var getJibProfilesDependencies = function (input, common) {
jcov: {
organization: common.organization,
revision: "3.0-13-jdk-asm+1.0",
revision: "3.0-14-jdk-asm+1.0",
ext: "zip",
environment_name: "JCOV_HOME",
},
@@ -1155,18 +1211,12 @@ var getJibProfilesDependencies = function (input, common) {
gnumake: {
organization: common.organization,
ext: "tar.gz",
revision: "4.0+1.0",
module: (input.build_os == "windows"
? "gnumake-" + input.build_osenv_platform
: "gnumake-" + input.build_platform),
revision: makeRevision,
module: makeModule,
configure_args: "MAKE=" + makeBinDir + "/make",
environment: {
"MAKE": makeBinDir + "/make"
},
environment_path: makeBinDir
},
@@ -1193,7 +1243,7 @@ var getJibProfilesDependencies = function (input, common) {
pandoc: {
organization: common.organization,
ext: "tar.gz",
revision: pandoc_version,
revision: "2.19.2+1.0",
module: "pandoc-" + input.build_platform,
configure_args: "PANDOC=" + input.get("pandoc", "install_path") + "/pandoc/pandoc",
environment_path: input.get("pandoc", "install_path") + "/pandoc"
@@ -1219,7 +1269,14 @@ var getJibProfilesDependencies = function (input, common) {
gtest: {
organization: common.organization,
ext: "tar.gz",
revision: "1.8.1"
revision: "1.13.0+1.0"
},
libffi: {
organization: common.organization,
module: "libffi-" + input.target_platform,
ext: "tar.gz",
revision: "3.4.2+1.0"
},
};

View File

@@ -43,7 +43,6 @@ BOOT_MODULES= \
java.rmi \
java.security.sasl \
java.xml \
jdk.incubator.concurrent \
jdk.incubator.vector \
jdk.internal.vm.ci \
jdk.jfr \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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,17 +26,17 @@
# Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=20
DEFAULT_VERSION_FEATURE=22
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2023-03-21
DEFAULT_VERSION_CLASSFILE_MAJOR=64 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2024-03-19
DEFAULT_VERSION_CLASSFILE_MAJOR=66 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="19 20"
DEFAULT_JDK_SOURCE_TARGET_VERSION=20
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="20 21 22"
DEFAULT_JDK_SOURCE_TARGET_VERSION=22
DEFAULT_PROMOTED_VERSION_PRE=ea

View File

@@ -0,0 +1,73 @@
/*
* Copyright (c) 2023, Google 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.
*/
#ifndef ADDRESS_SANITIZER
#error "Build misconfigured, preprocessor macro ADDRESS_SANITIZER should be defined"
#endif
#ifndef __has_attribute
#define __has_attribute(x) 0
#endif
#if (defined(__GNUC__) && !defined(__clang__)) || __has_attribute(visibility)
#define ATTRIBUTE_DEFAULT_VISIBILITY __attribute__((visibility("default")))
#elif defined(_MSC_VER)
#define ATTRIBUTE_DEFAULT_VISIBILITY __declspec(dllexport)
#else
#define ATTRIBUTE_DEFAULT_VISIBILITY
#endif
#if (defined(__GNUC__) && !defined(__clang__)) || __has_attribute(used)
#define ATTRIBUTE_USED __attribute__((used))
#else
#define ATTRIBUTE_USED
#endif
#if defined(_MSC_VER)
#define CDECL __cdecl
#else
#define CDECL
#endif
// Override weak symbol exposed by ASan to override default options. This is called by ASan
// extremely early during library loading, before main is called. We need to override the default
// options because LSan is enabled by default and Hotspot is not yet compatible with it.
// Additionally we need to prevent ASan from handling SIGSEGV, so that Hotspot's crash handler is
// used. You can override these options by setting the environment variable ASAN_OPTIONS.
ATTRIBUTE_DEFAULT_VISIBILITY ATTRIBUTE_USED const char* CDECL __asan_default_options() {
return
#ifdef LEAK_SANITIZER
"leak_check_at_exit=0,"
#else
// ASan bundles LSan, however we only support LSan when it is explicitly requested during
// configuration. Thus we disable it to match if it was not requested.
"detect_leaks=0,"
#endif
"print_suppressions=0,"
"handle_segv=0,"
// See https://github.com/google/sanitizers/issues/1322. Hopefully this is resolved
// at some point and we can remove this option.
"intercept_tls_get_addr=0";
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright (c) 2023, Google 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.
*/
extern "C" {
#include "./asan_default_options.c"
} // extern "C"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2023, 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
@@ -56,10 +56,10 @@ public class $NAME_CLZ$ extends Charset
return new DoubleByte.Encoder$ENCTYPE$(this, $ENC_REPLACEMENT$ EncodeHolder.c2b, EncodeHolder.c2bIndex, $ASCIICOMPATIBLE$);
}
static class DecodeHolder {
public static class DecodeHolder {
$B2C$
static final char[][] b2c = new char[b2cStr.length][];
static final char[] b2cSB;
public static final char[][] b2c = new char[b2cStr.length][];
public static final char[] b2cSB;
static {
for (int i = 0; i < b2cStr.length; i++) {
@@ -72,9 +72,9 @@ public class $NAME_CLZ$ extends Charset
}
}
static class EncodeHolder {
static final char[] c2b = new char[$C2BLENGTH$];
static final char[] c2bIndex = new char[0x100];
public static class EncodeHolder {
public static final char[] c2b = new char[$C2BLENGTH$];
public static final char[] c2bIndex = new char[0x100];
static {
$NONROUNDTRIP_B2C$

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2000, 2023, 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
@@ -476,6 +476,11 @@ charset x-IBM874 IBM874
alias ibm-874
alias 874
# alias for GB18030 is generated at runtime
charset GB18030 GB18030
package sun.nio.cs
type source
########################################################
#
# charsets provided by ExtendedCharsets provider.
@@ -563,11 +568,6 @@ charset GBK GBK # Simplified Chinese
alias windows-936
alias CP936
charset GB18030 GB18030
package sun.nio.cs.ext
type template
alias gb18030-2000
charset GB2312 EUC_CN
package sun.nio.cs.ext
type dbcs

View File

@@ -7,7 +7,6 @@ Big5_HKSCS
EUC_CN
EUC_KR
GBK
GB18030
IBM856
IBM921
IBM922

View File

@@ -2,27 +2,21 @@
# generate these charsets into sun.nio.cs
#
Big5
Big5_Solaris
Big5_HKSCS
EUC_CN
EUC_KR
EUC_JP
EUC_JP_LINUX
EUC_JP_Open
EUC_TW
GBK
GB18030
ISO_8859_11
ISO_8859_3
ISO_8859_6
ISO_8859_8
Johab
PCK
TIS_620
JIS_X_0201
JIS_X_0208
JIS_X_0212
JIS_X_0208_Solaris
JIS_X_0212_Solaris
MS932
SJIS

View File

@@ -1,26 +0,0 @@
#
# generate these charsets into sun.nio.cs
#
Big5
Big5_Solaris
Big5_HKSCS # always together with Big5
EUC_CN
EUC_KR
EUC_JP
EUC_JP_LINUX
EUC_JP_Open
EUC_TW
GBK
GB18030
ISO_8859_11
ISO_8859_3
ISO_8859_6
ISO_8859_8
Johab
PCK
TIS_620
JIS_X_0201
JIS_X_0208
JIS_X_0212
JIS_X_0208_Solaris
JIS_X_0212_Solaris

View File

@@ -2,7 +2,6 @@
# generate these charsets into sun.nio.cs
#
GBK
GB18030
Johab
MS1255
MS1256

View File

@@ -1,4 +1,4 @@
CLDR - Unicode Common Locale Data Repository
http://cldr.unicode.org
CLDR version installed: 41
CLDR version installed: 43

View File

@@ -67,9 +67,9 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="btn" description="Bhutanese Ngultrum"/>
<type name="buk" description="Burmese Kyat" since="1.9"/>
<type name="bwp" description="Botswanan Pula"/>
<type name="byb" description="Belarusian New Ruble (1994-1999)" since="1.9"/>
<type name="byb" description="Belarusian Ruble (1994-1999)" since="1.9"/>
<type name="byn" description="Belarusian Ruble" since="31"/>
<type name="byr" description="Belarusian Ruble (20002016)" since="1.9"/>
<type name="byr" description="Belarusian Ruble (2000-2016)" since="1.9"/>
<type name="bzd" description="Belize Dollar"/>
<type name="cad" description="Canadian Dollar"/>
<type name="cdf" description="Congolese Franc"/>
@@ -112,7 +112,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="fjd" description="Fijian Dollar"/>
<type name="fkp" description="Falkland Islands Pound"/>
<type name="frf" description="French Franc"/>
<type name="gbp" description="British Pound Sterling"/>
<type name="gbp" description="British Pound"/>
<type name="gek" description="Georgian Kupon Larit" since="1.9"/>
<type name="gel" description="Georgian Lari" since="1.9"/>
<type name="ghc" description="Ghanaian Cedi (1979-2007)"/>
@@ -136,8 +136,8 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="idr" description="Indonesian Rupiah"/>
<type name="iep" description="Irish Pound"/>
<type name="ilp" description="Israeli Pound"/>
<type name="ilr" description="Israeli Sheqel (1980-1985)" since="1.9"/>
<type name="ils" description="Israeli New Sheqel"/>
<type name="ilr" description="Israeli Shekel (1980-1985)" since="1.9"/>
<type name="ils" description="Israeli New Shekel"/>
<type name="inr" description="Indian Rupee"/>
<type name="iqd" description="Iraqi Dinar" since="1.9"/>
<type name="irr" description="Iranian Rial" since="1.9"/>
@@ -181,7 +181,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="mkd" description="Macedonian Denar" since="1.9"/>
<type name="mkn" description="Macedonian Denar (1992-1993)" since="1.9"/>
<type name="mlf" description="Malian Franc" since="1.9"/>
<type name="mmk" description="Myanma Kyat"/>
<type name="mmk" description="Myanmar Kyat"/>
<type name="mnt" description="Mongolian Tugrik"/>
<type name="mop" description="Macanese Pataca"/>
<type name="mro" description="Mauritanian Ouguiya (1973-2017)"/>
@@ -189,7 +189,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="mtl" description="Maltese Lira"/>
<type name="mtp" description="Maltese Pound"/>
<type name="mur" description="Mauritian Rupee"/>
<type name="mvp" description="Maldivian Rupee" since="1.9"/>
<type name="mvp" description="Maldivian Rupee (1947-1981)" since="1.9"/>
<type name="mvr" description="Maldivian Rufiyaa" since="1.9"/>
<type name="mwk" description="Malawian Kwacha" since="1.9"/>
<type name="mxn" description="Mexican Peso" since="1.9"/>
@@ -210,7 +210,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="omr" description="Omani Rial" since="1.9"/>
<type name="pab" description="Panamanian Balboa"/>
<type name="pei" description="Peruvian Inti"/>
<type name="pen" description="Peruvian Nuevo Sol"/>
<type name="pen" description="Peruvian Sol"/>
<type name="pes" description="Peruvian Sol (1863-1965)" since="1.9"/>
<type name="pgk" description="Papua New Guinean Kina"/>
<type name="php" description="Philippine Peso"/>
@@ -219,7 +219,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="plz" description="Polish Zloty (1950-1995)" since="1.9"/>
<type name="pte" description="Portuguese Escudo"/>
<type name="pyg" description="Paraguayan Guarani"/>
<type name="qar" description="Qatari Rial"/>
<type name="qar" description="Qatari Riyal"/>
<type name="rhd" description="Rhodesian Dollar"/>
<type name="rol" description="Romanian Leu (1952-2006)" since="1.9"/>
<type name="ron" description="Romanian Leu"/>
@@ -235,11 +235,11 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="sdp" description="Sudanese Pound (1957-1998)" since="1.9"/>
<type name="sek" description="Swedish Krona"/>
<type name="sgd" description="Singapore Dollar"/>
<type name="shp" description="Saint Helena Pound"/>
<type name="shp" description="St. Helena Pound"/>
<type name="sit" description="Slovenian Tolar" since="1.9"/>
<type name="skk" description="Slovak Koruna"/>
<type name="sle" description="Sierra Leonean New Leone"/>
<type name="sll" description="Sierra Leonean Leone"/>
<type name="sle" description="Sierra Leonean Leone" since="41"/>
<type name="sll" description="Sierra Leonean Leone (1964—2022)"/>
<type name="sos" description="Somali Shilling"/>
<type name="srd" description="Surinamese Dollar"/>
<type name="srg" description="Surinamese Guilder"/>
@@ -274,28 +274,28 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="uyp" description="Uruguayan Peso (1975-1993)" since="1.9"/>
<type name="uyu" description="Uruguayan Peso"/>
<type name="uyw" description="Uruguayan Nominal Wage Index Unit" since="34"/>
<type name="uzs" description="Uzbekistan Som" since="1.9"/>
<type name="uzs" description="Uzbekistani Som" since="1.9"/>
<type name="veb" description="Venezuelan Bolívar (1871-2008)" since="1.9"/>
<type name="ved" description="Bolívar Soberano" since="41"/>
<type name="vef" description="Venezuelan Bolívar (2008-2018)"/>
<type name="ves" description="Venezuelan Bolívar" since="34"/>
<type name="ved" description="Bolívar Soberano" since="41"/>
<type name="vnd" description="Vietnamese Dong"/>
<type name="vnn" description="Vietnamese Dong (1978-1985)" since="1.9"/>
<type name="vuv" description="Vanuatu Vatu"/>
<type name="wst" description="Samoan Tala"/>
<type name="xaf" description="CFA Franc BEAC"/>
<type name="xaf" description="Central African CFA Franc"/>
<type name="xag" description="Silver" since="1.9"/>
<type name="xau" description="Gold" since="1.9"/>
<type name="xba" description="European Composite Unit" since="1.9"/>
<type name="xbb" description="European Monetary Unit" since="1.9"/>
<type name="xbc" description="European Unit of Account 9" since="1.9"/>
<type name="xbd" description="European Unit of Account 17" since="1.9"/>
<type name="xbc" description="European Unit of Account (XBC)" since="1.9"/>
<type name="xbd" description="European Unit of Account (XBD)" since="1.9"/>
<type name="xcd" description="East Caribbean Dollar"/>
<type name="xdr" description="Special Drawing Rights" since="1.9"/>
<type name="xeu" description="European Currency Unit" since="1.9"/>
<type name="xfo" description="French Gold Franc" since="1.9"/>
<type name="xfu" description="French UIC-Franc" since="1.9"/>
<type name="xof" description="CFA Franc BCEAO"/>
<type name="xof" description="West African CFA Franc"/>
<type name="xpd" description="Palladium" since="1.9"/>
<type name="xpf" description="CFP Franc"/>
<type name="xpt" description="Platinum" since="1.9"/>

View File

@@ -13,5 +13,10 @@
<type name="uksystem" description="UK System of measurement: feet, pints, etc.; pints are 20oz"
alias="imperial" since="28" />
</key>
<key name="mu" since="42" description="Allows setting overrides for measurement units. Currently limited to quantity=temperature, and no provision for usage or size.">
<type name="celsius" description="temperature unit is Celsius" since="42" />
<type name="kelvin" description="temperature unit is Kelvin" since="42" />
<type name="fahrenhe" description="temperature unit is Fahrenheit" since="42" />
</key>
</keyword>
</ldmlBCP47>

View File

@@ -49,6 +49,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="jpanfin" description="Japanese financial numerals — algorithmic"/>
<type name="jpanyear" description="Japanese first-year Gannen numbering for Japanese calendar" since="35"/>
<type name="kali" description="Kayah Li digits" since="21"/>
<type name="kawi" description="Kawi digits" since="42"/>
<type name="khmr" description="Khmer digits"/>
<type name="knda" description="Kannada digits"/>
<type name="lana" description="Tai Tham Hora (secular) digits" since="21"/>
@@ -70,6 +71,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="mymr" description="Myanmar digits"/>
<type name="mymrshan" description="Myanmar Shan digits" since="21"/>
<type name="mymrtlng" description="Myanmar Tai Laing digits" since="28"/>
<type name="nagm" description="Nag Mundari digits" since="42"/>
<type name="native" description="Native digits" since="21"/>
<type name="newa" description="Newa digits" since="30"/>
<type name="nkoo" description="N'Ko digits" since="21"/>

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