Compare commits

..

997 Commits

Author SHA1 Message Date
Thomas Stuefe
8555e0f6c4 8319318: bufferedStream fixed case can be removed
Reviewed-by: dholmes
2023-11-08 06:23:39 +00:00
Per Minborg
73c5f60f41 8319556: Harmonize interface formatting in the FFM API
Reviewed-by: mcimadamore
2023-11-08 06:12:14 +00:00
Justin Lu
cc4b0d9217 8319378: Spec for j.util.Timer::purge and j.util.Timer::cancel could be improved
Reviewed-by: naoto, jpai, rriggs
2023-11-07 21:33:33 +00:00
Gergö Barany
a290256bbf 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Reviewed-by: dnsimon, never, psandoz
2023-11-07 19:23:53 +00:00
Joe Wang
b1625af600 8305814: Update Xalan Java to 2.7.3
Reviewed-by: iris, lancea, naoto
2023-11-07 19:21:03 +00:00
Mikael Vidstedt
806529aa77 8319573: Change to Visual Studio 17.6.5 for building on Windows at Oracle
Reviewed-by: erikj
2023-11-07 17:13:47 +00:00
Alexey Semenyuk
e9eb8b98f4 8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
Reviewed-by: almatvee, alanb
2023-11-07 17:07:43 +00:00
Mandy Chung
8eb6f617b3 8319436: Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
Reviewed-by: alanb
2023-11-07 17:00:08 +00:00
Lance Andersen
82747132b0 8314891: Additional Zip64 extra header validation
Reviewed-by: coffeys
2023-11-07 16:52:22 +00:00
Afshin Zafari
0dcd730f5c 8318594: NMT: VM.native_memory crashes on assert if functionality isn't supported by OS
Reviewed-by: zgu, jsjolen
2023-11-07 15:47:01 +00:00
Jan Lahoda
45e68ae207 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Reviewed-by: asotona
2023-11-07 15:27:48 +00:00
Chen Liang
4a0ad462ab 8317937: @sealedGraph: Links to inner classes fails in links
Reviewed-by: pminborg
2023-11-07 15:07:17 +00:00
Per Minborg
134c382d39 8319560: Reformat method parameters in the FFM API
Reviewed-by: mcimadamore
2023-11-07 15:05:03 +00:00
Per Minborg
ef8c8408a6 8319607: FFM: Review the language in the FFM documentation
Reviewed-by: mcimadamore
2023-11-07 14:34:33 +00:00
Albert Mingkun Yang
bf9a93de1f 8319204: G1: Change G1CMTask::_termination_time_ms to wallclock time
Reviewed-by: iwalulya, tschatzl
2023-11-07 14:30:14 +00:00
Feilong Jiang
b2504a0f9c 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
Reviewed-by: luhenry, fyang
2023-11-07 14:29:53 +00:00
Daniel Lundén
bfafb27e27 8319615: IGV incomplete gitignore
Reviewed-by: rcastanedalo
2023-11-07 13:57:12 +00:00
Thomas Schatzl
c760097943 8319541: G1: Inline G1RemoveSelfForwardsTask into RestoreRetainedRegionsTask
Reviewed-by: ayang, iwalulya
2023-11-07 13:48:18 +00:00
Thomas Schatzl
85e4cde3f8 8319620: Parallel: Remove unused PSPromotionManager::*_is_full getters and setters
Reviewed-by: ayang
2023-11-07 13:48:04 +00:00
Chen Liang
d22e368cb5 8319462: Signature.ClassTypeSig::classDesc() incorrect for inner class types
Reviewed-by: asotona
2023-11-07 12:22:40 +00:00
Jan Lahoda
541ff7149f 8318144: Match on enum constants with body compiles but fails with MatchException
Reviewed-by: liach, vromero
2023-11-07 12:05:58 +00:00
Per Minborg
42f43c520c 8319563: Reformat code in the FFM API
Reviewed-by: mcimadamore
2023-11-07 11:39:41 +00:00
Per Minborg
ac0ee20a38 8319613: Complier error in benchmark TestLoadSegmentVarious
Reviewed-by: jpai, stefank
2023-11-07 11:04:43 +00:00
Kevin Walls
a7c0190230 8319238: JMX ThreadPoolAccTest.java is too verbose and should fail before timeout
Reviewed-by: sspitsyn
2023-11-07 10:15:35 +00:00
Doug Simon
9ac6ac86d3 8319559: [JVMCI] ensureLinked must be able to call Java
Reviewed-by: never, thartmann
2023-11-07 10:13:54 +00:00
Hamlin Li
1c0e7b71b8 8319408: RISC-V: MaxVectorSize is not consistently checked in several situations
Reviewed-by: fyang
2023-11-07 09:50:51 +00:00
Per Minborg
74f1889b58 8318678: Vector access on heap MemorySegments only works for byte[]
Reviewed-by: chegar, mcimadamore, psandoz
2023-11-07 09:46:45 +00:00
Daniel Jeliński
e1cae72036 8319197: Exclude hb-subset and hb-style from compilation
Reviewed-by: erikj, aivanov, prr
2023-11-07 08:41:49 +00:00
Marc R. Hoffmann
419ed90770 8319450: New methods java.net.InetXAddress.ofLiteral() miss @since tag
Reviewed-by: dfuchs, aefimov, vtewari, jpai
2023-11-07 06:37:45 +00:00
Hao Sun
439ed046e4 8319233: AArch64: Build failure with clang due to -Wformat-nonliteral warning
Reviewed-by: kbarrett, eastigeevich
2023-11-07 01:01:37 +00:00
lawrence.andrews
e4803e0cbf 8318580: "javax/swing/MultiMonitor/MultimonVImage.java failing with Error. Can't find library: /open/test/jdk/java/awt/regtesthelpers" after JDK-8316053
Reviewed-by: serb, aivanov
2023-11-06 20:10:51 +00:00
Jorn Vernee
cdf337357a 8319316: Clarify text around which layouts a linker supports
Reviewed-by: mcimadamore
2023-11-06 15:09:26 +00:00
Kevin Driver
1696603ccd 8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
Reviewed-by: weijun
2023-11-06 15:07:03 +00:00
Thomas Stuefe
b3126b6e44 8319455: Test compiler/print/CompileCommandMemLimit.java times out
Reviewed-by: thartmann, chagedorn
2023-11-06 13:58:52 +00:00
Leo Korinth
1c2ea1d27b 8319153: Fix: Class is a raw type in ProcessTools
Reviewed-by: dholmes, mli, lmesnik, jpai
2023-11-06 13:32:10 +00:00
Tejesh R
96e6e670b5 4365952: Cannot disable JFileChooser
Reviewed-by: prr, abhiscxk
2023-11-06 13:29:48 +00:00
Jaikiran Pai
2d4bbf4787 8319465: Typos in javadoc of com.sun.management.OperatingSystemMXBean methods
Reviewed-by: dholmes, kevinw, dfuchs
2023-11-06 12:58:15 +00:00
Albert Mingkun Yang
8fb94fd4fe 8319379: G1: gc/logging/TestUnifiedLoggingSwitchStress.java crashes after JDK-8318894
Reviewed-by: tschatzl, sjohanss
2023-11-06 11:06:42 +00:00
Emanuel Peter
b5c863b772 8316533: C2 compilation fails with assert(verify(phase)) failed: missing Value() optimization
Reviewed-by: rcastanedalo, thartmann, roland
2023-11-06 10:41:09 +00:00
Roberto Castañeda Lozano
377138c7b5 8318959: C2: define MachNode::fill_new_machnode() statically
Reviewed-by: kvn, thartmann
2023-11-06 09:08:56 +00:00
Robbin Ehn
c146685ca9 8319165: hsdis binutils: warns on empty string as option string
Reviewed-by: mli, jwilhelm, aph
2023-11-06 05:48:10 +00:00
Hamlin Li
01c0d5dd0a 8319412: RISC-V: Simple fix of indent in c2_MacroAssembler_riscv.hpp
Reviewed-by: fyang
2023-11-05 11:29:30 +00:00
Andrew Haley
df599dbb9b 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic
Reviewed-by: ihse, dholmes, stuefe
2023-11-04 09:17:11 +00:00
Alan Bateman
c099cf53f2 8318422: Allow poller threads be virtual threads
Reviewed-by: michaelm
2023-11-04 06:52:19 +00:00
Alex Menkov
29cf2c471b 8319053: Segment dump files remain after parallel heap dump on Windows
Reviewed-by: dholmes, yyang
2023-11-03 20:44:36 +00:00
Justin Lu
ea6a88a0aa 8318466: Improve spec of NumberFormat's methods with unsupported operations
Reviewed-by: naoto, iris
2023-11-03 17:32:51 +00:00
Liam Miller-Cushon
de6667cf11 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: vromero
2023-11-03 17:31:05 +00:00
Mandy Chung
008ca2a725 8317620: Build JDK tools with ModuleMainClass attribute
Reviewed-by: erikj, alanb
2023-11-03 16:05:40 +00:00
Johannes Bechberger
1a21c1a783 8318736: com/sun/jdi/JdwpOnThrowTest.java failed with "transport error 202: bind failed: Address already in use"
Reviewed-by: amenkov
2023-11-03 12:32:53 +00:00
Matthias Baesken
81db1721d4 8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return
Reviewed-by: rschmelter, prr
2023-11-03 12:29:39 +00:00
Per Minborg
be01caf30d 8319323: FFM: Harmonize the @throws tags in the javadocs
Reviewed-by: jvernee
2023-11-03 12:26:47 +00:00
xpbob
ec79ab4b3c 8319268: Build failure with GCC8.3.1 after 8313643
Reviewed-by: jiefu, erikj, prr
2023-11-03 03:49:37 +00:00
Joe Darcy
c788160f8a 8296240: Augment discussion of test tiers in doc/testing.md
Reviewed-by: alanb
2023-11-02 20:28:16 +00:00
Markus Grönlund
ffaecd4aa2 8315364: Assert thread state invariant for JFR stack trace capture
Reviewed-by: egahlin
2023-11-02 19:34:51 +00:00
Alisen Chung
3b65b8797a 8316028: Update FreeType to 2.13.2
Reviewed-by: serb, dnguyen
2023-11-02 19:05:14 +00:00
Joe Darcy
9dc40ba48e 8319195: Move most tier 1 vector API regression tests to tier 3
Reviewed-by: kvn, jiefu
2023-11-02 18:59:07 +00:00
Doug Simon
f875163c5d 8318982: Improve Exceptions::special_exception
Reviewed-by: coleenp, dholmes
2023-11-02 17:43:26 +00:00
Weijun Wang
84f4f7477c 8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Reviewed-by: rhalade
2023-11-02 17:39:34 +00:00
Mandy Chung
6ad093ef12 8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"
Reviewed-by: jpai, rriggs
2023-11-02 16:38:30 +00:00
Rajan Halade
e6f46a4326 8317374: Add Let's Encrypt ISRG Root X2
Reviewed-by: mullan
2023-11-02 16:38:13 +00:00
Calvin Cheung
e318cd25cb 8316969: Improve CDS module graph support for --module option
Reviewed-by: iklam, alanb
2023-11-02 16:03:14 +00:00
Matias Saavedra Silva
7a7b1e5a92 8315890: Attempts to load from nullptr in instanceKlass.cpp and unsafe.cpp
Reviewed-by: coleenp, ccheung, dholmes
2023-11-02 14:30:41 +00:00
Per Minborg
cb20a3e7a6 8319166: Typos in the JavaDocs for MemorySegment
Reviewed-by: mcimadamore
2023-11-02 13:29:27 +00:00
Martin Doerr
99efcded6c 8317545: AIX PPC64: Implementation of Foreign Function & Memory API
Reviewed-by: jvernee
2023-11-02 13:13:46 +00:00
Hannes Wallnöfer
e9d19d0fff 8319300: Remove unused methods in WorkArounds and Utils
Reviewed-by: prappo
2023-11-02 12:21:26 +00:00
Markus Grönlund
faa8bde275 8319206: [REDO] Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native
Reviewed-by: dholmes, egahlin
2023-11-02 12:17:35 +00:00
Markus Grönlund
4f808c62b0 8316538: runtime/handshake/MixedHandshakeWalkStackTest.java crashes with JFR
Reviewed-by: egahlin
2023-11-02 12:17:18 +00:00
Hannes Wallnöfer
2d4a4d04b8 8315921: Invalid CSS declarations in java.lang class documentation
Reviewed-by: jpai, alanb
2023-11-02 11:53:54 +00:00
Albert Mingkun Yang
792d829328 8319205: Parallel: Reenable work stealing after JDK-8310031
Reviewed-by: tschatzl, iwalulya
2023-11-02 11:26:04 +00:00
Albert Mingkun Yang
23a96bf312 8318894: G1: Use uint for age in G1SurvRateGroup
Reviewed-by: tschatzl, iwalulya
2023-11-02 11:25:53 +00:00
Julian Waters
64f8253b7d 8317332: Prepare security for permissive-
Reviewed-by: djelinski, weijun, valeriep
2023-11-02 10:53:17 +00:00
Matthias Baesken
53bb7cd415 8318957: enhance agentlib:jdwp help output by info about allow option
Reviewed-by: cjplummer
2023-11-02 10:06:37 +00:00
Thomas Obermeier
d6ce62ebc0 8306561: Possible out of bounds access in print_pointer_information
Reviewed-by: stuefe, clanger
2023-11-02 09:51:22 +00:00
Albert Mingkun Yang
7f31a0591c 8319203: Parallel: Rename addr_is_marked_imprecise
Reviewed-by: iwalulya, tschatzl
2023-11-02 09:39:30 +00:00
Julian Waters
4a85f6ae9f 8317132: Prepare HotSpot for permissive-
Reviewed-by: dholmes, jvernee, djelinski
2023-11-02 08:17:14 +00:00
Mandy Chung
5207443b36 8317965: TestLoadLibraryDeadlock.java fails with "Unable to load native library.: expected true, was false"
Reviewed-by: rriggs
2023-11-01 22:19:57 +00:00
Justin Lu
ee57e731d0 8317612: ChoiceFormat and MessageFormat constructors call non-final public method
Reviewed-by: naoto, lancea
2023-11-01 21:29:45 +00:00
Maurizio Cimadamore
f262f06c97 8319211: Regression in LoopOverNonConstantFP
Reviewed-by: jvernee
2023-11-01 17:49:21 +00:00
Ben Perez
bfaf5704e7 8311546: Certificate name constraints improperly validated with leading period
Reviewed-by: mullan
2023-11-01 16:49:50 +00:00
Doug Simon
d354141aa1 8318694: [JVMCI] disable can_call_java in most contexts for libjvmci compiler threads
Reviewed-by: dholmes, never
2023-11-01 16:27:04 +00:00
Jonathan Gibbons
c86592d38d 8319046: Execute tests in source/class-file order in JavadocTester
Reviewed-by: hannesw
2023-11-01 15:48:31 +00:00
Jonathan Gibbons
3660a90ad8 8319139: Improve diagnosability of JavadocTester output
Reviewed-by: hannesw
2023-11-01 15:33:53 +00:00
Alexey Ivanov
7f47c51ace 8316025: Use testUI() method of PassFailJFrame.Builder in FileChooserSymLinkTest.java
Reviewed-by: azvegint
2023-11-01 15:27:05 +00:00
Aggelos Biboudis
36de19d462 8317048: VerifyError with unnamed pattern variable and more than one components
Reviewed-by: jlahoda
2023-11-01 13:38:10 +00:00
Albert Mingkun Yang
ab1934848b 8318647: Serial: Refactor BlockOffsetTable
Reviewed-by: tschatzl, iwalulya
2023-11-01 11:50:52 +00:00
Julian Waters
b4f5379d50 8304939: os::win32::exit_process_or_thread should be marked noreturn
Reviewed-by: dholmes, kbarrett
2023-11-01 10:42:23 +00:00
Thomas Stuefe
0461d9a7d6 8318016: Per-compilation memory ceiling
Reviewed-by: roland, thartmann
2023-11-01 08:12:39 +00:00
Jasmine Karthikeyan
2a76ad975c 8318683: compiler/c2/irTests/TestPhiDuplicatedConversion.java "Failed IR Rules (2) of Methods (2)"
Reviewed-by: thartmann, kvn
2023-11-01 06:12:55 +00:00
Jonathan Gibbons
b3fec6b5f3 8306980: Generated docs should contain correct Legal Documents
Reviewed-by: ihse, mchung
2023-10-31 22:03:35 +00:00
Calvin Cheung
11394828b3 8316132: CDSProtectionDomain::get_shared_protection_domain should check for exception
Reviewed-by: dholmes, iklam
2023-10-31 20:56:18 +00:00
Harshitha Onkar
2182c93689 8313643: Update HarfBuzz to 8.2.2
Reviewed-by: jdv, prr, dnguyen
2023-10-31 19:01:15 +00:00
Renjith Kannath Pariyangad
613a3cc689 8301846: Invalid TargetDataLine after screen lock when using JFileChooser or COM library
Reviewed-by: serb, aivanov
2023-10-31 18:20:38 +00:00
Renjith Kannath Pariyangad
613d32c282 8169475: WheelModifier.java fails by timeout
Reviewed-by: dmarkov, aivanov
2023-10-31 18:20:22 +00:00
Adam Sotona
f1e8787393 8317609: Classfile API fails to verify /jdk.jcmd/sun/tools/jstat/Alignment.class
Reviewed-by: liach, alanb
2023-10-31 16:13:41 +00:00
Daniel Jeliński
47624f6fc6 8299058: AssertionError in sun.net.httpserver.ServerImpl when connection is idle
Reviewed-by: jpai, michaelm, dfuchs
2023-10-31 15:53:28 +00:00
Erik Gahlin
2d5829afbc 8239508: JFR: @RemoveFields
Reviewed-by: mgronlun
2023-10-31 15:36:12 +00:00
Hai-May Chao
0064cf90ff 8311596: Add separate system properties for TLS server and client for maximum chain length
Reviewed-by: jnimeh, weijun, mullan
2023-10-31 15:22:18 +00:00
Conor Cleary
3a7525d5c3 8309118: HttpClient: Add more tests for 100 ExpectContinue with HTTP/2
Reviewed-by: dfuchs, djelinski
2023-10-31 14:45:14 +00:00
Albert Mingkun Yang
f4c5db92ea 8318908: Parallel: Remove ExtendedCardValue
Reviewed-by: tschatzl, sjohanss
2023-10-31 14:23:18 +00:00
Doug Simon
7452d50be5 8318940: [JVMCI] do not set HotSpotNmethod oop for a default HotSpotNmethod
Reviewed-by: thartmann, never
2023-10-31 14:16:38 +00:00
Matthew Donovan
3e39d7b34c 8319136: Skip pkcs11 tests on linux-aarch64
Reviewed-by: rhalade
2023-10-31 13:28:41 +00:00
Andrew Haley
ee6f25b507 8319120: Unbound ScopedValue.get() throws the wrong exception
Reviewed-by: alanb
2023-10-31 12:58:56 +00:00
Viktor Klang
e05cafda78 8318467: [jmh] tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads
Reviewed-by: alanb
2023-10-31 11:14:08 +00:00
Markus Grönlund
d3c3f0e7c8 8317951: Refactor loading of zip library to help resolve JDK-8315220
Reviewed-by: egahlin, dholmes
2023-10-31 10:02:40 +00:00
Conor Cleary
576c9bccfb 8318492: Http2ClientImpl should attempt to close and remove connection in stop()
Reviewed-by: dfuchs, jpai
2023-10-31 09:58:26 +00:00
Albert Mingkun Yang
5411ad2a5c 8319106: Remove unimplemented TaskTerminator::do_delay_step
Reviewed-by: tschatzl
2023-10-31 09:14:57 +00:00
Jayathirth D V
75ce02fe74 8318951: Additional negative value check in JPEG decoding
Reviewed-by: azvegint, prr
2023-10-31 04:20:23 +00:00
Andrew John Hughes
328b381075 8009550: PlatformPCSC should load versioned so
Reviewed-by: valeriep, stuefe
2023-10-31 02:06:41 +00:00
Kimura Yukihiro
d051f22284 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Reviewed-by: sspitsyn, kevinw
2023-10-30 23:26:16 +00:00
Alexander Matveev
1ca2cfafdd 8310933: Copying from runtime image to application image should not follow symlinks
Reviewed-by: asemenyuk
2023-10-30 21:09:17 +00:00
Brian Burkhalter
d3534b08b5 8318677: (ch) Add implNote about minBufferCap to main variant of Channels.newWriter
Reviewed-by: alanb, rriggs
2023-10-30 18:28:01 +00:00
Brian Burkhalter
864a876ebf 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Reviewed-by: rgiulietti
2023-10-30 18:27:50 +00:00
Erik Österlund
4679e9aa00 8310239: Add missing cross modifying fence in nmethod entry barriers
Reviewed-by: aboldtch, dlong, aph
2023-10-30 13:59:08 +00:00
Matthias Baesken
b9983c7229 8318961: increase javacserver connection timeout values and max retry attempts
Reviewed-by: clanger, erikj
2023-10-30 12:56:15 +00:00
Roberto Castañeda Lozano
a5818972c1 8317507: C2 compilation fails with "Exceeded _node_regs array"
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Reviewed-by: thartmann, shade, dlong
2023-10-30 12:54:03 +00:00
Markus Grönlund
c4c66aba93 8316271: JfrJvmtiAgent::retransformClasses failed: JVMTI_ERROR_FAILS_VERIFICATION
Reviewed-by: egahlin
2023-10-30 11:51:31 +00:00
Matthias Baesken
88b9cdae8f 8318981: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with 'disallowed by CompileCommand' missing from stdout/stderr
Reviewed-by: mdoerr, thartmann
2023-10-30 11:14:12 +00:00
Aggelos Biboudis
c9d23c3940 8315532: Compiler Implementation for Unnamed Variables & Patterns
8317221: Implementation for javax.lang.model for Unnamed Variables & Patterns

Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Gavin Bierman <gbierman@openjdk.org>
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: jlahoda, mcimadamore
2023-10-30 10:28:48 +00:00
Daniel Jeliński
3934127b08 8318709: Improve System.nanoTime performance on Windows
Reviewed-by: ccleary, dholmes
2023-10-30 07:54:55 +00:00
Emanuel Peter
83eb20651f 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Reviewed-by: shade, thartmann
2023-10-30 07:17:30 +00:00
Tim Prinzing
1183b221c2 8310978: JFR events SocketReadEvent/SocketWriteEvent for Socket adaptor ops
Reviewed-by: dfuchs, alanb
2023-10-30 06:04:17 +00:00
Gui Cao
988e1dfe6e 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Reviewed-by: fyang, fjiang, luhenry
2023-10-30 00:31:08 +00:00
Daniel D. Daugherty
ce0ca47641 8319067: ProblemList serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java on linux-aarch64 in Xcomp mode
Reviewed-by: jpai
2023-10-29 14:16:26 +00:00
Feilong Jiang
db3402577a 8318827: RISC-V: Improve readability of fclass result testing
Reviewed-by: vkempik, luhenry, fyang
2023-10-29 10:15:41 +00:00
Hamlin Li
1ec0d02717 8318225: RISC-V: C2 UModI
8318226: RISC-V: C2 UModL

Reviewed-by: luhenry, rehn, fyang
2023-10-28 09:12:51 +00:00
Joe Wang
96bec3584c 8316996: Catalog API Enhancement: add a factory method
Reviewed-by: naoto, lancea
2023-10-28 03:38:30 +00:00
Sergey Bylokhov
d2260146c9 8318850: Duplicate code in the LCMSImageLayout
Reviewed-by: prr
2023-10-27 18:21:18 +00:00
Daniel Jeliński
c593f8bf59 8318091: Remove empty initIDs functions
Reviewed-by: prr, aivanov
2023-10-27 16:09:27 +00:00
Claes Redestad
4f9f1955ab 8318753: hsdis binutils may place libs in lib64
Reviewed-by: rehn, djelinski, ihse
2023-10-27 14:40:30 +00:00
Maurizio Cimadamore
2915d74a10 8318837: javac generates wrong ldc instruction for dynamic constant loads
Reviewed-by: vromero, jlahoda
2023-10-27 13:47:24 +00:00
Damon Fenacci
ddd071617e 8317661: [REDO] store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: dholmes, aph
2023-10-27 12:56:03 +00:00
Volker Simonis
141dae8b76 8318811: Compiler directives parser swallows a character after line comments
Reviewed-by: shade, phh
2023-10-27 12:10:55 +00:00
Doug Lea
667cca9d7a 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted"
Reviewed-by: alanb
2023-10-27 10:08:59 +00:00
Leo Korinth
b9dcd4b741 8318964: Fix build failures caused by 8315097
Reviewed-by: aboldtch, rcastanedalo
2023-10-27 09:51:22 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Christian Stein
957703b1f9 8307168: Inconsistent validation and handling of --system flag arguments
Reviewed-by: jjg
2023-10-27 08:37:19 +00:00
William Kemper
5b5fd3694a 8316632: Shenandoah: Raise OOME when gc threshold is exceeded
Reviewed-by: kdnilsen, ysr, shade
2023-10-27 08:18:38 +00:00
Thomas Stuefe
abad0408e8 8313781: Add regression tests for large page logging and user-facing error messages
Reviewed-by: sjohanss, dholmes
2023-10-27 06:55:25 +00:00
Weijun Wang
9123961aaa 8318096: Introduce AsymmetricKey interface with a getParams method
Reviewed-by: darcy, mullan, ascarpino
2023-10-26 22:43:06 +00:00
Brian Burkhalter
4a142c3b08 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Reviewed-by: lancea, djelinski, rriggs
2023-10-26 21:06:01 +00:00
Aleksei Efimov
77fe0fd9e6 8272215: Add InetAddress methods for parsing IP address literals
Reviewed-by: dfuchs, michaelm
2023-10-26 18:24:42 +00:00
Weijun Wang
a9b31b587c 8318689: jtreg is confused when folder name is the same as the test name
Reviewed-by: mullan
2023-10-26 16:40:33 +00:00
Andrew Haley
e1a458ee64 8318834: s390x: Debug builds are missing debug helpers
Reviewed-by: shade, lucy
2023-10-26 16:28:28 +00:00
Hamlin Li
40a3c35aa5 8318723: RISC-V: C2 UDivL
8318224: RISC-V: C2 UDivI

Reviewed-by: fyang, luhenry, aph
2023-10-26 16:10:16 +00:00
Jorn Vernee
3885dc5b9a 8318737: Fallback linker passes bad JNI handle
Reviewed-by: alanb
2023-10-26 15:54:02 +00:00
Johan Sjölen
9864951dce 8318447: Move NMT source code to own subdirectory
Reviewed-by: stefank, dholmes, stuefe
2023-10-26 14:03:49 +00:00
Aleksey Shipilev
744e089310 8318700: MacOS Zero cannot run gtests due to wrong JVM path
Reviewed-by: dholmes
2023-10-26 12:34:45 +00:00
Albert Mingkun Yang
ec1bf23d01 8318801: Parallel: Remove unused verify_all_young_refs_precise
Reviewed-by: tschatzl
2023-10-26 10:52:50 +00:00
Hamlin Li
3cea892bd4 8318805: RISC-V: Wrong comments instructions cost in riscv.ad
Reviewed-by: luhenry, fyang
2023-10-26 09:46:42 +00:00
Markus Grönlund
bc1ba24ca5 8316437: JFR: assert(!tl->has_java_buffer()) failed: invariant
Reviewed-by: egahlin
2023-10-26 09:44:53 +00:00
Daniel Jeliński
970cd20204 8318788: java/net/Socks/SocksSocketProxySelectorTest.java fails on machines with no IPv6 link-local addresses
Reviewed-by: jpai, dfuchs, mbaesken
2023-10-26 08:49:50 +00:00
Goetz Lindenmaier
37c40a11a7 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Reviewed-by: lucy
2023-10-26 07:58:05 +00:00
Daniel Jeliński
723db2dc86 8305321: Remove unused exports in java.desktop
Reviewed-by: aivanov, prr
2023-10-26 06:13:02 +00:00
Zhengyu Gu
811b436e5d 8318720: G1: Memory leak in G1CodeRootSet after JDK-8315503
Reviewed-by: tschatzl
2023-10-25 23:47:46 +00:00
Daniel D. Daugherty
a542f7398d 8318843: ProblemList java/lang/management/MemoryMXBean/CollectionUsageThreshold.java in Xcomp
Reviewed-by: lmesnik
2023-10-25 21:14:14 +00:00
Frederic Thevenet
d96f38b80c 8317510: Change Windows debug symbol files naming to avoid losing info when an executable and a library share the same name
Reviewed-by: ihse, erikj
2023-10-25 17:30:21 +00:00
Justin Lu
10427c023a 8318613: ChoiceFormat patterns are not well tested
Reviewed-by: naoto
2023-10-25 17:12:55 +00:00
Justin Lu
ca3bdfc0c7 8318186: ChoiceFormat inconsistency between applyPattern() and setChoices()
Reviewed-by: naoto
2023-10-25 17:12:37 +00:00
Naoto Sato
a5208870e1 8318487: Specification of the ListFormat.equals() method can be improved
Reviewed-by: joehw, rriggs, lancea, iris
2023-10-25 16:50:31 +00:00
Markus Grönlund
cf4ede0e54 8317360: Missing null checks in JfrCheckpointManager and JfrStringPool initialization routines
Reviewed-by: shade, egahlin
2023-10-25 16:38:13 +00:00
Hamlin Li
9e98ee6726 8318735: RISC-V: Enable related hotspot tests run on riscv
Reviewed-by: fyang, luhenry
2023-10-25 15:37:42 +00:00
Elif Aslan
29d462a072 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Reviewed-by: shade, lmesnik
2023-10-25 15:23:13 +00:00
Elif Aslan
43f31d7385 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Reviewed-by: lmesnik, shade
2023-10-25 15:01:11 +00:00
Elif Aslan
cee44a6255 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Reviewed-by: lmesnik, shade
2023-10-25 15:00:44 +00:00
Roland Westrelin
b026d0b480 8312980: C2: "malformed control flow" created during incremental inlining
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: thartmann, epeter
2023-10-25 13:32:56 +00:00
Alexey Ivanov
3abd772672 8316017: Refactor timeout handler in PassFailJFrame
Reviewed-by: prr
2023-10-25 13:25:34 +00:00
Frederic Thevenet
202c0137b8 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Reviewed-by: ihse, erikj
2023-10-25 12:58:01 +00:00
Alexey Ivanov
c587211bf8 8316003: Update FileChooserSymLinkTest.java to HTML instructions
Reviewed-by: prr
2023-10-25 11:33:47 +00:00
Alexey Ivanov
42b9ac8a07 8294156: Allow PassFailJFrame.Builder to create test UI
Reviewed-by: azvegint, prr
2023-10-25 11:31:44 +00:00
Alexey Ivanov
14090ef603 8294158: HTML formatting for PassFailJFrame instructions
Reviewed-by: azvegint, prr
2023-10-25 11:17:00 +00:00
Albert Mingkun Yang
d2d1592dd9 8318713: G1: Use more accurate age in predict_eden_copy_time_ms
Reviewed-by: tschatzl, iwalulya
2023-10-25 08:43:54 +00:00
Zixian Cai
c3cdfe2a32 8318692: Add instructions for creating Ubuntu-based sysroot for cross compilation
Reviewed-by: erikj, shade
2023-10-25 08:33:10 +00:00
Aleksey Shipilev
ba7d08b819 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms
Reviewed-by: eosterlund, dholmes, kbarrett, simonis
2023-10-25 08:29:58 +00:00
Prasanta Sadhukhan
d7205e690f 8318102: macos10.14 check in CSystemColors can be removed.
Reviewed-by: prr, aivanov
2023-10-25 07:22:04 +00:00
Jayathirth D V
5ce718eb17 8318100: Remove redundant check for Metal support
Reviewed-by: prr, dnguyen
2023-10-25 04:01:59 +00:00
Alexander Matveev
f1dfdc1a79 8311877: [macos] Add CLI options to provide signing identity directly to codesign and productbuild
Reviewed-by: asemenyuk
2023-10-24 21:41:20 +00:00
Eamonn McManus
9c819fd3b7 8318051: Duration.between uses exceptions for control flow
Reviewed-by: rriggs
2023-10-24 18:32:33 +00:00
Weijun Wang
1ddf826aea 8316964: Security tools should not call System.exit
Reviewed-by: valeriep
2023-10-24 18:32:01 +00:00
vamsi-parasa
1f2a80b78a 8318306: java/util/Arrays/Sorting.java fails with "Array is not sorted at 8228-th position: 8251.0 and 8153.0"
Reviewed-by: thartmann, jbhateja
2023-10-24 18:31:33 +00:00
Naoto Sato
116503754c 8318569: Add getter methods for Locale and Patterns in ListFormat
Reviewed-by: joehw, rriggs, iris, mli
2023-10-24 16:54:57 +00:00
Thomas Schatzl
6f352740cb 8318702: G1: Fix nonstandard indentation in g1HeapTransition.cpp
Reviewed-by: iwalulya
2023-10-24 14:49:06 +00:00
Vicente Romero
e2720987b9 8318160: javac does not reject private method reference with type-variable receiver
Reviewed-by: mcimadamore
2023-10-24 14:45:10 +00:00
Zixian Cai
54c613acd7 8318693: Fix rendering for code blocks nested under list items in building.md
Reviewed-by: erikj, ccleary
2023-10-24 14:36:52 +00:00
Claes Redestad
e67550cfec 8318509: x86 count_positives intrinsic broken for -XX:AVX3Threshold=0
Reviewed-by: thartmann, jbhateja, epeter
2023-10-24 13:32:41 +00:00
Doug Simon
8879c78d62 8317689: [JVMCI] include error message when CreateJavaVM in libgraal fails
Reviewed-by: phofer, thartmann, never
2023-10-24 13:32:26 +00:00
Hamlin Li
f9795d0d09 8318222: RISC-V: C2 CmpU3
8318223: RISC-V: C2 CmpUL3

Reviewed-by: rehn, fyang
2023-10-24 13:17:28 +00:00
Jorn Vernee
d1077d6f14 8316046: x64 platforms unecessarily save xmm16-31 when UseAVX >= 3
Reviewed-by: mcimadamore, djelinski
2023-10-24 12:33:59 +00:00
Leo Korinth
21d8a4725f 8318701: Fix copyright year
Reviewed-by: egahlin
2023-10-24 12:31:59 +00:00
Varada M
d4b761242d 8318240: [AIX] Cleaners.java test failure
Reviewed-by: mbaesken, asteiner
2023-10-24 12:24:04 +00:00
Jan Lahoda
bf1a14e367 8316470: Incorrect error location for "invalid permits clause" depending on file order
Reviewed-by: vromero
2023-10-24 12:18:33 +00:00
Viktor Klang
5224e979a1 8293713: java/net/httpclient/BufferingSubscriberTest.java fails in timeout, blocked in submission publisher
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: alanb
2023-10-24 10:38:58 +00:00
Raffaello Giulietti
9bfa082970 8318646: Integer#parseInt("") throws empty NumberFormatException message
Reviewed-by: redestad, alanb, bpb, darcy, uschindler
2023-10-24 10:20:26 +00:00
Aleksey Shipilev
3f446c5156 8318528: Rename TestUnstructuredLocking test
Reviewed-by: phh, dholmes
2023-10-24 10:12:44 +00:00
Johan Sjölen
0baa9ecd76 8318474: Fix memory reporter for thread_count
Reviewed-by: mbaesken, azafari
2023-10-24 10:08:21 +00:00
Evgeny Nikitin
4a16d111b1 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
Reviewed-by: thartmann, shade, eastigeevich
2023-10-24 09:16:10 +00:00
Martin Doerr
a644670cc6 8318609: Upcall stubs should be smaller
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: rrich, jvernee
2023-10-24 09:09:33 +00:00
Gergö Barany
e6f23a90d4 8315024: Vector API FP reduction tests should not test for exact equality
Reviewed-by: epeter, thartmann
2023-10-24 08:58:15 +00:00
Pavel Rappo
fd332da1c8 8317289: javadoc fails with -sourcepath if module-info.java contains import statements
Reviewed-by: jlahoda
2023-10-24 08:46:10 +00:00
Matthias Baesken
6d3cb459dc 8318591: avoid leaks in loadlib_aix.cpp reload_table()
Reviewed-by: mdoerr, lucy
2023-10-24 07:34:05 +00:00
Matthias Baesken
cb383c05b2 8318587: refresh libraries cache on AIX in print_vm_info
Reviewed-by: mdoerr, lucy, stuefe
2023-10-24 07:09:44 +00:00
Richard Reingruber
4bfe226870 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: tschatzl, ayang
2023-10-24 07:05:56 +00:00
Ioi Lam
08f79148c6 8305753: Allow JIT compilation for -Xshare:dump
Reviewed-by: dholmes, matsaave, ccheung
2023-10-24 06:34:50 +00:00
Daniel Jeliński
728b858c78 8318130: SocksSocketImpl needlessly encodes hostname for IPv6 addresses
Reviewed-by: dfuchs, jpai, aefimov, michaelm
2023-10-24 05:36:43 +00:00
Jie Fu
eb5916729d 8318691: runtime/CompressedOops/CompressedClassPointersEncodingScheme.java fails with release VMs
Reviewed-by: ccheung
2023-10-24 02:57:47 +00:00
Joe Darcy
1b150117fd 8318476: Add resource consumption note to BigInteger and BigDecimal
Reviewed-by: alanb, bpb
2023-10-23 22:08:12 +00:00
Thomas Stuefe
5ba9705d60 8318485: Narrow klass shift should be zero if encoding range extends to 0x1_0000_0000
Reviewed-by: ccheung, iklam
2023-10-23 21:10:52 +00:00
Sean Coffey
8d9a4b43f4 8317678: Fix up hashCode() for ZipFile.Source.Key
Reviewed-by: lancea, alanb, jpai
2023-10-23 17:12:41 +00:00
Erik Gahlin
69c0ae23a3 8318124: JFR: Rewrite instrumentation to use Class-File API
Reviewed-by: mgronlun
2023-10-23 16:00:14 +00:00
Thomas Stuefe
c1aeac79ba 8318445: More broken bailout chains in C2
Reviewed-by: kvn, epeter
2023-10-23 15:54:04 +00:00
Ramkumar Sunderbabu
d888b26783 8318071: IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
Reviewed-by: dholmes, shade
2023-10-23 15:10:22 +00:00
Michal Sobierski
bea2d48696 8312475: org.jline.util.PumpReader signed byte problem
Reviewed-by: shade, jlahoda
2023-10-23 14:31:12 +00:00
Thomas Schatzl
9f767aa44b 8318109: Writing JFR records while a CHT has taken its lock asserts in rank checking
Reviewed-by: iwalulya, mli
2023-10-23 14:00:07 +00:00
Doug Simon
bd22d2381f 8318027: Support alternative name to jdk.internal.vm.compiler
Reviewed-by: erikj, ihse, kvn, alanb, mli
2023-10-23 13:15:31 +00:00
Robbin Ehn
c2efd77412 8295795: hsdis does not build with binutils 2.39+
Reviewed-by: ihse, djelinski
2023-10-23 13:12:52 +00:00
Magnus Ihse Bursie
99de9bb83f 8317807: JAVA_FLAGS removed from jtreg running in JDK-8317039
Reviewed-by: erikj
2023-10-23 11:26:39 +00:00
Matthew Donovan
704c6ea16c 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java
Reviewed-by: smarks, msheppar
2023-10-23 11:15:32 +00:00
Albert Mingkun Yang
7c0a8288b2 8318649: G1: Remove unimplemented HeapRegionRemSet::add_code_root_locked
Reviewed-by: tschatzl
2023-10-23 11:04:29 +00:00
Thomas Stuefe
ff5c5b6541 8318643: +UseTransparentHugePages must enable +UseLargePages
Reviewed-by: sjohanss
2023-10-23 09:59:43 +00:00
Pavel Rappo
fc29a2e152 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: jjg
2023-10-23 09:24:51 +00:00
Thomas Schatzl
729f4c5d14 8318507: G1: Improve remset clearing for humongous candidates
Reviewed-by: iwalulya, ayang, mli
2023-10-23 08:19:50 +00:00
Thomas Schatzl
4eab39d941 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope
Reviewed-by: ayang, iwalulya, mli
2023-10-23 07:35:11 +00:00
Per Minborg
ffadd63575 8317868: Add @sealedGraph to MethodHandleDesc and descendants
Reviewed-by: jvernee, mli
2023-10-23 06:16:27 +00:00
Ioi Lam
ecd25e7d6f 8318484: Initial version of cdsConfig.hpp
Reviewed-by: dholmes, ccheung, sspitsyn
2023-10-21 15:43:36 +00:00
Laurent Bourgès
a876beb63d 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
Reviewed-by: prr, dnguyen
2023-10-21 09:12:08 +00:00
Leonid Mesnik
4cf195f00c 8318573: The nsk.share.jpda.SocketConnection should fail if socket was closed.
Reviewed-by: sspitsyn, cjplummer
2023-10-21 03:35:52 +00:00
Daniel D. Daugherty
af2f4bfa83 8318622: ProblemList gc/cslocker/TestCSLocker.java on linux-x64 in Xcomp mode
Reviewed-by: naoto
2023-10-20 21:33:26 +00:00
Brian Burkhalter
a1a62d9964 8306308: (ch) Writer created by Channels::newWriter may lose data
Reviewed-by: djelinski, alanb
2023-10-20 21:12:28 +00:00
Mikhailo Seledtsov
77b2394c46 8318482: problemlist compiler/codecache/CheckLargePages.java on Linux-x64 until JDK-8317831 is fixed
Reviewed-by: lmesnik
2023-10-20 19:25:43 +00:00
Rajan Halade
d3ebb4a155 8317373: Add Telia Root CA v2
Reviewed-by: mullan
2023-10-20 18:25:09 +00:00
Justin Lu
66d90d5d9f 8318107: Un-ProblemList LocaleProvidersRun and CalendarDataRegression
Reviewed-by: naoto
2023-10-20 17:38:10 +00:00
Justin Lu
4dfa3799a6 7061097: [Doc] Inconsistenency between the spec and the implementation for DateFormat.Field
Reviewed-by: naoto
2023-10-20 17:37:51 +00:00
Harshitha Onkar
158293d251 8316030: Update Libpng to 1.6.40
Reviewed-by: prr, dnguyen
2023-10-20 17:35:21 +00:00
Kevin Walls
a045258ae2 8209595: MonitorVmStartTerminate.java timed out
Reviewed-by: sspitsyn, cjplummer, lmesnik
2023-10-20 16:38:39 +00:00
Viktor Klang
21215753c0 8318421: AbstractPipeline.sourceStageSpliterator() chases pointers needlessly
Reviewed-by: psandoz
2023-10-20 16:32:11 +00:00
Viktor Klang
200b5a27d4 8318420: AbstractPipeline invokes overridden method in constructor
Reviewed-by: psandoz
2023-10-20 16:31:46 +00:00
sunyaqi
52814994ef 8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
Reviewed-by: asemenyuk, almatvee
2023-10-20 16:27:58 +00:00
Jorn Vernee
8065233e8b 8318598: FFM stylistic cleanups
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2023-10-20 15:40:39 +00:00
Thomas Stuefe
b1228de623 8314588: gc/metaspace/TestMetaspaceInitialization.java failed "assert(capacity_until_gc >= committed_bytes) failed: capacity_until_gc: 3145728 < committed_bytes: 3211264"
Reviewed-by: dholmes, coleenp
2023-10-20 15:21:57 +00:00
Ilya Gavrilin
5a97411f85 8317971: RISC-V: implement copySignF/D and signumF/D intrinsics
Reviewed-by: fyang, vkempik
2023-10-20 14:31:41 +00:00
Maurizio Cimadamore
91442878b7 8318601: Remove javadoc text about restricted methods
Reviewed-by: alanb
2023-10-20 14:29:17 +00:00
Mahendra Chhipa
40106422bd 8077371: Binary files in JAXP test should be removed
Reviewed-by: joehw
2023-10-20 12:07:39 +00:00
Claes Redestad
fe52917054 8318457: Use prefix-less prepend methods directly to reduce branches in String concat expressions
Reviewed-by: jlaskey, liach
2023-10-20 11:37:07 +00:00
Alexey Ivanov
71c99a0e59 8318448: Link PopupMenu/PopupMenuLocation.java failure to JDK-8259913
Reviewed-by: prr
2023-10-20 11:04:24 +00:00
Alexey Ivanov
2c23391de7 8318101: Additional test cases for CSSAttributeEqualityBug
Reviewed-by: prr
2023-10-20 11:02:58 +00:00
Justin King
deadb9c8d7 8304684: Memory leak in DirectivesParser::set_option_flag
Reviewed-by: kvn, dlong
2023-10-20 11:02:38 +00:00
Jasmine Karthikeyan
a03767cf88 8318049: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN
Reviewed-by: epeter, thartmann
2023-10-20 10:44:58 +00:00
Maurizio Cimadamore
848ecc1621 8318538: Add a way to obtain a strided var handle from a layout
Reviewed-by: jvernee, pminborg
2023-10-20 10:35:09 +00:00
Maurizio Cimadamore
b07da3ae15 8317819: Scope should reflect lifetime of underying resource (mainline)
Reviewed-by: jvernee
2023-10-20 10:23:45 +00:00
Albert Mingkun Yang
6f1d8962df 8318510: Serial: Remove TenuredGeneration::block_size
Reviewed-by: tschatzl, iwalulya
2023-10-20 10:23:00 +00:00
Johannes Bechberger
8f4ebd8921 8317920: JDWP-agent sends broken exception event with onthrow option
Reviewed-by: clanger, cjplummer
2023-10-20 08:52:46 +00:00
Albert Mingkun Yang
cd25d1a2bf 8318296: Move Space::initialize to ContiguousSpace
Reviewed-by: tschatzl, iwalulya
2023-10-20 08:40:51 +00:00
Aleksey Shipilev
744f206fef 8318525: Atomic gtest should run as TEST_VM to access VM capabilities
Reviewed-by: stefank, stuefe
2023-10-20 08:38:23 +00:00
Albert Mingkun Yang
8099261050 8318489: Remove unused alignment_unit and alignment_offset
Reviewed-by: thartmann
2023-10-20 08:38:05 +00:00
Afshin Zafari
138437f2cf 8314438: NMT: Performance benchmarks are needed to have a baseline for comparison of improvements
Reviewed-by: gziemski, ihse
2023-10-20 08:33:40 +00:00
Chen Liang
4812cabaa4 8316587: Use ArraysSupport.vectorizedHashCode in Utf8EntryImpl
Reviewed-by: asotona, redestad
2023-10-20 07:36:27 +00:00
Aleksey Shipilev
bd02cfd96f 8318540: make test cannot run .jasm tests directly
Reviewed-by: lmesnik, erikj
2023-10-20 07:32:16 +00:00
Thomas Schatzl
bd3bc2c618 8317350: Move code cache purging out of CodeCache::UnloadingScope
Reviewed-by: ayang, iwalulya
2023-10-20 07:30:11 +00:00
Stefan Karlsson
292aad2c49 8316436: ContinuationWrapper uses unhandled nullptr oop
Reviewed-by: pchilanomate, eosterlund
2023-10-20 07:07:42 +00:00
Stefan Karlsson
387504c9e4 8317575: AArch64: C2_MacroAssembler::fast_lock uses rscratch1 for cmpxchg result
Reviewed-by: thartmann, kvn, aph
2023-10-20 07:05:30 +00:00
Daniel Jeliński
d9ce525a1c 8318150: StaticProxySelector.select should not throw NullPointerExceptions
Reviewed-by: jpai, dfuchs
2023-10-20 06:18:18 +00:00
Alan Bateman
c46a54e018 8312777: notifyJvmtiMount before notifyJvmtiUnmount
Reviewed-by: mli, sspitsyn
2023-10-20 05:56:26 +00:00
Hannes Greule
8f5f44070a 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Reviewed-by: amenkov, fparain
2023-10-19 23:24:28 +00:00
Justin Lu
684b91efbb 8315064: j.text.ChoiceFormat provides no specification on quoting behavior
Reviewed-by: naoto
2023-10-19 22:53:07 +00:00
Smita Kamath
1740950036 8314901: AES-GCM interleaved implementation using AVX2 instructions
Reviewed-by: sviswanathan, djelinski
2023-10-19 18:27:51 +00:00
Justin Lu
cc8f8da293 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Reviewed-by: naoto, iris, lancea, srl
2023-10-19 18:25:43 +00:00
Alex Menkov
599560a832 8317635: Improve GetClassFields test to verify correctness of field order
Reviewed-by: cjplummer, sspitsyn
2023-10-19 18:12:16 +00:00
Zhengyu Gu
9cf334fb64 8318383: Remove duplicated checks in os::get_native_stack() in posix implementation
Reviewed-by: dholmes, stuefe
2023-10-19 13:56:16 +00:00
Per Minborg
defc7e0f8d 8318454: TestLayoutPaths broken on Big Endian platforms after JDK-8317837
Reviewed-by: mdoerr, mcimadamore
2023-10-19 10:47:53 +00:00
Daniel Jeliński
3c70f2c1e9 8318418: hsdis build fails with system binutils on Ubuntu
Reviewed-by: erikj, ihse
2023-10-19 10:36:35 +00:00
Maurizio Cimadamore
15acf4b8d7 8318324: Drop redundant default methods from FFM API
Reviewed-by: jvernee
2023-10-19 09:51:02 +00:00
Leo Korinth
1a098356dd 8317358: G1: Make TestMaxNewSize use createTestJvm
Reviewed-by: tschatzl, sjohanss
2023-10-19 09:26:15 +00:00
Matthias Baesken
47bb1a1cef 8318415: Adjust describing comment of os_getChildren after 8315026
Reviewed-by: rriggs
2023-10-19 07:22:34 +00:00
Andrey Turbanov
80bd22d093 8316144: Remove unused field jdk.internal.util.xml.impl.XMLStreamWriterImpl.Element._Depth
Reviewed-by: lancea, joehw
2023-10-19 06:42:11 +00:00
Thomas Stuefe
c0e154c876 8318089: Class space not marked as such with NMT when CDS is off
Reviewed-by: mli, dholmes
2023-10-19 06:25:53 +00:00
Abhishek Kumar
24bc5bd104 8318104: macOS 10.13 check in TabButtonAccessibility.m can be removed
Reviewed-by: aivanov, prr
2023-10-19 04:21:45 +00:00
Daniel D. Daugherty
e25a49a993 8318471: ProblemList compiler/sharedstubs/SharedTrampolineTest.java
Reviewed-by: lmesnik
2023-10-18 20:20:39 +00:00
Naoto Sato
ce8ebebc77 8317979: Use TZ database style abbreviations in the CLDR locale provider
Reviewed-by: rriggs, joehw, lancea, erikj, iris, ihse
2023-10-18 18:26:49 +00:00
Mikhailo Seledtsov
ab135683a6 8318029: Minor improvement to logging output in container at-requires
Reviewed-by: iklam
2023-10-18 18:05:00 +00:00
Maurizio Cimadamore
278de7acd2 8318458: Update javac and java manpages with restricted method options
Reviewed-by: iris
2023-10-18 17:02:51 +00:00
Aleksey Shipilev
6fc3514231 8318363: Foreign benchmarks fail to build on some platforms
Reviewed-by: jvernee, mcimadamore
2023-10-18 10:30:45 +00:00
Thomas Stuefe
31ef400f31 8318183: C2: VM may crash after hitting node limit
Reviewed-by: kvn, thartmann
2023-10-18 08:39:00 +00:00
Andrey Turbanov
4e77b3c378 8315974: Make fields final in 'com.sun.crypto.provider' package
Reviewed-by: valeriep
2023-10-18 08:28:23 +00:00
Per Minborg
8dd809642e 8317886: Add @sealedGraph to ByteBuffer
Reviewed-by: rriggs, iris
2023-10-18 06:18:05 +00:00
David Holmes
9843c97695 8318365: Test runtime/cds/appcds/sharedStrings/InternSharedString.java fails after JDK-8311538
Reviewed-by: cjplummer, lmesnik
2023-10-17 23:30:03 +00:00
Sean Mullan
7c80cb26df 8309966: Enhanced TLS connections
Reviewed-by: mschoene, hchao, rhalade, jnimeh
2023-10-17 22:45:06 +00:00
Bradford Wetmore
adca97b659 8286503: Enhance security classes
Reviewed-by: rhalade, mullan, skoivu, weijun
2023-10-17 22:45:06 +00:00
Naoto Sato
195c9b2c48 8297856: Improve handling of Bidi characters
Reviewed-by: rhalade, mschoene, rriggs
2023-10-17 22:45:06 +00:00
Daniel Jeliński
072d64c6a9 8296581: Better system proxy support
Reviewed-by: rhalade, dfuchs, michaelm, alanb
2023-10-17 22:45:05 +00:00
Calvin Cheung
83b6a1278f 8316967: Correct the scope of vmtimer in UnregisteredClasses::load_class
Reviewed-by: iklam, jiangli
2023-10-17 22:12:28 +00:00
David Holmes
cceb0d8a23 8318126: Refresh manpages
Reviewed-by: alanb, mli, iris
2023-10-17 21:17:41 +00:00
Jonathan Gibbons
2f4d601a56 8314975: JavadocTester should set source path if not specified
Reviewed-by: hannesw
2023-10-17 21:00:29 +00:00
Hannes Wallnöfer
0ba48ef4ab 8316972: Add javadoc support for restricted methods
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jjg
2023-10-17 20:32:41 +00:00
Weijun Wang
5145e5a40a 8318328: DHKEM should check XDH name in case-insensitive mode
Reviewed-by: ascarpino, hchao
2023-10-17 19:36:17 +00:00
Thomas Schatzl
c566dfccf8 8317600: VtableStubs::stub_containing() table load not ordered wrt to stores
Reviewed-by: dlong, kvn
2023-10-17 19:01:03 +00:00
Thomas Schatzl
c9985720b9 8316959: Improve InlineCacheBuffer pending queue management
Reviewed-by: dlong, kvn
2023-10-17 19:00:51 +00:00
Leonid Mesnik
d6679031e0 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Reviewed-by: kevinw, sspitsyn
2023-10-17 18:02:11 +00:00
Matias Saavedra Silva
61cc4a011e 8311538: CDS InternSharedString test fails on huge pages host - cannot find shared string
Reviewed-by: iklam, mseledtsov
2023-10-17 17:40:56 +00:00
Maurizio Cimadamore
39e2b7a6d3 8318295: Update launcher help for enable-native-access
Reviewed-by: jvernee
2023-10-17 16:38:22 +00:00
Martin Doerr
d0ea2a5111 8318015: Lock inflation not needed for OSR or Deopt for new locking modes
Reviewed-by: pchilanomate, dlong
2023-10-17 13:52:41 +00:00
Erik Gahlin
6aa837eee6 8316927: JFR: Move shouldCommit check earlier for socket events
Reviewed-by: alanb, dfuchs, mgronlun
2023-10-17 13:11:52 +00:00
Aggelos Biboudis
5ca1beb30e 8317300: javac erroneously allows "final" in front of a record pattern
Reviewed-by: jlahoda
2023-10-17 12:57:25 +00:00
Aggelos Biboudis
2bf1863e24 8315588: JShell does not accept underscore from JEP 443 even with --enable-preview
Reviewed-by: jlahoda
2023-10-17 12:55:31 +00:00
Aggelos Biboudis
15588e08ed 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Reviewed-by: vromero
2023-10-17 12:51:57 +00:00
Leo Korinth
e649c56324 8316410: GC: Make TestCompressedClassFlags use createTestJvm
Reviewed-by: ayang, mli
2023-10-17 12:02:24 +00:00
Leo Korinth
5f4be8cea9 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Reviewed-by: ayang, mli, lmesnik
2023-10-17 12:02:08 +00:00
Leo Korinth
a949824e98 8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 12:00:27 +00:00
Leo Korinth
7e39e664cf 8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 11:59:54 +00:00
Leo Korinth
75b37e6d7e 8317218: G1: Make TestG1HeapRegionSize use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 11:58:57 +00:00
Agnibho Hom Chowdhury
34653c1e73 8249832: java/util/zip/DataDescriptorSignatureMissing.java uses @ignore w/o bug-id
Reviewed-by: msheppar
2023-10-17 11:58:17 +00:00
Leo Korinth
d8cd60588a 8317316: G1: Make TestG1PercentageOptions use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 11:55:24 +00:00
Albert Mingkun Yang
8f79d88960 8318155: Remove unnecessary virtual specifier in Space
Reviewed-by: tschatzl, mli
2023-10-17 11:54:51 +00:00
Maurizio Cimadamore
b2b8db6533 8318180: Memory model reference from foreign package-info is broken
Reviewed-by: jvernee
2023-10-17 11:09:03 +00:00
Leo Korinth
5bd10521eb 8317317: G1: Make TestG1RemSetFlags use createTestJvm
Reviewed-by: mli, tschatzl
2023-10-17 09:40:01 +00:00
Leo Korinth
c64bd3d671 8317343: GC: Make TestHeapFreeRatio use createTestJvm
Reviewed-by: tschatzl, iwalulya
2023-10-17 09:33:22 +00:00
Leo Korinth
6ee6171e81 8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
Reviewed-by: tschatzl, iwalulya
2023-10-17 09:32:48 +00:00
Leo Korinth
7ca0ae9415 8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
Reviewed-by: sjohanss, ayang
2023-10-17 09:22:03 +00:00
Doug Simon
5521560abd 8310673: [JVMCI] batch compilation for libgraal should work the same way as for C2
Reviewed-by: thartmann, never
2023-10-17 08:52:08 +00:00
Jan Kratochvil
e4329a823b 8317696: Fix compilation with clang-16
Reviewed-by: djelinski, aivanov
2023-10-17 08:15:46 +00:00
Emanuel Peter
504b0bdaaa 8318078: ADLC: pass ASSERT and PRODUCT flags
Reviewed-by: ihse, erikj, kvn
2023-10-17 07:14:11 +00:00
Feilong Jiang
7b3917265d 8318086: [jvmci] RISC-V: Reuse target config from TargetDescription
Reviewed-by: fyang, mli
2023-10-17 00:55:37 +00:00
Alex Menkov
aed1e810e6 8317285: Misspellings in hprof test lib
Reviewed-by: sspitsyn, cjplummer
2023-10-16 20:03:45 +00:00
Qing Xiao
741ae06c55 8313613: Use JUnit in langtools/lib tests
Reviewed-by: cstein, asotona
2023-10-16 17:14:34 +00:00
Rajan Halade
8c1bb2b280 8268916: Tests for AffirmTrust roots
Reviewed-by: mullan
2023-10-16 16:26:02 +00:00
Patricio Chilano Mateo
2d38495b61 8316309: AArch64: VMError::print_native_stack() crashes on Java native method frame
Reviewed-by: lmesnik, aph
2023-10-16 16:22:58 +00:00
Brian Burkhalter
0d091681c2 8312527: (ch) Re-examine use of sun.nio.ch.Invoker.myGroupAndInvokeCount
Reviewed-by: alanb, jpai
2023-10-16 14:52:44 +00:00
Brian Burkhalter
1a7fd5d419 8317687: (fs) FileStore.supportsFileAttributeView("posix") incorrectly returns 'true' for FAT32 volume on macOS
Reviewed-by: alanb
2023-10-16 14:49:18 +00:00
Hannes Wallnöfer
eb7d972d8a 8308659: Use CSS scroll-margin instead of flexbox layout in API documentation
Reviewed-by: jjg
2023-10-16 12:56:41 +00:00
Doug Simon
7028fb9d58 8317975: [JVMCI] assert(pointee != nullptr) failed: invariant
Reviewed-by: never, thartmann
2023-10-16 12:53:54 +00:00
Jasmine Karthikeyan
36993aea9a 8316918: Optimize conversions duplicated across phi nodes
Reviewed-by: thartmann, kvn
2023-10-16 12:52:01 +00:00
Renjith Kannath Pariyangad
668d4b077f 8318154: Improve stability of WheelModifier.java test
Reviewed-by: aivanov
2023-10-16 10:58:30 +00:00
Renjith Kannath Pariyangad
a36eaf03af 8317112: Add screenshot for Frame/DefaultSizeTest.java
Reviewed-by: prr, dnguyen, aivanov
2023-10-16 10:13:30 +00:00
Albert Mingkun Yang
a27fc7efd4 8317994: Serial: Use SerialHeap in generation
Reviewed-by: tschatzl, sangheki, mli
2023-10-16 09:54:22 +00:00
Prasanta Sadhukhan
37eb98604f 8154846: SwingNode does not resize when content size constraints are changed
Reviewed-by: prr, angorya, arapte
2023-10-16 09:01:57 +00:00
Evgeny Ignatenko
37aed6f46d 8315362: NMT: summary diff reports threads count incorrectly
Reviewed-by: jsjolen, gziemski, stuefe, mli
2023-10-16 08:19:21 +00:00
Aleksey Shipilev
1e930db3c7 8316585: [REDO] runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: vlivanov, stuefe, mli
2023-10-16 08:00:48 +00:00
Severin Gehwolf
0275efac88 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: stuefe, alanb, bpb, mli
2023-10-16 07:40:29 +00:00
Matthias Baesken
77d40ce166 8318085: ProblemList jdk/jfr/api/consumer/recordingstream/TestOnEvent.java on linux-aarch64
Reviewed-by: clanger
2023-10-16 07:13:07 +00:00
David Holmes
4ea1b99c1a 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: stuefe, pchilanomate, rkennke, mli
2023-10-15 23:34:16 +00:00
Vicente Romero
01ea1eff66 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Reviewed-by: darcy
2023-10-14 21:28:39 +00:00
Jorn Vernee
1d54e73f6a 8318072: DowncallLinker does not acquire/release segments in interpreter
Reviewed-by: mcimadamore
2023-10-14 20:23:41 +00:00
Thomas Stuefe
56aa1e8dc8 8317683: Add JIT memory statistics
Reviewed-by: kvn, adinn
2023-10-14 05:56:52 +00:00
Alexander Zuev
f7d6d7a04f 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Reviewed-by: prr, azvegint, aivanov
2023-10-13 22:53:21 +00:00
William Kemper
e942f368c3 8317535: Shenandoah: Remove unused code
Reviewed-by: rkennke, ysr
2023-10-13 21:55:27 +00:00
Maurizio Cimadamore
7cb2e6d65b 8317514: Ensure MemorySegment is initialized before touching NativeMemorySegmentImpl
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-10-13 20:51:52 +00:00
Justin Lu
9622de2aa8 8317372: Refactor some NumberFormat tests to use JUnit
Reviewed-by: naoto
2023-10-13 20:49:11 +00:00
Mikael Vidstedt
72c4dcbfee 8317970: Bump target macosx-x64 version to 11.00.00
Reviewed-by: erikj, prr, ihse
2023-10-13 20:24:44 +00:00
Jorn Vernee
32a60cf11d 8317824: Beef up javadoc for base offset in var handles derived from layouts (mainline)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:06:07 +00:00
Jorn Vernee
b12c471a99 8317837: Leftover FFM implementation-only changes
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:05:47 +00:00
Mikael Vidstedt
605c976729 8318039: GHA: Bump macOS and Xcode versions
Reviewed-by: erikj, prr, ihse, clanger
2023-10-13 17:25:00 +00:00
Daniel Fuchs
6273ab97dc 8317808: HTTP/2 stream cancelImpl may leave subscriber registered
Reviewed-by: michaelm, djelinski
2023-10-13 14:35:50 +00:00
Alexey Ivanov
7d31146f4d 8318028: Remove unused class="centered" from FocusCycle.svg
Reviewed-by: serb
2023-10-13 13:40:49 +00:00
Johan Sjölen
45b7aedabf 8317433: Async UL: Only grab lock once when write():ing
Reviewed-by: dholmes, xliu
2023-10-13 13:21:34 +00:00
Aleksei Voitylov
266636deab 8315940: ARM32: Move field resolution information out of the cpCache
Reviewed-by: dsamersoff
2023-10-13 11:33:34 +00:00
Johan Sjölen
e490cf9c65 8317432: Async UL: Use memcpy instead of strcpy in Message ctr
Reviewed-by: xliu, dholmes
2023-10-13 11:28:17 +00:00
Matthias Baesken
126f2ace5d 8318006: remove unused net related coding
Reviewed-by: alanb, lucy
2023-10-13 08:53:43 +00:00
Joachim Kern
4d9042043e 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Reviewed-by: rriggs, stuefe, mbaesken
2023-10-13 08:29:48 +00:00
Thomas Schatzl
1082c0e767 8317677: Specialize Vtablestubs::entry_for() for VtableBlob
Reviewed-by: thartmann, kvn
2023-10-13 07:40:00 +00:00
Matthias Baesken
ec310fe809 8317919: pthread_attr_init handle return value and destroy pthread_attr_t object
Reviewed-by: mdoerr, lucy
2023-10-13 07:01:50 +00:00
Matthias Baesken
ff0b397e13 8317959: Check return values of malloc in native java.base coding
Reviewed-by: alanb, bpb
2023-10-13 06:50:08 +00:00
Thomas Stuefe
c88b387881 8317987: C2 recompilations cause high memory footprint
Reviewed-by: adinn, kvn
2023-10-13 06:43:42 +00:00
Leonid Mesnik
993951b85e 8316464: 3 sun/tools tests ignore VM flags
Reviewed-by: sspitsyn, cjplummer
2023-10-12 23:32:37 +00:00
Archie Cobbs
17535c34bc 8317818: Combinatorial explosion during 'this' escape analysis
Reviewed-by: vromero
2023-10-12 22:39:03 +00:00
Damon Nguyen
61ce739ac8 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out
Reviewed-by: honkar, aivanov
2023-10-12 22:02:16 +00:00
ANUPAM DEV
77fa44fd4f 8317847: Typo in API documentation of class JPopupMenu
Reviewed-by: aivanov
2023-10-12 20:07:07 +00:00
Daniel D. Daugherty
0983b54866 8318038: ProblemList runtime/CompressedOops/CompressedClassPointers.java on two platforms
8318040: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/findMonitorDeadlockedThreads/find006/TestDescription.java on macosx-aarch64
8318042: ProblemList java/nio/channels/vthread/BlockingChannelOps.java#direct-register with GenZGC

Reviewed-by: rriggs, azvegint
2023-10-12 20:02:10 +00:00
Evgeny Astigeevich
64ee3c9990 8317266: Move nmethod::check_all_dependencies to codeCache.cpp and mark it NOT_PRODUCT
Reviewed-by: kvn, dlong
2023-10-12 19:56:18 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Rajan Halade
9728e21db1 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Reviewed-by: mullan
2023-10-12 17:02:32 +00:00
Archie Cobbs
a8473b7079 8317336: Assertion error thrown during 'this' escape analysis
Reviewed-by: vromero
2023-10-12 16:51:53 +00:00
Mikhailo Seledtsov
16fd43c5eb 8316693: Simplify at-requires checkDockerSupport()
Reviewed-by: iklam, lmesnik
2023-10-12 16:29:14 +00:00
Roger Riggs
c1f698d38b 8317956: Make jdk.internal.util.Architecture current architecture final
Reviewed-by: pminborg, redestad, bpb
2023-10-12 14:14:43 +00:00
wenshao
935543146b 8316426: Optimization for HexFormat.formatHex
Reviewed-by: liach, rriggs
2023-10-12 13:54:09 +00:00
Thomas Stuefe
32ccf018eb 8317772: NMT: Make peak values available in release builds
Reviewed-by: jsjolen, zgu
2023-10-12 13:48:59 +00:00
Ivan Walulya
4c79e7d59c 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping
Reviewed-by: tschatzl, ayang
2023-10-12 10:28:52 +00:00
Tobias Hartmann
7633a76607 8317998: Temporarily disable malformed control flow assert to reduce noise in testing
Reviewed-by: epeter
2023-10-12 09:50:18 +00:00
Ravi Gupta
00ef9f9c32 8316947: Write a test to check textArea triggers MouseEntered/MouseExited events properly
Reviewed-by: tr, honkar, aivanov
2023-10-12 09:40:02 +00:00
Albert Mingkun Yang
77dc89115e 8317963: Serial: Remove unused GenerationIsInReservedClosure
Reviewed-by: kbarrett, tschatzl
2023-10-12 08:54:32 +00:00
Per Minborg
d95b548c78 8315850: Improve AbstractMap anonymous Iterator classes
Reviewed-by: liach, smarks
2023-10-12 07:51:21 +00:00
Matthias Baesken
424de295a6 8317866: replace NET_SocketAvailable
Reviewed-by: dfuchs, alanb
2023-10-12 07:22:49 +00:00
Matthias Baesken
6d6c9008d5 8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Reviewed-by: bpb, vtewari, rriggs
2023-10-12 07:16:48 +00:00
Per Minborg
eca6ea43d0 8317873: Add @sealedGraph to IllegalFormatException
Reviewed-by: naoto, iris
2023-10-12 07:14:52 +00:00
vamsi-parasa
2edf9c3f1e 8317763: Follow-up to AVX512 intrinsics for Arrays.sort() PR
Reviewed-by: jbhateja, kvn, ihse, sviswanathan
2023-10-12 04:45:19 +00:00
Amit Kumar
839cb19ec2 8317581: [s390x] Multiple test failure with LockingMode=2
Reviewed-by: stuefe, lucy
2023-10-12 03:33:30 +00:00
Alexander Zvegintsev
387896fb34 8309621: [XWayland][Screencast] screen capture failure with sun.java2d.uiScale other than 1
Reviewed-by: prr, honkar
2023-10-11 22:14:23 +00:00
Matthew Donovan
8d2ad2b1ae 8317977: update problemlist to include MacOS for sun/security/tools/keytool/NssTest.java
Reviewed-by: dcubed
2023-10-11 21:27:19 +00:00
Daniel D. Daugherty
b92de54a81 8317964: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Standard.java fails on macosx-all after JDK-8317751
Reviewed-by: azvegint
2023-10-11 17:03:02 +00:00
Matthew Donovan
2a80160960 8314283: Support for NSS tests on aarch64 platforms
Reviewed-by: rhalade
2023-10-11 16:44:22 +00:00
Stuart Marks
3f6d01687c 8314896: additional clarifications to reversed() default methods' implementation requirements
Reviewed-by: bchristi
2023-10-11 16:42:28 +00:00
Per Minborg
2d46b29728 8317874: Add @sealedGraph to StringTemplate.Processor.Linkage
Reviewed-by: rriggs
2023-10-11 16:17:01 +00:00
Hamlin Li
8f8c45b54a 8315716: RISC-V: implement ChaCha20 intrinsic
Reviewed-by: luhenry, fyang
2023-10-11 14:48:28 +00:00
Albert Mingkun Yang
8a9c4d5266 8317675: Serial: Move gc/shared/generation to serial folder
Reviewed-by: mli, tschatzl
2023-10-11 14:31:41 +00:00
Roman Kennke
bcafec54a5 8316958: Add test for unstructured locking
Reviewed-by: dholmes, shade
2023-10-11 13:44:39 +00:00
Albert Mingkun Yang
731fb4eea2 8317797: G1: Remove unimplemented predict_will_fit
Reviewed-by: tschatzl
2023-10-11 09:22:27 +00:00
Amit Kumar
79761519f6 8313438: [s390x] build broken after JDK-8301996
Reviewed-by: mdoerr, lucy
2023-10-11 08:49:54 +00:00
Christoph Langer
ca96fd3b07 8317839: Exclude java/nio/channels/Channels/SocketChannelStreams.java on AIX
Reviewed-by: alanb
2023-10-11 06:54:20 +00:00
Matthias Baesken
a9b41da9df 8317603: Improve exception messages thrown by sun.nio.ch.Net native methods (win)
Reviewed-by: vtewari, alanb, djelinski
2023-10-11 06:43:45 +00:00
Tobias Hartmann
0fd807118c 8317738: CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
Reviewed-by: kvn
2023-10-11 06:18:34 +00:00
Christoph Langer
1161e3da14 8317803: Exclude java/net/Socket/asyncClose/Race.java on AIX
Reviewed-by: mbaesken
2023-10-11 05:57:28 +00:00
Christoph Langer
e55c482ce1 8317790: Fix Bug entry for exclusion of runtime/jni/terminatedThread/TestTerminatedThread.java on AIX
Reviewed-by: mbaesken
2023-10-11 05:55:52 +00:00
Ioi Lam
84b7cc15c2 8317761: Combine two versions of print_statistics() in java.cpp
Reviewed-by: kvn, vlivanov
2023-10-11 05:11:41 +00:00
Jayathirth D V
3aa4cba175 8316975: Memory leak in MTLSurfaceData
Reviewed-by: prr
2023-10-11 03:36:17 +00:00
Jaikiran Pai
54861df3d9 8317802: jmh tests fail with Unable to find the resource: /META-INF/BenchmarkList after JDK-8306819
Reviewed-by: erikj, ihse
2023-10-11 00:54:54 +00:00
lawrence.andrews
f40ea5109e 8317751: ProblemList ConsumeForModalDialogTest.java, MenuItemActivatedTest.java & MouseModifiersUnitTest_Standard.java for windows
Reviewed-by: prr
2023-10-10 22:52:22 +00:00
Leonid Mesnik
fec1d49783 8316452: java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-10-10 20:14:56 +00:00
Alex Menkov
2b8276aa52 8316691: Heap dump: separate stack traces for mounted virtual threads
Reviewed-by: lmesnik, sspitsyn
2023-10-10 20:13:09 +00:00
Claes Redestad
33591a30d2 8317795: Add an ImmutableBitSetPredicate variant for bitsets <= 128 elements
Reviewed-by: pminborg, rriggs
2023-10-10 17:01:57 +00:00
Albert Mingkun Yang
fb4098ff1a 8317730: Change byte_size to return size_t
Reviewed-by: coleenp, kbarrett
2023-10-10 11:55:07 +00:00
Thomas Stuefe
c2abf120bc 8261894: Remove support for UseSHM
Reviewed-by: dholmes, ayang
2023-10-10 11:10:17 +00:00
Thomas Stuefe
ad7a8e86e0 8315505: CompileTask timestamp printed can overflow
Reviewed-by: thartmann
2023-10-10 07:28:51 +00:00
Christoph Langer
fcff222f92 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Reviewed-by: aivanov
2023-10-10 07:06:32 +00:00
Christoph Langer
ef41aa02b8 8317711: Exclude gtest/GTestWrapper.java on AIX
Reviewed-by: mbaesken
2023-10-10 07:05:53 +00:00
Christoph Langer
ad6dce376d 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Reviewed-by: sspitsyn
2023-10-10 07:05:31 +00:00
Kevin Driver
e882718a60 8314199: Initial size PBEKeyFactory#validTypes is not up-to-date
Reviewed-by: jnimeh
2023-10-10 05:43:12 +00:00
Serguei Spitsyn
d313915974 8316233: VirtualThreadStart events should not be thread-filtered
Reviewed-by: lmesnik, amenkov, cjplummer
2023-10-10 03:06:16 +00:00
Leonid Mesnik
053f45695f 8316447: 8 sun/management/jmxremote tests ignore VM flags
Reviewed-by: kevinw, sspitsyn
2023-10-09 23:10:29 +00:00
Leonid Mesnik
5b311f20df 8316446: 4 sun/management/jdp tests ignore VM flags
Reviewed-by: cjplummer, kevinw
2023-10-09 23:09:39 +00:00
Justin Lu
8e0686b065 8317633: Modernize text.testlib.HexDumpReader
Reviewed-by: lancea, naoto, mli
2023-10-09 22:57:09 +00:00
Justin Lu
5e8d893c48 8317631: Refactor ChoiceFormat tests to use JUnit
Reviewed-by: naoto
2023-10-09 22:37:41 +00:00
Soumadipta Roy
f61499c73f 8316608: Enable parallelism in vmTestbase/gc/vector tests
Reviewed-by: shade, lmesnik
2023-10-09 18:55:35 +00:00
Jonathan Gibbons
3ff5a781db 8317693: Unused parameter to Tokens.Token.comment method
Reviewed-by: iris, jlahoda
2023-10-09 17:53:57 +00:00
Daniel Fuchs
508fa71753 8317736: Stream::handleReset locks twice
Reviewed-by: ccleary, djelinski, jpai, vtewari
2023-10-09 16:31:34 +00:00
Naoto Sato
1f06325142 8317471: ListFormat::parseObject() spec can be improved on parsePosition valid values
Reviewed-by: iris, lancea, joehw, mli
2023-10-09 16:29:40 +00:00
Doug Simon
a07a4a3a59 8317422: [JVMCI] concurrency issue in MethodData creation
Reviewed-by: never, thartmann
2023-10-09 12:52:28 +00:00
Daniel Lundén
7ff19383fd 8310727: C2: *_of() methods in PhaseIterGVN should use uint for the node index
Reviewed-by: thartmann
2023-10-09 11:20:26 +00:00
Albert Mingkun Yang
a57ae7e7d4 8317594: G1: Refactor find_empty_from_idx_reverse
Reviewed-by: tschatzl, iwalulya
2023-10-09 10:39:34 +00:00
Varada M
6ddbfaae49 8317136: [AIX] Problem List runtime/jni/terminatedThread/TestTerminatedThread.java
Reviewed-by: dholmes, amitkumar
2023-10-09 09:24:42 +00:00
Thomas Schatzl
0cf1a558ba 8317440: Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
Reviewed-by: coleenp, ayang
2023-10-09 08:27:56 +00:00
Andrew Leonard
bcc986b9d1 8317601: Windows build on WSL broken after JDK-8317340
Reviewed-by: djelinski, erikj
2023-10-09 07:41:31 +00:00
Vyom Tewari
460ebcd9cb 8314978: Multiple server call from connection failing with expect100 in getOutputStream
Reviewed-by: dfuchs
2023-10-08 05:13:00 +00:00
Joe Darcy
dc4bc4f084 8306819: Consider disabling the compiler's default active annotation processing
Reviewed-by: vromero
2023-10-06 21:45:58 +00:00
vamsi-parasa
a4e9168bab 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays)
Reviewed-by: jbhateja, sviswanathan, psandoz, kvn
2023-10-06 20:15:30 +00:00
Brian Burkhalter
6c6beba256 8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException
Reviewed-by: alanb, lancea
2023-10-06 17:46:03 +00:00
Raffaello Giulietti
b62e774e6a 8317515: Unify the code of the parse*() families of methods in j.l.Integer and j.l.Long
Reviewed-by: redestad
2023-10-06 16:20:21 +00:00
Mikael Vidstedt
a64794b1ed 8317560: Change to Xcode 14.3.1 for building on macOS at Oracle
Reviewed-by: erikj
2023-10-06 16:11:58 +00:00
Albert Mingkun Yang
b3cc0c8431 8317318: Serial: Change GenCollectedHeap to SerialHeap in whitebox
Reviewed-by: tschatzl, iwalulya
2023-10-06 12:17:38 +00:00
Albert Mingkun Yang
691db5df73 8317592: Serial: Remove Space::toContiguousSpace
Reviewed-by: tschatzl, iwalulya
2023-10-06 12:17:16 +00:00
Tobias Hartmann
ec9ba5dae9 8317660: [BACKOUT] 8269393: store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: ayang
2023-10-06 10:56:00 +00:00
Damon Fenacci
7162624d70 8269393: store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
Reviewed-by: thartmann, aph
2023-10-06 09:14:03 +00:00
Damon Fenacci
f0d66d1fd3 8317502: Add asserts to check for non-null in ciInstance::java_lang_Class_klass
Reviewed-by: kvn, thartmann
2023-10-06 08:57:08 +00:00
Ben Perez
991ce84e09 4964430: (spec) missing IllegalStateException exception requirement for javax.crypto.Cipher.doFinal
Reviewed-by: mullan, valeriep
2023-10-06 03:07:23 +00:00
Naoto Sato
8a30c2a9b2 8317443: StackOverflowError on calling ListFormat::getInstance() for Norwegian locales
Reviewed-by: joehw
2023-10-05 23:06:20 +00:00
Alexey Ivanov
a1c9587c27 8313348: Fix typo in JFormattedTextField: 'it self'
Reviewed-by: honkar, dnguyen, psadhukhan
2023-10-05 14:40:15 +00:00
Zhengyu Gu
a8eacb31ab 8317240: Promptly free OopMapEntry after fail to insert the entry to OopMapCache
Reviewed-by: coleenp, fparain
2023-10-05 13:41:11 +00:00
Daniel Fuchs
4c5b66dcea 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Reviewed-by: djelinski
2023-10-05 10:44:05 +00:00
Fredrik Bredberg
42be23877c 8316523: Relativize esp in interpreter frames (PowerPC only)
Reviewed-by: mdoerr, eosterlund
2023-10-05 10:14:08 +00:00
Ludvig Janiuk
a250ae4d1b 8317039: Enable specifying the JDK used to run jtreg
Reviewed-by: erikj
2023-10-05 07:54:34 +00:00
Emanuel Peter
1ed9c76ec8 8309204: Obsolete DoReserveCopyInSuperWord
Reviewed-by: kvn, thartmann
2023-10-05 07:01:18 +00:00
Emanuel Peter
3630af26e6 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: kvn, thartmann
2023-10-05 06:46:44 +00:00
Thomas Stuefe
c6c69b579c 8314654: Metaspace: move locking out of MetaspaceArena
Reviewed-by: adinn, jsjolen
2023-10-05 06:02:02 +00:00
Alisen Chung
3105538de5 8316146: Open some swing tests 4
Reviewed-by: honkar, aivanov, prr
2023-10-04 19:38:26 +00:00
Mandy Chung
36314a90c1 8267509: Improve IllegalAccessException message to include the cause of the exception
Reviewed-by: liach, naoto
2023-10-04 18:39:25 +00:00
Calvin Cheung
ddacf92713 8305765: CompressedClassPointers.java is unreliable due to ASLR
Reviewed-by: iklam
2023-10-04 17:27:33 +00:00
Albert Mingkun Yang
4195246fba 8317354: Serial: Move DirtyCardToOopClosure to gc/serial folder
Reviewed-by: tschatzl, iwalulya
2023-10-04 14:15:10 +00:00
Roland Westrelin
0a3a925ad8 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: thartmann
2023-10-04 12:06:52 +00:00
Roland Westrelin
b0d6c8472f 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann, kvn
2023-10-04 12:06:31 +00:00
Daniel Skantz
a8549b6367 8280120: [IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture
Reviewed-by: rcastanedalo, epeter, thartmann
2023-10-04 11:58:16 +00:00
Yudi Zheng
9718f490fb 8317452: [JVMCI] Export symbols used by lightweight locking to JVMCI compilers.
Reviewed-by: dnsimon
2023-10-04 10:18:39 +00:00
Maurizio Cimadamore
0d4de8a71f 8316971: Add Lint warning for restricted method calls
Reviewed-by: ihse, vromero
2023-10-04 09:36:53 +00:00
Aleksey Shipilev
d4c904d819 8317294: Classloading throws exceptions over already pending exceptions
Reviewed-by: dholmes, coleenp
2023-10-04 07:58:41 +00:00
Emanuel Peter
48f1a925e5 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: kvn, thartmann
2023-10-04 07:54:30 +00:00
Varada M
0b0f8b55a6 8219652: [aix] Tests failing with JNI attach problems.
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-10-04 06:07:14 +00:00
Mark Powers
8c0d026d0f 8315042: NPE in PKCS7.parseOldSignedData
Reviewed-by: valeriep, weijun
2023-10-04 00:23:42 +00:00
Alex Menkov
f7deaf4bef 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Reviewed-by: cjplummer, lmesnik, sspitsyn
2023-10-03 19:35:51 +00:00
Daniel D. Daugherty
8ff10a0d35 8317446: ProblemList gc/arguments/TestNewSizeFlags.java on macosx-aarch64 in Xcomp
8317448: ProblemList compiler/interpreter/TestVerifyStackAfterDeopt.java on macosx-aarch64 in Xcomp
8317449: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java on several platforms

Reviewed-by: thartmann
2023-10-03 19:18:27 +00:00
Naoto Sato
1809b8cdd6 8317265: ListFormat::format specification could be made clearer regarding handling IllegalArgumentException.
Reviewed-by: joehw
2023-10-03 18:32:57 +00:00
Vladimir Kozlov
cfabcbf858 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: thartmann, vlivanov, epeter
2023-10-03 18:18:26 +00:00
Justin Lu
b859da9c54 8316696: Remove the testing base classes: IntlTest and CollatorTest
Reviewed-by: naoto
2023-10-03 16:38:17 +00:00
Swati Sharma
b438cffdb9 8314085: Fixing scope from benchmark to thread for JMH tests having shared state
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: sviswanathan, ecaspole
2023-10-03 16:01:36 +00:00
Jiangli Zhou
ae796a4e10 8316923: Add DEF_STATIC_JNI_OnLoad for librmi
Reviewed-by: alanb
2023-10-03 15:33:48 +00:00
Leonid Mesnik
89987dbf87 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Reviewed-by: cjplummer, amenkov
2023-10-03 15:03:47 +00:00
Leonid Mesnik
0e501f66df 8308429: jvmti/StopThread/stopthrd007 failed with "NoClassDefFoundError: Could not initialize class jdk.internal.misc.VirtualThreads"
Reviewed-by: dholmes, sspitsyn
2023-10-03 15:03:21 +00:00
Thomas Schatzl
c47a0ce3f0 8317235: Remove Access API use in nmethod class
Reviewed-by: kbarrett, thartmann
2023-10-03 14:31:12 +00:00
Andrew Leonard
353d139682 8317340: Windows builds are not reproducible if MS VS compiler install path differs
Reviewed-by: erikj
2023-10-03 14:00:00 +00:00
Glavo
3bcfac18c3 8317246: Cleanup java.net.URLEncoder and URLDecoder use of file.encoding property
Reviewed-by: rriggs, naoto
2023-10-03 10:34:12 +00:00
Nick Gasson
b6a97c0780 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: rkennke, aph
2023-10-03 08:17:51 +00:00
Daniel Jeliński
287b243221 8316893: Compile without -fno-delete-null-pointer-checks
Reviewed-by: kbarrett, erikj
2023-10-03 05:54:33 +00:00
David Holmes
26c21f50a3 8314294: Unsafe::allocateMemory and Unsafe::freeMemory are slower than malloc/free
Reviewed-by: shade, dlong
2023-10-03 04:38:36 +00:00
Mark Powers
6e1aacdfba 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: valeriep
2023-10-02 22:43:48 +00:00
Weijun Wang
d2e2c4cef1 8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry
Reviewed-by: djelinski, mullan
2023-10-02 21:53:12 +00:00
Zhengyu Gu
e25121d1d9 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Reviewed-by: shade
2023-10-02 20:21:58 +00:00
Archie Cobbs
5c8366eea4 8268622: Performance issues in javac Name class
Reviewed-by: vromero
2023-10-02 20:15:43 +00:00
Mourad Abbay
ad81abd2db 8317034: Remove redundant type cast in the java.util.stream package
Reviewed-by: psandoz
2023-10-02 20:13:46 +00:00
Weijun Wang
d7d1d42b67 8316771: Krb5.java has not defined messages for all error codes
Reviewed-by: mullan
2023-10-02 19:55:22 +00:00
Weijun Wang
f985006142 8309356: Read files in includedir in alphanumeric order
Reviewed-by: mullan
2023-10-02 18:12:06 +00:00
Soumadipta Roy
a564d436c7 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Reviewed-by: shade, mli, lmesnik, tschatzl
2023-10-02 15:17:02 +00:00
Doug Simon
878d27dba1 8317273: compiler/codecache/OverflowCodeCacheTest.java fails transiently on Graal
Reviewed-by: never, thartmann
2023-10-02 14:18:27 +00:00
Albert Mingkun Yang
2637e8ddc4 8317314: Remove unimplemented ObjArrayKlass::oop_oop_iterate_elements_bounded
Reviewed-by: dcubed
2023-10-02 13:16:49 +00:00
Daniel Fuchs
8093563bce 8317295: ResponseSubscribers.SubscriberAdapter should call the finisher function asynchronously
Reviewed-by: djelinski
2023-10-02 13:06:43 +00:00
Daniel Jeliński
516cfb135f 8316907: Fix nonnull-compare warnings
Reviewed-by: kbarrett, jsjolen
2023-10-02 10:01:44 +00:00
Michal Sobierski
59847926b6 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Reviewed-by: shade, rhalade, valeriep
2023-10-02 09:56:14 +00:00
Emanuel Peter
eeb63cd0fa 8316361: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN with -XX:VerifyIterativeGVN=10
Reviewed-by: kvn, chagedorn
2023-10-02 08:03:10 +00:00
Ludvig Janiuk
69489427e9 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: erikj, jwaters
2023-10-02 07:40:11 +00:00
Thomas Schatzl
795e5dcc85 8315503: G1: Code root scan causes long GC pauses due to imbalanced iteration
Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Reviewed-by: iwalulya, ayang
2023-10-02 07:35:02 +00:00
Roberto Castañeda Lozano
207819a05e 8315604: IGV: dump and visualize node bottom and phase types
Co-authored-by: Tobias Holenstein <tholenstein@openjdk.org>
Reviewed-by: thartmann, chagedorn, tholenstein
2023-10-02 07:03:40 +00:00
Justin Lu
8fcf70e931 5066247: Refine the spec of equals() and hashCode() for j.text.Format classes
Reviewed-by: naoto, darcy
2023-10-02 05:06:45 +00:00
Kim Barrett
93f662f4fc 8317335: Build on windows fails after 8316645
Reviewed-by: lmesnik
2023-10-01 20:01:09 +00:00
Robbin Ehn
b8fa6c23f5 8316186: RISC-V: Remove PlatformCmpxchg<4>
Reviewed-by: fyang, mli
2023-10-01 16:33:54 +00:00
Robbin Ehn
fb055e7e53 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
Reviewed-by: ihse, fyang, luhenry, mli
2023-10-01 16:32:05 +00:00
Jaikiran Pai
009f5e1fa1 8317141: Remove unused validIndex method from URLClassPath$JarLoader
Reviewed-by: alanb, lancea, dfuchs
2023-09-30 01:06:16 +00:00
Kevin Driver
47569a256c 8295919: java.security.MessageDigest.isEqual does not adhere to @implNote
Reviewed-by: mullan
2023-09-29 18:47:47 +00:00
Alexey Semenyuk
5a6aa569aa 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Reviewed-by: almatvee
2023-09-29 17:17:54 +00:00
Naoto Sato
014c95a54d 8317126: Redundant entries in Windows tzmappings file
Reviewed-by: lancea, iris, joehw
2023-09-29 16:36:29 +00:00
Mourad Abbay
fa0697a637 8316998: Remove redundant type arguments in the java.util.stream package
Reviewed-by: psandoz
2023-09-29 15:36:16 +00:00
Brian Burkhalter
49376e4452 8316000: File.setExecutable silently fails if file does not exist
Reviewed-by: alanb
2023-09-29 15:03:10 +00:00
Doug Simon
a185be0346 8317139: [JVMCI] oop handles clearing message pollutes event log
Reviewed-by: never, thartmann
2023-09-29 14:59:33 +00:00
Alexey Semenyuk
179792beb4 8317283: jpackage tests run osx-specific checks on windows and linux
Reviewed-by: almatvee
2023-09-29 14:53:42 +00:00
Roman Kennke
bd918f49d2 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Reviewed-by: cjplummer, dholmes
2023-09-29 11:14:13 +00:00
Afshin Zafari
c45308afac 8301327: convert assert to guarantee in Handle_IDiv_Exception
Reviewed-by: dnsimon, dholmes
2023-09-29 07:05:24 +00:00
Vladimir Kempik
bd7bb67d8f 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
2023-09-29 05:15:23 +00:00
Jaikiran Pai
0259da9283 8301686: TLS 1.3 handshake fails if server_name doesn't match resuming session
Reviewed-by: djelinski, wetmore
2023-09-29 05:00:02 +00:00
Justin Lu
355811a996 8316559: Refactor some util/Calendar tests to JUnit
Reviewed-by: naoto, lancea
2023-09-28 23:51:12 +00:00
Eamonn McManus
ecb5e8a03f 8317264: Pattern.Bound has static fields that should be static final.
Reviewed-by: psandoz
2023-09-28 23:01:18 +00:00
Mourad Abbay
f2c221def1 8317119: Remove unused imports in the java.util.stream package
Reviewed-by: naoto, iris, psandoz
2023-09-28 22:07:12 +00:00
Alexey Ivanov
09dad0e96b 8313810: BoxLayout uses <blockquote> instead of list for layout options
8313811: Improve description of how BoxLayout lays out components

Reviewed-by: prr
2023-09-28 19:46:07 +00:00
Alexey Ivanov
73a47f0c4a 4622866: javax.swing.text.Document.remove(int, int) has a misleading picture
Reviewed-by: prr
2023-09-28 19:28:37 +00:00
Aleksei Voitylov
cfcbfc6cae 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Reviewed-by: simonis, rgiulietti, rriggs
2023-09-28 18:11:40 +00:00
Leonid Mesnik
ca5eee2fe3 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Reviewed-by: cjplummer, sspitsyn
2023-09-28 17:15:40 +00:00
Albert Mingkun Yang
060db1b2a2 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
Reviewed-by: tschatzl, iwalulya
2023-09-28 17:13:10 +00:00
Naoto Sato
3481a48571 8316974: ListFormat creation is unsuccessful for some of the supported Locales
Reviewed-by: joehw, rriggs
2023-09-28 16:04:46 +00:00
Matthias Baesken
29348b3cf6 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Reviewed-by: ihse, erikj
2023-09-28 15:53:03 +00:00
Ian Myers
3f19df685c 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Reviewed-by: shade, tschatzl
2023-09-28 15:52:36 +00:00
Daniel Fuchs
fc98998627 8316580: HttpClient with StructuredTaskScope does not close when a task fails
Reviewed-by: djelinski
2023-09-28 13:32:38 +00:00
Ashutosh Mehra
065203d44a 8313631: SA: stack trace printed using "where" command does not show class name
Reviewed-by: cjplummer, dholmes
2023-09-28 13:32:15 +00:00
Coleen Phillimore
0c55887bfb 8309599: WeakHandle and OopHandle release should clear obj pointer
Reviewed-by: dholmes, kbarrett
2023-09-28 12:00:20 +00:00
Lutz Schmidt
1230aed61d 8316885: jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
Reviewed-by: kvn, mdoerr
2023-09-28 11:50:51 +00:00
Albert Mingkun Yang
d0c1444d92 8316957: Serial: Change GenCollectedHeap to SerialHeap inside gc/serial folder
Reviewed-by: iwalulya, tschatzl
2023-09-28 11:49:03 +00:00
Matthias Baesken
bc5a39bb54 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Reviewed-by: mdoerr
2023-09-28 11:42:59 +00:00
Alexey Ivanov
3481ecb255 8316159: Update BoxLayout sample image for crisper edges
Move all rectangles half a pixel to make edges crisp

Reviewed-by: prr
2023-09-28 11:31:46 +00:00
Maurizio Cimadamore
798125152b 8316970: Add internal annotation to mark restricted methods
Reviewed-by: jvernee, iris, alanb
2023-09-28 09:49:57 +00:00
Ludvig Janiuk
77fac0f4c6 8316906: Clarify TLABWasteTargetPercent flag
Reviewed-by: ayang, iwalulya, tschatzl
2023-09-28 08:02:10 +00:00
Robbin Ehn
2d154fcd0d 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Reviewed-by: luhenry, fyang
2023-09-28 05:47:33 +00:00
Jaikiran Pai
42924ed4e5 8316946: jtreg failure handler pages are mislabelling the jcmd/thread/dump_to_file results.
Reviewed-by: dholmes
2023-09-28 05:42:26 +00:00
Daniel Jeliński
384d2ea6d1 8316125: Windows call_stub unnecessarily saves xmm16-31 when UseAVX>=3
Reviewed-by: jvernee, kvn, sviswanathan
2023-09-28 04:16:54 +00:00
Jean-Philippe Bempel
84390dd063 8316658: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java fails intermittently
Reviewed-by: coleenp, dholmes
2023-09-28 02:43:41 +00:00
Ioi Lam
52073b27a3 8316994: Avoid modifying ClassLoader and Module objects during -Xshare:dump
Reviewed-by: matsaave, ccheung
2023-09-28 01:47:54 +00:00
Mikael Vidstedt
83c0e45160 8306630: Bump minimum boot jdk to JDK 21
Reviewed-by: darcy, erikj, iris, shade
2023-09-28 00:17:31 +00:00
Alisen Chung
d3a79b5861 8316371: Open some swing tests 6
Reviewed-by: dnguyen, prr
2023-09-27 23:20:29 +00:00
Ilya Gavrilin
750da00129 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Reviewed-by: fyang, luhenry
2023-09-27 17:07:10 +00:00
Thomas Schatzl
b8cec480f8 8315848: G1: Rename rs_ prefix to card_rs in analytics
Reviewed-by: ayang, lkorinth
2023-09-27 17:05:58 +00:00
Kevin Walls
5350fd6173 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization
Reviewed-by: lmesnik, cjplummer
2023-09-27 15:55:12 +00:00
Thomas Schatzl
edcc559f09 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Reviewed-by: kvn, thartmann
2023-09-27 15:14:57 +00:00
Roger Riggs
1be355734d 8315721: CloseRace.java#id0 fails transiently on libgraal
Reviewed-by: lancea, jpai
2023-09-27 13:30:35 +00:00
Fredrik Bredberg
347bd15e49 8315966: Relativize initial_sp in interpreter frames
Reviewed-by: fyang, mdoerr, pchilanomate
2023-09-27 13:15:07 +00:00
Alan Bateman
b24ad7cf57 8316924: java/lang/Thread/virtual/stress/ParkALot.java times out
Reviewed-by: jpai
2023-09-27 12:54:29 +00:00
Christoph Langer
ad6df41a9e 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Reviewed-by: mbaesken, aivanov
2023-09-27 12:37:39 +00:00
Afshin Zafari
45a145e5bc 8299915: Remove ArrayAllocatorMallocLimit and associated code
Reviewed-by: dholmes, coleenp
2023-09-27 08:27:02 +00:00
Axel Boldt-Christmas
50a7a04e9a 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists
Reviewed-by: cjplummer, dholmes
2023-09-27 08:16:34 +00:00
Daniel Jeliński
fee9d3362c 8293176: SSLEngine handshaker does not send an alert after a bad parameters
Reviewed-by: mdonovan, jnimeh
2023-09-27 07:33:52 +00:00
Daniel Jeliński
fd52be2a3c 8316895: SeenThread::print_action_queue called on a null pointer
Reviewed-by: coleenp, dholmes
2023-09-27 07:31:44 +00:00
Gui Cao
e39197ec62 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Reviewed-by: fyang, dzhang
2023-09-27 07:18:42 +00:00
Matthias Baesken
b659e0343a 8316897: tools/jpackage/junit tests fail on AIX after JDK-8316547
Reviewed-by: cstein, asemenyuk, almatvee
2023-09-27 06:43:50 +00:00
Prasanta Sadhukhan
83806abe44 6450193: After the first Serialization, JTableHeader does not uninstall its UI
Reviewed-by: aivanov
2023-09-27 04:28:10 +00:00
Alexander Zvegintsev
2f311d59dc 8316211: Open source several manual applet tests
Reviewed-by: honkar, aivanov
2023-09-26 21:24:07 +00:00
Alexander Zvegintsev
65227a3c64 8316389: Open source few AWT applet tests
Reviewed-by: dnguyen, abhiscxk, aivanov
2023-09-26 21:23:34 +00:00
Alisen Chung
788e6e1548 8316218: Open some swing tests 5
Reviewed-by: prr, dnguyen
2023-09-26 20:52:04 +00:00
Leonid Mesnik
ee9776fa23 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Reviewed-by: amenkov, cjplummer
2023-09-26 18:35:13 +00:00
Brian Burkhalter
36ac83904c 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
Reviewed-by: alanb
2023-09-26 15:27:44 +00:00
Amit Kumar
efb7e85ecf 8316935: [s390x] Use consistent naming for lightweight locking in MacroAssembler
Reviewed-by: mdoerr, lucy
2023-09-26 15:02:49 +00:00
Roland Westrelin
4e1e579e8b 8315920: C2: "control input must dominate current control" assert failure
Reviewed-by: thartmann, chagedorn
2023-09-26 14:32:54 +00:00
Matthias Baesken
1f7dfda705 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Reviewed-by: lucy
2023-09-26 14:01:45 +00:00
Martin Doerr
20ff603108 8316735: Print LockStack in hs_err files
Reviewed-by: dholmes, mbaesken
2023-09-26 13:33:33 +00:00
Albert Mingkun Yang
e510dee162 8316098: Revise signature of numa_get_leaf_groups
Reviewed-by: tschatzl, coleenp
2023-09-26 12:56:59 +00:00
Albert Mingkun Yang
1513e7910f 8316940: Serial: Remove unused declarations in genCollectedHeap
Reviewed-by: stefank, tschatzl
2023-09-26 12:56:24 +00:00
Roland Westrelin
52983ed529 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Reviewed-by: chagedorn, thartmann
2023-09-26 06:55:01 +00:00
Per Minborg
9e6cb62048 8316851: Add @sealedGraph to Executable
Reviewed-by: darcy
2023-09-26 06:00:58 +00:00
Amit Kumar
3fe6e0faca 8308479: [s390x] Implement alternative fast-locking scheme
Reviewed-by: lucy, mdoerr
2023-09-26 03:40:11 +00:00
David Holmes
e2e8e8e210 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Reviewed-by: chagedorn, pchilanomate
2023-09-25 23:42:17 +00:00
Sergey Bylokhov
0dce4c1758 8313220: Remove Windows specific workaround in LCMS.c for _snprintf
Reviewed-by: prr
2023-09-25 23:01:19 +00:00
Sergey Bylokhov
e5f05b5a96 8312191: ColorConvertOp.filter for the default destination is too slow
Reviewed-by: prr
2023-09-25 20:54:00 +00:00
Alexander Zuev
be9cc73fca 8315871: Opensource five more Swing regression tests
Reviewed-by: dnguyen, prr
2023-09-25 18:30:49 +00:00
Alexey Ivanov
b65f4f7220 8313403: Remove unused 'mask' field from JFormattedTextField
Reviewed-by: prr, honkar
2023-09-25 18:06:53 +00:00
Naoto Sato
e3201d1d13 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Reviewed-by: jlu, alanb
2023-09-25 18:03:52 +00:00
Liam Miller-Cushon
9291b46bcf 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system
Reviewed-by: cjplummer, amenkov
2023-09-25 16:43:20 +00:00
Mourad Abbay
afa48333ab 8271268: Fix Javadoc links for Stream.mapMulti
Reviewed-by: liach, psandoz
2023-09-25 16:38:31 +00:00
Elif Aslan
9688ec2d0d 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Reviewed-by: shade, egahlin
2023-09-25 15:01:17 +00:00
Ian Myers
0f77d250b6 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Reviewed-by: shade, weijun
2023-09-25 13:12:41 +00:00
Ludovic Henry
311c7461c8 8316859: RISC-V: Disable detection of V through HWCAP
Reviewed-by: rehn, fyang
2023-09-25 12:21:47 +00:00
Andrew Leonard
0f0c5b2d71 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Reviewed-by: erikj
2023-09-25 08:35:53 +00:00
Thomas Schatzl
3d6e775d71 8316669: ImmutableOopMapSet destructor not called
Reviewed-by: thartmann, jvernee, kvn
2023-09-25 06:38:11 +00:00
Thomas Schatzl
837783c2d3 8316670: Remove effectively unused nmethodBucket::_count
Reviewed-by: kvn, dlong
2023-09-25 06:36:14 +00:00
Andrey Turbanov
89e068bc19 8316556: Fix typos in java.desktop
Reviewed-by: prr, aivanov
2023-09-25 06:32:40 +00:00
Hao Sun
481cfc7985 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: aph, dlong
2023-09-25 05:38:51 +00:00
Tejesh R
f0ff001dd7 8315742: Open source several Swing Scroll related tests
Reviewed-by: dnguyen, psadhukhan
2023-09-25 05:35:35 +00:00
Alisen Chung
a2391a92cd 8316053: Open some swing tests 3
Reviewed-by: dnguyen, prr
2023-09-23 05:42:07 +00:00
Alisen Chung
d2d7d9a8b7 8315882: Open some swing tests 2
Reviewed-by: honkar, prr
2023-09-23 04:45:16 +00:00
Coleen Phillimore
68a9c81040 8316711: SEGV in LoaderConstraintTable::find_loader_constraint after JDK-8310874
Reviewed-by: dcubed, iklam
2023-09-22 21:58:01 +00:00
Alisen Chung
e015e6ce28 8315825: Open some swing tests
Reviewed-by: abhiscxk, prr
2023-09-22 20:51:14 +00:00
Chris Plummer
9aaac2eee3 8301639: JDI and JDWP specs should clarify potential deadlock issues with method invocation
Reviewed-by: dholmes, alanb
2023-09-22 20:29:00 +00:00
Hannes Wallnöfer
6b8261b8d6 8315464: Uncouple AllClassesIndexWriter from IndexBuilder
Reviewed-by: jjg
2023-09-22 19:17:40 +00:00
Mandy Chung
9b65b7ddbe 8316305: Initial buffer size of StackWalker is too small caused by JDK-8285447
Reviewed-by: bchristi
2023-09-22 18:38:06 +00:00
Ben Perez
53516aed38 8304956: Update KeyStore.getDefaultType​() specification to return pkcs12 as fallback
Reviewed-by: hchao, mullan
2023-09-22 17:31:57 +00:00
Brian Burkhalter
373cdf257d 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: lancea, djelinski, rriggs
2023-09-22 17:24:05 +00:00
Naoto Sato
f7578e8048 8316540: StoreReproducibilityTest fails on some locales
Reviewed-by: joehw, jlu, jpai, alanb
2023-09-22 16:53:56 +00:00
Joe Darcy
b66ded9a5b 8316688: Widen allowable error bound of Math.hypot
Reviewed-by: bpb, rgiulietti
2023-09-22 16:35:55 +00:00
Aleksey Shipilev
6c61bc1950 8316514: Better diagnostic header for VtableStub
Reviewed-by: thartmann, kvn
2023-09-22 16:24:06 +00:00
Martin Doerr
c90d63105c 8315750: Update subtype check profile collection on PPC following 8308869
Reviewed-by: rrich, lucy
2023-09-22 13:21:10 +00:00
Alexey Ivanov
00f585bd22 8316206: Test StretchedFontTest.java fails for Baekmuk font
Ignore broken fonts, i.e. the fonts for which
GlyphVector(TEXT).getVisualBounds().isEmpty() returns true

Reviewed-by: azvegint, prr, goetz
2023-09-22 12:47:01 +00:00
Claes Redestad
c24c66db97 8316681: Rewrite URLEncoder.encode to use small reusable buffers
Reviewed-by: dfuchs, rriggs
2023-09-22 09:41:01 +00:00
Xin Liu
bd2439f3fc 8316702: Only evaluate buffer when IGVPrintLevelOption >= 5
Reviewed-by: chagedorn, thartmann
2023-09-22 08:35:35 +00:00
Tobias Hartmann
4b65483921 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Reviewed-by: roland, chagedorn
2023-09-22 08:30:49 +00:00
Severin Gehwolf
7352bb9105 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Reviewed-by: shade
2023-09-22 08:12:51 +00:00
Yi-Fan Tsai
343cc0ce2b 8315576: compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
Reviewed-by: kvn, thartmann
2023-09-22 07:57:05 +00:00
Stefan Karlsson
fe862639e7 8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CDS decreases the MaxHeapSize
Reviewed-by: aboldtch, serb
2023-09-22 06:38:45 +00:00
Jie Fu
775e22a8a6 8316699: TestDynamicConstant.java fails with release VMs
Reviewed-by: dholmes
2023-09-22 02:14:52 +00:00
Mandy Chung
a1e03463ac 8316698: build failure caused by JDK-8316456
Reviewed-by: dcubed, dholmes
2023-09-22 00:10:06 +00:00
Mandy Chung
c72f00463f 8316456: StackWalker may skip Continuation::yield0 frame mistakenly
Reviewed-by: rpressler, pchilanomate
2023-09-21 23:10:49 +00:00
Alex Menkov
041510dc21 8315486: vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java timed out
Reviewed-by: cjplummer, lmesnik
2023-09-21 22:24:24 +00:00
Justin Lu
ef49e6c0d7 8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful
Reviewed-by: naoto
2023-09-21 21:31:37 +00:00
Justin Lu
496264c1f9 8316435: sun.util.calendar.CalendarSystem subclassing should be restricted
Reviewed-by: naoto
2023-09-21 21:31:07 +00:00
Daniel D. Daugherty
1100dbc6b2 8316695: ProblemList serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java
Reviewed-by: ccheung, kbarrett
2023-09-21 20:59:30 +00:00
Damon Nguyen
d3e8218386 8316306: Open source and convert manual Swing test
Reviewed-by: honkar, azvegint
2023-09-21 19:37:47 +00:00
Joe Wang
4e5717754a 8316383: NullPointerException in AbstractSAXParser after JDK-8306632
Reviewed-by: lancea, naoto
2023-09-21 19:17:24 +00:00
Alexander Zvegintsev
3b397c8552 8315965: Open source various AWT applet tests
Reviewed-by: honkar, psadhukhan
2023-09-21 18:28:19 +00:00
Sean Mullan
c698b45a7b 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Reviewed-by: jnimeh
2023-09-21 17:31:46 +00:00
Sacha Coppey
015f6f5d94 8315771: [JVMCI] Resolution of bootstrap methods with int[] static arguments
Reviewed-by: dnsimon, psandoz
2023-09-21 17:00:46 +00:00
Damon Nguyen
83b01cf3c2 8311922: [macOS] right-Option key fails to generate release event
Reviewed-by: honkar, prr
2023-09-21 16:42:14 +00:00
Doug Simon
542b3000f0 8315954: getArgumentValues002.java fails on Graal
Reviewed-by: never, fparain
2023-09-21 16:28:44 +00:00
Daniel Jeliński
063790012d 8316433: net.dll should delay load winhttp.dll
Reviewed-by: erikj, ihse
2023-09-21 15:43:05 +00:00
Thomas Schatzl
90bcdbd15f 8316581: Improve performance of Symbol::print_value_on()
Reviewed-by: shade, coleenp, dholmes
2023-09-21 14:47:06 +00:00
Doug Simon
8350268c05 8316453: [JVMCI] Using Xcomp on jargraal must eagerly initialize JVMCI
Reviewed-by: never, thartmann
2023-09-21 14:29:06 +00:00
Alexander Zvegintsev
3809d69ac4 8316240: Open source several add/remove MenuBar manual tests
Reviewed-by: honkar, psadhukhan
2023-09-21 13:57:28 +00:00
Jorn Vernee
38bf1192b6 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: dholmes, djelinski
2023-09-21 13:54:35 +00:00
Daniel Jeliński
349723cb8d 8315739: Missing null check in os::vm_min_address
Reviewed-by: dholmes, jvernee
2023-09-21 12:43:53 +00:00
Daniel Jeliński
8cbe42b94a 8316421: libjava should load shell32.dll eagerly
Reviewed-by: erikj, jwaters, jvernee
2023-09-21 12:39:03 +00:00
Matthias Baesken
378bcd5985 8316595: Alpine build fails after JDK-8314021
Reviewed-by: dholmes, yyang
2023-09-21 12:24:51 +00:00
Coleen Phillimore
b3d75fe12e 8310874: Runthese30m crashes with klass should be in the placeholders during verification
Reviewed-by: dholmes, iklam
2023-09-21 12:17:34 +00:00
Martin Doerr
6a4b665550 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Reviewed-by: goetz, mbaesken
2023-09-21 12:06:27 +00:00
Claes Redestad
913e43fea9 8316582: Minor startup regression in 22-b15 due JDK-8310929
Reviewed-by: liach, rriggs
2023-09-21 09:36:28 +00:00
Sergei Tachenov
23ed890f3f 6415065: Submenu is shown on wrong screen in multiple monitor environment
Reviewed-by: prr
2023-09-21 09:00:26 +00:00
Christian Hagedorn
ca47f5f06d 8316105: C2: Back to back Parse Predicates from different loops but with same deopt reason are wrongly grouped together
Reviewed-by: roland, thartmann, kvn
2023-09-21 08:56:31 +00:00
Chen Liang
1749ba265b 8311084: Add typeSymbol() API for applicable constant pool entries
Reviewed-by: briangoetz, asotona
2023-09-21 08:05:01 +00:00
Abhishek Kumar
9f5d2b947f 8316285: Opensource JButton manual tests
Reviewed-by: psadhukhan, tr
2023-09-21 06:35:34 +00:00
Qing Xiao
a35e96a3fa 8313612: Use JUnit in lib-test/jdk tests
Reviewed-by: cstein, asotona
2023-09-21 06:24:49 +00:00
Deepa Kumari
bee7524251 8315786: [AIX] Build Disk Local Detection Issue with GNU-utils df on AIX
Reviewed-by: tsteele, erikj, amitkumar
2023-09-21 06:01:49 +00:00
Roberto Castañeda Lozano
ceff47b462 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: ayang, thartmann, kvn
2023-09-21 05:49:09 +00:00
Jean-Philippe Bempel
df4a25b41c 8308762: Metaspace leak with Instrumentation.retransform
Reviewed-by: dholmes, coleenp
2023-09-21 05:16:07 +00:00
David Holmes
84124794c2 8316229: Enhance class initialization logging
Reviewed-by: shade, coleenp
2023-09-21 00:50:33 +00:00
Damon Nguyen
c04c9ea361 8316627: JViewport Test headless failure
Reviewed-by: dcubed, prr
2023-09-20 22:11:27 +00:00
Brian Burkhalter
5cacf212f0 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Reviewed-by: alanb
2023-09-20 20:42:31 +00:00
Erik Joelsson
3461c7b165 8316532: Native library copying in BuildMicrobenchmark.gmk cause dups on macOS
Reviewed-by: ihse, redestad
2023-09-20 20:36:16 +00:00
Coleen Phillimore
3301fb1e8a 8315869: UseHeavyMonitors not used
Reviewed-by: dcubed, alanb
2023-09-20 19:09:02 +00:00
Leonid Mesnik
54028e779b 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Reviewed-by: dholmes, kevinw, dcubed
2023-09-20 18:13:45 +00:00
Naoto Sato
7c991cc567 8296246: Update Unicode Data Files to Version 15.1.0
Reviewed-by: erikj, joehw, srl, rriggs
2023-09-20 17:39:57 +00:00
Damon Nguyen
a021dbcb9e 8316149: Open source several Swing JTree JViewport KeyboardManager tests
Reviewed-by: psadhukhan, tr
2023-09-20 16:19:37 +00:00
Daniel D. Daugherty
455cfae1e1 8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
Reviewed-by: dholmes, rkennke, stefank
2023-09-20 15:27:27 +00:00
Coleen Phillimore
9e00949a26 8316427: Duplicated code for {obj,type}ArrayKlass::array_klass
Reviewed-by: dholmes, adinn
2023-09-20 14:38:04 +00:00
Alexander Zuev
c43ebd34af 8315981: Opensource five more random Swing tests
Reviewed-by: tr, azvegint
2023-09-20 14:31:42 +00:00
Leo Korinth
e30e356442 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Reviewed-by: ihse, erikj
2023-09-20 13:04:45 +00:00
Erik Joelsson
242eeaea47 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Reviewed-by: jwaters, ihse
2023-09-20 12:48:19 +00:00
Tim Prinzing
b275bdd9b5 8308995: Update Network IO JFR events to be static mirror events
Reviewed-by: egahlin, alanb
2023-09-20 12:34:08 +00:00
Matthias Baesken
e1870d360e 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Reviewed-by: mdoerr, chagedorn
2023-09-20 09:08:52 +00:00
Aleksey Shipilev
ec74194cb7 8316546: Backout JDK-8315932: runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: dholmes
2023-09-20 05:33:36 +00:00
Alexey Semenyuk
2568188630 8316547: Use JUnit.dir jtreg property with jpackage JUnit tests
Reviewed-by: almatvee
2023-09-19 21:43:35 +00:00
Harshitha Onkar
833a82872c 8315876: Open source several Swing CSS related tests
Reviewed-by: azvegint, dnguyen, aivanov
2023-09-19 20:41:57 +00:00
Man Cao
7ce5bd1590 8316468: os::write incorrectly handles partial write
Reviewed-by: dholmes, shade
2023-09-19 20:06:40 +00:00
Harshitha Onkar
d19e017d3f 8315951: Open source several Swing HTMLEditorKit related tests
Reviewed-by: dnguyen, aivanov
2023-09-19 18:42:56 +00:00
Damon Nguyen
62c0a1b9ac 8315883: Open source several Swing JToolbar tests
Reviewed-by: honkar, aivanov
2023-09-19 18:28:37 +00:00
Harshitha Onkar
0c972468e7 8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp
Reviewed-by: aivanov, serb
2023-09-19 17:37:49 +00:00
Damon Nguyen
d2b2f6759f 8315952: Open source several Swing JToolbar JTooltip JTree tests
Reviewed-by: aivanov, honkar
2023-09-19 17:34:03 +00:00
Damon Nguyen
5f6cee86ef 8316056: Open source several Swing JTree tests
Reviewed-by: honkar, aivanov
2023-09-19 16:56:12 +00:00
Mikhailo Seledtsov
b685ee00b2 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: dholmes, lmesnik
2023-09-19 16:42:23 +00:00
Leonid Mesnik
e0f8d16833 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Reviewed-by: cjplummer
2023-09-19 16:35:50 +00:00
Leonid Mesnik
7b1e2bfe0f 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Reviewed-by: dholmes
2023-09-19 16:33:31 +00:00
Rajan Halade
da57d2a1eb 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
2023-09-19 16:11:23 +00:00
Albert Mingkun Yang
a6d120d4df 8316513: Serial: Remove unused invalidate_remembered_set
Reviewed-by: tschatzl
2023-09-19 15:20:51 +00:00
Adam Farley
607bd4ed84 8316294: AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt
Reviewed-by: clanger, erikj
2023-09-19 14:13:40 +00:00
Glavo
f25c920fd3 8314774: Optimize URLEncoder
Reviewed-by: redestad, dfuchs
2023-09-19 13:49:58 +00:00
Tejesh R
7c5f2a2db9 8315669: Open source several Swing PopupMenu related tests
Reviewed-by: dnguyen, psadhukhan
2023-09-19 13:36:16 +00:00
Per Minborg
cf74b8c2a3 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Reviewed-by: alanb, liach
2023-09-19 13:10:51 +00:00
Alan Bateman
4461eeb31d 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
Reviewed-by: sspitsyn, rpressler
2023-09-19 10:58:12 +00:00
Andrew Haley
670b4567cf 8315038: Capstone disassembler stops when it sees a bad instruction
Reviewed-by: jvernee, shade
2023-09-19 09:16:57 +00:00
Thomas Schatzl
fab372d3a2 8316428: G1: Nmethod count statistics only count last code root set iterated
Reviewed-by: iwalulya, ayang
2023-09-19 08:30:17 +00:00
Andrey Turbanov
283c360392 8314877: Make fields final in 'java.net' package
Reviewed-by: jpai
2023-09-19 08:26:25 +00:00
Albert Mingkun Yang
86115c2a2e 8316420: Serial: Remove unused GenCollectedHeap::oop_iterate
Reviewed-by: stefank, tschatzl
2023-09-19 08:25:52 +00:00
Thomas Schatzl
d038571213 8030815: Code roots are not accounted for in region prediction
Reviewed-by: iwalulya, ayang
2023-09-19 08:23:57 +00:00
Tejesh R
138542de78 8316061: Open source several Swing RootPane and Slider related tests
Reviewed-by: kizune, abhiscxk
2023-09-19 05:15:33 +00:00
Tejesh R
f52e500f80 8316104: Open source several Swing SplitPane and RadioButton related tests
Reviewed-by: kizune, abhiscxk
2023-09-19 05:15:01 +00:00
Yi Yang
3760a0448d 8314021: HeapDump: Optimize segmented heap file merging phase
Reviewed-by: amenkov, kevinw
2023-09-19 02:03:15 +00:00
Calvin Cheung
f226ceb435 8316440: LambdasInTwoArchives.java failed to find WhiteBox.class
Reviewed-by: iklam
2023-09-19 00:12:36 +00:00
Damon Nguyen
24c3d86f32 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Reviewed-by: honkar, aivanov
2023-09-18 23:08:26 +00:00
Justin Lu
373e37bf13 8313813: Field sun.util.calendar.CalendarDate#forceStandardTime is never set
Reviewed-by: aturbanov, naoto
2023-09-18 22:08:17 +00:00
Joe Darcy
5308bbbcf8 8246280: Refine API to model sealed classes and interfaces in javax.lang.model
Reviewed-by: vromero, jjg
2023-09-18 20:40:01 +00:00
Alexey Semenyuk
dcea9bf087 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Reviewed-by: almatvee
2023-09-18 20:19:36 +00:00
Alexey Semenyuk
1b104b63a9 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:
Reviewed-by: almatvee
2023-09-18 20:12:38 +00:00
Aleksey Shipilev
4421951d8f 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Reviewed-by: lmesnik, cjplummer
2023-09-18 18:29:33 +00:00
shaojin.wensj
f09b7af685 8311220: Optimization for StringLatin UpperLower
Reviewed-by: redestad, liach
2023-09-18 17:04:50 +00:00
Christoph Langer
2e2d49c76d 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Reviewed-by: mbaesken
2023-09-18 12:31:36 +00:00
Christoph Langer
bf9d1e2071 8316399: Exclude java/net/MulticastSocket/Promiscuous.java on AIX
Reviewed-by: alanb
2023-09-18 12:31:14 +00:00
Joachim Kern
21c2dac159 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Reviewed-by: dholmes, mbaesken
2023-09-18 11:57:48 +00:00
Albert Mingkun Yang
ecce2afc1a 8316357: Serial: Remove unused GenCollectedHeap::space_containing
Reviewed-by: tschatzl
2023-09-18 11:36:42 +00:00
Nikita Sakharin
3828dc913a 8314236: Overflow in Collections.rotate
Co-authored-by: Nikita Sakharin <17588081+nikita-sakharin@users.noreply.github.com>
Reviewed-by: shade, smarks
2023-09-18 09:20:11 +00:00
Adam Sotona
1203e11a8d 8294969: Convert jdk.jdeps javap to use the Classfile API
Reviewed-by: vromero
2023-09-18 08:35:31 +00:00
Leo Korinth
fbc766ee21 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Reviewed-by: ayang, tschatzl
2023-09-18 07:14:53 +00:00
Matthias Baesken
aa0ebeedb1 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Reviewed-by: lucy, clanger
2023-09-18 07:01:48 +00:00
Aleksey Shipilev
ca3fe7b3fd 8315932: runtime/InvocationTests spend a lot of time on dependency verification
Reviewed-by: phh, vlivanov
2023-09-18 05:53:12 +00:00
Alan Bateman
f44032969f 8316391: (zipfs) ZipFileSystem.readFullyAt does not tolerate short reads
Reviewed-by: jpai, lancea
2023-09-17 11:53:12 +00:00
Doug Simon
4b8f5d031a 8316273: JDK-8315818 broke JVMCIPrintProperties on libgraal
Reviewed-by: never, kvn
2023-09-16 21:31:23 +00:00
Christoph Langer
e62419823a 8316387: Exclude more failing multicast tests on AIX after JDK-8315651
Reviewed-by: alanb
2023-09-16 21:08:49 +00:00
Pavel Rappo
c92bdb0e91 8316187: Modernize examples in StringTokenizer and {Date,Number}Format
Reviewed-by: naoto
2023-09-16 07:51:34 +00:00
Harshitha Onkar
8f46abc938 8315889: Open source several Swing HTMLDocument related tests
Reviewed-by: tr, azvegint
2023-09-15 20:32:38 +00:00
Chris Plummer
00504472b9 8316148: Remove sun/tools/jhsdb/JStackStressTest.java from problem list
Reviewed-by: dholmes
2023-09-15 20:22:03 +00:00
Pavel Rappo
149acd186e 8316207: Fix typos in java.io.StreamTokenizer
Reviewed-by: naoto
2023-09-15 17:32:41 +00:00
Daniel Fuchs
dc5ca1d379 8316031: SSLFlowDelegate should not log from synchronized block
Reviewed-by: djelinski
2023-09-15 17:21:27 +00:00
Brian Burkhalter
8dfde28b28 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: alanb
2023-09-15 15:15:46 +00:00
Sean Mullan
3c743cfea0 8312126: NullPointerException in CertStore.getCRLs after 8297955
Reviewed-by: weijun
2023-09-15 13:12:15 +00:00
Albert Mingkun Yang
bd268137ed 8316295: Serial: Remove empty Generation::promotion_failure_occurred
Reviewed-by: tschatzl
2023-09-15 11:39:16 +00:00
Feilong Jiang
42dc6b5d3a 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Reviewed-by: fyang
2023-09-15 10:04:43 +00:00
Roman Kennke
31c4e03d5d 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: jsjolen, eosterlund
2023-09-15 09:48:58 +00:00
Andrey Turbanov
89cb290bb0 8312165: Fix typos in java.desktop Swing
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov
2023-09-15 09:18:28 +00:00
Alan Bateman
25f32f3538 8316160: Remove sun.misc.Unsafe.{shouldBeInitialized,ensureClassInitialized}
Reviewed-by: rriggs, mchung, jpai
2023-09-15 09:09:21 +00:00
Leo Korinth
86dde5e02b 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Reviewed-by: ayang, tschatzl
2023-09-15 08:59:48 +00:00
Daniel Fuchs
4f864faf42 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations
Reviewed-by: jpai
2023-09-15 08:30:18 +00:00
Gui Cao
4070829ae5 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Reviewed-by: fyang, dzhang
2023-09-15 07:42:23 +00:00
Aleksey Shipilev
d575968b4b 8316178: Better diagnostic header for CodeBlobs
Reviewed-by: thartmann, kvn
2023-09-15 07:14:35 +00:00
Abhishek Kumar
bfbc41c1f1 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Reviewed-by: kizune, tr
2023-09-15 06:23:20 +00:00
Abhishek Kumar
0775bf2f03 8316106: Open source few swing JInternalFrame and JMenuBar tests
Reviewed-by: kizune, tr
2023-09-15 06:18:36 +00:00
Tejesh R
4a63eb0522 8315834: Open source several Swing JSpinner related tests
Reviewed-by: psadhukhan, abhiscxk
2023-09-15 06:08:27 +00:00
Per Minborg
8dc2d9280e 8316190: Improve MemorySegment::toString
Reviewed-by: rriggs
2023-09-15 05:43:57 +00:00
Jayathirth D V
783e44d07e 8316326: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all again
Reviewed-by: dholmes
2023-09-15 03:04:28 +00:00
Pengfei Li
96781ba33d 8312332: C2: Refactor SWPointer out from SuperWord
Reviewed-by: epeter, kvn
2023-09-15 01:02:44 +00:00
Justin Lu
b55e418a07 8301991: Convert l10n properties resource bundles to UTF-8 native
Reviewed-by: naoto
2023-09-14 22:19:18 +00:00
Harshitha Onkar
d475f61fd5 8315731: Open source several Swing Text related tests
Reviewed-by: psadhukhan, tr
2023-09-14 22:03:03 +00:00
Soumadipta Roy
4415261688 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Reviewed-by: martin, shade
2023-09-14 19:22:31 +00:00
Adam Sotona
b2e91060db 8313452: Improve Classfile API attributes handling safety
Reviewed-by: briangoetz
2023-09-14 18:52:51 +00:00
Chris Plummer
2a6fb9ce59 8316147: Remove serviceability/sa/TestJhsdbJstackMixed.java from -Xcomp problem list
Reviewed-by: lmesnik
2023-09-14 18:52:24 +00:00
Adam Sotona
ca747f09b6 8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing
Reviewed-by: briangoetz
2023-09-14 18:30:39 +00:00
Adam Sotona
6d47fc6d5b 8313258: RuntimeInvisibleTypeAnnotationsAttribute.annotations() API Index out of Bound error
Reviewed-by: briangoetz
2023-09-14 18:29:01 +00:00
Adam Sotona
c7d306c65c 8315541: Classfile API TypeAnnotation.TargetInfo factory methods accept null labels
Reviewed-by: briangoetz
2023-09-14 18:27:12 +00:00
Harshitha Onkar
c11f8352e9 8315824: Open source several Swing Text/HTML related tests
Reviewed-by: psadhukhan, azvegint
2023-09-14 17:51:54 +00:00
Mandy Chung
5cea53d372 8315810: Reimplement sun.reflect.ReflectionFactory::newConstructorForSerialization with method handles
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: rriggs
2023-09-14 16:10:55 +00:00
Soumadipta Roy
eb1f67b160 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Reviewed-by: shade, lmesnik
2023-09-14 15:59:13 +00:00
Prasanta Sadhukhan
a57b9dab6c 8316242: Opensource SwingGraphics manual test
Reviewed-by: kizune, abhiscxk
2023-09-14 15:50:03 +00:00
Albert Mingkun Yang
3abe7982bf 8316115: Parallel: Fix -Wconversion warnings around NUMA node ID
Reviewed-by: shade, tschatzl
2023-09-14 14:49:40 +00:00
Matias Saavedra Silva
83dca6296e 8313638: Add test for dump of resolved references
Reviewed-by: ccheung, iklam
2023-09-14 14:30:14 +00:00
Robbin Ehn
cfa89012ab 8315338: RISC-V: Change flags for stable extensions to non-experimental
Reviewed-by: fyang, luhenry, fjiang
2023-09-14 13:50:49 +00:00
Soumadipta Roy
edd454b502 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Reviewed-by: shade, tschatzl
2023-09-14 12:21:45 +00:00
Albert Mingkun Yang
de9b971c2e 8315933: Serial: Remove empty Generation::ensure_parsability
Reviewed-by: tschatzl, sjohanss
2023-09-14 12:06:25 +00:00
Stefan Karlsson
b48dbf6bfa 8316181: Move the fast locking implementation out of the .ad files
Reviewed-by: thartmann, rkennke, fyang
2023-09-14 11:50:24 +00:00
Prasanta Sadhukhan
8f4dfc443b 8316164: Opensource JMenuBar manual test
Reviewed-by: tr, jdv
2023-09-14 10:21:44 +00:00
Prasanta Sadhukhan
33c62e4fff 8316154: Opensource JTextArea manual tests
Reviewed-by: abhiscxk, jdv
2023-09-14 10:09:08 +00:00
Andrey Turbanov
14408bc8f8 8315973: Remove unused fields from ThreadLocalRandom
Reviewed-by: jpai
2023-09-14 09:01:13 +00:00
Kevin Walls
903b9e8dd9 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: lmesnik, cjplummer
2023-09-14 07:06:20 +00:00
Stefan Karlsson
639ba13c4b 8316179: Use consistent naming for lightweight locking in MacroAssembler
Reviewed-by: rkennke, coleenp, dholmes
2023-09-14 07:02:29 +00:00
Leonid Mesnik
11d431b2c4 8316228: jcmd tests are broken by 8314828
Reviewed-by: dholmes
2023-09-14 01:20:24 +00:00
Sergey Bylokhov
eb37c7e361 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Reviewed-by: shade
2023-09-13 23:40:44 +00:00
Leonid Mesnik
23fab1181b 8314828: Mark 3 jcmd command-line options test as vm.flagless
Reviewed-by: cjplummer
2023-09-13 22:52:01 +00:00
Alexander Zvegintsev
1741d13b12 8315726: Open source several AWT applet tests
Reviewed-by: psadhukhan, aivanov
2023-09-13 22:23:27 +00:00
Claes Redestad
92ad4a2399 8315789: Minor HexFormat performance improvements
Reviewed-by: rriggs
2023-09-13 20:58:23 +00:00
Justin Lu
ce93d27fe5 6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Reviewed-by: naoto
2023-09-13 20:32:21 +00:00
Aggelos Biboudis
3b0a6d2a68 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Reviewed-by: mcimadamore, vromero
2023-09-13 15:09:01 +00:00
Sean Coffey
ff240a9135 8316087: Test SignedLoggerFinderTest.java is still failing
Reviewed-by: dfuchs
2023-09-13 15:05:46 +00:00
Ludovic Henry
a731a24c93 8315934: RISC-V: Disable conservative fences per vendor
Reviewed-by: rehn, mli, fyang
2023-09-13 14:54:43 +00:00
Albert Mingkun Yang
b3dad2443a 8316021: Serial: Remove unused Generation::post_compact
Reviewed-by: tschatzl
2023-09-13 13:40:54 +00:00
Per Minborg
f9ab115acb 8316050: Use hexadecimal encoding in MemorySegment::toString
Reviewed-by: rriggs, mcimadamore
2023-09-13 12:45:54 +00:00
Emanuel Peter
f804f8652d 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Reviewed-by: chagedorn, kvn
2023-09-13 10:47:20 +00:00
shaojin.wensj
f8df754b9a 8311207: Cleanup for Optimization for UUID.toString
Reviewed-by: liach, rriggs
2023-09-13 08:25:13 +00:00
Abhishek Kumar
fecd2fd8f2 8315898: Open source swing JMenu tests
Reviewed-by: serb
2023-09-13 07:42:53 +00:00
Abhishek Kumar
bb6b3f2486 8315761: Open source few swing JList and JMenuBar tests
Reviewed-by: psadhukhan, tr
2023-09-13 07:35:01 +00:00
Aleksey Shipilev
2d168c5734 8313202: MutexLocker should disallow null Mutexes
Reviewed-by: dholmes, coleenp, dcubed
2023-09-13 07:32:54 +00:00
Matthias Baesken
36552e7193 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Reviewed-by: clanger
2023-09-13 07:29:10 +00:00
Abhishek Kumar
fe5ef5f20d 8315677: Open source few swing JFileChooser and other tests
Reviewed-by: psadhukhan, tr
2023-09-13 07:27:18 +00:00
Aleksey Shipilev
ece9bdfc83 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Reviewed-by: rkennke, zgu
2023-09-13 06:04:10 +00:00
Prasanta Sadhukhan
a36f5a54ab 8315663: Open source misc awt tests
Reviewed-by: tr, jdv
2023-09-13 05:25:25 +00:00
Robbin Ehn
cbbfa0ddfb 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: fyang, luhenry
2023-09-13 04:59:19 +00:00
Robbin Ehn
1ebf510e5a 8315743: RISC-V: Cleanup masm lr()/sc() methods
Reviewed-by: fyang, luhenry
2023-09-13 04:58:49 +00:00
Sergey Bylokhov
bd52bbfa27 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Reviewed-by: lmesnik, dholmes
2023-09-13 02:33:03 +00:00
Justin Lu
dde11551e2 8315946: DecimalFormat and CompactNumberFormat do allow U+FFFE and U+FFFF in the pattern
Reviewed-by: naoto
2023-09-12 22:59:34 +00:00
Erik Joelsson
a9679acd5c 8253620: Debug symbols for tests missing on macos and windows
Reviewed-by: dholmes, ihse, jwaters
2023-09-12 20:17:52 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Naoto Sato
ac2dfe45d1 8313865: Always true condition in sun.nio.cs.CharsetMapping#readINDEXC2B
Reviewed-by: aturbanov, vtewari, rriggs, iris
2023-09-12 18:19:07 +00:00
Aleksey Shipilev
947dee7f2d 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Reviewed-by: jpai, aefimov, dfuchs
2023-09-12 18:13:55 +00:00
Andrew Haley
1d702d28b6 8313800: AArch64: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Reviewed-by: cjplummer
2023-09-12 16:49:55 +00:00
shaojin.wensj
e0845163aa 8315968: Move java.util.Digits to jdk.internal.util and refactor to reduce duplication
Reviewed-by: rriggs, liach, redestad
2023-09-12 16:35:01 +00:00
Mandy Chung
d75d9774c8 8285447: StackWalker minimal batch size should be optimized for getCallerClass
Reviewed-by: simonis
2023-09-12 16:24:16 +00:00
Mikhailo Seledtsov
fc3e826692 8314832: Few runtime/os tests ignore vm flags
Reviewed-by: dholmes, lmesnik
2023-09-12 14:40:06 +00:00
Thomas Schatzl
347beb21aa 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Reviewed-by: coleenp
2023-09-12 13:34:04 +00:00
Thomas Schatzl
50158f393e 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Reviewed-by: coleenp
2023-09-12 12:38:38 +00:00
Doug Simon
6f2684b7ba 8315948: JDK-8315818 broke Xcomp on libgraal
Reviewed-by: never, thartmann
2023-09-12 12:02:34 +00:00
Prasanta Sadhukhan
8b4f9a88e6 8315990: Amend problemlisted tests to proper position
Reviewed-by: aivanov
2023-09-12 11:47:07 +00:00
Jiangli Zhou
455c471ee3 8313277: Resolve multiple definition of 'normalize' when statically linking JDK native libraries with user code
Co-authored-by: Chris Moon <cjmoon@google.com>
Reviewed-by: dholmes, stuefe, sspitsyn
2023-09-12 09:06:08 +00:00
Christian Hagedorn
3b422d0dc1 8316094: Problemlist compiler/rangechecks/TestRangeCheckHoistingScaledIV.java
Reviewed-by: thartmann
2023-09-12 08:54:59 +00:00
Pavel Rappo
f55e799491 8316038: Fix doc typos in java.io.Console and java.util.Scanner
Reviewed-by: bpb, naoto, iris
2023-09-12 08:11:24 +00:00
Albert Mingkun Yang
94800781ea 8315550: G1: Fix -Wconversion warnings in g1NUMA
Reviewed-by: tschatzl, iwalulya
2023-09-12 07:40:29 +00:00
Alan Bateman
d08258f735 8315938: Deprecate for removal Unsafe methods that have standard APIs for many releases
Reviewed-by: mchung, psandoz, iris
2023-09-12 07:19:05 +00:00
Serguei Spitsyn
fda142ff6c 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Reviewed-by: lmesnik, amenkov
2023-09-12 02:46:47 +00:00
Naoto Sato
d0be73a780 8041488: Locale-Dependent List Patterns
Reviewed-by: joehw, rriggs
2023-09-11 16:48:22 +00:00
Aleksey Shipilev
dd214d0f95 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Reviewed-by: lmesnik, cjplummer
2023-09-11 16:41:35 +00:00
Soumadipta Roy
877731d2a2 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Reviewed-by: shade, kevinw, cjplummer, lmesnik
2023-09-11 16:34:56 +00:00
Albert Mingkun Yang
d06a564328 8315765: G1: Incorrect use of G1LastPLABAverageOccupancy
Reviewed-by: iwalulya, tschatzl
2023-09-11 14:42:10 +00:00
Aleksei Efimov
66b6a5a84f 8277954: Replace use of monitors with explicit locks in the JDK LDAP provider implementation
Reviewed-by: dfuchs
2023-09-11 14:05:48 +00:00
shaojin.wensj
4cb4637b79 8315970: Big-endian issues after JDK-8310929
Reviewed-by: mdoerr
2023-09-11 13:39:26 +00:00
Prasanta Sadhukhan
ae08143d3d 8315611: Open source swing text/html and tree test
Reviewed-by: jdv
2023-09-11 13:23:47 +00:00
Albert Mingkun Yang
7b3e6970a6 8315855: G1: Revise signature of set_humongous_candidate
Reviewed-by: tschatzl, iwalulya
2023-09-11 12:45:31 +00:00
Aleksey Shipilev
1941290b79 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Reviewed-by: rriggs, jpai
2023-09-11 12:08:31 +00:00
Albert Mingkun Yang
996b3362bf 8315781: Reduce the max value of GCDrainStackTargetSize
Reviewed-by: tschatzl, iwalulya
2023-09-11 11:07:21 +00:00
Ludovic Henry
35bccacb66 8315841: RISC-V: Check for hardware TSO support
Reviewed-by: vkempik, rehn, fyang
2023-09-11 09:02:40 +00:00
Prasanta Sadhukhan
a04c6c1ac6 8315609: Open source few more swing text/html tests
Reviewed-by: jdv
2023-09-11 07:06:41 +00:00
Vladimir Petko
dab1c213fd 8314491: Linux: jexec launched via PATH fails to find java
Reviewed-by: dholmes, rriggs
2023-09-10 23:20:49 +00:00
Alan Bateman
9a83d55887 8315373: Change VirtualThread to unmount after freezing, re-mount before thawing
Reviewed-by: pchilanomate, mgronlun, sspitsyn
2023-09-10 14:57:40 +00:00
Jorn Vernee
68f69417c7 8314452: Explicitly indicate inlining success/failure in PrintInlining
Reviewed-by: kvn, shade, thartmann
2023-09-09 10:32:23 +00:00
Kim Barrett
b482e6d902 8315580: Remove unused java_lang_String::set_value_raw()
Reviewed-by: shade, ayang
2023-09-09 01:28:20 +00:00
Justin Lu
9b0da48915 8315410: Undocumented exceptions in java.text.StringCharacterIterator
Reviewed-by: naoto
2023-09-08 23:05:00 +00:00
Joe Darcy
578ded4645 8312418: Add Elements.getEnumConstantBody
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero
2023-09-08 22:06:24 +00:00
Joe Wang
dccf670492 8306632: Add a JDK Property for specifying DTD support
Reviewed-by: lancea, smarks
2023-09-08 20:24:23 +00:00
Maurizio Cimadamore
a62c48b87e 8315891: java/foreign/TestLinker.java failed with "error occurred while instantiating class TestLinker: null"
Reviewed-by: sundar, jvernee, pminborg
2023-09-08 16:36:21 +00:00
Aleksey Shipilev
9559e035d2 8315578: PPC builds are broken after JDK-8304913
Reviewed-by: mdoerr, rriggs
2023-09-08 15:11:17 +00:00
Sean Coffey
e409d07ae8 8315696: SignedLoggerFinderTest.java test failed
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-09-08 14:25:58 +00:00
Evgeny Nikitin
ab6a87e670 8314838: 3 compiler tests ignore vm flags
Reviewed-by: eastigeevich, kvn, lmesnik
2023-09-08 14:09:10 +00:00
Markus Grönlund
b3dfc399da 8315930: Revert "8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native"
Reviewed-by: egahlin
2023-09-08 12:27:01 +00:00
Doug Simon
ebc718f5c0 8315818: vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java fails on libgraal
Reviewed-by: never
2023-09-08 11:55:54 +00:00
Albert Mingkun Yang
4a6bd81432 8315854: G1: Remove obsolete comment in G1ReclaimEmptyRegionsTask
Reviewed-by: iwalulya, tschatzl
2023-09-08 11:26:58 +00:00
Boris Ulasevich
c664f1ca66 8307352: AARCH64: Improve itable_stub
Reviewed-by: simonis, eastigeevich, aph
2023-09-08 09:59:23 +00:00
Thomas Schatzl
8ddf9eac00 8315686: G1: Disallow evacuation of marking regions in a Prepare Mixed gc
Reviewed-by: ayang, iwalulya
2023-09-08 08:44:46 +00:00
Thomas Schatzl
7ef059a75c 8315605: G1: Add number of nmethods in code roots scanning statistics
Reviewed-by: iwalulya, ayang
2023-09-08 08:44:22 +00:00
Aleksey Shipilev
825e0ed2a1 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Reviewed-by: phh, lmesnik
2023-09-08 08:34:05 +00:00
Roland Westrelin
dac1727956 8308869: C2: use profile data in subtype checks when profile has more than one class
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, thartmann
2023-09-08 07:48:05 +00:00
Alan Bateman
3c258ac907 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Reviewed-by: mchung, amenkov, jpai
2023-09-08 04:40:01 +00:00
Tejesh R
3a00ec8639 8312075: FileChooser.win32.newFolder is not updated when changing Locale
Reviewed-by: aivanov, abhiscxk
2023-09-08 04:26:14 +00:00
Prasanta Sadhukhan
806ef0897b 8315594: Open source few headless Swing misc tests
Reviewed-by: azvegint
2023-09-08 03:44:15 +00:00
shaojin.wensj
4b43c25fe3 8310929: Optimization for Integer.toString
Reviewed-by: redestad, rriggs
2023-09-08 02:13:52 +00:00
Mandy Chung
111ecdbaf5 8268829: Provide an optimized way to walk the stack with Class object only
8210375: StackWalker::getCallerClass throws UnsupportedOperationException

Reviewed-by: coleenp, dfuchs, bchristi
2023-09-07 21:37:40 +00:00
William Kemper
716201c77d 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Reviewed-by: kdnilsen, ysr
2023-09-07 21:14:28 +00:00
Patricio Chilano Mateo
4c6d7fc258 8315795: runtime/Safepoint/TestAbortVMOnSafepointTimeout.java fails after JDK-8305507
Reviewed-by: dcubed
2023-09-07 20:12:04 +00:00
Daniel D. Daugherty
7e7ab6ee1b 8315877: ProblemList vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java on macosx-aarch64
8315879: ProblemList java/awt/PopupMenu/PopupMenuLocation.java on macosx-aarch64

Reviewed-by: azvegint, rriggs, ccheung
2023-09-07 20:10:00 +00:00
Ioi Lam
0c865a75e6 8315637: JDK-8314249 broke libgraal
Reviewed-by: dnsimon, matsaave
2023-09-07 18:30:09 +00:00
Matias Saavedra Silva
683672c0bb 8292692: Move MethodCounters inline functions out of method.hpp
Reviewed-by: iklam, ccheung, kvn
2023-09-07 17:15:18 +00:00
Mikhailo Seledtsov
9bf3dee242 8314831: NMT tests ignore vm flags
Reviewed-by: lmesnik, stuefe, gziemski
2023-09-07 17:12:46 +00:00
Christian Stein
b74805d383 8315863: [GHA] Update checkout action to use v4
Reviewed-by: shade
2023-09-07 16:15:09 +00:00
Markus Grönlund
1cae0f53a9 8315220: Event NativeLibraryLoad breaks invariant by taking a stacktrace when thread is in state _thread_in_native
Reviewed-by: mbaesken, egahlin
2023-09-07 16:12:55 +00:00
Qing Xiao
8f7e29b2cd 8313422: test/langtools/tools/javac 144 test classes uses com.sun.tools.classfile library
Reviewed-by: asotona
2023-09-07 15:37:25 +00:00
Ilya Gavrilin
8557205a82 8312569: RISC-V: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: luhenry, fjiang, fyang
2023-09-07 15:26:55 +00:00
Qing Xiao
2fd870a74f 8315444: Convert test/jdk/tools to Classfile API
Reviewed-by: asotona
2023-09-07 15:02:13 +00:00
Aggelos Biboudis
81f8c57e4a 8314632: Intra-case dominance check fails in the presence of a guard
Reviewed-by: vromero
2023-09-07 12:51:37 +00:00
Per Minborg
b408a82f9b 8314260: Unable to load system libraries on Windows when using a SecurityManager
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-09-07 11:52:14 +00:00
Jan Lahoda
726c9c977d 8315735: VerifyError when switch statement used with synchronized block
Reviewed-by: vromero
2023-09-07 11:08:55 +00:00
Prasanta Sadhukhan
fd6442c079 8315602: Open source swing security manager test
Reviewed-by: kizune, aivanov
2023-09-07 10:16:06 +00:00
Thomas Obermeier
e22eb06a3b 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Reviewed-by: alanb, mdoerr, clanger
2023-09-07 08:42:55 +00:00
Matthias Baesken
9887cd8adc 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Reviewed-by: mdoerr
2023-09-07 07:36:08 +00:00
Matthias Baesken
8107eab3c0 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Reviewed-by: lucy, asemenyuk
2023-09-07 07:30:32 +00:00
Daniel Jeliński
ab28300a42 8315698: Crash when comparing BasicType as int after JDK-8310577
Reviewed-by: dlong, kvn, coleenp
2023-09-07 04:52:18 +00:00
Prasanta Sadhukhan
b05198a4f3 8315600: Open source few more headless Swing misc tests
Reviewed-by: aivanov
2023-09-07 03:49:42 +00:00
Prasanta Sadhukhan
4127fbb9ed 8315606: Open source few swing text/html tests
Reviewed-by: aivanov
2023-09-07 03:41:24 +00:00
Saint Wesonga
9402548546 8268719: Force execution (and source) code page used when compiling on Windows
Reviewed-by: jwaters, erikj
2023-09-07 03:03:22 +00:00
Justin Lu
86a18f5e2e 8314604: j.text.DecimalFormat behavior regarding patterns is not clear
Reviewed-by: naoto
2023-09-06 18:02:39 +00:00
Aleksey Shipilev
bd477810b1 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Reviewed-by: iveresov, chagedorn, thartmann
2023-09-06 15:37:33 +00:00
Calvin Cheung
25e85db61c 8307468: CDS Lambda Proxy classes are regenerated in dynamic dump
Reviewed-by: iklam
2023-09-06 15:37:03 +00:00
singhnitin
024133b089 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Reviewed-by: dhanalla, thartmann
2023-09-06 11:36:13 +00:00
Albert Mingkun Yang
62a953f402 8315689: G1: Remove unused init_hash_seed
Reviewed-by: tschatzl
2023-09-06 09:36:18 +00:00
Aleksey Shipilev
cfc148930b 8315579: SPARC64 builds are broken after JDK-8304913
Reviewed-by: rriggs, phh
2023-09-06 08:27:11 +00:00
Martin Doerr
f6c203e616 8314949: linux PPC64 Big Endian: Implementation of Foreign Function & Memory API
Reviewed-by: mcimadamore, jvernee
2023-09-06 08:26:48 +00:00
Pavel Rappo
a01b3fb8e9 8288660: JavaDoc should be more helpful if it doesn't recognize a tag
Reviewed-by: jjg
2023-09-06 07:51:14 +00:00
Roland Westrelin
ba1a46392f 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Reviewed-by: chagedorn, kvn, thartmann
2023-09-06 07:25:22 +00:00
Roman Marchenko
a258fc443f 8315648: Add test for JDK-8309979 changes
Reviewed-by: cjplummer
2023-09-06 07:19:53 +00:00
Vladimir Kempik
5d3fdc1750 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Reviewed-by: fyang
2023-09-06 06:49:10 +00:00
Leonid Mesnik
5cbff24608 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: cjplummer, dcubed
2023-09-06 00:02:54 +00:00
Rajan Halade
7a08e6bdd6 8313575: Refactor PKCS11Test tests
Reviewed-by: valeriep
2023-09-05 23:08:25 +00:00
Alex Menkov
d3ee704b28 8315563: Remove references to JDK-8226420 from problem list
Reviewed-by: kevinw, cjplummer
2023-09-05 22:46:15 +00:00
Tobias Hotz
aba89f20bf 8312213: Remove unnecessary TEST instructions on x86 when flags reg will already be set
Reviewed-by: jvernee, dlong
2023-09-05 22:08:20 +00:00
Ioi Lam
1f4cdb327f 8315127: CDSMapTest fails with incorrect number of oop references
Reviewed-by: ccheung
2023-09-05 20:56:09 +00:00
Rajan Halade
939d7c5d84 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Reviewed-by: mullan
2023-09-05 17:51:12 +00:00
Daniel D. Daugherty
ebe3127734 8315717: ProblemList serviceability/sa/TestHeapDumpForInvokeDynamic.java with ZGC
Reviewed-by: thartmann, azvegint, kevinw
2023-09-05 17:48:43 +00:00
Quan Anh Mai
969fcdb0de 8314191: C2 compilation fails with "bad AD file"
Reviewed-by: thartmann, chagedorn
2023-09-05 16:15:54 +00:00
Wojciech Kudla
cef9fff067 8305507: Add support for grace period before AbortVMOnSafepointTimeout triggers
Reviewed-by: dholmes, pchilanomate
2023-09-05 14:12:45 +00:00
Matthias Baesken
ed2b4673de 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Reviewed-by: erikj
2023-09-05 12:48:03 +00:00
Christian Hagedorn
4b445753e6 8305637: Remove Opaque1 nodes for Parse Predicates and clean up useless predicate elimination
Reviewed-by: roland, kvn
2023-09-05 12:45:55 +00:00
Afshin Zafari
8647f001bb 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: gziemski, jsjolen
2023-09-05 11:05:49 +00:00
Ivan Walulya
5a2e151d48 8315548: G1: Document why VM_G1CollectForAllocation::doit() may allocate without completing a GC
Reviewed-by: tschatzl
2023-09-05 10:12:24 +00:00
Aleksey Shipilev
9013b03244 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Reviewed-by: stuefe, lmesnik
2023-09-05 10:08:35 +00:00
Adam Sotona
744b3970f9 8312491: Update Classfile API snippets and examples
Reviewed-by: jlahoda
2023-09-05 08:48:39 +00:00
Christoph Langer
69c9ec92d0 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Reviewed-by: mbaesken, azeller
2023-09-05 08:30:03 +00:00
Roland Westrelin
fe4f90021f 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Reviewed-by: thartmann, chagedorn
2023-09-05 07:32:51 +00:00
Matthias Baesken
8bbebbba8f 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Reviewed-by: clanger, lucy
2023-09-05 07:06:37 +00:00
Per Minborg
f292268268 8315454: Add a way to create an immutable snapshot of a BitSet
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2023-09-05 06:43:00 +00:00
Roland Westrelin
9def4538ab 8314580: PhaseIdealLoop::transform_long_range_checks fails with assert "was tested before"
Reviewed-by: chagedorn, kvn
2023-09-04 15:18:39 +00:00
Aleksey Shipilev
6c821f5e1d 8315545: C1: x86 cmove can use short branches
Reviewed-by: adinn, kvn
2023-09-04 11:02:52 +00:00
Doug Simon
d7e4087faf 8315369: [JVMCI] failure to attach to a libgraal isolate during shutdown should not be fatal
Reviewed-by: never
2023-09-04 10:19:18 +00:00
Doug Simon
d1cabe4f22 8315566: [JVMCI] deadlock in JVMCI startup when bad option specified
Reviewed-by: thartmann, never
2023-09-04 10:17:23 +00:00
Jan Lahoda
94a74a0a45 8315534: Incorrect warnings about implicit annotation processing
Reviewed-by: darcy
2023-09-04 10:06:20 +00:00
Jan Lahoda
84425a6290 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: vromero
2023-09-04 09:14:16 +00:00
Jan Lahoda
3094fd1ac5 8314662: jshell shows duplicated signatures of javap
Reviewed-by: asotona, cstein
2023-09-04 08:36:41 +00:00
Roberto Castañeda Lozano
0d52c82ed1 8310220: IGV: dump graph after each IGVN step at level 4
Reviewed-by: chagedorn, tholenstein
2023-09-04 07:41:41 +00:00
Jan Lahoda
adfc1d6cd2 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Reviewed-by: vromero
2023-09-04 07:17:28 +00:00
Christian Hagedorn
2dc930de12 8314997: Missing optimization opportunities due to missing try_clean_mem_phi() calls
Reviewed-by: roland, kvn, thartmann
2023-09-04 06:53:19 +00:00
Aleksey Shipilev
ab12c5d32f 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
2023-09-04 06:02:03 +00:00
Leonid Mesnik
ba8d5c2206 8315582: Exclude compiler/codecache/CodeCacheFullCountTest.java with Xcomp
Reviewed-by: thartmann
2023-09-04 05:25:34 +00:00
Yi Yang
75d4ac2659 8311775: [TEST] duplicate verifyHeapDump in several tests
Reviewed-by: kevinw, amenkov, cjplummer
2023-09-04 01:56:13 +00:00
Rajat Mahajan
4f90abaf17 8311585: Add JRadioButtonMenuItem to bug8031573.java
Reviewed-by: honkar, aivanov
2023-09-01 21:49:49 +00:00
Yi-Fan Tsai
2a11bc41ba 8314837: 5 compiled/codecache tests ignore VM flags
Reviewed-by: kvn, lmesnik
2023-09-01 20:41:45 +00:00
Erik Joelsson
2f7c65ec48 8303427: Fixpath confused if unix root contains "/jdk"
Reviewed-by: mikael
2023-09-01 17:12:56 +00:00
Xin Liu
e9e0c5699b 8314319: LogCompilation doesn't reset lateInlining when it encounters a failure.
Reviewed-by: ecaspole, kvn
2023-09-01 16:54:55 +00:00
Abhishek Kumar
56b8db11c3 8258970: Disabled JPasswordField foreground color is wrong with GTK LAF
Reviewed-by: tr, dnguyen, psadhukhan
2023-09-01 15:26:25 +00:00
Robbin Ehn
0d4cadb824 8315195: RISC-V: Update hwprobe query for new extensions
Reviewed-by: fyang, fjiang, luhenry
2023-09-01 14:40:29 +00:00
Albert Mingkun Yang
b4f7069c5b 8315446: G1: Remove unused G1AllocRegion::attempt_allocation
Reviewed-by: iwalulya, tschatzl
2023-09-01 13:46:41 +00:00
Claes Redestad
cf02cf31da 8315098: Improve URLEncodeDecode microbenchmark
Reviewed-by: ecaspole, dfuchs
2023-09-01 11:18:05 +00:00
Thomas Stuefe
c32e340d94 8315321: [aix] os::attempt_reserve_memory_at must map at the requested address or fail
Reviewed-by: mdoerr
2023-09-01 11:05:34 +00:00
Daniel Jeliński
42f5b9e7aa 8315436: HttpsServer does not send TLS alerts
Reviewed-by: dfuchs, michaelm
2023-09-01 10:19:53 +00:00
Fredrik Bredberg
033f311abc 8315069: Relativize extended_sp in interpreter frames
Reviewed-by: haosun, aph, fyang
2023-09-01 08:35:49 +00:00
Adam Sotona
c2e01eba5a 8313983: jmod create --target-platform should replace existing ModuleTarget attribute
Reviewed-by: alanb, mchung
2023-09-01 08:33:33 +00:00
Thomas Stuefe
81b5d2211e 8315459: Print G1 reserved and committed sizes as separate items in VM.info and hs_err
Reviewed-by: ayang, tschatzl
2023-09-01 08:01:39 +00:00
Cesar Soares Lucas
764f65c8b4 8315278: Patch 'print-targets' target to print targets separated by new line
Reviewed-by: erikj, ksakata
2023-09-01 06:06:35 +00:00
Justin Lu
7754ac0506 8314925: ChoiceFormat does not specify IllegalArgumentExceptions
Reviewed-by: naoto
2023-08-31 23:02:26 +00:00
John Jiang
2264667bba 8315422: getSoTimeout() would be in try block in SSLSocketImpl
Reviewed-by: jnimeh
2023-08-31 22:26:48 +00:00
Justin Lu
d5973bdb98 6333341: [BI] Doc: java.text.BreakIterator class specification is unclear
Reviewed-by: naoto
2023-08-31 21:43:09 +00:00
Brian Burkhalter
63f561fac2 8306882: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link
Reviewed-by: alanb
2023-08-31 21:14:22 +00:00
Valerie Peng
2436fb010e 8312306: Add more Reference.reachabilityFence() calls to the security classes using Cleaner
Reviewed-by: ascarpino
2023-08-31 20:40:25 +00:00
Gerard Ziemski
351c31ea58 8315378: [BACKOUT] runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: stuefe, ccheung
2023-08-31 20:38:41 +00:00
Andrey Turbanov
c12ca885cc 8312521: Unused field LocaleProviderAdapter#defaultLocaleProviderAdapter could be removed
Reviewed-by: naoto
2023-08-31 20:10:15 +00:00
Alex Menkov
b38bcae1ba 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Reviewed-by: sspitsyn, lmesnik
2023-08-31 19:18:18 +00:00
Mandy Chung
c8acab1d91 8315413: Remove special filtering of Continuation.yield0 in StackWalker
Reviewed-by: alanb
2023-08-31 16:11:03 +00:00
Oliver Kopp
ea5aa61c8c 8315383: jlink SystemModulesPlugin incorrectly parses the options
Reviewed-by: mchung
2023-08-31 16:10:44 +00:00
Andrew Haley
29ff1e45b9 8315445: 8314748 causes crashes in x64 builds
Reviewed-by: chagedorn, shade
2023-08-31 12:51:29 +00:00
Aleksey Shipilev
145d8bc1a3 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs
Reviewed-by: phh, egahlin
2023-08-31 11:15:09 +00:00
Thomas Obermeier
486fa08d4b 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Reviewed-by: clanger, mbaesken
2023-08-31 09:51:13 +00:00
Albert Mingkun Yang
b0353addf2 8315242: G1: Fix -Wconversion warnings around GCDrainStackTargetSize
Reviewed-by: tschatzl, mli
2023-08-31 09:49:16 +00:00
Andrew Haley
b594f01fe4 8314748: 1-10% regressions on Crypto micros
Reviewed-by: chagedorn, adinn, kvn, sviswanathan
2023-08-31 08:31:31 +00:00
shiker
39f181337b 8315318: Typo in comment on sun.nio.ch.Net.unblock4
Reviewed-by: mbaesken, vtewari
2023-08-31 08:28:11 +00:00
Ivan Walulya
47aa6f3a65 8315219: G1: Improve allocator pathological case where it keeps doing direct allocations instead of retiring a PLAB
Reviewed-by: tschatzl, ayang, mli
2023-08-31 08:04:47 +00:00
Leonid Mesnik
218829e0a2 8315421: [BACKOUT] 8314834 serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: dholmes
2023-08-31 02:33:38 +00:00
Justin Lu
3c8a6678fe 8314611: Provide more explicative error message parsing Currencies
Reviewed-by: naoto
2023-08-30 23:40:34 +00:00
Jonathan Gibbons
df5e6e5d48 8315248: AssertionError in Name.compareTo
Reviewed-by: vromero
2023-08-30 21:52:31 +00:00
Daniel D. Daugherty
3eac8905ae 8315061: Make LockingMode a product flag
Reviewed-by: ccheung
2023-08-30 20:20:17 +00:00
Kim Barrett
8419a53bf1 8315072: Remove unneeded AdaptivePaddedAverage::operator new
Reviewed-by: tschatzl, iwalulya
2023-08-30 19:51:23 +00:00
Alex Menkov
c90cd2c060 8286789: Test forceEarlyReturn002.java timed out
Reviewed-by: lmesnik, sspitsyn
2023-08-30 18:28:43 +00:00
Thomas Stuefe
89d18ea40f 8312018: Improve reservation of class space and CDS
8313669: Reduced chance for zero-based nKlass encoding since JDK-8296565

Reviewed-by: iklam, adinn
2023-08-30 17:51:28 +00:00
Brian Burkhalter
dd64a4a483 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Reviewed-by: rriggs
2023-08-30 16:58:16 +00:00
Leonid Mesnik
8e4cda063c 8314834: serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-08-30 16:14:07 +00:00
Leonid Mesnik
1ea6463fbb 8314835: gtest wrappers should be marked as flagless
Reviewed-by: dholmes, stuefe
2023-08-30 16:12:17 +00:00
Leonid Mesnik
93e82c0146 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Reviewed-by: sspitsyn, kevinw
2023-08-30 16:11:56 +00:00
Sean Coffey
7daae1fb42 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-08-30 12:54:57 +00:00
Lance Andersen
6701eba736 8315117: Update Zlib Data Compression Library to Version 1.3
Reviewed-by: alanb
2023-08-30 11:45:38 +00:00
Qing Xiao
e29f0c2d75 8297777: Convert jdk.jlink StringSharingPlugin to use Class File API
Reviewed-by: asotona
2023-08-30 11:26:29 +00:00
Afshin Zafari
bf63945ad1 8298992: runtime/NMT/SummarySanityCheck.java failed with "Total committed (MMMMMM) did not match the summarized committed (NNNNNN)"
Reviewed-by: gziemski, stuefe
2023-08-30 11:11:44 +00:00
Albert Mingkun Yang
cb3f9680d3 8314651: G1: Fix -Wconversion warnings in static fields of HeapRegion
Reviewed-by: tschatzl, iwalulya
2023-08-30 09:36:34 +00:00
Robbin Ehn
876a725af9 8315206: RISC-V: hwprobe query is_set return wrong value
Reviewed-by: luhenry, fyang
2023-08-30 08:56:50 +00:00
Roland Westrelin
ed1ea5fe7c 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Reviewed-by: kvn, chagedorn
2023-08-30 07:52:05 +00:00
Matthias Baesken
f3aeb024d9 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Reviewed-by: stuefe, rriggs
2023-08-30 06:46:51 +00:00
Matthias Baesken
1e7e2bcf35 8315214: Do not run sun/tools/jhsdb tests concurrently
Reviewed-by: alanb, cjplummer
2023-08-30 06:41:43 +00:00
Scott Gibbons
ce2a7ea40a 8314056: Remove runtime platform check from frem/drem
Reviewed-by: sviswanathan, jbhateja
2023-08-30 01:28:27 +00:00
Valerie Peng
1c598c2245 8312428: PKCS11 tests fail with NSS 3.91
Reviewed-by: ssahoo, rhalade
2023-08-29 22:08:34 +00:00
Chris Plummer
b2728cb139 8189685: need PerfMemory class update and a volatile_static_field support in VMStructs
Reviewed-by: ysuenaga, dholmes, sspitsyn
2023-08-29 20:55:11 +00:00
Albert Mingkun Yang
e22762c010 8314932: G1: Fix -Wconversion warnings for simple cases inside g1 folder
Reviewed-by: tschatzl, iwalulya
2023-08-29 16:04:50 +00:00
Thomas Schatzl
762b652912 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Reviewed-by: kbarrett, ayang
2023-08-29 14:20:11 +00:00
Pavel Rappo
a4e97aa4eb 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note
Reviewed-by: rriggs, azvegint, kevinw
2023-08-29 12:00:19 +00:00
Emmy
5cc64cc27a 8309463: IGV: Dynamic graph layout algorithm
Reviewed-by: tholenstein, rcastanedalo, chagedorn
2023-08-29 09:52:41 +00:00
Kevin Walls
1d0250709a 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: msheppar, sspitsyn
2023-08-29 08:54:00 +00:00
Sergey Tsypanov
93188bd80c 8314569: (fs) Improve normalization of UnixPath for input with trailing slashes
Reviewed-by: alanb, bpb, rriggs
2023-08-29 08:39:42 +00:00
Albert Mingkun Yang
8b8182db59 8315087: G1: Use uint for G1 flags indicating percentage
Reviewed-by: tschatzl, kbarrett
2023-08-29 08:01:35 +00:00
Feilong Jiang
3dc266c58b 8315070: RISC-V: Clean up platform dependent inline headers
Reviewed-by: fyang, rehn
2023-08-29 02:43:44 +00:00
Hao Sun
25f5df2af2 8315073: Zero build on macOS fails after JDK-8303852
Reviewed-by: jiefu, fyang
2023-08-29 02:12:37 +00:00
Pengfei Li
a03954e6c5 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests
Reviewed-by: kvn, thartmann, epeter, chagedorn
2023-08-29 01:39:54 +00:00
Pengfei Li
e5ea9aa9aa 8312570: [TESTBUG] Jtreg compiler/loopopts/superword/TestDependencyOffsets.java fails on 512-bit SVE
Reviewed-by: epeter, kvn
2023-08-29 01:34:33 +00:00
Calvin Cheung
1cb2cc6587 8308464: Shared array class should not always be loaded in boot loader
Reviewed-by: dholmes, iklam
2023-08-28 22:05:15 +00:00
Erik Joelsson
69d1feb83f 8315060: Out of tree incremental build fails with ccache
Reviewed-by: kbarrett, dholmes
2023-08-28 20:56:31 +00:00
Joe Darcy
8e2a533df6 8315137: Add explicit override RecordComponentElement.asType()
Reviewed-by: jjg
2023-08-28 20:43:54 +00:00
Justin Lu
b4b2fecb42 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Reviewed-by: lancea, jpai, weijun
2023-08-28 20:36:32 +00:00
lawrence.andrews
31e26814db 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Reviewed-by: honkar, aivanov
2023-08-28 20:31:02 +00:00
Alisen Chung
21916f32c0 8139208: [macosx] Issue with setExtendedState of JFrame
Reviewed-by: honkar, dnguyen, azvegint
2023-08-28 20:17:40 +00:00
Xin Liu
99ea8bf2b9 8315062: [GHA] get-bootjdk action should return the abolute path
Reviewed-by: clanger, erikj
2023-08-28 15:59:24 +00:00
Vicente Romero
acb24bf354 8315116: fix minor issue in copyright header introduced by JDK-8269957 that is breaking the build
Reviewed-by: jjg, dcubed
2023-08-28 15:43:41 +00:00
Archie Cobbs
11da15d142 8269957: facilitate alternate impls of NameTable and Name
Reviewed-by: jjg, vromero
2023-08-28 14:48:45 +00:00
Ao Qi
725ec0ce1b 8315020: The macro definition for LoongArch64 zero build is not accurate.
Reviewed-by: erikj, fyang
2023-08-28 11:10:53 +00:00
Roberto Castañeda Lozano
1c3177eea7 8315029: [BACKOUT] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Reviewed-by: chagedorn, mdoerr
2023-08-28 11:08:44 +00:00
Albert Mingkun Yang
dd23f7d5cd 8315039: Parallel: Remove unimplemented PSYoungGen::oop_iterate
Reviewed-by: kbarrett, tschatzl
2023-08-28 10:51:00 +00:00
Christian Hagedorn
5c4f1dc43e 8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake
Reviewed-by: kvn, mdoerr
2023-08-28 10:30:48 +00:00
Martin Doerr
cf2d33ca2e 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Reviewed-by: thartmann, lucy
2023-08-28 10:14:19 +00:00
Darragh Clarke
1664e793eb 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Reviewed-by: dfuchs, jpai
2023-08-28 10:03:42 +00:00
Pavel Rappo
0901d75e07 8314762: Make {@Incubating} conventional
Reviewed-by: jjg, iris, chegar
2023-08-28 09:38:02 +00:00
Daniel Jeliński
12de9b0225 8314148: Fix variable scope in SunMSCAPI
Reviewed-by: valeriep
2023-08-28 05:27:25 +00:00
Amit Kumar
7fbad4cd5e 8310596: Utilize existing method frame::interpreter_frame_monitor_size_in_bytes()
Reviewed-by: dholmes, stefank
2023-08-28 03:34:20 +00:00
Ioi Lam
752a438f99 8314684: Add overview docs to loaderConstraints.cpp
Reviewed-by: ccheung, dholmes
2023-08-27 03:44:38 +00:00
Doug Simon
acd9310234 8313430: [JVMCI] fatal error: Never compilable: in JVMCI shutdown
Reviewed-by: never, kvn, shade
2023-08-26 10:13:23 +00:00
Chris Plummer
8a5db6bab3 8237542: JMapHeapConfigTest.java doesn't work with negative jlong values
Reviewed-by: sspitsyn, shade
2023-08-25 23:16:02 +00:00
Chris Plummer
d0cc0439c0 8314550: [macosx-aarch64] serviceability/sa/TestJmapCore.java fails with "sun.jvm.hotspot.debugger.UnmappedAddressException: 801000800"
Reviewed-by: dholmes, iklam, stuefe
2023-08-25 21:14:33 +00:00
Erik Joelsson
837d2e1cac 8314483: Optionally override copyright header in generated source
Reviewed-by: dholmes, iris
2023-08-25 20:42:14 +00:00
Erik Joelsson
320162395d 8310454: Introduce static-libs-graal bundle
Reviewed-by: jiangli
2023-08-25 20:35:40 +00:00
Rajan Halade
e9ba8d5a0e 8314960: Add Certigna Root CA - 2
Reviewed-by: mullan
2023-08-25 18:17:27 +00:00
Quan Anh Mai
837cf85f7d 8312547: Max/Min nodes Value implementation could be improved
Reviewed-by: thartmann, kvn
2023-08-25 17:48:27 +00:00
Leonid Mesnik
7342f5a033 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Reviewed-by: cjplummer
2023-08-25 16:18:45 +00:00
Roberto Castañeda Lozano
f139f30695 8315033: Problemlist java/lang/template/StringTemplateTest.java
Reviewed-by: chagedorn
2023-08-25 15:27:24 +00:00
Weibing Xiao
f2383b3cbd 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Reviewed-by: aefimov, msheppar
2023-08-25 12:20:18 +00:00
Jonas Norlinder
dcd6e75671 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank, eosterlund
2023-08-25 08:10:09 +00:00
Roberto Castañeda Lozano
002b594870 8312749: Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: thartmann, ayang, kvn
2023-08-25 07:18:34 +00:00
Jie Fu
d024059174 8314951: VM build without C2 still fails after JDK-8313530
Reviewed-by: dnsimon, kvn
2023-08-25 04:59:19 +00:00
Brian Burkhalter
2624324ac2 8219567: Name of first parameter of RandomAccessFile(String,String) is inconsistent
Reviewed-by: jlu, vtewari, rriggs, jpai
2023-08-24 18:18:16 +00:00
Patricio Chilano Mateo
8e4240c316 8314850: SharedRuntime::handle_wrong_method() gets called too often when resolving Continuation.enter
Reviewed-by: rpressler, aph
2023-08-24 18:08:16 +00:00
Alan Bateman
d9fc6b6933 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Reviewed-by: aturbanov, shade, dfuchs
2023-08-24 16:51:20 +00:00
Vyom Tewari
acaab6fd74 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Reviewed-by: dfuchs
2023-08-24 15:46:44 +00:00
Aleksey Shipilev
76b9011c9e 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Reviewed-by: fyang
2023-08-24 13:49:22 +00:00
Vladimir Petko
e36620d80e 8314554: Debian/Ubuntu should not link OpenJDK with --as-needed link option
Reviewed-by: erikj
2023-08-24 12:27:52 +00:00
Matthias Baesken
97b94cb1cd 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Reviewed-by: jpai, shade, vtewari
2023-08-24 10:44:09 +00:00
Doug Simon
75e19e0d5e 8314819: [JVMCI] HotSpotJVMCIRuntime.lookupType throws unexpected ClassNotFoundException
Reviewed-by: never, thartmann
2023-08-24 10:12:16 +00:00
Gergö Barany
c418933d32 8313530: VM build without C2 fails after JDK-8312579
Reviewed-by: dnsimon, haosun, jiefu, kvn
2023-08-24 08:05:33 +00:00
Thomas Stuefe
de0e46c2f6 8303815: Improve Metaspace test speed
Reviewed-by: stefank, dholmes
2023-08-24 05:38:43 +00:00
Thomas Stuefe
3699666c93 8313319: [linux] mmap should use MAP_FIXED_NOREPLACE if available
Reviewed-by: jsjolen, dholmes
2023-08-24 05:16:58 +00:00
Koichi Sakata
3285a1efc8 8314555: Build with mawk fails on Windows
Reviewed-by: erikj
2023-08-24 00:32:31 +00:00
David Holmes
4a50e87592 8303852: current_stack_region() gets called twice unnecessarily
Reviewed-by: stuefe, pchilanomate
2023-08-23 22:51:31 +00:00
Kim Barrett
c077be4768 8314694: Separate checked_cast from globalDefinitions.hpp
Reviewed-by: stuefe, coleenp, sspitsyn
2023-08-23 22:32:37 +00:00
5616 changed files with 165697 additions and 99334 deletions

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
@@ -104,6 +104,6 @@ runs:
- name: 'Export path to where BootJDK is installed'
id: path-name
run: |
# Export the path
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/bootjdk/jdk" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -40,7 +40,7 @@ runs:
var: GTEST_VERSION
- name: 'Checkout GTest source'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: google/googletest
ref: 'v${{ steps.version.outputs.value }}'

View File

@@ -47,7 +47,7 @@ runs:
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}

View File

@@ -85,7 +85,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -111,8 +111,7 @@ jobs:
g++-${{ inputs.gcc-major-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev \
debian-ports-archive-keyring
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
- name: 'Check cache for sysroot'
@@ -134,7 +133,6 @@ jobs:
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
--resolve-deps
--variant=minbase
$(test -n "${{ matrix.debian-keyring }}" && echo "--keyring=${{ matrix.debian-keyring }}")
${{ matrix.debian-version }}
sysroot
${{ matrix.debian-repository }}

View File

@@ -78,7 +78,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk

View File

@@ -55,7 +55,7 @@ on:
jobs:
build-macos:
name: build
runs-on: macos-11
runs-on: macos-13
strategy:
fail-fast: false
@@ -68,7 +68,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk

View File

@@ -79,7 +79,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2

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
@@ -146,8 +146,8 @@ jobs:
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
extra-conf-options: '--with-target-bits=32'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386 libffi-dev:i386'
extra-conf-options: '--with-target-bits=32 --enable-fallback-linker --enable-libffi-bundling'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
@@ -227,7 +227,7 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
@@ -238,7 +238,7 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
xcode-toolset-version: '14.3.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -318,7 +318,7 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-11
runs-on: macos-13
test-windows-x64:
name: windows-x64

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
@@ -105,7 +105,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -132,7 +132,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_11.7.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'

View File

@@ -367,7 +367,7 @@ to date at the time of writing.</p>
</tr>
<tr class="even">
<td>macOS</td>
<td>Mac OS X 10.13 (High Sierra)</td>
<td>macOS 13 (Ventura)</td>
</tr>
<tr class="odd">
<td>Windows</td>
@@ -464,9 +464,8 @@ this makes it difficult for a project such as the JDK to keep pace with
a continuously updated machine running macOS. See the section on <a
href="#apple-xcode">Apple Xcode</a> on some strategies to deal with
this.</p>
<p>It is recommended that you use at least Mac OS X 10.13 (High Sierra).
At the time of writing, the JDK has been successfully compiled on macOS
10.12 (Sierra).</p>
<p>It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.</p>
<p>The standard macOS environment contains the basic tooling needed to
build, but for external libraries a package manager is recommended. The
JDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but
@@ -545,11 +544,11 @@ to compile successfully without issues.</p>
</tr>
<tr class="even">
<td>macOS</td>
<td>Apple Xcode 10.1 (using clang 10.0.0)</td>
<td>Apple Xcode 14.3.1 (using clang 14.0.3)</td>
</tr>
<tr class="odd">
<td>Windows</td>
<td>Microsoft Visual Studio 2022 update 17.1.0</td>
<td>Microsoft Visual Studio 2022 version 17.6.5</td>
</tr>
</tbody>
</table>
@@ -820,11 +819,11 @@ about the problem.</p>
<p>Some command line examples:</p>
<ul>
<li><p>Create a 32-bit build for Windows with FreeType2 in
<code>C:\freetype-i586</code>:
<code>bash configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32</code></p></li>
<code>C:\freetype-i586</code>:</p>
<pre><code>bash configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32</code></pre></li>
<li><p>Create a debug build with the <code>server</code> JVM and DTrace
enabled:
<code>bash configure --enable-debug --with-jvm-variants=server --enable-dtrace</code></p></li>
enabled:</p>
<pre><code>bash configure --enable-debug --with-jvm-variants=server --enable-dtrace</code></pre></li>
</ul>
<h3 id="common-configure-arguments">Common Configure Arguments</h3>
<p>Here follows some of the most common and important
@@ -1332,14 +1331,12 @@ Package Search</a> and search for the <code>libasound2</code> and
<code>libasound2-dev</code> packages for your <em>target</em> system.
Download them to /tmp.</p></li>
<li><p>Install the libraries into the cross-compilation toolchain. For
instance:</p></li>
</ul>
instance:</p>
<pre><code>cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre>
<ul>
<li>If alsa is not properly detected by <code>configure</code>, you can
point it out by <code>--with-alsa</code>.</li>
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre></li>
<li><p>If alsa is not properly detected by <code>configure</code>, you
can point it out by <code>--with-alsa</code>.</p></li>
</ul>
<h4 id="x11-1">X11</h4>
<p>You will need X11 libraries suitable for your <em>target</em> system.
@@ -1373,21 +1370,18 @@ Package Search</a>, search for the following packages for your
</ul></li>
<li><p>Install the libraries into the cross-compilation toolchain. For
instance:</p>
<pre><code> cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc/usr
mkdir X11R6
cd X11R6
for deb in /tmp/target-x11/*.deb ; do dpkg-deb -x $deb . ; done
mv usr/* .
cd lib
cp arm-linux-gnueabihf/* .
```
You can ignore the following messages. These libraries are not needed to
successfully complete a full JDK build.</code></pre>
<p>cp: cannot stat
<code>arm-linux-gnueabihf/libICE.so': No such file or directory cp: cannot stat</code>arm-linux-gnueabihf/libSM.so':
No such file or directory cp: cannot stat
`arm-linux-gnueabihf/libXt.so': No such file or directory ```</p></li>
<pre><code>cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc/usr
mkdir X11R6
cd X11R6
for deb in /tmp/target-x11/*.deb ; do dpkg-deb -x $deb . ; done
mv usr/* .
cd lib
cp arm-linux-gnueabihf/* .</code></pre>
<p>You can ignore the following messages. These libraries are not needed
to successfully complete a full JDK build.</p>
<pre><code>cp: cannot stat `arm-linux-gnueabihf/libICE.so&#39;: No such file or directory
cp: cannot stat `arm-linux-gnueabihf/libSM.so&#39;: No such file or directory
cp: cannot stat `arm-linux-gnueabihf/libXt.so&#39;: No such file or directory</code></pre></li>
<li><p>If the X11 libraries are not properly detected by
<code>configure</code>, you can point them out by
<code>--with-x</code>.</p></li>
@@ -1405,17 +1399,41 @@ native compilation speed.</p>
<p>For example, cross-compiling to AArch64 from x86_64 could be done
like this:</p>
<ul>
<li><p>Install cross-compiler on the <em>build</em> system:
<code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></p></li>
<li><p>Install cross-compiler on the <em>build</em> system:</p>
<pre><code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></pre></li>
<li><p>Create chroot on the <em>build</em> system, configuring it for
<em>target</em> system:
<code>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 \ --resolve-deps \ buster \ ~/sysroot-arm64 \ http://httpredir.debian.org/debian/ # If the target architecture is `riscv64`, # the path should be `debian-ports` instead of `debian`.</code></p></li>
<em>target</em> system:</p>
<pre><code>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 \
--resolve-deps \
buster \
~/sysroot-arm64 \
http://httpredir.debian.org/debian/
# If the target architecture is `riscv64`,
# the path should be `debian-ports` instead of `debian`.</code></pre></li>
<li><p>To create a Ubuntu-based chroot:</p>
<pre><code>sudo debootstrap \
--arch=arm64 \
--verbose \
--components=main,universe \
--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 \
--resolve-deps \
jammy \
~/sysroot-arm64 \
http://ports.ubuntu.com/ubuntu-ports/
# symlinks is in the universe repository</code></pre></li>
<li><p>Make sure the symlinks inside the newly created chroot point to
proper locations:
<code>sudo chroot ~/sysroot-arm64 symlinks -cr .</code></p></li>
proper locations:</p>
<pre><code>sudo chroot ~/sysroot-arm64 symlinks -cr .</code></pre></li>
<li><p>Configure and build with newly created chroot as
sysroot/toolchain-path:
<code>sh ./configure \ --openjdk-target=aarch64-linux-gnu \ --with-sysroot=~/sysroot-arm64 make images ls build/linux-aarch64-server-release/</code></p></li>
sysroot/toolchain-path:</p>
<pre><code>sh ./configure \
--openjdk-target=aarch64-linux-gnu \
--with-sysroot=~/sysroot-arm64
make images
ls build/linux-aarch64-server-release/</code></pre></li>
</ul>
<p>The build does not create new files in that chroot, so it can be
reused for multiple builds without additional cleanup.</p>
@@ -1567,12 +1585,27 @@ libraries</a> required by OpenJDK complicate the building process. The
placeholder <code>&lt;toolchain-installed-path&gt;</code> shown below is
the path where you want to install the toolchain.</p>
<ul>
<li><p>Install the RISC-V GNU compiler toolchain:
<code>git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain cd riscv-gnu-toolchain ./configure --prefix=&lt;toolchain-installed-path&gt; make linux export PATH=&lt;toolchain-installed-path&gt;/bin:$PATH</code></p></li>
<li><p>Cross-compile all the required libraries:
<code># An example for libffi git clone https://github.com/libffi/libffi cd libffi ./configure --host=riscv64-unknown-linux-gnu --prefix=&lt;toolchain-installed-path&gt;/sysroot/usr make make install</code></p></li>
<li><p>Configure and build OpenJDK:
<code>bash configure \ --with-boot-jdk=$BOOT_JDK \ --openjdk-target=riscv64-linux-gnu \ --with-sysroot=&lt;toolchain-installed-path&gt;/sysroot \ --with-toolchain-path=&lt;toolchain-installed-path&gt;/bin \ --with-extra-path=&lt;toolchain-installed-path&gt;/bin make images</code></p></li>
<li><p>Install the RISC-V GNU compiler toolchain:</p>
<pre><code>git clone --recursive https://github.com/riscv-collab/riscv-gnu-toolchain
cd riscv-gnu-toolchain
./configure --prefix=&lt;toolchain-installed-path&gt;
make linux
export PATH=&lt;toolchain-installed-path&gt;/bin:$PATH</code></pre></li>
<li><p>Cross-compile all the required libraries:</p>
<pre><code># An example for libffi
git clone https://github.com/libffi/libffi
cd libffi
./configure --host=riscv64-unknown-linux-gnu --prefix=&lt;toolchain-installed-path&gt;/sysroot/usr
make
make install</code></pre></li>
<li><p>Configure and build OpenJDK:</p>
<pre><code>bash configure \
--with-boot-jdk=$BOOT_JDK \
--openjdk-target=riscv64-linux-gnu \
--with-sysroot=&lt;toolchain-installed-path&gt;/sysroot \
--with-toolchain-path=&lt;toolchain-installed-path&gt;/bin \
--with-extra-path=&lt;toolchain-installed-path&gt;/bin
make images</code></pre></li>
</ul>
<h3 id="building-for-musl">Building for musl</h3>
<p>Just like it's possible to cross-compile for a different CPU, it's

View File

@@ -167,7 +167,7 @@ time of writing.
| Operating system | Vendor/version used |
| ----------------- | ---------------------------------- |
| Linux | Oracle Enterprise Linux 6.4 / 7.6 |
| macOS | Mac OS X 10.13 (High Sierra) |
| macOS | macOS 13 (Ventura) |
| Windows | Windows Server 2012 R2 |
The double version numbers for Linux are due to the hybrid model
@@ -270,8 +270,8 @@ difficult for a project such as the JDK to keep pace with a continuously updated
machine running macOS. See the section on [Apple Xcode](#apple-xcode) on some
strategies to deal with this.
It is recommended that you use at least Mac OS X 10.13 (High Sierra). At the time
of writing, the JDK has been successfully compiled on macOS 10.12 (Sierra).
It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.
The standard macOS environment contains the basic tooling needed to build, but
for external libraries a package manager is recommended. The JDK uses
@@ -334,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 14.3.1 (using clang 14.0.3) |
| Windows | Microsoft Visual Studio 2022 version 17.6.5 |
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
@@ -626,11 +626,13 @@ automatically, it will exit and inform you about the problem.
Some command line examples:
* Create a 32-bit build for Windows with FreeType2 in `C:\freetype-i586`:
```
bash configure --with-freetype=/cygdrive/c/freetype-i586 --with-target-bits=32
```
* Create a debug build with the `server` JVM and DTrace enabled:
```
bash configure --enable-debug --with-jvm-variants=server --enable-dtrace
```
@@ -1100,11 +1102,12 @@ Note that alsa is needed even if you only want to build a headless JDK.
system. Download them to /tmp.
* Install the libraries into the cross-compilation toolchain. For instance:
```
cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .
```
```
cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .
```
* If alsa is not properly detected by `configure`, you can point it out by
`--with-alsa`.
@@ -1140,6 +1143,7 @@ Note that X11 is needed even if you only want to build a headless JDK.
* libxext-dev
* Install the libraries into the cross-compilation toolchain. For instance:
```
cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc/usr
mkdir X11R6
@@ -1173,11 +1177,13 @@ for foreign architectures with native compilation speed.
For example, cross-compiling to AArch64 from x86_64 could be done like this:
* Install cross-compiler on the *build* system:
```
apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
```
* Create chroot on the *build* system, configuring it for *target* system:
```
sudo debootstrap \
--arch=arm64 \
@@ -1191,12 +1197,29 @@ For example, cross-compiling to AArch64 from x86_64 could be done like this:
# the path should be `debian-ports` instead of `debian`.
```
* To create a Ubuntu-based chroot:
```
sudo debootstrap \
--arch=arm64 \
--verbose \
--components=main,universe \
--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 \
--resolve-deps \
jammy \
~/sysroot-arm64 \
http://ports.ubuntu.com/ubuntu-ports/
# symlinks is in the universe repository
```
* Make sure the symlinks inside the newly created chroot point to proper locations:
```
sudo chroot ~/sysroot-arm64 symlinks -cr .
```
* Configure and build with newly created chroot as sysroot/toolchain-path:
```
sh ./configure \
--openjdk-target=aarch64-linux-gnu \
@@ -1255,6 +1278,7 @@ 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
@@ -1264,6 +1288,7 @@ shown below is the path where you want to install the toolchain.
```
* Cross-compile all the required libraries:
```
# An example for libffi
git clone https://github.com/libffi/libffi
@@ -1274,6 +1299,7 @@ shown below is the path where you want to install the toolchain.
```
* Configure and build OpenJDK:
```
bash configure \
--with-boot-jdk=$BOOT_JDK \

View File

@@ -207,13 +207,22 @@ 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>tier1</code>: This is the most fundamental test tier.
Roughly speaking, a failure of a test in this tier has the potential to
indicate a problem that would affect many Java programs. Tests in
<code>tier1</code> include tests of HotSpot, core APIs in the
<code>java.base</code> module, and the <code>javac</code> compiler.
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. As a
guideline, nearly all individual tests in <code>tier1</code> are
expected to run to completion in ten seconds or less when run on common
configurations used for development. Long-running tests, even of core
functionality, should occur in higher tiers or be covered in other kinds
of testing. 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

View File

@@ -135,12 +135,21 @@ 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 most fundamental test tier.
Roughly speaking, a failure of a test in this tier has the potential
to indicate a problem that would affect many Java programs. Tests in
`tier1` include tests of HotSpot, core APIs in the `java.base`
module, and the `javac` compiler. 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. As a guideline, nearly all individual tests in
`tier1` are expected to run to completion in ten seconds or less
when run on common configurations used for development. Long-running
tests, even of core functionality, should occur in higher tiers or
be covered in other kinds of testing. 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

View File

@@ -478,6 +478,27 @@ endif
################################################################################
ifneq ($(filter static-libs-graal-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_GRAAL_BUNDLE_FILES := $(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR))
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
STATIC_LIBS_GRAAL_BUNDLE_SUBDIR := $(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else
STATIC_LIBS_GRAAL_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)
endif
$(eval $(call SetupBundleFile, BUILD_STATIC_LIBS_GRAAL_BUNDLE, \
BUNDLE_NAME := $(STATIC_LIBS_GRAAL_BUNDLE_NAME), \
FILES := $(STATIC_LIBS_GRAAL_BUNDLE_FILES), \
BASE_DIRS := $(STATIC_LIBS_GRAAL_IMAGE_DIR), \
SUBDIR := $(STATIC_LIBS_GRAAL_BUNDLE_SUBDIR), \
))
STATIC_LIBS_GRAAL_TARGETS += $(BUILD_STATIC_LIBS_GRAAL_BUNDLE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
@@ -490,8 +511,9 @@ docs-jdk-bundles: $(DOCS_JDK_TARGETS)
docs-javase-bundles: $(DOCS_JAVASE_TARGETS)
docs-reference-bundles: $(DOCS_REFERENCE_TARGETS)
static-libs-bundles: $(STATIC_LIBS_TARGETS)
static-libs-graal-bundles: $(STATIC_LIBS_GRAAL_TARGETS)
jcov-bundles: $(JCOV_TARGETS)
.PHONY: all default product-bundles test-bundles \
docs-jdk-bundles docs-javase-bundles docs-reference-bundles \
static-libs-bundles jcov-bundles
static-libs-bundles static-libs-graal-bundles jcov-bundles

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
@@ -81,13 +81,11 @@ endif
ifneq ($(CMDS_DIR), )
DEPS += $(call FindFiles, $(CMDS_DIR))
ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+public)
# For public debug symbols on Windows, we have to use stripped pdbs, rename them
# and filter out a few launcher pdbs where there's a lib that goes by the same name
# For public debug symbols on Windows, we have to use stripped pdbs and rename them
rename_stripped = $(patsubst %.stripped.pdb,%.pdb,$1)
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
FILES_CMDS := $(filter-out %.pdb, $(call FindFiles, $(CMDS_DIR))) \
$(filter-out %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb, \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR))))
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR)))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
@@ -96,18 +94,6 @@ ifneq ($(CMDS_DIR), )
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+full)
# For full debug symbols on Windows, we have to filter out a few launcher pdbs
# where there's a lib that goes by the same name
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
FILES := $(filter-out %jimage.pdb %jpackage.pdb %java.pdb, \
$(call FindFiles, $(CMDS_DIR))), \
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else
JMOD_FLAGS += --cmds $(CMDS_DIR)
endif
@@ -196,9 +182,14 @@ else # not java.base
endif
endif
# Set main class of jdk.httpserver module
ifeq ($(MODULE), jdk.httpserver)
JMOD_FLAGS += --main-class sun.net.httpserver.simpleserver.Main
################################################################################
# Include module specific build settings
-include Jmod.gmk
# Set main class
ifneq ($(JMOD_FLAGS_main_class), )
JMOD_FLAGS += $(JMOD_FLAGS_main_class)
endif
# Changes to the jmod tool itself should also trigger a rebuild of all jmods.

View File

@@ -66,10 +66,6 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) )
# In order to get a specific ordering it's necessary to specify the total
# ordering of tags as the tags are otherwise ordered in order of definition.
JAVADOC_TAGS := \
-tag beaninfo:X \
-tag since.unbundled:X \
-tag Note:X \
-tag ToDo:X \
-tag 'apiNote:a:API Note:' \
-tag 'implSpec:a:Implementation Requirements:' \
-tag 'implNote:a:Implementation Note:' \

View File

@@ -274,9 +274,6 @@ else
endif
endif
FILTERED_PDBS := %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb \
%jimage.pdb %jpackage.pdb %java.pdb %jimage.map %jpackage.map %java.map
# Param 1 - either JDK or JRE
SetupCopyDebuginfo = \
$(foreach m, $(ALL_$1_MODULES), \
@@ -290,8 +287,8 @@ SetupCopyDebuginfo = \
$(eval $(call SetupCopyFiles, COPY_$1_CMDS_DEBUGINFO_$m, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_cmds/$m, \
DEST := $($1_IMAGE_DIR)/$(CMDS_TARGET_SUBDIR), \
FILES := $(filter-out $(FILTERED_PDBS), $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m)), \
FILES := $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m), \
)) \
$(eval $1_TARGETS += $$(COPY_$1_CMDS_DEBUGINFO_$m)) \
)

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
@@ -46,8 +46,10 @@ JIMAGE_PKGS := \
jdk/internal/jrtfs \
#
# Compile jrt-fs.jar with the interim compiler, as it
# ends up in the image, this will ensure reproducible classes
$(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
COMPILER := bootjdk, \
COMPILER := interim, \
DISABLED_WARNINGS := options, \
TARGET_RELEASE := $(TARGET_RELEASE_JDK8), \
SRC := $(TOPDIR)/src/java.base/share/classes, \

View File

@@ -405,8 +405,9 @@ JMOD_TARGETS := $(addsuffix -jmod, $(JMOD_MODULES))
define DeclareJmodRecipe
$1-jmod:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CreateJmods.gmk \
MODULE=$1)
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
$(patsubst %,-I%/modules/$1,$(PHASE_MAKEDIRS)) \
-f CreateJmods.gmk MODULE=$1)
endef
$(foreach m, $(JMOD_MODULES), $(eval $(call DeclareJmodRecipe,$m)))
@@ -851,6 +852,12 @@ $(eval $(call SetupTarget, static-libs-bundles, \
DEPS := static-libs-image, \
))
$(eval $(call SetupTarget, static-libs-graal-bundles, \
MAKEFILE := Bundles, \
TARGET := static-libs-graal-bundles, \
DEPS := static-libs-graal-image, \
))
ifeq ($(JCOV_ENABLED), true)
$(eval $(call SetupTarget, jcov-bundles, \
MAKEFILE := Bundles, \
@@ -1047,6 +1054,9 @@ else
# All modules include the main license files from java.base.
$(JMOD_TARGETS): java.base-copy
# jdk.javadoc uses an internal copy of the main license files from java.base.
jdk.javadoc-copy: java.base-copy
zip-security: $(filter jdk.crypto%, $(JAVA_TARGETS))
ifeq ($(ENABLE_GENERATE_CLASSLIST), true)
@@ -1425,13 +1435,13 @@ ALL_TARGETS += $(addsuffix -only, $(filter-out dist-clean clean%, $(ALL_TARGETS)
# are internal only, to support Init.gmk.
print-targets:
@$(ECHO) $(sort $(ALL_TARGETS))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_TARGETS))))
print-modules:
@$(ECHO) $(sort $(ALL_MODULES))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_MODULES))))
print-tests:
@$(ECHO) $(sort $(ALL_NAMED_TESTS))
$(info $(subst $(SPACE),$(NEWLINE),$(sort $(ALL_NAMED_TESTS))))
create-main-targets-include:
$(call LogInfo, Generating main target list)

View File

@@ -178,7 +178,8 @@ ifeq ($(TEST_JOBS), 0)
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
c = c + 0.5; \
printf "%d", c; \
}')
endif
@@ -356,7 +357,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 .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
$(subst .jasm,,$(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
@@ -862,11 +863,12 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
clean-workdir-$1:
clean-outputdirs-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
@@ -909,7 +911,7 @@ define SetupRunJtregTestBody
done
endif
run-test-$1: pre-run-test clean-workdir-$1
run-test-$1: pre-run-test clean-outputdirs-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
@@ -946,9 +948,9 @@ define SetupRunJtregTestBody
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1 clean-workdir-$1
$1: run-test-$1 parse-test-$1 clean-outputdirs-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-outputdirs-$1
TEST_TARGETS += parse-test-$1
endef

View File

@@ -122,6 +122,7 @@ $(eval $(call SetupVariable,JT_HOME))
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
$(eval $(call SetupVariable,JTREG_JDK,$(BOOT_JDK)))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -157,6 +158,10 @@ ifeq ($(UNAME_OS), CYGWIN)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.cygwin
else ifeq ($(UNAME_OS), MINGW64)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.msys2
else
OPENJDK_TARGET_OS_TYPE:=unix
ifeq ($(UNAME_OS), Linux)
@@ -169,6 +174,9 @@ else
OPENJDK_TARGET_OS_ENV := $(OPENJDK_TARGET_OS)
endif
# Sanity check env detection
$(info Detected target OS, type and env: [$(OPENJDK_TARGET_OS)] [$(OPENJDK_TARGET_OS_TYPE)] [$(OPENJDK_TARGET_OS_ENV)])
# Assume little endian unless otherwise specified
OPENJDK_TARGET_CPU_ENDIAN := little
@@ -248,6 +256,7 @@ $(call CreateNewSpec, $(NEW_SPEC), \
TOPDIR := $(TOPDIR), \
OUTPUTDIR := $(OUTPUTDIR), \
BOOT_JDK := $(BOOT_JDK), \
JTREG_JDK := $(JTREG_JDK), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
JCOV_IMAGE_DIR := $(JCOV_IMAGE_DIR), \

View File

@@ -124,6 +124,8 @@ JAR := $(FIXPATH) $(JAR_CMD)
JLINK := $(FIXPATH) $(JLINK_CMD)
JMOD := $(FIXPATH) $(JMOD_CMD)
JTREG_JAVA := $(FIXPATH) $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
################################################################################
# Some common tools. Assume most common name and no path.

View File

@@ -76,8 +76,8 @@ TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_class
-Dkeystore.pkcs12.macAlgorithm=NONE \
build.tools.generatecacerts.GenerateCacerts
TOOL_GENERATEEMOJIDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateemojidata.GenerateEmojiData
TOOL_GENERATEEXTRAPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateextraproperties.GenerateExtraProperties
TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makezipreproducible.MakeZipReproducible
@@ -137,4 +137,7 @@ PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpa
##########################################################################################
# Hook to include the corresponding custom post file, if present.
$(eval $(call IncludeCustomExtension, ToolsJdk-post.gmk))
endif # _TOOLS_GMK

View File

@@ -87,9 +87,9 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP, \
SRC := $(SUPPORT_OUTPUTDIR), \
INCLUDE_FILES := modules_libs/java.security.jgss/w2k_lsa_auth.dll \
modules_libs/java.security.jgss/w2k_lsa_auth.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.map \
modules_libs/java.security.jgss/w2k_lsa_auth.pdb, \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.map \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.pdb, \
ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)))
TARGETS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)

View File

@@ -479,7 +479,7 @@ 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
if "$DF -T local > /dev/null 2>&1"; then
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'

View File

@@ -243,8 +243,11 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
fi
fi
# The CCACHE_BASEDIR needs to end with '/' as ccache will otherwise think
# directories next to it, that have the base dir name as a prefix, are sub
# directories of CCACHE_BASEDIR.
CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR \
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$TOPDIR $CCACHE"
CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS CCACHE_BASEDIR=$WORKSPACE_ROOT/ $CCACHE"
if test "x$SET_CCACHE_DIR" != x; then
mkdir -p $CCACHE_DIR > /dev/null 2>&1

View File

@@ -522,7 +522,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# do this on s390x also for libjvm (where serviceability agent is not supported)
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
if test "x$OPENJDK_TARGET_CPU" = xs390x && test "x$DEBUG_LEVEL" == xrelease; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
fi
fi
@@ -560,8 +560,10 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
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 -Zc:inline -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -Zc:wchar_t-"
# The -utf-8 option sets source and execution character sets to UTF-8 to enable correct
# compilation of all source files regardless of the active code page on Windows.
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -permissive- -utf-8 -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -utf-8 -Zc:wchar_t-"
fi
# CFLAGS C language level for JDK sources (hotspot only uses C++)
@@ -797,15 +799,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $3,
IF_FALSE: [
NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
]
)
$1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -816,6 +809,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
REPRODUCIBLE_CFLAGS=
]
)
AC_SUBST(REPRODUCIBLE_CFLAGS)
fi
# Prevent the __FILE__ macro from generating absolute paths into the built
@@ -849,6 +843,22 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
FILE_MACRO_CFLAGS=
]
)
if test "x$FILE_MACRO_CFLAGS" != x; then
# Add -pathmap for all VS system include paths using Windows
# full Long path name that is generated by the compiler
# Not enabled under WSL as there is no easy way to obtain the
# Windows full long paths, thus reproducible WSL builds will
# depend on building with the same VS toolchain install location.
if test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl1" && test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl2"; then
for ipath in ${$3SYSROOT_CFLAGS}; do
if test "x${ipath:0:2}" == "x-I"; then
ipath_path=${ipath#"-I"}
UTIL_FIXUP_WIN_LONG_PATH(ipath_path)
FILE_MACRO_CFLAGS="$FILE_MACRO_CFLAGS -pathmap:\"$ipath_path\"=vsi"
fi
done
fi
fi
fi
AC_MSG_CHECKING([how to prevent absolute paths in output])
@@ -926,17 +936,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of these optimizations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
# This flag is required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of this optimization.
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
$1_GCC6_CFLAGS="${NO_LIFETIME_DSE_CFLAG}"
])
AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],

View File

@@ -60,7 +60,8 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Add -z,defs, to forbid undefined symbols in object files.
# add -z,relro (mark relocations read only) for all libs
# add -z,now ("full relro" - more of the Global Offset Table GOT is marked read only)
BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now"
# add --no-as-needed to disable default --as-needed link flag on some GCC toolchains
BASIC_LDFLAGS="-Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,--no-as-needed"
# Linux : remove unused code+data in link step
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
if test "x$OPENJDK_TARGET_CPU" = xs390x; then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, 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
@@ -128,16 +128,12 @@ AC_DEFUN([FLAGS_SETUP_MACOSX_VERSION],
# The expected format for <version> is either nn.n.n or nn.nn.nn. See
# /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h
# MACOSX_VERSION_MIN specifies the lowest version of Macosx that the built
# MACOSX_VERSION_MIN specifies the lowest version of macOS that the built
# binaries should be compatible with, even if compiled on a newer version
# of the OS. It currently has a hard coded value. Setting this also limits
# exposure to API changes in header files. Bumping this is likely to
# require code changes to build.
if test "x$OPENJDK_TARGET_CPU_ARCH" = xaarch64; then
MACOSX_VERSION_MIN=11.00.00
else
MACOSX_VERSION_MIN=10.12.0
fi
MACOSX_VERSION_MIN=11.00.00
MACOSX_VERSION_MIN_NODOTS=${MACOSX_VERSION_MIN//\./}
AC_SUBST(MACOSX_VERSION_MIN)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2021, 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
@@ -134,7 +134,8 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
BINUTILS_SRC="$with_binutils_src"
UTIL_FIXUP_PATH(BINUTILS_SRC)
BINUTILS_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils"
BINUTILS_BUILD_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils"
BINUTILS_INSTALL_DIR="$CONFIGURESUPPORT_OUTPUTDIR/binutils-install"
if ! test -d $BINUTILS_SRC; then
AC_MSG_ERROR([--with-binutils-src is not pointing to a directory])
@@ -143,15 +144,15 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
AC_MSG_ERROR([--with-binutils-src does not look like a binutils source directory])
fi
if ! test -d $BINUTILS_DIR; then
$MKDIR -p $BINUTILS_DIR
if ! test -d $BINUTILS_BUILD_DIR; then
$MKDIR -p $BINUTILS_BUILD_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])
# We don't know the version, not checking for libsframe.a
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
AC_MSG_NOTICE([Found binutils binaries in binutils install directory -- not building])
else
# On Windows, we cannot build with the normal Microsoft CL, but must instead use
# a separate mingw toolchain.
@@ -190,20 +191,26 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
binutils_cflags="$binutils_cflags $MACHINE_FLAG $JVM_PICFLAG $C_O_FLAG_NORM"
AC_MSG_NOTICE([Running binutils configure])
AC_MSG_NOTICE([configure command line: cd $BINUTILS_DIR && $BINUTILS_SRC/configure --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target])
AC_MSG_NOTICE([configure command line: cd $BINUTILS_BUILD_DIR && $BINUTILS_SRC/configure --disable-werror --prefix=$BINUTILS_INSTALL_DIR --enable-install-libiberty --with-system-zlib --without-zstd --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target])
saved_dir=`pwd`
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
cd "$BINUTILS_BUILD_DIR"
$BINUTILS_SRC/configure --disable-werror --prefix=$BINUTILS_INSTALL_DIR --enable-install-libiberty --with-system-zlib --without-zstd --disable-nls CFLAGS="$binutils_cflags" CC="$binutils_cc" AR="$AR" $binutils_target
if test $? -ne 0 || ! test -e $BINUTILS_BUILD_DIR/Makefile; then
AC_MSG_NOTICE([Automatic building of binutils failed on configure. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
AC_MSG_NOTICE([Running binutils make])
$MAKE all-opcodes
$MAKE all-opcodes all-libiberty
if test $? -ne 0; then
AC_MSG_NOTICE([Automatic building of binutils failed on make. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
AC_MSG_NOTICE([Running binutils make install])
$MAKE install-opcodes install-libiberty
if test $? -ne 0; then
AC_MSG_NOTICE([Automatic building, install step, of binutils failed on make. Try building it manually])
AC_MSG_ERROR([Cannot continue])
fi
cd $saved_dir
AC_MSG_NOTICE([Building of binutils done])
fi
@@ -223,40 +230,66 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
# We need the binutils static libs and includes.
if test "x$with_binutils_src" != x; then
# Try building the source first. If it succeeds, it sets $BINUTILS_DIR.
# Try building the source first. If it succeeds, it sets $BINUTILS_INSTALL_DIR.
LIB_BUILD_BINUTILS
fi
if test "x$with_binutils" != x; then
BINUTILS_DIR="$with_binutils"
BINUTILS_INSTALL_DIR="$with_binutils"
fi
binutils_system_error=""
HSDIS_LDFLAGS=""
HSDIS_LIBS=""
if test "x$BINUTILS_DIR" = xsystem; then
disasm_header="<dis-asm.h>"
if test "x$BINUTILS_INSTALL_DIR" = xsystem; then
AC_CHECK_LIB(bfd, bfd_openr, [ HSDIS_LIBS="-lbfd" ], [ binutils_system_error="libbfd not found" ])
AC_CHECK_LIB(opcodes, disassembler, [ HSDIS_LIBS="$HSDIS_LIBS -lopcodes" ], [ binutils_system_error="libopcodes not found" ])
AC_CHECK_LIB(iberty, xmalloc, [ HSDIS_LIBS="$HSDIS_LIBS -liberty" ], [ binutils_system_error="libiberty not found" ])
AC_CHECK_LIB(z, deflate, [ HSDIS_LIBS="$HSDIS_LIBS -lz" ], [ binutils_system_error="libz not found" ])
# libiberty is not required on Ubuntu
AC_CHECK_LIB(iberty, xmalloc, [ HSDIS_LIBS="$HSDIS_LIBS -liberty" ])
AC_CHECK_LIB(sframe, frame, [ HSDIS_LIBS="$HSDIS_LIBS -lsframe" ], )
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB"
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 && \
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"
elif test "x$BINUTILS_INSTALL_DIR" != x; then
disasm_header="\"$BINUTILS_INSTALL_DIR/include/dis-asm.h\""
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
(test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a || test -e $BINUTILS_INSTALL_DIR/lib64/libiberty.a); then
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB -I$BINUTILS_INSTALL_DIR/include"
# libiberty ignores --libdir and may be installed in $BINUTILS_INSTALL_DIR/lib or $BINUTILS_INSTALL_DIR/lib64
# depending on system setup
LIBIBERTY_LIB=""
if test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
LIBIBERTY_LIB="$BINUTILS_INSTALL_DIR/lib/libiberty.a"
else
HSDIS_CFLAGS="$HSDIS_CFLAGS -I$BINUTILS_DIR/include -I$BINUTILS_DIR/bfd"
LIBIBERTY_LIB="$BINUTILS_INSTALL_DIR/lib64/libiberty.a"
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"
HSDIS_LIBS="$BINUTILS_INSTALL_DIR/lib/libbfd.a $BINUTILS_INSTALL_DIR/lib/libopcodes.a $LIBIBERTY_LIB"
# If we have libsframe add it.
if test -e $BINUTILS_INSTALL_DIR/lib/libsframe.a; then
HSDIS_LIBS="$HSDIS_LIBS $BINUTILS_INSTALL_DIR/lib/libsframe.a"
fi
AC_CHECK_LIB(z, deflate, [ HSDIS_LIBS="$HSDIS_LIBS -lz" ], AC_MSG_ERROR([libz not found]))
else
AC_MSG_ERROR(["$BINUTILS_INSTALL_DIR/lib[64] must contain libbfd.a, libopcodes.a and libiberty.a"])
fi
fi
AC_MSG_CHECKING([Checking binutils API])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include $disasm_header],[[void foo() {init_disassemble_info(0, 0, 0, 0);}]])],
[
AC_MSG_RESULT([New API])
HSDIS_CFLAGS="$HSDIS_CFLAGS -DBINUTILS_NEW_API"
],
[
AC_MSG_RESULT([Old API])
]
)
AC_MSG_CHECKING([for binutils to use with hsdis])
case "x$BINUTILS_DIR" in
case "x$BINUTILS_INSTALL_DIR" in
xsystem)
if test "x$OPENJDK_TARGET_OS" != xlinux; then
AC_MSG_RESULT([invalid])
@@ -279,10 +312,10 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
;;
*)
if test "x$HSDIS_LIBS" != x; then
AC_MSG_RESULT([$BINUTILS_DIR])
AC_MSG_RESULT([$BINUTILS_INSTALL_DIR])
else
AC_MSG_RESULT([invalid])
AC_MSG_ERROR([$BINUTILS_DIR does not contain a proper binutils installation])
AC_MSG_ERROR([$BINUTILS_INSTALL_DIR does not contain a proper binutils installation])
fi
;;
esac

View File

@@ -227,12 +227,47 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JTREG],
UTIL_FIXUP_PATH(JT_HOME)
AC_SUBST(JT_HOME)
# Specify a JDK for running jtreg. Defaults to the BOOT_JDK.
AC_ARG_WITH(jtreg-jdk, [AS_HELP_STRING([--with-jdk],
[path to JDK for running jtreg @<:@BOOT_JDK@:>@])])
AC_MSG_CHECKING([for jtreg jdk])
if test "x${with_jtreg_jdk}" != x; then
if test "x${with_jtreg_jdk}" = xno; then
AC_MSG_RESULT([no, jtreg jdk not specified])
elif test "x${with_jtreg_jdk}" = xyes; then
AC_MSG_RESULT([not specified])
AC_MSG_ERROR([--with-jtreg-jdk needs a value])
else
JTREG_JDK="${with_jtreg_jdk}"
AC_MSG_RESULT([$JTREG_JDK])
UTIL_FIXUP_PATH(JTREG_JDK)
if test ! -f "$JTREG_JDK/bin/java"; then
AC_MSG_ERROR([Could not find jtreg java at $JTREG_JDK/bin/java])
fi
fi
else
JTREG_JDK="${BOOT_JDK}"
AC_MSG_RESULT([no, using BOOT_JDK])
fi
UTIL_FIXUP_PATH(JTREG_JDK)
AC_SUBST([JTREG_JDK])
# For use in the configure script
JTREG_JAVA="$FIXPATH $JTREG_JDK/bin/java"
# Verify jtreg version
if test "x$JT_HOME" != x; then
AC_MSG_CHECKING([jtreg jar existence])
if test ! -f "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([Could not find jtreg jar at $JT_HOME/lib/jtreg.jar])
fi
AC_MSG_CHECKING([jtreg version number])
# jtreg -version looks like this: "jtreg 6.1+1-19"
# Extract actual version part ("6.1" in this case)
jtreg_version_full=`$JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2`
jtreg_version_full=$($JTREG_JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2)
jtreg_version=${jtreg_version_full/%+*}
AC_MSG_RESULT([$jtreg_version])

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,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
X_CFLAGS=
X_LIBS=
else
x_libraries_orig="$x_libraries"
if test "x${with_x}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of X11. Remove the --without-x option.])
@@ -48,6 +49,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
fi
if test "x$x_libraries" = xNONE; then
x_libraries="${with_x}/lib"
x_libraries_orig="$x_libraries"
fi
else
# Check if the user has specified sysroot, but not --with-x, --x-includes or --x-libraries.
@@ -82,8 +84,8 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
# this doesn't make sense so we remove it; same for sysroot (devkit).
if test "x$COMPILE_TYPE" = xcross || (test "x$SYSROOT" != "x" && test "x$x_libraries_orig" = xNONE); then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi

View File

@@ -108,12 +108,6 @@ AC_DEFUN([LIB_SETUP_JVM_LIBS],
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
])
################################################################################

View File

@@ -567,8 +567,6 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=PPC64
elif test "x$OPENJDK_$1_CPU" = xppc64le; then
HOTSPOT_$1_CPU_DEFINE=PPC64
elif test "x$OPENJDK_$1_CPU" = xriscv32; then
HOTSPOT_$1_CPU_DEFINE=RISCV32
elif test "x$OPENJDK_$1_CPU" = xriscv64; then
HOTSPOT_$1_CPU_DEFINE=RISCV64
@@ -577,10 +575,14 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=SPARC
elif test "x$OPENJDK_$1_CPU" = xppc; then
HOTSPOT_$1_CPU_DEFINE=PPC32
elif test "x$OPENJDK_$1_CPU" = xriscv32; then
HOTSPOT_$1_CPU_DEFINE=RISCV32
elif test "x$OPENJDK_$1_CPU" = xs390; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xs390x; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xloongarch64; then
HOTSPOT_$1_CPU_DEFINE=LOONGARCH64
elif test "x$OPENJDK_$1_CPU" != x; then
HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
fi

View File

@@ -424,6 +424,7 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
BRANCH_PROTECTION_CFLAGS := @BRANCH_PROTECTION_CFLAGS@
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
@@ -684,6 +685,9 @@ JAR = $(JAR_CMD)
JLINK = $(JLINK_CMD)
JMOD = $(JMOD_CMD)
JTREG_JDK := @JTREG_JDK@
JTREG_JAVA = @FIXPATH@ $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
BUILD_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
BUILD_JAVAC=@FIXPATH@ $(BUILD_JDK)/bin/javac
@@ -984,6 +988,7 @@ DOCS_JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_JAVASE_BUNDLE_NAME := javase-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_REFERENCE_BUNDLE_NAME := jdk-reference-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz
STATIC_LIBS_GRAAL_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs-graal$(DEBUG_PART).tar.gz
JCOV_BUNDLE_NAME := jdk-jcov-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)

View File

@@ -118,6 +118,24 @@ AC_DEFUN([UTIL_FIXUP_PATH],
fi
])
##############################################################################
# Fixup path to be a Windows full long path
# Note: Only supported with cygwin/msys2 (cygpath tool)
AC_DEFUN([UTIL_FIXUP_WIN_LONG_PATH],
[
# Only process if variable expands to non-empty
path="[$]$1"
if test "x$path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
win_path=$($PATHTOOL -wl "$path")
if test "x$win_path" != "x$path"; then
$1="$win_path"
fi
fi
fi
])
###############################################################################
# Check if the given file is a unix-style or windows-style executable, that is,
# if it expects paths in unix-style or windows-style.

View File

@@ -62,8 +62,8 @@ endif
# Filter out jvmci specific modules if jvmci is disabled
ifeq ($(INCLUDE_JVMCI), false)
MODULES_FILTER += jdk.internal.vm.ci
MODULES_FILTER += jdk.internal.vm.compiler
MODULES_FILTER += jdk.internal.vm.compiler.management
MODULES_FILTER += jdk.graal.compiler
MODULES_FILTER += jdk.graal.compiler.management
endif
# jpackage is only on windows, macosx, and linux

View File

@@ -224,9 +224,12 @@ endif
# object files while CCACHE_BASEDIR will make ccache relativize all paths for
# its compiler. The compiler then produces relative dependency files.
# make does not know a relative and absolute filename is the same so it will
# ignore such dependencies.
# ignore such dependencies. This only applies when the OUTPUTDIR is inside
# the WORKSPACE_ROOT.
ifneq ($(CCACHE), )
REWRITE_PATHS_RELATIVE = true
ifneq ($(filter $(WORKSPACE_ROOT)/%, $(OUTPUTDIR)), )
REWRITE_PATHS_RELATIVE = true
endif
endif
ifeq ($(REWRITE_PATHS_RELATIVE), true)
@@ -1070,13 +1073,13 @@ define SetupNativeCompilationBody
ifneq ($$($1_TYPE), STATIC_LIBRARY)
# Generate debuginfo files.
ifeq ($(call isTargetOs, windows), true)
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map"
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map"
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).stripped.pdb"
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).stripped.pdb"
endif
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb \
$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map
else ifeq ($(call isTargetOs, linux), true)
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
@@ -1124,7 +1127,11 @@ define SetupNativeCompilationBody
$1 += $$($1_DEBUGINFO_FILES)
ifeq ($$($1_ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
ifeq ($(call isTargetOs, windows), true)
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).diz
else
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
endif
$1 += $$($1_DEBUGINFO_ZIP)
# The dependency on TARGET is needed for debuginfo files
@@ -1162,9 +1169,9 @@ define SetupNativeCompilationBody
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
# If we are building static library, 'AR' on macosx may not support @-file.
# If we are building static library, 'AR' on macosx/aix may not support @-file.
ifeq ($$($1_TYPE), STATIC_LIBRARY)
ifeq ($(call isTargetOs, macosx), true)
ifeq ($(call isTargetOs, macosx aix), true)
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif

View File

@@ -87,6 +87,15 @@ define SetupTestFilesCompilationBody
$1_BUILD_INFO := $$($1_OUTPUT_DIR)/_$1-build-info.marker
# Tests are built with internal debug symbols where supported.
# With Visual Studio or on macosx, we revert to external.
$1_COPY_DEBUG_SYMBOLS := false
ifeq ($(TOOLCHAIN_TYPE), microsoft)
$1_COPY_DEBUG_SYMBOLS := true
else ifeq ($(call isTargetOs, macosx), true)
$1_COPY_DEBUG_SYMBOLS := true
endif
# Setup a compilation for each and every one of them
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
@@ -106,7 +115,7 @@ define SetupTestFilesCompilationBody
LIBS := $$($1_LIBS_$$(name)), \
TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := $$(if $$($1_COPY_DEBUG_SYMBOLS_$$(name)),$$($1_COPY_DEBUG_SYMBOLS_$$(name)),false), \
COPY_DEBUG_SYMBOLS := $$($1_COPY_DEBUG_SYMBOLS), \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
BUILD_INFO_LOG_MACRO := LogInfo, \
)) \

View File

@@ -29,13 +29,13 @@ GTEST_VERSION=1.14.0
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
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
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a30c454a9bef8f46d5f1bf3122830014a8fbe7ac03b5f8729bc3add4b92a1d0a
MACOS_X64_BOOT_JDK_EXT=tar.gz
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
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=af32e84c11009f72f783fdcdc9917efc277893988f097e198e2576875d1e88c1
WINDOWS_X64_BOOT_JDK_EXT=zip
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
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=5434faaf029e66e7ce6e75770ca384de476750984a7d2881ef7686894c4b4944

View File

@@ -390,8 +390,8 @@ var getJibProfilesCommon = function (input, data) {
};
};
common.boot_jdk_version = "20";
common.boot_jdk_build_number = "36";
common.boot_jdk_version = "21";
common.boot_jdk_build_number = "35";
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
+ common.boot_jdk_version
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@@ -426,9 +426,14 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: "linux",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "gtest"],
configure_args: concat(common.configure_args_32bit,
"--with-jvm-variants=minimal,server", "--with-zlib=system"),
dependencies: ["devkit", "gtest", "libffi"],
configure_args: concat(common.configure_args_32bit, [
"--with-jvm-variants=minimal,server",
"--with-zlib=system",
"--with-libffi=" + input.get("libffi", "home_path"),
"--enable-libffi-bundling",
"--enable-fallback-linker"
])
},
"macosx-x64": {
@@ -436,7 +441,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: "x64",
dependencies: ["devkit", "gtest", "pandoc"],
configure_args: concat(common.configure_args_64bit, "--with-zlib=system",
"--with-macosx-version-max=10.12.00",
"--with-macosx-version-max=11.00.00",
"--enable-compatible-cds-alignment",
// Use system SetFile instead of the one in the devkit as the
// devkit one may not work on Catalina.
@@ -945,10 +950,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ],
labels: "test",
environment: {
"JT_JAVA": common.boot_jdk_home
}
labels: "test"
}
};
profiles = concatObjects(profiles, testOnlyProfiles);
@@ -1084,8 +1086,8 @@ var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc11.2.0-OL6.4+1.0",
macosx: "Xcode12.4+1.1",
windows_x64: "VS2022-17.1.0+1.1",
macosx: "Xcode14.3.1+1.0",
windows_x64: "VS2022-17.6.5+1.0",
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",

View File

@@ -60,8 +60,8 @@ BOOT_MODULES= \
# should carefully be considered if it should be upgradeable or not.
UPGRADEABLE_PLATFORM_MODULES= \
java.compiler \
jdk.internal.vm.compiler \
jdk.internal.vm.compiler.management \
jdk.graal.compiler \
jdk.graal.compiler.management \
#
PLATFORM_MODULES= \

View File

@@ -37,6 +37,6 @@ 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="20 21 22"
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="21 22"
DEFAULT_JDK_SOURCE_TARGET_VERSION=22
DEFAULT_PROMOTED_VERSION_PRE=ea

File diff suppressed because it is too large Load Diff

View File

@@ -57,6 +57,7 @@ JVM_DumpAllStacks
JVM_DumpClassListToFile
JVM_DumpDynamicArchive
JVM_DumpThreads
JVM_ExpandStackFrameInfo
JVM_FillInStackTrace
JVM_FindClassFromCaller
JVM_FindClassFromClass

View File

@@ -106,8 +106,8 @@ for ex in $EXCLUDE_DIRS; do
done
echo "Copying Xcode.app..."
echo rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode.app/
rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode.app/
echo rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode
rsync -rlH $INCLUDE_ARGS $EXCLUDE_ARGS "$XCODE_APP/." $DEVKIT_ROOT/Xcode
################################################################################
@@ -119,8 +119,8 @@ echo "Generating devkit.info..."
rm -f $DEVKIT_ROOT/devkit.info
echo-info "# This file describes to configure how to interpret the contents of this devkit"
echo-info "DEVKIT_NAME=\"Xcode $XCODE_VERSION (devkit)\""
echo-info "DEVKIT_TOOLCHAIN_PATH=\"\$DEVKIT_ROOT/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:\$DEVKIT_ROOT/Xcode.app/Contents/Developer/usr/bin\""
echo-info "DEVKIT_SYSROOT=\"\$DEVKIT_ROOT/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/$SDK_VERSION.sdk\""
echo-info "DEVKIT_TOOLCHAIN_PATH=\"\$DEVKIT_ROOT/Xcode/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:\$DEVKIT_ROOT/Xcode/Contents/Developer/usr/bin\""
echo-info "DEVKIT_SYSROOT=\"\$DEVKIT_ROOT/Xcode/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/$SDK_VERSION.sdk\""
echo-info "DEVKIT_EXTRA_PATH=\"\$DEVKIT_TOOLCHAIN_PATH\""
################################################################################

View File

@@ -62,7 +62,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLC_CFLAGS += -I$(TOPDIR)/src/hotspot/share
# Add file macro mappings
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS)
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS) $(REPRODUCIBLE_CFLAGS)
ifeq ($(UBSAN_ENABLED), true)
ADLC_CFLAGS += $(UBSAN_CFLAGS)
@@ -133,6 +133,21 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLCFLAGS += -DARM=1
endif
# Set ASSERT, NDEBUG and PRODUCT flags just like in JvmFlags.gmk
ifeq ($(DEBUG_LEVEL), release)
# release builds disable uses of assert macro from <assert.h>.
ADLCFLAGS += -DNDEBUG
# For hotspot, release builds differ internally between "optimized" and "product"
# in that "optimize" does not define PRODUCT.
ifneq ($(HOTSPOT_DEBUG_LEVEL), optimized)
ADLCFLAGS += -DPRODUCT
endif
else ifeq ($(DEBUG_LEVEL), fastdebug)
ADLCFLAGS += -DASSERT
else ifeq ($(DEBUG_LEVEL), slowdebug)
ADLCFLAGS += -DASSERT
endif
##############################################################################
# Concatenate all ad source files into a single file, which will be fed to
# adlc. Also include a #line directive at the start of every included file

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 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
@@ -118,7 +118,7 @@ else ifeq ($(call isTargetOs, windows), true)
FILTER_SYMBOLS_AWK_SCRIPT := \
'{ \
if ($$7 ~ /??_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /lambda/) print $$7; \
if ($$7 ~ /\?\?_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /lambda/) print $$7; \
}'
else

View File

@@ -61,7 +61,7 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupCopyFiles, COPY_GTEST_PDB_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/gtest, \
DEST := $(TEST_IMAGE_DIR)/hotspot/gtest/$v, \
FILES := jvm.pdb gtestLauncher.pdb, \
FILES := jvm.dll.pdb gtestLauncher.exe.pdb, \
)) \
$(eval TARGETS += $$(COPY_GTEST_PDB_$v)) \
) \

View File

@@ -329,7 +329,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "PrecompiledHeaderOutputFile", outDir+Util.sep+"vm.pch");
addAttr(rv, "AssemblerListingLocation", outDir);
addAttr(rv, "ObjectFileName", outDir+Util.sep);
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.pdb");
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.dll.pdb");
// Set /nologo option
addAttr(rv, "SuppressStartupBanner", "true");
// Surpass the default /Tc or /Tp.
@@ -409,7 +409,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "OutputFile", outDll);
addAttr(rv, "SuppressStartupBanner", "true");
addAttr(rv, "ModuleDefinitionFile", outDir+Util.sep+"vm.def");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.pdb");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.dll.pdb");
addAttr(rv, "SubSystem", "Windows");
addAttr(rv, "BaseAddress", "0x8000000");
addAttr(rv, "ImportLibrary", outDir+Util.sep+"jvm.lib");

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@@ -108,6 +108,12 @@ class Bundle {
"narrow.Eras"
};
static final String[] LIST_PATTERN_KEYS = {
"ListPatterns_standard",
"ListPatterns_or",
"ListPatterns_unit",
};
// DateFormatItem prefix
static final String DATEFORMATITEM_KEY_PREFIX = "DateFormatItem.";
static final String DATEFORMATITEM_INPUT_REGIONS_PREFIX = "DateFormatItemInputRegions.";

View File

@@ -30,7 +30,6 @@ import java.io.File;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.*;
import java.text.MessageFormat;
import java.time.*;
import java.util.*;
import java.util.ResourceBundle.Control;
@@ -92,6 +91,12 @@ public class CLDRConverter {
static final String[] EMPTY_ZONE = {"", "", "", "", "", ""};
static final String META_ETCUTC_ZONE_NAME = "ETC_UTC";
// constants used for TZDB short names
private static final String NBSP = "\u00A0";
private static final String STD = "std";
private static final String DST = "dst";
private static final String NO_SUBST = "-";
private static SupplementDataParseHandler handlerSuppl;
private static LikelySubtagsParseHandler handlerLikelySubtags;
private static WinZonesParseHandler handlerWinZones;
@@ -114,6 +119,7 @@ public class CLDRConverter {
private static Set<String> AVAILABLE_TZIDS;
static int copyrightYear;
static String jdkHeaderTemplate;
private static String zoneNameTempFile;
private static String tzDataDir;
private static final Map<String, String> canonicalTZMap = new HashMap<>();
@@ -122,6 +128,10 @@ public class CLDRConverter {
static Map<String, String> pluralRules;
static Map<String, String> dayPeriodRules;
// TZDB Short Names Map
private static final Map<String, String> tzdbShortNamesMap = HashMap.newHashMap(512);
private static final Map<String, String> tzdbSubstLetters = HashMap.newHashMap(512);
static enum DraftType {
UNCONFIRMED,
PROVISIONAL,
@@ -229,6 +239,10 @@ public class CLDRConverter {
tzDataDir = args[++i];
break;
case "-jdk-header-template":
jdkHeaderTemplate = Files.readString(Paths.get(args[++i]));
break;
case "-help":
usage();
System.exit(0);
@@ -279,6 +293,9 @@ public class CLDRConverter {
pluralRules = generateRules(handlerPlurals);
dayPeriodRules = generateRules(handlerDayPeriodRule);
// TZDB short names map
generateTZDBShortNamesMap();
List<Bundle> bundles = readBundleList();
convertBundles(bundles);
@@ -304,7 +321,9 @@ public class CLDRConverter {
+ "\t-year year copyright year in output%n"
+ "\t-zntempfile template file for java.time.format.ZoneName.java%n"
+ "\t-tzdatadir tzdata directory for java.time.format.ZoneName.java%n"
+ "\t-utf8 use UTF-8 rather than \\uxxxx (for debug)%n");
+ "\t-utf8 use UTF-8 rather than \\uxxxx (for debug)%n"
+ "\t-jdk-header-template <file>%n"
+ "\t\t override default GPL header with contents of file%n");
}
static void info(String fmt, Object... args) {
@@ -614,7 +633,14 @@ public class CLDRConverter {
*/
static void handleAliases(Map<String, Object> bundleMap) {
for (String key : aliases.keySet()) {
var source = bundleMap.get(aliases.get(key));
var sourceKey = aliases.get(key);
if (key.startsWith("ListPatterns_")) {
String k;
while ((k = aliases.get(sourceKey)) != null) {
sourceKey = k;
}
}
var source = bundleMap.get(sourceKey);
if (source != null) {
if (bundleMap.get(key) instanceof String[] sa) {
// fill missing elements in case of String array
@@ -743,21 +769,25 @@ public class CLDRConverter {
.orElse(tzid);
Object data = map.get(TIMEZONE_ID_PREFIX + tzKey);
if (data instanceof String[]) {
if (data instanceof String[] tznames) {
// Hack for UTC. UTC is an alias to Etc/UTC in CLDR
if (tzid.equals("Etc/UTC") && !map.containsKey(TIMEZONE_ID_PREFIX + "UTC")) {
names.put(METAZONE_ID_PREFIX + META_ETCUTC_ZONE_NAME, data);
names.put(METAZONE_ID_PREFIX + META_ETCUTC_ZONE_NAME, tznames);
names.put(tzid, META_ETCUTC_ZONE_NAME);
names.put("UTC", META_ETCUTC_ZONE_NAME);
} else {
names.put(tzid, data);
// TZDB short names
fillTZDBShortNames(tzid, tznames);
names.put(tzid, tznames);
}
} else {
String meta = handlerMetaZones.get(tzKey);
if (meta != null) {
String metaKey = METAZONE_ID_PREFIX + meta;
data = map.get(metaKey);
if (data instanceof String[]) {
if (data instanceof String[] tznames) {
// TZDB short names
fillTZDBShortNames(tzid, tznames);
// Keep the metazone prefix here.
names.put(metaKey, data);
names.put(tzid, meta);
@@ -864,6 +894,7 @@ public class CLDRConverter {
"DayPeriodRules",
"DateFormatItemInputRegions.allowed",
"DateFormatItemInputRegions.preferred",
"ListPatterns",
};
static final Set<String> availableSkeletons = new HashSet<>();
@@ -928,6 +959,14 @@ public class CLDRConverter {
formatData.put(k + ".NumberElements", neNew);
});
}
// ListPatterns
for (var lpKey : Bundle.LIST_PATTERN_KEYS) {
copyIfPresent(map, lpKey, formatData);
copyIfPresent(map, lpKey + "-short", formatData);
copyIfPresent(map, lpKey + "-narrow", formatData);
}
return formatData;
}
@@ -1161,6 +1200,8 @@ public class CLDRConverter {
Files.createDirectories(Paths.get(DESTINATION_DIR, "windows", "conf"));
Files.write(Paths.get(DESTINATION_DIR, "windows", "conf", "tzmappings"),
handlerWinZones.keySet().stream()
.filter(k -> k.endsWith(":001") ||
!handlerWinZones.get(k).equals(handlerWinZones.get(k.replaceFirst(":\\w{2,3}$", ":001"))))
.map(k -> k + ":" + handlerWinZones.get(k) + ":")
.sorted(new Comparator<String>() {
public int compare(String t1, String t2) {
@@ -1221,6 +1262,125 @@ public class CLDRConverter {
return covMap;
}
/*
* Generates two maps from TZ database files, where they have usual abbreviation
* of the time zone names as "FORMAT".
*
* `tzdbShortNamesMap` maps the time zone id, such as "America/Los_Angeles" to
* its FORMAT and Rule which determines the substitution. In "America/Los_Angeles"
* case, its FORMAT is "P%sT" and the Rule is "US". They are concatenated with
* an NBSP, so the eventual mapping will be:
*
* "America/Los_Angeles" -> "P%sT<NBSP>US"
*
* The other map, `tzdbSubstLetters` maps the Rule to its substitution letters.
* The key of the map is the Rule name, appended with "<NBSP>std" or "<NBSP>dst"
* depending on the savings, e.g.,
*
* "US<NBSP>std" -> "S"
* "US<NBSP>dst" -> "D"
*
* These two mappings resolve the short names for time zones in each type,
* such as:
*
* Standard short name for "America/Los_Angeles" -> "PST"
* DST short name for "America/Los_Angeles" -> "PDT"
* Generic short name for "America/Los_Angeles" -> "PT"
*/
private static void generateTZDBShortNamesMap() throws IOException {
Files.walk(Path.of(tzDataDir), 1, FileVisitOption.FOLLOW_LINKS)
.filter(p -> p.toFile().isFile())
.forEach(p -> {
try {
String zone = null;
String rule = null;
String format = null;
for (var line : Files.readAllLines(p)) {
if (line.contains("#STDOFF")) continue;
line = line.replaceAll("[ \t]*#.*", "");
// Zone line
if (line.startsWith("Zone")) {
var zl = line.split("[ \t]+", -1);
zone = zl[1];
rule = zl[3];
format = zl[4];
} else {
if (zone != null) {
if (line.isBlank()) {
tzdbShortNamesMap.put(zone, format + NBSP + rule);
zone = null;
rule = null;
format = null;
} else {
var s = line.split("[ \t]+", -1);
rule = s[2];
format = s[3];
}
}
}
// Rule line
if (line.startsWith("Rule")) {
var rl = line.split("[ \t]+", -1);
tzdbSubstLetters.put(rl[1] + NBSP + (rl[8].equals("0") ? STD : DST),
rl[9].replace(NO_SUBST, ""));
}
}
} catch (IOException ioe) {
throw new UncheckedIOException(ioe);
}
});
}
/*
* Fill the TZDB short names if there is no name provided by the CLDR
*/
private static void fillTZDBShortNames(String tzid, String[] names) {
var val = tzdbShortNamesMap.get(tzid);
if (val != null) {
var format = val.split(NBSP)[0];
var rule = val.split(NBSP)[1];
IntStream.of(1, 3, 5).forEach(i -> {
if (names[i] == null) {
if (format.contains("%s")) {
names[i] = switch (i) {
case 1 -> format.formatted(tzdbSubstLetters.get(rule + NBSP + STD));
case 3 -> format.formatted(tzdbSubstLetters.get(rule + NBSP + DST));
case 5 -> format.formatted("");
default -> throw new InternalError();
};
} else if (format.contains("/")) { // such as "+08/+09" or "GMT/BST"
names[i] = switch (i) {
case 1, 5 -> convertGMTName(format.substring(0, format.indexOf("/")));
case 3 -> convertGMTName(format.substring(format.indexOf("/") + 1));
default -> throw new InternalError();
};
} else {
names[i] = convertGMTName(format);
}
}
});
}
}
/*
* Convert TZDB offsets to JDK's offsets, eg, "-08" to "GMT-08:00".
* If it cannot recognize the pattern, return the argument as is.
*/
private static String convertGMTName(String f) {
try {
// Should pre-fill GMT format once COMPAT is gone.
// Till then, fall back to GMT format at runtime, after COMPAT short
// names are populated
ZoneOffset.of(f);
return null;
} catch (DateTimeException dte) {
// textual representation. return as is
}
return f;
}
// for debug
static void dumpMap(Map<String, Object> map) {
map.entrySet().stream()

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
@@ -812,6 +813,7 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
&& ((currentContainer.getqName().equals("decimalFormatLength"))
|| (currentContainer.getqName().equals("currencyFormat"))
|| (currentContainer.getqName().equals("percentFormat"))
|| (currentContainer.getqName().equals("listPattern"))
|| (currentCalendarType != null && !currentCalendarType.lname().startsWith("islamic-")))) { // ignore islamic variants
pushAliasEntry(qName, attributes, attributes.getValue("path"));
} else {
@@ -820,6 +822,28 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
}
break;
// ListPatterns
case "listPattern":
currentStyle = Optional.ofNullable(attributes.getValue("type")).orElse("standard");
pushStringArrayEntry(qName, attributes, "ListPatterns_" + currentStyle, 5);
break;
case "listPatternPart":
type = attributes.getValue("type");
pushStringArrayElement(qName, attributes,
switch (type) {
case "start" -> 0;
case "middle" -> 1;
case "end" -> 2;
case "2" -> 3;
case "3" -> 4;
default -> throw new IllegalArgumentException(
"""
The "type" attribute value for "listPatternPart" element is not recognized: %s
""".formatted(type)
);
});
break;
default:
// treat anything else as a container
pushContainer(qName, attributes);
@@ -973,6 +997,9 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
"NumberPatterns/" +
(type.equals("standard") ? containerqName.replaceFirst("Format", "") : type);
break;
case "listPattern":
keyName = type;
break;
default:
keyName = "";
break;
@@ -1035,6 +1062,19 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
return toJDKKey(qName, "", style);
}
// listPattern
if (path.indexOf("../listPattern") != -1) {
typeKey = "[@type='";
start = path.indexOf(typeKey);
String style;
if (start != -1) {
style = "ListPatterns_" + path.substring(start + typeKey.length(), path.indexOf("']", start));
} else {
style = "ListPatterns_standard";
}
return toJDKKey(qName, "", style);
}
return calType + "." + toJDKKey(qName, context, width);
}
@@ -1107,6 +1147,10 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
case "timeFormatLength":
currentStyle = "";
break;
case "listPattern":
currentStyle = "";
putIfEntry();
break;
default:
putIfEntry();
}
@@ -1128,6 +1172,12 @@ class LDMLParseHandler extends AbstractLDMLHandler<Object> {
toJDKKey(containerqName, "", kc.getKey()),
getTarget(entry.getKey(), "", "", "")
);
} else if (containerqName.equals("listPattern")) {
var sae = (StringArrayEntry)entry.getParent();
CLDRConverter.aliases.put(
toJDKKey(containerqName, "", sae.getKey()),
getTarget(entry.getKey(), "", "", "")
);
} else {
Set<String> keyNames = populateAliasKeys(containerqName, currentContext, currentWidth);
if (!keyNames.isEmpty()) {

View File

@@ -174,7 +174,7 @@ class ResourceBundleGenerator implements BundleGenerator {
try (PrintWriter out = new PrintWriter(file, encoding)) {
// Output copyright headers
out.println(CopyrightHeaders.getOpenJDKCopyright(CLDRConverter.copyrightYear));
out.println(getOpenJDKCopyright());
out.println(CopyrightHeaders.getUnicodeCopyright());
if (useJava) {
@@ -294,7 +294,7 @@ class ResourceBundleGenerator implements BundleGenerator {
CLDRConverter.info("Generating file " + file);
try (PrintWriter out = new PrintWriter(file, "us-ascii")) {
out.printf(CopyrightHeaders.getOpenJDKCopyright(CLDRConverter.copyrightYear));
out.printf(getOpenJDKCopyright());
out.printf("""
package sun.util.%s;
@@ -448,4 +448,12 @@ class ResourceBundleGenerator implements BundleGenerator {
});
return tags;
}
private static String getOpenJDKCopyright() {
if (CLDRConverter.jdkHeaderTemplate != null) {
return String.format(CLDRConverter.jdkHeaderTemplate, CLDRConverter.copyrightYear);
} else {
return CopyrightHeaders.getOpenJDKCopyright(CLDRConverter.copyrightYear);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 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,6 +25,7 @@
package build.tools.compileproperties;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
@@ -33,6 +34,9 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collections;
@@ -220,8 +224,8 @@ public class CompileProperties {
System.out.println("parsing: " + propertiesPath);
}
Properties p = new Properties();
try {
p.load(new FileInputStream(propertiesPath));
try (BufferedReader input = Files.newBufferedReader(Path.of(propertiesPath))) {
p.load(input);
} catch ( FileNotFoundException e ) {
ok = false;
error("Cannot find file " + propertiesPath, e);
@@ -267,7 +271,7 @@ public class CompileProperties {
Writer writer = null;
try {
writer = new BufferedWriter(
new OutputStreamWriter(new FileOutputStream(outputPath), "8859_1"));
new OutputStreamWriter(new FileOutputStream(outputPath), StandardCharsets.US_ASCII));
MessageFormat format = new MessageFormat(FORMAT);
writer.write(format.format(new Object[] { packageString, className, superClass, data }));
} catch ( IOException e ) {

View File

@@ -64,7 +64,7 @@ public class PropList {
int i, j;
BufferedReader sbfr = new BufferedReader(new FileReader(file));
Matcher m = Pattern.compile("(\\p{XDigit}+)(?:\\.{2}(\\p{XDigit}+))?\\s*;\\s+(\\w+)\\s+#.*").matcher("");
Matcher m = Pattern.compile("(\\p{XDigit}+)(?:\\.{2}(\\p{XDigit}+))?\\s*;\\s+(\\w+)[;\\s].*").matcher("");
String line = null;
int lineNo = 0;
while ((line = sbfr.readLine()) != null) {

View File

@@ -0,0 +1,169 @@
/*
* Copyright (c) 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
* 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.
*/
package build.tools.generateextraproperties;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* Parses extra properties files of UCD, and replaces the placeholders in
* the given template source file with the generated conditions, then emits
* .java files. For example, if the properties file has:
* <blockquote>
* 0009..000D ; Type (; Value)
* 0020 ; Type (; Value)
* 2000..200A ; Type (; Value)
* </blockquote>
* and the template file contains
* <blockquote>
* %%%Type(=Value)%%%
* </blockquote>
* then the generated .java file would have the following in place:
* <blockquote>
* (cp >= 0x0009 && cp <= 0x000D) ||
* cp == 0x0020 ||
* (cp >= 0x2000 && cp <= 0x200A);
* </blockquote>
* Note that those in parentheses in the properties file and the
* template file are optional.
*
* Arguments to this utility:
* args[0]: Full path string to the template file
* args[1]: Full path string to the properties file
* args[2]: Full path string to the generated .java file
* args[3...]: Names of the property to generate the conditions
*/
public class GenerateExtraProperties {
public static void main(String[] args) {
var templateFile = Paths.get(args[0]);
var propertiesFile = Paths.get(args[1]);
var gensrcFile = Paths.get(args[2]);
var propertyNames = Arrays.copyOfRange(args, 3, args.length);
var replacementMap = new HashMap<String, String>();
try {
for (var propertyName: propertyNames) {
var pn = "; " + propertyName.replaceFirst("=", "; ");
List<Range> ranges = Files.lines(propertiesFile)
.filter(Predicate.not(l -> l.startsWith("#") || l.isBlank()))
.filter(l -> l.contains(pn))
.map(l -> new Range(l.replaceFirst(" .*", "")))
.sorted()
.collect(ArrayList<Range>::new,
(list, r) -> {
// collapsing consecutive pictographic ranges
int lastIndex = list.size() - 1;
if (lastIndex >= 0) {
Range lastRange = list.get(lastIndex);
if (lastRange.last + 1 == r.start) {
list.set(lastIndex, new Range(lastRange.start, r.last));
return;
}
}
list.add(r);
},
ArrayList<Range>::addAll);
replacementMap.put("%%%" + propertyName + "%%%",
ranges.stream()
.map(GenerateExtraProperties::rangeToString)
.collect(Collectors.joining(" ||\n", "", ";")));
}
// Generate .java file
Files.write(gensrcFile,
Files.lines(templateFile)
.flatMap(l -> Stream.of(replacementMap.getOrDefault(l.trim(), l)))
.collect(Collectors.toList()),
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
} catch (IOException e) {
e.printStackTrace();
}
}
static String rangeToString(Range r) {
if (r.start == r.last) {
return (" ".repeat(12) + "cp == 0x" + toHexString(r.start));
} else if (r.start == r.last - 1) {
return " ".repeat(12) + "cp == 0x" + toHexString(r.start) + " ||\n" +
" ".repeat(12) + "cp == 0x" + toHexString(r.last);
} else {
return " ".repeat(11) + "(cp >= 0x" + toHexString(r.start) +
" && cp <= 0x" + toHexString(r.last) + ")";
}
}
static int toInt(String hexStr) {
return Integer.parseUnsignedInt(hexStr, 16);
}
static String toHexString(int cp) {
String ret = Integer.toUnsignedString(cp, 16).toUpperCase();
if (ret.length() < 4) {
ret = "0".repeat(4 - ret.length()) + ret;
}
return ret;
}
static class Range implements Comparable<Range> {
int start;
int last;
Range (int start, int last) {
this.start = start;
this.last = last;
}
Range (String input) {
input = input.replaceFirst("\\s#.*", "");
start = toInt(input.replaceFirst("[\\s\\.].*", ""));
last = input.contains("..") ?
toInt(input.replaceFirst(".*\\.\\.", "")
.replaceFirst(";.*", "").trim())
: start;
}
@Override
public String toString() {
return "Start: " + toHexString(start) + ", Last: " + toHexString(last);
}
@Override
public int compareTo(Range other) {
return Integer.compare(start, other.start);
}
}
}

View File

@@ -53,21 +53,38 @@ import java.util.regex.Pattern;
public class EquivMapsGenerator {
public static void main(String[] args) throws Exception {
if (args.length != 3) {
int i = 0;
boolean valid = true;
if (args.length != 5 && args.length !=3) {
valid = false;
} else if (args.length == 5) {
if ("-jdk-header-template".equals(args[i])) {
jdkHeaderTemplate = Files.readString(Paths.get(args[++i]));
i++;
} else {
valid = false;
}
}
if (!valid) {
System.err.println("Usage: java EquivMapsGenerator"
+ " [-jdk-header-template <file>]"
+ " language-subtag-registry.txt LocaleEquivalentMaps.java copyrightYear");
System.exit(1);
}
copyrightYear = Integer.parseInt(args[2]);
readLSRfile(args[0]);
String lsrFile = args[i++];
String outputFile = args[i++];
copyrightYear = Integer.parseInt(args[i++]);
readLSRfile(lsrFile);
// Builds the maps from the IANA data
generateEquivalentMap();
// Writes the maps out to LocaleEquivalentMaps.java
generateSourceCode(args[1]);
generateSourceCode(outputFile);
}
private static String LSRrevisionDate;
private static int copyrightYear;
private static String jdkHeaderTemplate;
private static Map<String, StringBuilder> initialLanguageMap =
new TreeMap<>();
private static Map<String, StringBuilder> initialRegionVariantMap =
@@ -225,6 +242,7 @@ public class EquivMapsGenerator {
try (BufferedWriter writer = Files.newBufferedWriter(
Paths.get(fileName))) {
writer.write(getOpenJDKCopyright());
writer.write("\n");
writer.write(HEADER_TEXT);
writer.write(getMapsText());
writer.write(getLSRText());
@@ -241,7 +259,8 @@ public class EquivMapsGenerator {
}
private static String getOpenJDKCopyright() {
return String.format(Locale.US, COPYRIGHT, copyrightYear);
return String.format(Locale.US,
(jdkHeaderTemplate != null ? jdkHeaderTemplate : COPYRIGHT), copyrightYear);
}
private static final String COPYRIGHT =
@@ -270,7 +289,6 @@ public class EquivMapsGenerator {
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
""";
private static final String HEADER_TEXT =

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 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
@@ -52,7 +52,7 @@ public class Incubating implements Taglet {
@Override
public String getName() {
return "Incubating";
return "incubating";
}
private static final String MESSAGE =

View File

@@ -229,7 +229,7 @@ public final class SealedGraph implements Taglet {
var forwardNavigator = nodePackage.getQualifiedName().toString()
.replace(".", "/");
return backNavigator + forwardNavigator + "/" + node.getSimpleName() + ".html";
return backNavigator + forwardNavigator + "/" + packagelessCanonicalName(node) + ".html";
}
public void addEdge(TypeElement node, TypeElement subNode) {
@@ -315,5 +315,14 @@ public final class SealedGraph implements Taglet {
case MEMBER -> packageName((TypeElement) element.getEnclosingElement());
};
}
private static String packagelessCanonicalName(TypeElement element) {
String result = element.getSimpleName().toString();
while (element.getNestingKind() == NestingKind.MEMBER) {
element = (TypeElement) element.getEnclosingElement();
result = element.getSimpleName().toString() + '.' + result;
}
return result;
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 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,6 +25,7 @@
package compileproperties;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
@@ -33,6 +34,9 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collections;
@@ -199,8 +203,8 @@ public class CompileProperties {
boolean ok = true;
log.verbose("parsing: " + propertiesPath);
Properties p = new Properties();
try {
p.load(new FileInputStream(propertiesPath));
try (BufferedReader input = Files.newBufferedReader(Path.of(propertiesPath))) {
p.load(input);
} catch ( FileNotFoundException e ) {
ok = false;
log.error("Cannot find file " + propertiesPath, e);
@@ -246,7 +250,7 @@ public class CompileProperties {
Writer writer = null;
try {
writer = new BufferedWriter(
new OutputStreamWriter(new FileOutputStream(outputPath), "8859_1"));
new OutputStreamWriter(new FileOutputStream(outputPath), StandardCharsets.US_ASCII));
MessageFormat format = new MessageFormat(FORMAT);
writer.write(format.format(new Object[] { packageString, className, superClass, data }));
} catch ( IOException e ) {

View File

@@ -51,9 +51,9 @@ import javacserver.util.Log;
public class Client {
private static final Log.Level LOG_LEVEL = Log.Level.INFO;
// Wait 2 seconds for response, before giving up on javac server.
private static final int CONNECTION_TIMEOUT = 2000;
private static final int MAX_CONNECT_ATTEMPTS = 3;
// Wait 4 seconds for response, before giving up on javac server.
private static final int CONNECTION_TIMEOUT = 4000;
private static final int MAX_CONNECT_ATTEMPTS = 10;
private static final int WAIT_BETWEEN_CONNECT_ATTEMPTS = 2000;
private final ClientConfiguration conf;
@@ -130,7 +130,7 @@ public class Client {
Log.error("Connection attempt failed: " + ex.getMessage());
if (attempt >= MAX_CONNECT_ATTEMPTS) {
Log.error("Giving up");
throw new IOException("Could not connect to server", ex);
throw new IOException("Could not connect to server after " + MAX_CONNECT_ATTEMPTS + " attempts with timeout " + CONNECTION_TIMEOUT, ex);
}
}
Thread.sleep(WAIT_BETWEEN_CONNECT_ATTEMPTS);

View File

@@ -35,6 +35,7 @@ include gensrc/GensrcExceptions.gmk
include gensrc/GensrcVarHandles.gmk
include gensrc/GensrcModuleLoaderMap.gmk
include gensrc/GensrcScopedMemoryAccess.gmk
include gensrc/GensrcRegex.gmk
# GensrcLocaleData.gmk does not set TARGETS, so we must choose which targets
# to include.

View File

@@ -23,7 +23,7 @@
# questions.
#
DISABLED_WARNINGS_java += this-escape
DISABLED_WARNINGS_java += this-escape restricted
DOCLINT += -Xdoclint:all/protected \
'-Xdoclint/package:java.*,javax.*'

View File

@@ -52,7 +52,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
DISABLED_WARNINGS_microsoft_ResolverConfigurationImpl.c := 4996, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll, \
LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll \
-delayload:winhttp.dll, \
LIBS_unix := -ljvm -ljava, \
LIBS_linux := $(LIBDL), \
LIBS_aix := $(LIBDL),\
@@ -233,3 +234,23 @@ ifeq ($(ENABLE_FALLBACK_LINKER), true)
TARGETS += $(BUILD_LIBFALLBACKLINKER)
endif
################################################################################
ifeq ($(call isTargetOs, linux)+$(call isTargetCpu, x86_64)+$(INCLUDE_COMPILER2)+$(filter $(TOOLCHAIN_TYPE), gcc), true+true+true+gcc)
$(eval $(call SetupJdkLibrary, BUILD_LIB_SIMD_SORT, \
NAME := simdsort, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
OPTIMIZATION := HIGH, \
CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBCXX), \
LIBS_linux := -lc -lm -ldl, \
))
TARGETS += $(BUILD_LIB_SIMD_SORT)
endif
################################################################################

View File

@@ -0,0 +1,46 @@
#
# Copyright (c) 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
# 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.
#
#
# Rules to create java files under
# $(SUPPORT_OUTPUTDIR)/gensrc/java.base/jdk/internal/util/regex/
#
GENSRC_INDICCONJUNCTBREAK := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/jdk/internal/util/regex/IndicConjunctBreak.java
INDICCONJUNCTBREAKTEMP := $(MODULE_SRC)/share/classes/jdk/internal/util/regex/IndicConjunctBreak.java.template
INDICCONJUNCTBREAKPROPS := $(MODULE_SRC)/share/data/unicodedata/DerivedCoreProperties.txt
INDICCONJUNCTBREAKPARAMS := InCB=Linker InCB=Extend InCB=Consonant
$(GENSRC_INDICCONJUNCTBREAK): $(BUILD_TOOLS_JDK) $(INDICCONJUNCTBREAKTEMP) $(INDICCONJUNCTBREAKPROPS)
$(call LogInfo, Generating $@)
$(call MakeTargetDir)
$(TOOL_GENERATEEXTRAPROPERTIES) \
$(INDICCONJUNCTBREAKTEMP) \
$(INDICCONJUNCTBREAKPROPS) \
$(GENSRC_INDICCONJUNCTBREAK) \
$(INDICCONJUNCTBREAKPARAMS)
TARGETS += $(GENSRC_INDICCONJUNCTBREAK)

View File

@@ -64,7 +64,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_macosx := -L$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/, \
LDFLAGS_windows := -delayload:shell32.dll, \
LIBS_unix := -ljvm, \
LIBS_linux := $(LIBDL), \
LIBS_aix := $(LIBDL) $(LIBM),\
@@ -72,7 +71,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
-framework Foundation \
-framework SystemConfiguration, \
LIBS_windows := jvm.lib \
shell32.lib delayimp.lib \
shell32.lib ole32.lib \
advapi32.lib version.lib, \
))

View File

@@ -493,13 +493,23 @@ else
endif
# hb-ft.cc is not presently needed, and requires freetype 2.4.2 or later.
LIBFONTMANAGER_EXCLUDE_FILES += libharfbuzz/hb-ft.cc
# hb-subset and hb-style APIs are not needed, excluded to cut on compilation time.
LIBFONTMANAGER_EXCLUDE_FILES += hb-ft.cc hb-subset-cff-common.cc \
hb-subset-cff1.cc hb-subset-cff2.cc hb-subset-input.cc hb-subset-plan.cc \
hb-subset.cc hb-subset-instancer-solver.cc gsubgpos-context.cc hb-style.cc
# list of disabled warnings and the compilers for which it was specifically added.
# array-bounds -> GCC 12 on Alpine Linux
# parentheses -> GCC 6
# range-loop-analysis -> clang on Xcode12
HARFBUZZ_DISABLED_WARNINGS_gcc := missing-field-initializers strict-aliasing \
unused-result array-bounds parentheses
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
# expansion-to-defined required for GCC 9 builds. Not required for GCC 10+.
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type expansion-to-defined dangling-reference
# maybe-uninitialized required for GCC 8 builds. Not required for GCC 9+.
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type \
expansion-to-defined dangling-reference maybe-uninitialized
HARFBUZZ_DISABLED_WARNINGS_clang := missing-field-initializers range-loop-analysis
HARFBUZZ_DISABLED_WARNINGS_microsoft := 4267 4244
@@ -919,19 +929,6 @@ endif
################################################################################
# MACOSX_METAL_VERSION_MIN specifies the lowest version of Macosx
# that should be used to compile Metal shaders. We support Metal
# pipeline only on Macosx >=10.14. For Macosx versions <10.14 even if
# we enable Metal pipeline using -Dsun.java2d.metal=true, at
# runtime we force it to use OpenGL pipeline. And MACOSX_VERSION_MIN
# for aarch64 has always been >10.14 so we use continue to use
# MACOSX_VERSION_MIN for aarch64.
ifeq ($(OPENJDK_TARGET_CPU_ARCH), xaarch64)
MACOSX_METAL_VERSION_MIN=$(MACOSX_VERSION_MIN)
else
MACOSX_METAL_VERSION_MIN=10.14.0
endif
ifeq ($(call isTargetOs, macosx), true)
SHADERS_SRC := $(TOPDIR)/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/shaders.metal
SHADERS_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/native/java.desktop/libosxui
@@ -944,7 +941,7 @@ ifeq ($(call isTargetOs, macosx), true)
OUTPUT_FILE := $(SHADERS_AIR), \
SUPPORT_DIR := $(SHADERS_SUPPORT_DIR), \
COMMAND := $(METAL) -c -std=osx-metal2.0 \
-mmacosx-version-min=$(MACOSX_METAL_VERSION_MIN) \
-mmacosx-version-min=$(MACOSX_VERSION_MIN) \
-o $(SHADERS_AIR) $(SHADERS_SRC), \
))

View File

@@ -0,0 +1,26 @@
#
# Copyright (c) 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
# 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.
#
JMOD_FLAGS_main_class := --main-class sun.net.httpserver.simpleserver.Main

View File

@@ -1,10 +1,12 @@
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# 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
@@ -21,4 +23,4 @@
# questions.
#
exclusiveAccess.dirs=.
JMOD_FLAGS_main_class := --main-class sun.tools.jar.Main

View File

@@ -0,0 +1,47 @@
#
# Copyright (c) 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
# 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.
#
include CopyCommon.gmk
JDK_JAVADOC_DIR := $(JDK_OUTPUTDIR)/modules/jdk.javadoc
JDK_JAVADOC_DOCLET_RESOURCE_DIR := $(JDK_JAVADOC_DIR)/jdk/javadoc/internal/doclets/formats/html/resources
################################################################################
$(eval $(call SetupCopyFiles, COPY_JAVADOC_MODULE_LEGAL_RESOURCES, \
DEST := $(JDK_JAVADOC_DOCLET_RESOURCE_DIR)/legal, \
FILES := $(wildcard $(MODULE_SRC)/share/legal/*.md), \
))
TARGETS += $(COPY_JAVADOC_MODULE_LEGAL_RESOURCES)
################################################################################
$(eval $(call SetupCopyFiles, COPY_JAVADOC_COMMON_LEGAL_RESOURCES, \
DEST := $(JDK_JAVADOC_DOCLET_RESOURCE_DIR)/legal, \
FILES := $(wildcard $(COMMON_LEGAL_DST_DIR)/*), \
))
TARGETS += $(COPY_JAVADOC_COMMON_LEGAL_RESOURCES)
################################################################################

View File

@@ -1,10 +1,12 @@
#
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# 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
@@ -20,4 +22,5 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
exclusiveAccess.dirs=.
JMOD_FLAGS_main_class := --main-class jdk.jfr.internal.tool.Main

View File

@@ -1,10 +1,12 @@
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# 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
@@ -21,4 +23,4 @@
# questions.
#
exclusiveAccess.dirs=.
JMOD_FLAGS_main_class := --main-class jdk.jpackage.main.Main

View File

@@ -0,0 +1,26 @@
#
# Copyright (c) 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
# 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.
#
JMOD_FLAGS_main_class := --main-class jdk.internal.jshell.tool.JShellToolProvider

View File

@@ -1,10 +1,12 @@
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# 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
@@ -21,4 +23,4 @@
# questions.
#
exclusiveAccess.dirs=.
JMOD_FLAGS_main_class := --main-class sun.tools.jstatd.Jstatd

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
@@ -36,6 +36,7 @@ TARGETS += $(GENSRC_LOCALEDATA)
CLDR_DATA_DIR := $(TOPDIR)/make/data/cldr/common
GENSRC_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.localedata
CLDR_GEN_DONE := $(GENSRC_DIR)/_cldr-gensrc.marker
TZ_DATA_DIR := $(TOPDIR)/src/java.base/share/data/tzdata
$(CLDR_GEN_DONE): $(wildcard $(CLDR_DATA_DIR)/dtd/*.dtd) \
$(wildcard $(CLDR_DATA_DIR)/main/*.xml) \
@@ -47,7 +48,8 @@ $(CLDR_GEN_DONE): $(wildcard $(CLDR_DATA_DIR)/dtd/*.dtd) \
$(TOOL_CLDRCONVERTER) -base $(CLDR_DATA_DIR) \
-baselocales "en-US" \
-year $(COPYRIGHT_YEAR) \
-o $(GENSRC_DIR))
-o $(GENSRC_DIR) \
-tzdatadir $(TZ_DATA_DIR))
$(TOUCH) $@
TARGETS += $(CLDR_GEN_DONE)

View File

@@ -49,8 +49,8 @@ elif [ "$OPENJDK_TARGET_OS" = "windows" ]; then
SKIP_BIN_DIFF="true"
SKIP_FULLDUMP_DIFF="true"
ACCEPTED_JARZIP_CONTENTS="
/modules_libs/java.security.jgss/w2k_lsa_auth.pdb
/modules_libs/java.security.jgss/w2k_lsa_auth.map
/modules_libs/java.security.jgss/w2k_lsa_auth.dll.pdb
/modules_libs/java.security.jgss/w2k_lsa_auth.dll.map
/modules_libs/java.security.jgss/w2k_lsa_auth.dll
"
elif [ "$OPENJDK_TARGET_OS" = "macosx" ]; then

View File

@@ -326,7 +326,9 @@ function convert_path() {
suffix="${BASH_REMATCH[6]}"
# We only believe this is a path if the first part is an existing directory
if [[ -d "/$firstdir" ]]; then
# and the prefix is not a subdirectory in the current working directory. Remove
# any part leading up to a : or = in the prefix before checking.
if [[ -d "/$firstdir" && ! -d "${prefix##*:}" && ! -d "${prefix##*=}" ]]; then
if [[ $ENVROOT == "" ]]; then
if [[ $QUIET != true ]]; then
echo fixpath: failure: Path "'"$pathmatch"'" cannot be converted to Windows path >&2

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
@@ -84,14 +84,16 @@ $(eval $(call SetupJavaCompilation, BUILD_INDIFY, \
#### Compile Targets
# Building microbenchmark requires the jdk.unsupported and java.management modules.
# sun.security.util is required to compile Cache benchmark
# sun.security.util is required to compile Cache benchmark.
# jmh uses annotation processors to generate the benchmark jar and thus
# requires the use of -processor option during benchmark compilation.
# Build microbenchmark suite for the current JDK
$(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
SMALL_JAVA := false, \
CLASSPATH := $(MICROBENCHMARK_CLASSPATH), \
DISABLED_WARNINGS := this-escape processing rawtypes cast serial preview, \
DISABLED_WARNINGS := restricted this-escape processing rawtypes cast serial preview, \
SRC := $(MICROBENCHMARK_SRC), \
BIN := $(MICROBENCHMARK_CLASSES), \
JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED \
@@ -105,7 +107,11 @@ $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
--add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
--add-exports java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \
--add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
--enable-preview, \
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED \
--add-exports java.base/jdk.internal.event=ALL-UNNAMED \
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
--enable-preview \
-processor org.openjdk.jmh.generators.BenchmarkProcessor, \
JAVA_FLAGS := --add-modules jdk.unsupported --limit-modules java.management \
--add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
--enable-preview, \
@@ -155,10 +161,10 @@ $(eval $(call SetupTestFilesCompilation, BUILD_MICROBENCHMARK_LIBRARIES, \
# Setup copy of native dependencies to image output dir
$(eval $(call SetupCopyFiles, COPY_MICROBENCHMARK_NATIVE, \
SRC := $(MICROBENCHMARK_NATIVE_OUTPUT), \
SRC := $(MICROBENCHMARK_NATIVE_OUTPUT)/lib, \
DEST := $(MICROBENCHMARK_IMAGE_DIR)/native, \
FILES := $(BUILD_MICROBENCHMARK_LIBRARIES), \
FLATTEN := true, \
FILES := $(filter $(MICROBENCHMARK_NATIVE_OUTPUT)/lib/%, \
$(BUILD_MICROBENCHMARK_LIBRARIES)), \
))
all: $(MICROBENCHMARK_JAR) $(BUILD_MICROBENCHMARK_LIBRARIES) $(COPY_MICROBENCHMARK_NATIVE)

View File

@@ -851,6 +851,7 @@ ifeq ($(call isTargetOs, linux), true)
BUILD_TEST_exeinvoke_exeinvoke.c_OPTIMIZATION := NONE
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeFPRegs := -ldl
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libAsyncGetCallTraceTest := -ldl
BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libfast-math := -ffast-math
else
BUILD_HOTSPOT_JTREG_EXCLUDE += libtest-rw.c libtest-rwx.c \
exeinvoke.c exestack-gap.c exestack-tls.c libAsyncGetCallTraceTest.cpp
@@ -863,7 +864,6 @@ ifeq ($(call isTargetOs, windows), true)
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libCompleteExit.c libTestPsig.c exeGetCreatedJavaVMs.c
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit := jvm.lib
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack := jvm.lib
BUILD_HOTSPOT_JTREG_LIBRARIES_COPY_DEBUG_SYMBOLS_libnativeStack := true
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := jvm.lib
else
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := -ljvm
@@ -1505,6 +1505,8 @@ else
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libCompleteExit += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack += -lpthread
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeGetCreatedJavaVMs := -ljvm -lpthread
BUILD_HOTSPOT_JTREG_EXCLUDE += libNativeException.c
endif
ifeq ($(ASAN_ENABLED), true)

View File

@@ -32,5 +32,5 @@
# Resource strings for CodePointIM
#
warning=Diese Demoeingabemethode kann nicht direkt als Anwendung ausgef\u00FChrt werden.\nIn der Datei README.html in diesem Verzeichnis erfahren Sie, wie Sie diese \nEingabemethode verwenden.
warning=Diese Demoeingabemethode kann nicht direkt als Anwendung ausgeführt werden.\nIn der Datei README.html in diesem Verzeichnis erfahren Sie, wie Sie diese \nEingabemethode verwenden.

View File

@@ -32,5 +32,5 @@
# Resource strings for CodePointIM
#
warning=\u3053\u308C\u306F\u30C7\u30E2\u7528\u306E\u5165\u529B\u30E1\u30BD\u30C3\u30C9\u3067\u3059\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3068\u3057\u3066\u5358\u4F53\u3067\u5B9F\u884C\u3059\u308B\n\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u3053\u306E\u5165\u529B\u30E1\u30BD\u30C3\u30C9\u306E\u4F7F\u7528\u65B9\u6CD5\u306B\u3064\u3044\u3066\u306F\u3001\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\n\u306B\u3042\u308BREADME.html\u3092\u3054\u89A7\u304F\u3060\u3055\u3044\u3002
warning=これはデモ用の入力メソッドです。アプリケーションとして単体で実行する\nことはできません。この入力メソッドの使用方法については、このディレクトリ\nにあるREADME.htmlをご覧ください。

View File

@@ -32,5 +32,5 @@
# Resource strings for CodePointIM
#
warning=\u8FD9\u662F\u6F14\u793A\u8F93\u5165\u6CD5; \u4E0D\u80FD\u5C06\u5176\u76F4\u63A5\u4F5C\u4E3A\u5E94\u7528\u7A0B\u5E8F\u6765\u8FD0\u884C\u3002\n\u8BF7\u9605\u8BFB\u6B64\u76EE\u5F55\u4E2D\u7684 README.html \u6587\u4EF6\u4EE5\u4E86\u89E3\u5982\u4F55\u4F7F\u7528\n\u6B64\u8F93\u5165\u6CD5\u3002
warning=这是演示输入法; 不能将其直接作为应用程序来运行。\n请阅读此目录中的 README.html 文件以了解如何使用\n此输入法。

View File

@@ -45,7 +45,7 @@ ElementTreeFrameTitle=Elemente
# exit -> Notepad.exitAction
fileLabel=Datei
openLabel=\u00D6ffnen
openLabel=Öffnen
openImage=resources/open.gif
newLabel=Neu
newImage=resources/new.gif
@@ -65,9 +65,9 @@ cutLabel=Ausschneiden
cutImage=resources/cut.gif
copyLabel=Kopieren
copyImage=resources/copy.gif
pasteLabel=Einf\u00FCgen
pasteLabel=Einfügen
pasteImage=resources/paste.gif
undoLabel=R\u00FCckg\u00E4ngig
undoLabel=Rückgängig
redoLabel=Wiederherstellen
#
@@ -86,8 +86,8 @@ showElementTreeLabel=Elemente anzeigen
# with the menu items.
newTooltip=Neue Datei erstellen
openTooltip=Datei \u00F6ffnen
openTooltip=Datei öffnen
saveTooltip=In Datei speichern
cutTooltip=Auswahl in Zwischenablage verschieben
copyTooltip=Auswahl in Zwischenablage kopieren
pasteTooltip=Zwischenablage in Auswahl einf\u00FCgen
pasteTooltip=Zwischenablage in Auswahl einfügen

View File

@@ -31,8 +31,8 @@
#
# Resource strings for Notepad example
Title=\u30E1\u30E2\u5E33
ElementTreeFrameTitle=\u8981\u7D20
Title=メモ帳
ElementTreeFrameTitle=要素
# file Menu definition
#
@@ -44,14 +44,14 @@ ElementTreeFrameTitle=\u8981\u7D20
# save -> Notepad.saveAction
# exit -> Notepad.exitAction
fileLabel=\u30D5\u30A1\u30A4\u30EB
openLabel=\u958B\u304F
fileLabel=ファイル
openLabel=開く
openImage=resources/open.gif
newLabel=\u65B0\u898F
newLabel=新規
newImage=resources/new.gif
saveLabel=\u4FDD\u5B58
saveLabel=保存
saveImage=resources/save.gif
exitLabel=\u7D42\u4E86
exitLabel=終了
#
# edit Menu definition
@@ -60,23 +60,23 @@ exitLabel=\u7D42\u4E86
# copy -> JTextComponent.copyAction
# paste -> JTextComponent.pasteAction
editLabel=\u7DE8\u96C6
cutLabel=\u5207\u53D6\u308A
editLabel=編集
cutLabel=切取り
cutImage=resources/cut.gif
copyLabel=\u30B3\u30D4\u30FC
copyLabel=コピー
copyImage=resources/copy.gif
pasteLabel=\u8CBC\u4ED8\u3051
pasteLabel=貼付け
pasteImage=resources/paste.gif
undoLabel=\u5143\u306B\u623B\u3059
redoLabel=\u518D\u5B9F\u884C
undoLabel=元に戻す
redoLabel=再実行
#
# debug Menu definition
#
debugLabel=\u30C7\u30D0\u30C3\u30B0
dumpLabel=\u30E2\u30C7\u30EB\u3092System.err\u306B\u30C0\u30F3\u30D7
showElementTreeLabel=\u8981\u7D20\u306E\u8868\u793A
debugLabel=デバッグ
dumpLabel=モデルをSystem.errにダンプ
showElementTreeLabel=要素の表示
# toolbar definition
#
@@ -85,9 +85,9 @@ showElementTreeLabel=\u8981\u7D20\u306E\u8868\u793A
# are of course sharable, and in this case are shared
# with the menu items.
newTooltip=\u30D5\u30A1\u30A4\u30EB\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B
openTooltip=\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u304F
saveTooltip=\u30D5\u30A1\u30A4\u30EB\u306B\u4FDD\u5B58
cutTooltip=\u9078\u629E\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u79FB\u52D5
copyTooltip=\u9078\u629E\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC
pasteTooltip=\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3092\u9078\u629E\u306B\u8CBC\u4ED8\u3051
newTooltip=ファイルを新規作成する
openTooltip=ファイルを開く
saveTooltip=ファイルに保存
cutTooltip=選択をクリップボードに移動
copyTooltip=選択をクリップボードにコピー
pasteTooltip=クリップボードを選択に貼付け

View File

@@ -31,8 +31,8 @@
#
# Resource strings for Notepad example
Title=\u8BB0\u4E8B\u672C
ElementTreeFrameTitle=\u5143\u7D20
Title=记事本
ElementTreeFrameTitle=元素
# file Menu definition
#
@@ -44,14 +44,14 @@ ElementTreeFrameTitle=\u5143\u7D20
# save -> Notepad.saveAction
# exit -> Notepad.exitAction
fileLabel=\u6587\u4EF6
openLabel=\u6253\u5F00
fileLabel=文件
openLabel=打开
openImage=resources/open.gif
newLabel=\u65B0\u5EFA
newLabel=新建
newImage=resources/new.gif
saveLabel=\u4FDD\u5B58
saveLabel=保存
saveImage=resources/save.gif
exitLabel=\u9000\u51FA
exitLabel=退出
#
# edit Menu definition
@@ -60,23 +60,23 @@ exitLabel=\u9000\u51FA
# copy -> JTextComponent.copyAction
# paste -> JTextComponent.pasteAction
editLabel=\u7F16\u8F91
cutLabel=\u526A\u5207
editLabel=编辑
cutLabel=剪切
cutImage=resources/cut.gif
copyLabel=\u590D\u5236
copyLabel=复制
copyImage=resources/copy.gif
pasteLabel=\u7C98\u8D34
pasteLabel=粘贴
pasteImage=resources/paste.gif
undoLabel=\u64A4\u6D88
redoLabel=\u91CD\u505A
undoLabel=撤消
redoLabel=重做
#
# debug Menu definition
#
debugLabel=\u8C03\u8BD5
dumpLabel=\u5C06\u6A21\u578B\u8F6C\u50A8\u5230 System.err
showElementTreeLabel=\u663E\u793A\u5143\u7D20
debugLabel=调试
dumpLabel=将模型转储到 System.err
showElementTreeLabel=显示元素
# toolbar definition
#
@@ -85,9 +85,9 @@ showElementTreeLabel=\u663E\u793A\u5143\u7D20
# are of course sharable, and in this case are shared
# with the menu items.
newTooltip=\u521B\u5EFA\u65B0\u6587\u4EF6
openTooltip=\u6253\u5F00\u6587\u4EF6
saveTooltip=\u4FDD\u5B58\u6587\u4EF6
cutTooltip=\u526A\u5207\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D
copyTooltip=\u590D\u5236\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D
pasteTooltip=\u7C98\u8D34\u9009\u5B9A\u5185\u5BB9\u5230\u526A\u5E16\u677F\u4E2D
newTooltip=创建新文件
openTooltip=打开文件
saveTooltip=保存文件
cutTooltip=剪切选定内容到剪帖板中
copyTooltip=复制选定内容到剪帖板中
pasteTooltip=粘贴选定内容到剪帖板中

View File

@@ -36,7 +36,7 @@ Title=Stylepad
# Menu labels
colorLabel=Farbe
Red=Rot
Green=Gr\u00FCn
Green=Grün
Blue=Blau
boldLabel=Fett
@@ -75,11 +75,11 @@ underlineImage=resources/underline.gif
underlineTooltip=Unterstrichen
foregroundImage=resources/fg.gif
leftImage=resources/left.gif
leftTooltip=Linksb\u00FCndig
leftTooltip=Linksbündig
centerImage=resources/center.gif
centerTooltip=Zentriert
rightImage=resources/right.gif
rightTooltip=Rechtsb\u00FCndig
rightTooltip=Rechtsbündig
bulletsImage=resources/bullets.gif
# wonderland example images

View File

@@ -31,22 +31,22 @@
#
# Resource strings for Stylepad example
Title=\u30B9\u30BF\u30A4\u30EB\u30D1\u30C3\u30C9
Title=スタイルパッド
# Menu labels
colorLabel=\u30AB\u30E9\u30FC
Red=\u8D64
Green=\u7DD1
Blue=\u9752
colorLabel=カラー
Red=
Green=
Blue=
boldLabel=\u592A\u5B57
italicLabel=\u30A4\u30BF\u30EA\u30C3\u30AF
boldLabel=太字
italicLabel=イタリック
# font menu
fontLabel=\u30D5\u30A9\u30F3\u30C8
fontLabel=フォント
family1Label=SansSerif
family2Label=\u30E2\u30CE\u30B9\u30DA\u30FC\u30B9
family2Label=モノスペース
family3Label=Serif
family4Label=Lucida Sans
size1Label=10
@@ -54,32 +54,32 @@ size2Label=12
size3Label=18
size4Label=24
size5Label=48
boldLabel=\u592A\u5B57
italicLabel=\u30A4\u30BF\u30EA\u30C3\u30AF
underlineLabel=\u4E0B\u7DDA
boldLabel=太字
italicLabel=イタリック
underlineLabel=下線
#
# debug Menu definition
#
debugLabel=\u30C7\u30D0\u30C3\u30B0
dumpLabel=\u30E2\u30C7\u30EB\u3092System.err\u306B\u30C0\u30F3\u30D7
showElementTreeLabel=\u8981\u7D20\u306E\u8868\u793A
debugLabel=デバッグ
dumpLabel=モデルをSystem.errにダンプ
showElementTreeLabel=要素の表示
# toolbar definition
boldImage=resources/bold.gif
boldTooltip=\u592A\u5B57
boldTooltip=太字
italicImage=resources/italic.gif
italicTooltip=\u30A4\u30BF\u30EA\u30C3\u30AF
italicTooltip=イタリック
underlineImage=resources/underline.gif
underlineTooltip=\u4E0B\u7DDA
underlineTooltip=下線
foregroundImage=resources/fg.gif
leftImage=resources/left.gif
leftTooltip=\u5DE6\u63C3\u3048
leftTooltip=左揃え
centerImage=resources/center.gif
centerTooltip=\u4E2D\u592E\u63C3\u3048
centerTooltip=中央揃え
rightImage=resources/right.gif
rightTooltip=\u53F3\u63C3\u3048
rightTooltip=右揃え
bulletsImage=resources/bullets.gif
# wonderland example images

View File

@@ -34,17 +34,17 @@
Title=StylePad
# Menu labels
colorLabel=\u989C\u8272
Red=\u7EA2\u8272
Green=\u7EFF\u8272
Blue=\u84DD\u8272
colorLabel=颜色
Red=红色
Green=绿色
Blue=蓝色
boldLabel=\u7C97\u4F53
italicLabel=\u659C\u4F53
boldLabel=粗体
italicLabel=斜体
# font menu
fontLabel=\u5B57\u4F53
fontLabel=字体
family1Label=SansSerif
family2Label=Monospaced
family3Label=Serif
@@ -54,32 +54,32 @@ size2Label=12
size3Label=18
size4Label=24
size5Label=48
boldLabel=\u7C97\u4F53
italicLabel=\u659C\u4F53
underlineLabel=\u4E0B\u5212\u7EBF
boldLabel=粗体
italicLabel=斜体
underlineLabel=下划线
#
# debug Menu definition
#
debugLabel=\u8C03\u8BD5
dumpLabel=\u5C06\u6A21\u578B\u8F6C\u50A8\u5230 System.err
showElementTreeLabel=\u663E\u793A\u5143\u7D20
debugLabel=调试
dumpLabel=将模型转储到 System.err
showElementTreeLabel=显示元素
# toolbar definition
boldImage=resources/bold.gif
boldTooltip=\u7C97\u4F53
boldTooltip=粗体
italicImage=resources/italic.gif
italicTooltip=\u659C\u4F53
italicTooltip=斜体
underlineImage=resources/underline.gif
underlineTooltip=\u4E0B\u5212\u7EBF
underlineTooltip=下划线
foregroundImage=resources/fg.gif
leftImage=resources/left.gif
leftTooltip=\u5DE6\u5BF9\u9F50
leftTooltip=左对齐
centerImage=resources/center.gif
centerTooltip=\u4E2D\u95F4\u5BF9\u9F50
centerTooltip=中间对齐
rightImage=resources/right.gif
rightTooltip=\u53F3\u5BF9\u9F50
rightTooltip=右对齐
bulletsImage=resources/bullets.gif
# wonderland example images

View File

@@ -49,11 +49,11 @@ SourceCode.loading=<html><body bgcolor="#ffffff">Quellcode wird geladen und form
### Status ###
Status.loading=Wird geladen:
Status.popupMenuAccessible=Dr\u00FCcken Sie Umschalt-F10, um das Popup-Men\u00FC zu aktivieren
Status.popupMenuAccessible=Drücken Sie Umschalt-F10, um das Popup-Menü zu aktivieren
### Menu Bar ###
MenuBar.accessible_description=Men\u00FCleiste der Swing-Demo
MenuBar.accessible_description=Menüleiste der Swing-Demo
### Frame ###
@@ -64,13 +64,13 @@ Frame.title=SwingSet2
### Tabbed Pane ###
TabbedPane.src.labelAndMnemonic=Quellcode
TabbedPane.src_tooltip=Quellcode f\u00FCr diese Demo anzeigen
TabbedPane.src_tooltip=Quellcode für diese Demo anzeigen
### Look & Feel Menu ###
LafMenu.laf.labelAndMnemonic=&Look-and-Feel
LafMenu.laf_accessible_description=Men\u00FC, \u00FCber das Sie das Look-and-Feel wechseln k\u00F6nnen
LafMenu.laf_accessible_description=Menü, über das Sie das Look-and-Feel wechseln können
LafMenu.java.labelAndMnemonic=&Java-Look-and-Feel
LafMenu.java_accessible_description=Das Java-Look-and-Feel
@@ -94,10 +94,10 @@ LafMenu.gtk_accessible_description=GTK-Look-and-Feel
### Themes Menu ###
ThemesMenu.themes.labelAndMnemonic=&Themes
ThemesMenu.themes_accessible_description=Men\u00FC zum Wechseln der Metal-Farb-Themes
ThemesMenu.themes_accessible_description=Menü zum Wechseln der Metal-Farb-Themes
ThemesMenu.aqua.labelAndMnemonic=A&qua
ThemesMenu.aqua_accessible_description=Ein Metal-Theme mit blau-gr\u00FCnen Farben
ThemesMenu.aqua_accessible_description=Ein Metal-Theme mit blau-grünen Farben
ThemesMenu.charcoal.labelAndMnemonic=&Anthrazit
ThemesMenu.charcoal_accessible_description=Ein Metal-Theme mit dunkelgrauen Farben
@@ -111,8 +111,8 @@ ThemesMenu.ocean_accessible_description=Das Metal-Theme "Ozean"
ThemesMenu.steel.labelAndMnemonic=&Stahl
ThemesMenu.steel_accessible_description=Das blaue/violette Metal-Theme
ThemesMenu.emerald.labelAndMnemonic=&Smaragdgr\u00FCn
ThemesMenu.emerald_accessible_description=Ein Metal-Theme mit gr\u00FCnen Farben
ThemesMenu.emerald.labelAndMnemonic=&Smaragdgrün
ThemesMenu.emerald_accessible_description=Ein Metal-Theme mit grünen Farben
ThemesMenu.ruby.labelAndMnemonic=&Rubinrot
ThemesMenu.ruby_accessible_description=Ein Metal-Theme mit roten Farben
@@ -120,33 +120,33 @@ ThemesMenu.ruby_accessible_description=Ein Metal-Theme mit roten Farben
### Font SubMenu (under Themes)
FontMenu.fonts.labelAndMnemonic=Schri&ftarten
FontMenu.fonts_accessible_description=Men\u00FC, in dem Sie Schriftarten f\u00FCr das Java-Look-and-Feel ausw\u00E4hlen
FontMenu.fonts_accessible_description=Menü, in dem Sie Schriftarten für das Java-Look-and-Feel auswählen
FontMenu.bold.labelAndMnemonic=&Fett
FontMenu.bold_accessible_description=Deaktiviert fettgedruckte Schriftarten f\u00FCr das Java-Look-and-Feel
FontMenu.bold_accessible_description=Deaktiviert fettgedruckte Schriftarten für das Java-Look-and-Feel
FontMenu.plain.labelAndMnemonic=&Normal
FontMenu.plain_accessible_description=Deaktiviert normale Schriftarten f\u00FCr das Java-Look-and-Feel
FontMenu.plain_accessible_description=Deaktiviert normale Schriftarten für das Java-Look-and-Feel
### Audio SubMenu (under Themes) ###
AudioMenu.audio.labelAndMnemonic=&Audio
AudioMenu.audio_accessible_description=Men\u00FC, in dem Sie die verf\u00FCgbare Audio-Feedbackmenge im Java-Look-and-Feel \u00E4ndern
AudioMenu.audio_accessible_description=Menü, in dem Sie die verfügbare Audio-Feedbackmenge im Java-Look-and-Feel ändern
AudioMenu.on.labelAndMnemonic=&Ein
AudioMenu.on_accessible_description=Aktiviert das gesamte Audiofeedback f\u00FCr das Java-Look-and-Feel
AudioMenu.on_accessible_description=Aktiviert das gesamte Audiofeedback für das Java-Look-and-Feel
AudioMenu.default.labelAndMnemonic=Stan&dard
AudioMenu.default_accessible_description=Aktiviert die standardm\u00E4\u00DFige Audio-Feedbackmenge f\u00FCr das Java-Look-and-Feel
AudioMenu.default_accessible_description=Aktiviert die standardmäßige Audio-Feedbackmenge für das Java-Look-and-Feel
AudioMenu.off.labelAndMnemonic=A&us
AudioMenu.off_accessible_description=Deaktiviert das gesamte Audiofeedback f\u00FCr das Java-Look-and-Feel
AudioMenu.off_accessible_description=Deaktiviert das gesamte Audiofeedback für das Java-Look-and-Feel
### Options Menu ###
OptionsMenu.options.labelAndMnemonic=O&ptionen
OptionsMenu.options_accessible_description=Men\u00FC mit anderen Optionen
OptionsMenu.options_accessible_description=Menü mit anderen Optionen
OptionsMenu.tooltip.labelAndMnemonic=QuickInfo ak&tivieren
OptionsMenu.tooltip_accessible_description=QuickInfo aktivieren oder deaktivieren
@@ -157,21 +157,21 @@ OptionsMenu.dragEnabled_accessible_description=Drag-und-Drop aktivieren oder dea
### File Menu ###
FileMenu.file.labelAndMnemonic=Dat&ei
FileMenu.accessible_description=Men\u00FC "Datei"
FileMenu.accessible_description=Menü "Datei"
FileMenu.about.labelAndMnemonic=&Info
FileMenu.about_accessible_description=Weitere Informationen zur SwingSet2-Anwendung
FileMenu.open.labelAndMnemonic=\u00D6&ffnen
FileMenu.open_accessible_description=Platzhaltermen\u00FCoption zum \u00D6ffnen einer Datei
FileMenu.open.labelAndMnemonic=Ö&ffnen
FileMenu.open_accessible_description=Platzhaltermenüoption zum Öffnen einer Datei
FileMenu.save.labelAndMnemonic=&Speichern
FileMenu.save_accessible_description=Platzhaltermen\u00FCoption zum Speichern einer Datei
FileMenu.save_accessible_description=Platzhaltermenüoption zum Speichern einer Datei
FileMenu.save_as.labelAndMnemonic=Speichern &unter...
FileMenu.save_as_accessible_description=Platzhaltermen\u00FCoption zum Speichern einer Datei mit einem neuen Namen
FileMenu.save_as_accessible_description=Platzhaltermenüoption zum Speichern einer Datei mit einem neuen Namen
FileMenu.exit.labelAndMnemonic=B&eenden
FileMenu.exit_accessible_description=SwingSet2-Anwendung beenden
### Multi-Screen menu ###
MultiMenu.multi.labelAndMnemonic=&Multiscreen
MultiMenu.multi_accessible_description=Multiscreen-Men\u00FC
MultiMenu.multi_accessible_description=Multiscreen-Menü
MultiMenu.all.labelAndMnemonic=SwingSet2 &auf allen Bildschirmen erstellen
MultiMenu.all_accessible_description=SwingSet2-Fenster auf jedem Bildschirm erstellen
MultiMenu.single.labelAndMnemonic=SwingSet2 auf Bildschirm erstellen
@@ -184,23 +184,23 @@ MultiMenu.single_accessible_description=SwingSet2-Fenster auf Bildschirm erstell
### Button Demo ###
ButtonDemo.accessible_description=Die ButtonDemo zeigt Beispiele f\u00FCr die Verwendung von JButton, JRadioButton, JToggleButton und JCheckBox
ButtonDemo.tooltip=Demos f\u00FCr JButton, JRadioButton, JToggleButton, JCheckbox
ButtonDemo.name=Schaltfl\u00E4chendemo
ButtonDemo.accessible_description=Die ButtonDemo zeigt Beispiele für die Verwendung von JButton, JRadioButton, JToggleButton und JCheckBox
ButtonDemo.tooltip=Demos für JButton, JRadioButton, JToggleButton, JCheckbox
ButtonDemo.name=Schaltflächendemo
ButtonDemo.buttons=Schaltfl\u00E4chen
ButtonDemo.checkboxes=Kontrollk\u00E4stchen
ButtonDemo.buttons=Schaltflächen
ButtonDemo.checkboxes=Kontrollkästchen
ButtonDemo.radiobuttons=Optionsfelder
ButtonDemo.togglebuttons=Umschalt-Schaltfl\u00E4chen
ButtonDemo.togglebuttons=Umschalt-Schaltflächen
ButtonDemo.textbuttons=Textschaltfl\u00E4chen
ButtonDemo.imagebuttons=Bildschaltfl\u00E4chen
ButtonDemo.textbuttons=Textschaltflächen
ButtonDemo.imagebuttons=Bildschaltflächen
ButtonDemo.textradiobuttons=Textoptionsfelder
ButtonDemo.imageradiobuttons=Bildoptionsfelder
ButtonDemo.texttogglebuttons=Text-Umschalt-Schaltfl\u00E4chen
ButtonDemo.imagetogglebuttons=Bild-Umschalt-Schaltfl\u00E4chen
ButtonDemo.textcheckboxes=Textkontrollk\u00E4stchen
ButtonDemo.imagecheckboxes=Bildkontrollk\u00E4stchen
ButtonDemo.texttogglebuttons=Text-Umschalt-Schaltflächen
ButtonDemo.imagetogglebuttons=Bild-Umschalt-Schaltflächen
ButtonDemo.textcheckboxes=Textkontrollkästchen
ButtonDemo.imagecheckboxes=Bildkontrollkästchen
ButtonDemo.button1=Eins
ButtonDemo.button2=Zwei
@@ -217,21 +217,21 @@ ButtonDemo.check3=Drei
ButtonDemo.checkX=<html><font size=2 color=red>Drei<bold>(HTML!)</bold></font></html>
ButtonDemo.customradio=Ein benutzerdefiniertes "Chrome"-Optionsfeld.
ButtonDemo.customcheck=Ein benutzerdefinierbares Gl\u00FChbirnenkontrollk\u00E4stchen.
ButtonDemo.customcheck=Ein benutzerdefinierbares Glühbirnenkontrollkästchen.
ButtonDemo.phone=Telefon
ButtonDemo.write=Schreiben
ButtonDemo.peace=Peace
ButtonDemo.controlpanel.labelAndMnemonic=Anzeigeoptionen:
ButtonDemo.paintborder.labelAndMnemonic=Rahmen f\u00E4r&ben
ButtonDemo.paintborder_tooltip=Klicken Sie hier, um die Rahmenf\u00E4rbung ein- oder auszuschalten.
ButtonDemo.paintfocus.labelAndMnemonic=&Fokus f\u00E4rben
ButtonDemo.paintfocus_tooltip=Klicken Sie hier, um die Fokusf\u00E4rbung ein- oder auszuschalten.
ButtonDemo.paintborder.labelAndMnemonic=Rahmen fär&ben
ButtonDemo.paintborder_tooltip=Klicken Sie hier, um die Rahmenfärbung ein- oder auszuschalten.
ButtonDemo.paintfocus.labelAndMnemonic=&Fokus färben
ButtonDemo.paintfocus_tooltip=Klicken Sie hier, um die Fokusfärbung ein- oder auszuschalten.
ButtonDemo.enabled.labelAndMnemonic=Aktivi&ert
ButtonDemo.enabled_tooltip=Klicken Sie hier, um die Schaltfl\u00E4chen zu aktivieren oder zu deaktivieren.
ButtonDemo.contentfilled.labelAndMnemonic=&Inhalt gef\u00FCllt
ButtonDemo.contentfilled_tooltip=Klicken Sie hier, um die F\u00FCllung des Inhaltsbereichs zu steuern.
ButtonDemo.enabled_tooltip=Klicken Sie hier, um die Schaltflächen zu aktivieren oder zu deaktivieren.
ButtonDemo.contentfilled.labelAndMnemonic=&Inhalt gefüllt
ButtonDemo.contentfilled_tooltip=Klicken Sie hier, um die Füllung des Inhaltsbereichs zu steuern.
ButtonDemo.padamount.labelAndMnemonic=Abstand:
ButtonDemo.default.labelAndMnemonic=Stan&dard
@@ -246,10 +246,10 @@ LayoutControlPanel.contentalignment.labelAndMnemonic=Inhaltsausrichtung:
### ColorChooser Demo ###
ColorChooserDemo.accessible_description=Mit dem ColorChooser k\u00F6nnen Sie eine Farbe \u00FCber eine Palette oder unter RGB- oder HSB-Werten ausw\u00E4hlen
ColorChooserDemo.accessible_description=Mit dem ColorChooser können Sie eine Farbe über eine Palette oder unter RGB- oder HSB-Werten auswählen
ColorChooserDemo.tooltip=JColorChooser-Demo
ColorChooserDemo.name=ColorChooser-Demo
ColorChooserDemo.chooser_title=Farbe w\u00E4hlen
ColorChooserDemo.chooser_title=Farbe wählen
ColorChooserDemo.background=Hintergrund
ColorChooserDemo.grad_a=Farbverlauf 1
ColorChooserDemo.grad_b=Farbverlauf 2
@@ -258,7 +258,7 @@ ColorChooserDemo.cup=Bild der Kaffeetasse der Java-Marke
### ComboBox Demo ###
ComboBoxDemo.accessible_description=Diese Demo zeigt ein Beispiel f\u00FCr die Verwendung der JComboBox-Komponente.
ComboBoxDemo.accessible_description=Diese Demo zeigt ein Beispiel für die Verwendung der JComboBox-Komponente.
ComboBoxDemo.tooltip=JComboBox-Demo
ComboBoxDemo.name=ComboBox-Demo
@@ -300,7 +300,7 @@ ComboBoxDemo.scott=Scott
### FileChooser Demo ###
FileChooserDemo.accessible_description=\u00DCber den FileChooser k\u00F6nnen Benutzer eine Datei zum \u00D6ffnen oder Erstellen/Speichern ausw\u00E4hlen.
FileChooserDemo.accessible_description=Über den FileChooser können Benutzer eine Datei zum Öffnen oder Erstellen/Speichern auswählen.
FileChooserDemo.tooltip=JFileChooser-Demo
FileChooserDemo.name=FileChooser-Demo
@@ -308,18 +308,18 @@ FileChooserDemo.plainbutton=Einfachen JFileChooser anzeigen
FileChooserDemo.previewbutton=Vorschau-JFileChooser anzeigen
FileChooserDemo.custombutton=Benutzerdefinierten JFileChooser anzeigen
FileChooserDemo.description=<html>&&nbsp &&nbsp Beachten Sie, dass Sie ganz einfach Ihren eigenen FileChooser<br> &&nbsp &&nbsp mit beliebig vielen Komponenten erstellen k\u00F6nnen. </html>
FileChooserDemo.description=<html>&&nbsp &&nbsp Beachten Sie, dass Sie ganz einfach Ihren eigenen FileChooser<br> &&nbsp &&nbsp mit beliebig vielen Komponenten erstellen können. </html>
FileChooserDemo.filterdescription=JPEG- und GIF-Bilddateien
FileChooserDemo.nofileselected=W\u00E4hlen Sie zun\u00E4chst eine Datei aus.
FileChooserDemo.nofileselected=Wählen Sie zunächst eine Datei aus.
FileChooserDemo.thefile=die Datei:
FileChooserDemo.isprobably=ist wahrscheinlich ein Bild.
FileChooserDemo.helptext=<html>Suchen: Datei suchen.<br>Info: Weitere Informationen zur Datei.<br>OK: Diese Datei ausw\u00E4hlen.<br>Abbrechen: Dieses Dialogfeld ohne Aktion verlassen.</html>
FileChooserDemo.helptext=<html>Suchen: Datei suchen.<br>Info: Weitere Informationen zur Datei.<br>OK: Diese Datei auswählen.<br>Abbrechen: Dieses Dialogfeld ohne Aktion verlassen.</html>
FileChooserDemo.findquestion=Datei suchen:
FileChooserDemo.findresponse=<html><center>Sie m\u00F6chten wirklich eine Datei suchen? <br>Das ist mit dieser Demo nicht m\u00F6glich.</center></html>
FileChooserDemo.findresponse=<html><center>Sie möchten wirklich eine Datei suchen? <br>Das ist mit dieser Demo nicht möglich.</center></html>
FileChooserDemo.dialogtitle=FileChooser mit benutzerdefiniertem Layout
FileChooserDemo.help=Hilfe
@@ -342,8 +342,8 @@ InternalFrameDemo.accessible_description=JInternal-Framedemo
InternalFrameDemo.create_frames.labelAndMnemonic=Angepasste interne Frames erstellen
InternalFrameDemo.title_text_field.labelAndMnemonic=Frametitel:
InternalFrameDemo.frame.labelAndMnemonic=Frame
InternalFrameDemo.palette.labelAndMnemonic=Generator f\u00FCr interne Frames
InternalFrameDemo.name=Demo f\u00FCr interne Frames
InternalFrameDemo.palette.labelAndMnemonic=Generator für interne Frames
InternalFrameDemo.name=Demo für interne Frames
InternalFrameDemo.tooltip=JInternalFrame-Demo
InternalFrameDemo.closable.labelAndMnemonic=Kann geschlossen werden
InternalFrameDemo.resizable.labelAndMnemonic=Skalierbar
@@ -360,52 +360,52 @@ InternalFrameDemo.cab=Braucht jemand ein Taxi?
ListDemo.accessible_description=JList-Demo
ListDemo.name=Listendemo
ListDemo.tooltip=JList-Demo
ListDemo.prefixes=Pr\u00E4fixe
ListDemo.prefixes=Präfixe
ListDemo.suffixes=Suffixe
ListDemo.count.labelAndMnemonic=Anzahl generierte Listeneintr\u00E4ge:
ListDemo.count.labelAndMnemonic=Anzahl generierte Listeneinträge:
ListDemo.all=Alle
ListDemo.none=Kein Wert
ListDemo.red=Rotes Firmenlogobild
ListDemo.yellow=Rotes Firmenlogobild
ListDemo.blue=Blaues Firmenlogobild
ListDemo.gray=Graues Firmenlogobild
ListDemo.green=Gr\u00FCnes Firmenlogobild
ListDemo.green=Grünes Firmenlogobild
ListDemo.magenta=Firmenlogobild in Magenta
ListDemo.cyan=Firmenlogobild in Zyan
ListDemo.description=<html><P STYLE="margin-left: .25in; margin-right: .25in">Diese Demo zeigt die Pr\u00E4sentation von Datenlisten auf zwei verschiedene Arten. Links steht eine <b>JList</b>-Komponente mit Listenelementen, die aus den Permutationen der aktivierten Pr\u00E4fixe und Suffixe bestehen. Die Kontrollk\u00E4stchenspalten f\u00FCr Pr\u00E4fix und Suffix rechts werden mit einer <b>JPanel</b>-Komponente mit einem Y-Achsen-<b>BoxLayout</b> in einer <b>JScrollPane</b>-Komponente erstellt.</P></html>
ListDemo.description=<html><P STYLE="margin-left: .25in; margin-right: .25in">Diese Demo zeigt die Präsentation von Datenlisten auf zwei verschiedene Arten. Links steht eine <b>JList</b>-Komponente mit Listenelementen, die aus den Permutationen der aktivierten Präfixe und Suffixe bestehen. Die Kontrollkästchenspalten für Präfix und Suffix rechts werden mit einer <b>JPanel</b>-Komponente mit einem Y-Achsen-<b>BoxLayout</b> in einer <b>JScrollPane</b>-Komponente erstellt.</P></html>
### OptionPane Demo ###
OptionPaneDemo.accessible_description=Die OptionPane-Demo zeigt Beispiele f\u00FCr die Verwendung von JOptionPane zum Generieren verschiedener g\u00E4ngiger Optionsdialogfelder
OptionPaneDemo.accessible_description=Die OptionPane-Demo zeigt Beispiele für die Verwendung von JOptionPane zum Generieren verschiedener gängiger Optionsdialogfelder
OptionPaneDemo.tooltip=JOptionPane-Demo
OptionPaneDemo.name=Optionsbereichsdemo
OptionPaneDemo.warningbutton=Warnungsdialogfeld anzeigen
OptionPaneDemo.componentbutton=Komponentendialogfeld anzeigen
OptionPaneDemo.inputbutton=Eingabedialogfeld anzeigen
OptionPaneDemo.confirmbutton=Best\u00E4tigungsdialogfeld anzeigen
OptionPaneDemo.confirmbutton=Bestätigungsdialogfeld anzeigen
OptionPaneDemo.messagebutton=Meldungsdialog anzeigen
OptionPaneDemo.warningtitle=Beispiel f\u00FCr Warnungsdialogfeld
OptionPaneDemo.warningtext=<html><P><font color=black>Das ist ein Test des <font color=red><b>Notfallwarnsystems</b></font>. <i><b>Das ist<br> nur ein Test</b></i>. Der Webmaster Ihres lokalen Intranets hat dieses System in freiwilliger <br> Zusammenarbeit mit den <font color=blue><b>Bundes-</b></font> und <font color=blue><b>L\u00E4nderbeh\u00F6rden</b></font> <br> entwickelt, um Sie bei Bedarf \u00FCber <br> Notf\u00E4lle zu informieren. Bei einem tats\u00E4chlichen Notfall w\u00FCrden auf das Signal, das Sie <br> eben geh\u00F6rt haben, offizielle Informationen, Nachrichten <br> oder Anweisungen folgen. Damit ist dieser Test des <font color=red><b><br>Notfallwarnsystems</b></font> abgeschlossen.</font></P><P><br>Entwicklerhinweis: Der Text in dieser Dialogfelddemo wurde mit HTML formatiert.</P></html>
OptionPaneDemo.warningtitle=Beispiel für Warnungsdialogfeld
OptionPaneDemo.warningtext=<html><P><font color=black>Das ist ein Test des <font color=red><b>Notfallwarnsystems</b></font>. <i><b>Das ist<br> nur ein Test</b></i>. Der Webmaster Ihres lokalen Intranets hat dieses System in freiwilliger <br> Zusammenarbeit mit den <font color=blue><b>Bundes-</b></font> und <font color=blue><b>Länderbehörden</b></font> <br> entwickelt, um Sie bei Bedarf über <br> Notfälle zu informieren. Bei einem tatsächlichen Notfall würden auf das Signal, das Sie <br> eben gehört haben, offizielle Informationen, Nachrichten <br> oder Anweisungen folgen. Damit ist dieser Test des <font color=red><b><br>Notfallwarnsystems</b></font> abgeschlossen.</font></P><P><br>Entwicklerhinweis: Der Text in dieser Dialogfelddemo wurde mit HTML formatiert.</P></html>
OptionPaneDemo.messagetext=Flaschenpost
OptionPaneDemo.confirmquestion=Scheint heute die Sonne?
OptionPaneDemo.confirmyes=<html>Warum sitzen Sie noch am Computer?<br> Gehen Sie raus! Machen Sie einen Ausflug zum Strand! Legen Sie sich in die Sonne!</html>
OptionPaneDemo.confirmno=Gut, dass Sie hier drinnen vor dem Wetter gesch\u00FCtzt sind.
OptionPaneDemo.confirmno=Gut, dass Sie hier drinnen vor dem Wetter geschützt sind.
OptionPaneDemo.inputquestion=Was ist Ihr Lieblingsfilm?
OptionPaneDemo.inputresponse=Das ist ein guter Film!
OptionPaneDemo.componenttitle=Beispiel f\u00FCr Komponentendialogfeld
OptionPaneDemo.componenttitle=Beispiel für Komponentendialogfeld
OptionPaneDemo.componentmessage=<html>JOptionPane kann beliebig viele Komponenten <br> enthalten, wie ein Textfeld:</html>
OptionPaneDemo.componenttextfield=oder ein Kombinationsfeld:
OptionPaneDemo.component_cb1=Element 1
OptionPaneDemo.component_cb2=Element 2
OptionPaneDemo.component_cb3=Element 3
OptionPaneDemo.componentmessage2=<html>JOptionPane kann au\u00DFerdem beliebig viele <br> Optionen anzeigen:</html>
OptionPaneDemo.componentmessage2=<html>JOptionPane kann außerdem beliebig viele <br> Optionen anzeigen:</html>
OptionPaneDemo.component_op1=Ja
OptionPaneDemo.component_op2=Nein
OptionPaneDemo.component_op3=Vielleicht
@@ -414,28 +414,28 @@ OptionPaneDemo.component_op5=Abbrechen
OptionPaneDemo.component_r1=Optimistisch und positiv! Das ist gut.
OptionPaneDemo.component_r2=Definitiv nicht. Da haben Sie ganz recht.
OptionPaneDemo.component_r3=<html><font color=black> Ja, momentan ist die Situation <br> noch ungekl\u00E4rt. Sagen Sie sp\u00E4ter Bescheid, wenn Sie es genau wissen.</font></html>
OptionPaneDemo.component_r4=<html><font color=black>Sie wollen doch "Ja" sagen. Sie h\u00E4tten sich <br> einfach darauf einlassen und "Ja" klicken sollen.</font></html>
OptionPaneDemo.component_r3=<html><font color=black> Ja, momentan ist die Situation <br> noch ungeklärt. Sagen Sie später Bescheid, wenn Sie es genau wissen.</font></html>
OptionPaneDemo.component_r4=<html><font color=black>Sie wollen doch "Ja" sagen. Sie hätten sich <br> einfach darauf einlassen und "Ja" klicken sollen.</font></html>
### ProgressBar Demo ###
ProgressBarDemo.accessible_description=Diese Demo zeigt ein Beispiel f\u00FCr die Verwendung der JProgressBar-Komponente.
ProgressBarDemo.accessible_description=Diese Demo zeigt ein Beispiel für die Verwendung der JProgressBar-Komponente.
ProgressBarDemo.tooltip=JProgressBar-Demo
ProgressBarDemo.name=ProgressBar-Demo
ProgressBarDemo.start_button=Laden von Text starten
ProgressBarDemo.stop_button=Laden von Text stoppen
ProgressBarDemo.accessible_text_loading_progress=Ladefortschritt f\u00FCr Text
ProgressBarDemo.accessible_text_loading_progress=Ladefortschritt für Text
ProgressBarDemo.accessible_text_area_name=Text wird progressiv geladen
ProgressBarDemo.accessible_text_area_description=Diese JTextArea-Komponente wird progressiv mit Text aus einem Puffer gef\u00FCllt (ein Buchstabe nach dem anderen). Dabei wird der Ladefortschritt im Fortschrittsbalken unten im Fenster angezeigt
ProgressBarDemo.accessible_text_area_description=Diese JTextArea-Komponente wird progressiv mit Text aus einem Puffer gefüllt (ein Buchstabe nach dem anderen). Dabei wird der Ladefortschritt im Fortschrittsbalken unten im Fenster angezeigt
ProgressBarDemo.text=Man sagt ja, dass unendlich viele Affen, die unendlich lange auf unendlich vielen Schreibmaschinen herumtippen, \nirgendwann alle Meisterwerke der Menschheit schreiben w\u00FCrden. Mit den modernen Hochgeschwindigkeitsrechnern k\u00F6nnen wir \ndiese Theorie endlich testen... \n\n\tLzskd jfy 92y;ho4 th;qlh sd 6yty;q2 hnlj 8sdf. Djfy 92y;ho4, th;qxhz d7yty; \n\tQ0hnlj 23&&^ (# ljask djf y92y; fy92y; Sd6y ty;q2h nl jk la gfa harvin garvel\n\tlasdfsd a83sl la8z ks8l 92y;ho4 th;qlh sd 6yty;q2 hnlj 8sdf. Djfy 92y;ho4,\n\tth;qxhz d7yty; Q0hnlj 23&&^ nknod mrs88 jsd79lfm#%$JLaoz6df lso7dj f2 jfls\n\t67d9ol1@2fou99s 1lkj2 @l.k1 2; a89o7aljf 1l3i7ou8 d8l3 lqwerty0092 #1!\n\tja9o do8lkjj139rojsd9**!l6*hd # ljasd78 l2awkjad78 3ol7asljf 3 ldif && l.js\n\tLl ls ewan la8uj 23lll7u 8l 3h hhxx8 8d lsd fixx 891lkjno99sl d8l@@@!!8#8\n\tdfoil jarooda mklaoorj nowai the smisthliylka jkdlfjiw ladajadra lthhheeejfjl\n\tdkddooolda bub mirznod of the koojgaf!! But 2 be or not to be... that is the\n\tquestion. Then when shall we three meet again In thunder, lightning, or in\n\train? When the hurlyburly's done, When the battle's lost and won. That will\n\tbe ere the set of sun. Where the place? Upon the heath. There to meet with\n\tMacbeth. But hath forth not to want..... a banana, or to be.... a banana.\n\tBanana, I knew him banana. Banana banana. Banana banana banana banana.\n\n\n\n\nNun, das war scheinbar eine gute Idee...
ProgressBarDemo.text=Man sagt ja, dass unendlich viele Affen, die unendlich lange auf unendlich vielen Schreibmaschinen herumtippen, \nirgendwann alle Meisterwerke der Menschheit schreiben würden. Mit den modernen Hochgeschwindigkeitsrechnern können wir \ndiese Theorie endlich testen... \n\n\tLzskd jfy 92y;ho4 th;qlh sd 6yty;q2 hnlj 8sdf. Djfy 92y;ho4, th;qxhz d7yty; \n\tQ0hnlj 23&&^ (# ljask djf y92y; fy92y; Sd6y ty;q2h nl jk la gfa harvin garvel\n\tlasdfsd a83sl la8z ks8l 92y;ho4 th;qlh sd 6yty;q2 hnlj 8sdf. Djfy 92y;ho4,\n\tth;qxhz d7yty; Q0hnlj 23&&^ nknod mrs88 jsd79lfm#%$JLaoz6df lso7dj f2 jfls\n\t67d9ol1@2fou99s 1lkj2 @l.k1 2; a89o7aljf 1l3i7ou8 d8l3 lqwerty0092 #1!\n\tja9o do8lkjj139rojsd9**!l6*hd # ljasd78 l2awkjad78 3ol7asljf 3 ldif && l.js\n\tLl ls ewan la8uj 23lll7u 8l 3h hhxx8 8d lsd fixx 891lkjno99sl d8l@@@!!8#8\n\tdfoil jarooda mklaoorj nowai the smisthliylka jkdlfjiw ladajadra lthhheeejfjl\n\tdkddooolda bub mirznod of the koojgaf!! But 2 be or not to be... that is the\n\tquestion. Then when shall we three meet again In thunder, lightning, or in\n\train? When the hurlyburly's done, When the battle's lost and won. That will\n\tbe ere the set of sun. Where the place? Upon the heath. There to meet with\n\tMacbeth. But hath forth not to want..... a banana, or to be.... a banana.\n\tBanana, I knew him banana. Banana banana. Banana banana banana banana.\n\n\n\n\nNun, das war scheinbar eine gute Idee...
### ScrollPane Demo ###
ScrollPaneDemo.accessible_description=JScrollPane-Demo
ScrollPaneDemo.name=Demo f\u00FCr Bildlaufbereich
ScrollPaneDemo.name=Demo für Bildlaufbereich
ScrollPaneDemo.tooltip=JScrollPane-Demo
ScrollPaneDemo.crayons=Viele Stifte
ScrollPaneDemo.colheader=Spaltenheader
@@ -447,7 +447,7 @@ ScrollPaneDemo.lowerleft=Unten links im Spaltenheader
### Slider Demo ###
SliderDemo.accessible_description=Diese Demo zeigt ein Beispiel f\u00FCr die Verwendung der JSlider-Komponente.
SliderDemo.accessible_description=Diese Demo zeigt ein Beispiel für die Verwendung der JSlider-Komponente.
SliderDemo.tooltip=JSlider-Demo
SliderDemo.name=Schiebereglerdemo
@@ -474,19 +474,19 @@ SplitPaneDemo.moon=Ein Astronaut auf dem Mond
SplitPaneDemo.vert_split.labelAndMnemonic=&Vertikal geteilt
SplitPaneDemo.horz_split.labelAndMnemonic=Ho&rizontal geteilt
SplitPaneDemo.cont_layout.labelAndMnemonic=Kontinuierli&ches Layout
SplitPaneDemo.one_touch_expandable.labelAndMnemonic=&Mit einer Ber\u00FChrung einblendbar
SplitPaneDemo.divider_size.labelAndMnemonic=Trennliniengr\u00F6\u00DFe
SplitPaneDemo.invalid_divider_size=Ung\u00FCltige Trennliniengr\u00F6\u00DFe
SplitPaneDemo.one_touch_expandable.labelAndMnemonic=&Mit einer Berührung einblendbar
SplitPaneDemo.divider_size.labelAndMnemonic=Trennliniengröße
SplitPaneDemo.invalid_divider_size=Ungültige Trennliniengröße
SplitPaneDemo.error=Fehler
SplitPaneDemo.first_component_min_size.labelAndMnemonic=M&indestgr\u00F6\u00DFe der ersten Komponente
SplitPaneDemo.second_component_min_size.labelAndMnemonic=Mi&ndestgr\u00F6\u00DFe der zweiten Komponente
SplitPaneDemo.invalid_min_size=Ung\u00FCltige Mindestgr\u00F6\u00DFe
SplitPaneDemo.must_be_greater_than=muss gr\u00F6\u00DFer sein als
SplitPaneDemo.first_component_min_size.labelAndMnemonic=M&indestgröße der ersten Komponente
SplitPaneDemo.second_component_min_size.labelAndMnemonic=Mi&ndestgröße der zweiten Komponente
SplitPaneDemo.invalid_min_size=Ungültige Mindestgröße
SplitPaneDemo.must_be_greater_than=muss größer sein als
### TabbedPane Demo ###
TabbedPaneDemo.accessible_description=Diese Demo zeigt ein Beispiel f\u00FCr die Verwendung der JTabbedPane-Komponente.
TabbedPaneDemo.accessible_description=Diese Demo zeigt ein Beispiel für die Verwendung der JTabbedPane-Komponente.
TabbedPaneDemo.tooltip=JTabbedPane-Demo
TabbedPaneDemo.name=TabbedPane-Demo
@@ -523,9 +523,9 @@ TableDemo.intercell_spacing_colon=Abstand zwischen Zellen:
TableDemo.last_column=Letzte Spalte
TableDemo.multiple_ranges=Mehrere Bereiche
TableDemo.one_range=Ein Bereich
TableDemo.reordering_allowed=Neuanordnung zul\u00E4ssig
TableDemo.row_height=Zeilenh\u00F6he
TableDemo.row_height_colon=Zeilenh\u00F6he:
TableDemo.reordering_allowed=Neuanordnung zulässig
TableDemo.row_height=Zeilenhöhe
TableDemo.row_height_colon=Zeilenhöhe:
TableDemo.row_selection=Zeilenauswahl
TableDemo.selection_mode=Auswahlmodus
TableDemo.subsequent_columns=Nachfolgende Spalten
@@ -543,45 +543,45 @@ TableDemo.aqua=Aquamarin
TableDemo.beige=Beige
TableDemo.black=Schwarz
TableDemo.blue=Blau
TableDemo.cybergreen=Gr\u00FCn
TableDemo.darkgreen=Dunkelgr\u00FCn
TableDemo.cybergreen=Grün
TableDemo.darkgreen=Dunkelgrün
TableDemo.eblue=Neonblau
TableDemo.jfcblue=JFC prim\u00E4r
TableDemo.jfcblue2=JFC sekund\u00E4r
TableDemo.forestgreen=Waldgr\u00FCn
TableDemo.jfcblue=JFC primär
TableDemo.jfcblue2=JFC sekundär
TableDemo.forestgreen=Waldgrün
TableDemo.gray=Grau
TableDemo.green=Gr\u00FCn
TableDemo.green=Grün
TableDemo.orange=Orange
TableDemo.purple=Lila
TableDemo.red=Rot
TableDemo.rustred=Rostrot
TableDemo.sunpurple=Purpur
TableDemo.suspectpink=Pink
TableDemo.turquoise=T\u00FCrkis
TableDemo.turquoise=Türkis
TableDemo.violet=Violett
TableDemo.yellow=Gelb
TableDemo.2001=2001: Odyssee im Weltraum
TableDemo.buckaroo=Buckaroo Banzai - Die 8. Dimension
TableDemo.firstsight=Auf den ersten Blick
TableDemo.airplane=Die unglaubliche Reise in einem verr\u00FCckten Flugzeug (und Fortsetzung)
TableDemo.aliens=Aliens - Die R\u00FCckkehr
TableDemo.airplane=Die unglaubliche Reise in einem verrückten Flugzeug (und Fortsetzung)
TableDemo.aliens=Aliens - Die Rückkehr
TableDemo.bicycle=Fahrraddiebe
TableDemo.bladerunner=Blade Runner (Director's Cut)
TableDemo.bluesbros=Blues Brothers
TableDemo.brazil=Brazil
TableDemo.bugs=Das gro\u00DFe Krabbeln
TableDemo.bugs=Das große Krabbeln
TableDemo.city=Die Stadt der verlorenen Kinder
TableDemo.chusingura=Chusingura (1962)
TableDemo.clock=Uhrwerk Orange
TableDemo.curse=Der Fluch des D\u00E4monen
TableDemo.curse=Der Fluch des Dämonen
TableDemo.dasboot=Das Boot
TableDemo.dazed=Confusion - Sommer der Ausgeflippten
TableDemo.defending=Rendezvous im Jenseits
TableDemo.eraserhead=Eraserhead
TableDemo.fifthelement=Das f\u00FCnfte Element
TableDemo.fifthelement=Das fünfte Element
TableDemo.goodfellas=GoodFellas - Drei Jahrzehnte in der Mafia
TableDemo.harold=Harold und Maude
TableDemo.joyluck=T\u00F6chter des Himmels
TableDemo.joyluck=Töchter des Himmels
TableDemo.jules=Jules und Jim
TableDemo.ladyvanishes=Eine Dame verschwindet
TableDemo.mohicans=Der letzte Mohikaner
@@ -591,14 +591,14 @@ TableDemo.musicman=Music Man
TableDemo.dog=Mein Leben als Hund
TableDemo.oncewest=Spiel mir das Lied vom Tod
TableDemo.pulpfiction=Pulp Fiction
TableDemo.raiders=J\u00E4ger des verlorenen Schatzes
TableDemo.raiders=Jäger des verlorenen Schatzes
TableDemo.reservoir=Reservoir Dogs - Wilde Hunde
TableDemo.repoman=Repoman
TableDemo.spinaltap=This is Spinal Tap
TableDemo.schindlerslist=Schindlers Liste
TableDemo.starwars=Star Wars
TableDemo.stuntman=Der lange Tod des Stuntman Cameron
TableDemo.thinman=Der d\u00FCnne Mann
TableDemo.thinman=Der dünne Mann
TableDemo.withnail=Withnail && I
TableDemo.labyrinth=Die Reise ins Labyrinth
TableDemo.shawshank=Die Verurteilten
@@ -619,7 +619,7 @@ TableDemo.pepper=Rote Paprika
TableDemo.pickle=Essiggurke
TableDemo.pineapple=Ananas
TableDemo.raspberry=Himbeere
TableDemo.sparegrass=Gr\u00FCnzeug
TableDemo.sparegrass=Grünzeug
TableDemo.strawberry=Erdbeere
TableDemo.tomato=Tomate
TableDemo.watermelon=Wassermelone
@@ -653,21 +653,21 @@ TableDemo.printingFailed=Druck nicht erfolgreich: {0}
### ToolTip Demo ###
ToolTipDemo.accessible_description=QuickInfos zeigen kurze Hilfebeschreibungen f\u00FCr eine Komponente an
ToolTipDemo.accessible_description=QuickInfos zeigen kurze Hilfebeschreibungen für eine Komponente an
ToolTipDemo.accessible_cow=Das ist eine Kuh.
ToolTipDemo.tooltip=QuickInfo-Demo
ToolTipDemo.name=QuickInfo-Demo
ToolTipDemo.bessie=Bessie, die Kuh
ToolTipDemo.cow=Kuh.
ToolTipDemo.got_milk=Milch gef\u00E4llig?
ToolTipDemo.got_milk=Milch gefällig?
ToolTipDemo.tail=Schweif.
ToolTipDemo.moo=Muuuh
ToolTipDemo.tooltip_features=<html>QuickInfos m\u00FCssen nicht immer<p>langweilige, einzeilige Beschreibungen sein. Das <font color=blue size=+2>Swing!</font>-Team<p> zeigt Ihnen gerne, dass es auch anders geht.<p>In Swing k\u00F6nnen QuickInfos HTML f\u00FCr Folgendes verwenden: <ul><li>Listen<li><b>fettgedruckten</b> Text<li><em>betonten</em> Text<li>Text mit <font color=red>Farben</font><li>Text in unterschiedlichen <font size=+3>Gr\u00F6\u00DFen</font><li>und <font face=AvantGarde>Schriftarten</font></ul>Au\u00DFerdem k\u00F6nnen sie auch mehrere Zeilen umfassen.</html>
ToolTipDemo.tooltip_features=<html>QuickInfos müssen nicht immer<p>langweilige, einzeilige Beschreibungen sein. Das <font color=blue size=+2>Swing!</font>-Team<p> zeigt Ihnen gerne, dass es auch anders geht.<p>In Swing können QuickInfos HTML für Folgendes verwenden: <ul><li>Listen<li><b>fettgedruckten</b> Text<li><em>betonten</em> Text<li>Text mit <font color=red>Farben</font><li>Text in unterschiedlichen <font size=+3>Größen</font><li>und <font face=AvantGarde>Schriftarten</font></ul>Außerdem können sie auch mehrere Zeilen umfassen.</html>
### Tree Demo ###
TreeDemo.accessible_description=Diese Demo zeigt ein Beispiel f\u00FCr die Verwendung einer JTree-Komponente.
TreeDemo.accessible_description=Diese Demo zeigt ein Beispiel für die Verwendung einer JTree-Komponente.
TreeDemo.tooltip=JTree-Demo
TreeDemo.name=Baumdemo
TreeDemo.music=Musik

File diff suppressed because it is too large Load Diff

View File

@@ -1721,8 +1721,8 @@ void MachPrologNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
st->print("# stack bang size=%d\n\t", framesize);
if (VM_Version::use_rop_protection()) {
st->print("ldr zr, [lr]\n\t");
st->print("pacia lr, rfp\n\t");
st->print("ldr zr, [lr]\n\t");
st->print("paciaz\n\t");
}
if (framesize < ((1 << 9) + 2 * wordSize)) {
st->print("sub sp, sp, #%d\n\t", framesize);
@@ -1851,8 +1851,8 @@ void MachEpilogNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
st->print("ldp lr, rfp, [sp],#%d\n\t", (2 * wordSize));
}
if (VM_Version::use_rop_protection()) {
st->print("autia lr, rfp\n\t");
st->print("ldr zr, [lr]\n\t");
st->print("autiaz\n\t");
st->print("ldr zr, [lr]\n\t");
}
if (do_polling() && C->is_method_compilation()) {
@@ -3816,202 +3816,6 @@ encode %{
__ br(target_reg);
%}
enc_class aarch64_enc_fast_lock(iRegP object, iRegP box, iRegP tmp, iRegP tmp2) %{
C2_MacroAssembler _masm(&cbuf);
Register oop = as_Register($object$$reg);
Register box = as_Register($box$$reg);
Register disp_hdr = as_Register($tmp$$reg);
Register tmp = as_Register($tmp2$$reg);
Label cont;
Label object_has_monitor;
Label count, no_count;
assert_different_registers(oop, box, tmp, disp_hdr);
// Load markWord from object into displaced_header.
__ ldr(disp_hdr, Address(oop, oopDesc::mark_offset_in_bytes()));
if (DiagnoseSyncOnValueBasedClasses != 0) {
__ load_klass(tmp, oop);
__ ldrw(tmp, Address(tmp, Klass::access_flags_offset()));
__ tstw(tmp, JVM_ACC_IS_VALUE_BASED_CLASS);
__ br(Assembler::NE, cont);
}
// Check for existing monitor
__ tbnz(disp_hdr, exact_log2(markWord::monitor_value), object_has_monitor);
if (LockingMode == LM_MONITOR) {
__ tst(oop, oop); // Set NE to indicate 'failure' -> take slow-path. We know that oop != 0.
__ b(cont);
} else if (LockingMode == LM_LEGACY) {
// Set tmp to be (markWord of object | UNLOCK_VALUE).
__ orr(tmp, disp_hdr, markWord::unlocked_value);
// Initialize the box. (Must happen before we update the object mark!)
__ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// Compare object markWord with an unlocked value (tmp) and if
// equal exchange the stack address of our box with object markWord.
// On failure disp_hdr contains the possibly locked markWord.
__ cmpxchg(oop, tmp, box, Assembler::xword, /*acquire*/ true,
/*release*/ true, /*weak*/ false, disp_hdr);
__ br(Assembler::EQ, cont);
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// If the compare-and-exchange succeeded, then we found an unlocked
// object, will have now locked it will continue at label cont
// Check if the owner is self by comparing the value in the
// markWord of object (disp_hdr) with the stack pointer.
__ mov(rscratch1, sp);
__ sub(disp_hdr, disp_hdr, rscratch1);
__ mov(tmp, (address) (~(os::vm_page_size()-1) | markWord::lock_mask_in_place));
// If condition is true we are cont and hence we can store 0 as the
// displaced header in the box, which indicates that it is a recursive lock.
__ ands(tmp/*==0?*/, disp_hdr, tmp); // Sets flags for result
__ str(tmp/*==0, perhaps*/, Address(box, BasicLock::displaced_header_offset_in_bytes()));
__ b(cont);
} else {
assert(LockingMode == LM_LIGHTWEIGHT, "must be");
__ fast_lock(oop, disp_hdr, tmp, rscratch1, no_count);
__ b(count);
}
// Handle existing monitor.
__ bind(object_has_monitor);
// The object's monitor m is unlocked iff m->owner == NULL,
// otherwise m->owner may contain a thread or a stack address.
//
// Try to CAS m->owner from NULL to current thread.
__ add(tmp, disp_hdr, (in_bytes(ObjectMonitor::owner_offset())-markWord::monitor_value));
__ cmpxchg(tmp, zr, rthread, Assembler::xword, /*acquire*/ true,
/*release*/ true, /*weak*/ false, rscratch1); // Sets flags for result
if (LockingMode != LM_LIGHTWEIGHT) {
// Store a non-null value into the box to avoid looking like a re-entrant
// lock. The fast-path monitor unlock code checks for
// markWord::monitor_value so use markWord::unused_mark which has the
// relevant bit set, and also matches ObjectSynchronizer::enter.
__ mov(tmp, (address)markWord::unused_mark().value());
__ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
}
__ br(Assembler::EQ, cont); // CAS success means locking succeeded
__ cmp(rscratch1, rthread);
__ br(Assembler::NE, cont); // Check for recursive locking
// Recursive lock case
__ increment(Address(disp_hdr, in_bytes(ObjectMonitor::recursions_offset()) - markWord::monitor_value), 1);
// flag == EQ still from the cmp above, checking if this is a reentrant lock
__ bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
__ br(Assembler::NE, no_count);
__ bind(count);
__ increment(Address(rthread, JavaThread::held_monitor_count_offset()));
__ bind(no_count);
%}
enc_class aarch64_enc_fast_unlock(iRegP object, iRegP box, iRegP tmp, iRegP tmp2) %{
C2_MacroAssembler _masm(&cbuf);
Register oop = as_Register($object$$reg);
Register box = as_Register($box$$reg);
Register disp_hdr = as_Register($tmp$$reg);
Register tmp = as_Register($tmp2$$reg);
Label cont;
Label object_has_monitor;
Label count, no_count;
assert_different_registers(oop, box, tmp, disp_hdr);
if (LockingMode == LM_LEGACY) {
// Find the lock address and load the displaced header from the stack.
__ ldr(disp_hdr, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// If the displaced header is 0, we have a recursive unlock.
__ cmp(disp_hdr, zr);
__ br(Assembler::EQ, cont);
}
// Handle existing monitor.
__ ldr(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
__ tbnz(tmp, exact_log2(markWord::monitor_value), object_has_monitor);
if (LockingMode == LM_MONITOR) {
__ tst(oop, oop); // Set NE to indicate 'failure' -> take slow-path. We know that oop != 0.
__ b(cont);
} else if (LockingMode == LM_LEGACY) {
// Check if it is still a light weight lock, this is is true if we
// see the stack address of the basicLock in the markWord of the
// object.
__ cmpxchg(oop, box, disp_hdr, Assembler::xword, /*acquire*/ false,
/*release*/ true, /*weak*/ false, tmp);
__ b(cont);
} else {
assert(LockingMode == LM_LIGHTWEIGHT, "must be");
__ fast_unlock(oop, tmp, box, disp_hdr, no_count);
__ b(count);
}
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// Handle existing monitor.
__ bind(object_has_monitor);
STATIC_ASSERT(markWord::monitor_value <= INT_MAX);
__ add(tmp, tmp, -(int)markWord::monitor_value); // monitor
if (LockingMode == LM_LIGHTWEIGHT) {
// If the owner is anonymous, we need to fix it -- in an outline stub.
Register tmp2 = disp_hdr;
__ ldr(tmp2, Address(tmp, ObjectMonitor::owner_offset()));
// We cannot use tbnz here, the target might be too far away and cannot
// be encoded.
__ tst(tmp2, (uint64_t)ObjectMonitor::ANONYMOUS_OWNER);
C2HandleAnonOMOwnerStub* stub = new (Compile::current()->comp_arena()) C2HandleAnonOMOwnerStub(tmp, tmp2);
Compile::current()->output()->add_stub(stub);
__ br(Assembler::NE, stub->entry());
__ bind(stub->continuation());
}
__ ldr(disp_hdr, Address(tmp, ObjectMonitor::recursions_offset()));
Label notRecursive;
__ cbz(disp_hdr, notRecursive);
// Recursive lock
__ sub(disp_hdr, disp_hdr, 1u);
__ str(disp_hdr, Address(tmp, ObjectMonitor::recursions_offset()));
__ cmp(disp_hdr, disp_hdr); // Sets flags for result
__ b(cont);
__ bind(notRecursive);
__ ldr(rscratch1, Address(tmp, ObjectMonitor::EntryList_offset()));
__ ldr(disp_hdr, Address(tmp, ObjectMonitor::cxq_offset()));
__ orr(rscratch1, rscratch1, disp_hdr); // Will be 0 if both are 0.
__ cmp(rscratch1, zr); // Sets flags for result
__ cbnz(rscratch1, cont);
// need a release store here
__ lea(tmp, Address(tmp, ObjectMonitor::owner_offset()));
__ stlr(zr, tmp); // set unowned
__ bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
__ br(Assembler::NE, no_count);
__ bind(count);
__ decrement(Address(rthread, JavaThread::held_monitor_count_offset()));
__ bind(no_count);
%}
%}
//----------FRAME--------------------------------------------------------------
@@ -16616,17 +16420,19 @@ instruct branchLoopEnd(cmpOp cmp, rFlagsReg cr, label lbl)
// ============================================================================
// inlined locking and unlocking
instruct cmpFastLock(rFlagsReg cr, iRegP object, iRegP box, iRegPNoSp tmp, iRegPNoSp tmp2)
instruct cmpFastLock(rFlagsReg cr, iRegP object, iRegP box, iRegPNoSp tmp, iRegPNoSp tmp2, iRegPNoSp tmp3)
%{
match(Set cr (FastLock object box));
effect(TEMP tmp, TEMP tmp2);
effect(TEMP tmp, TEMP tmp2, TEMP tmp3);
// TODO
// identify correct cost
ins_cost(5 * INSN_COST);
format %{ "fastlock $object,$box\t! kills $tmp,$tmp2" %}
ins_encode(aarch64_enc_fast_lock(object, box, tmp, tmp2));
ins_encode %{
__ fast_lock($object$$Register, $box$$Register, $tmp$$Register, $tmp2$$Register, $tmp3$$Register);
%}
ins_pipe(pipe_serial);
%}
@@ -16639,7 +16445,9 @@ instruct cmpFastUnlock(rFlagsReg cr, iRegP object, iRegP box, iRegPNoSp tmp, iRe
ins_cost(5 * INSN_COST);
format %{ "fastunlock $object,$box\t! kills $tmp, $tmp2" %}
ins_encode(aarch64_enc_fast_unlock(object, box, tmp, tmp2));
ins_encode %{
__ fast_unlock($object$$Register, $box$$Register, $tmp$$Register, $tmp2$$Register);
%}
ins_pipe(pipe_serial);
%}

View File

@@ -28,6 +28,7 @@
#include "asm/register.hpp"
#include "metaprogramming/enableIf.hpp"
#include "utilities/checkedCast.hpp"
#include "utilities/debug.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/macros.hpp"
@@ -573,7 +574,7 @@ class Address {
if (size == 0) // It's a byte
i->f(ext().shift() >= 0, 12);
else {
assert(ext().shift() <= 0 || ext().shift() == (int)size, "bad shift");
guarantee(ext().shift() <= 0 || ext().shift() == (int)size, "bad shift");
i->f(ext().shift() > 0, 12);
}
i->f(0b10, 11, 10);

View File

@@ -434,7 +434,7 @@ int LIR_Assembler::emit_unwind_handler() {
if (LockingMode == LM_MONITOR) {
__ b(*stub->entry());
} else {
__ unlock_object(r5, r4, r0, *stub->entry());
__ unlock_object(r5, r4, r0, r6, *stub->entry());
}
__ bind(*stub->continuation());
}
@@ -1296,9 +1296,8 @@ void LIR_Assembler::emit_typecheck_helper(LIR_OpTypeCheck *op, Label* success, L
assert(data != nullptr, "need data for type check");
assert(data->is_ReceiverTypeData(), "need ReceiverTypeData for type check");
}
Label profile_cast_success, profile_cast_failure;
Label *success_target = should_profile ? &profile_cast_success : success;
Label *failure_target = should_profile ? &profile_cast_failure : failure;
Label* success_target = success;
Label* failure_target = failure;
if (obj == k_RInfo) {
k_RInfo = dst;
@@ -1314,24 +1313,33 @@ void LIR_Assembler::emit_typecheck_helper(LIR_OpTypeCheck *op, Label* success, L
assert_different_registers(obj, k_RInfo, klass_RInfo);
if (should_profile) {
Label not_null;
__ cbnz(obj, not_null);
// Object is null; update MDO and exit
Register mdo = klass_RInfo;
__ mov_metadata(mdo, md->constant_encoding());
Address data_addr
= __ form_address(rscratch2, mdo,
md->byte_offset_of_slot(data, DataLayout::flags_offset()),
0);
__ ldrb(rscratch1, data_addr);
__ orr(rscratch1, rscratch1, BitData::null_seen_byte_constant());
__ strb(rscratch1, data_addr);
__ b(*obj_is_null);
__ bind(not_null);
} else {
__ cbz(obj, *obj_is_null);
}
if (should_profile) {
Register mdo = klass_RInfo;
__ mov_metadata(mdo, md->constant_encoding());
Label not_null;
__ cbnz(obj, not_null);
// Object is null; update MDO and exit
Address data_addr
= __ form_address(rscratch2, mdo,
md->byte_offset_of_slot(data, DataLayout::flags_offset()),
0);
__ ldrb(rscratch1, data_addr);
__ orr(rscratch1, rscratch1, BitData::null_seen_byte_constant());
__ strb(rscratch1, data_addr);
__ b(*obj_is_null);
__ bind(not_null);
Label update_done;
Register recv = k_RInfo;
__ load_klass(recv, obj);
type_profile_helper(mdo, md, data, recv, &update_done);
Address counter_addr(mdo, md->byte_offset_of_slot(data, CounterData::count_offset()));
__ addptr(counter_addr, DataLayout::counter_increment);
__ bind(update_done);
} else {
__ cbz(obj, *obj_is_null);
}
if (!k->is_loaded()) {
klass2reg_with_patching(k_RInfo, op->info_for_patch());
@@ -1385,26 +1393,6 @@ void LIR_Assembler::emit_typecheck_helper(LIR_OpTypeCheck *op, Label* success, L
// successful cast, fall through to profile or jump
}
}
if (should_profile) {
Register mdo = klass_RInfo, recv = k_RInfo;
__ bind(profile_cast_success);
__ mov_metadata(mdo, md->constant_encoding());
__ load_klass(recv, obj);
Label update_done;
type_profile_helper(mdo, md, data, recv, success);
__ b(*success);
__ bind(profile_cast_failure);
__ mov_metadata(mdo, md->constant_encoding());
Address counter_addr
= __ form_address(rscratch2, mdo,
md->byte_offset_of_slot(data, CounterData::count_offset()),
0);
__ ldr(rscratch1, counter_addr);
__ sub(rscratch1, rscratch1, DataLayout::counter_increment);
__ str(rscratch1, counter_addr);
__ b(*failure);
}
__ b(*success);
}
@@ -1436,16 +1424,16 @@ void LIR_Assembler::emit_opTypeCheck(LIR_OpTypeCheck* op) {
assert(data != nullptr, "need data for type check");
assert(data->is_ReceiverTypeData(), "need ReceiverTypeData for type check");
}
Label profile_cast_success, profile_cast_failure, done;
Label *success_target = should_profile ? &profile_cast_success : &done;
Label *failure_target = should_profile ? &profile_cast_failure : stub->entry();
Label done;
Label* success_target = &done;
Label* failure_target = stub->entry();
if (should_profile) {
Label not_null;
__ cbnz(value, not_null);
// Object is null; update MDO and exit
Register mdo = klass_RInfo;
__ mov_metadata(mdo, md->constant_encoding());
__ cbnz(value, not_null);
// Object is null; update MDO and exit
Address data_addr
= __ form_address(rscratch2, mdo,
md->byte_offset_of_slot(data, DataLayout::flags_offset()),
@@ -1455,6 +1443,14 @@ void LIR_Assembler::emit_opTypeCheck(LIR_OpTypeCheck* op) {
__ strb(rscratch1, data_addr);
__ b(done);
__ bind(not_null);
Label update_done;
Register recv = k_RInfo;
__ load_klass(recv, value);
type_profile_helper(mdo, md, data, recv, &update_done);
Address counter_addr(mdo, md->byte_offset_of_slot(data, CounterData::count_offset()));
__ addptr(counter_addr, DataLayout::counter_increment);
__ bind(update_done);
} else {
__ cbz(value, done);
}
@@ -1475,25 +1471,6 @@ void LIR_Assembler::emit_opTypeCheck(LIR_OpTypeCheck* op) {
__ cbzw(k_RInfo, *failure_target);
// fall through to the success case
if (should_profile) {
Register mdo = klass_RInfo, recv = k_RInfo;
__ bind(profile_cast_success);
__ mov_metadata(mdo, md->constant_encoding());
__ load_klass(recv, value);
Label update_done;
type_profile_helper(mdo, md, data, recv, &done);
__ b(done);
__ bind(profile_cast_failure);
__ mov_metadata(mdo, md->constant_encoding());
Address counter_addr(mdo, md->byte_offset_of_slot(data, CounterData::count_offset()));
__ lea(rscratch2, counter_addr);
__ ldr(rscratch1, Address(rscratch2));
__ sub(rscratch1, rscratch1, DataLayout::counter_increment);
__ str(rscratch1, Address(rscratch2));
__ b(*stub->entry());
}
__ bind(done);
} else if (code == lir_checkcast) {
Register obj = op->object()->as_register();
@@ -2558,6 +2535,7 @@ void LIR_Assembler::emit_lock(LIR_OpLock* op) {
Register obj = op->obj_opr()->as_register(); // may not be an oop
Register hdr = op->hdr_opr()->as_register();
Register lock = op->lock_opr()->as_register();
Register temp = op->scratch_opr()->as_register();
if (LockingMode == LM_MONITOR) {
if (op->info() != nullptr) {
add_debug_info_for_null_check_here(op->info());
@@ -2567,14 +2545,14 @@ void LIR_Assembler::emit_lock(LIR_OpLock* op) {
} else if (op->code() == lir_lock) {
assert(BasicLock::displaced_header_offset_in_bytes() == 0, "lock_reg must point to the displaced header");
// add debug info for NullPointerException only if one is possible
int null_check_offset = __ lock_object(hdr, obj, lock, *op->stub()->entry());
int null_check_offset = __ lock_object(hdr, obj, lock, temp, *op->stub()->entry());
if (op->info() != nullptr) {
add_debug_info_for_null_check(null_check_offset, op->info());
}
// done
} else if (op->code() == lir_unlock) {
assert(BasicLock::displaced_header_offset_in_bytes() == 0, "lock_reg must point to the displaced header");
__ unlock_object(hdr, obj, lock, *op->stub()->entry());
__ unlock_object(hdr, obj, lock, temp, *op->stub()->entry());
} else {
Unimplemented();
}

View File

@@ -314,6 +314,7 @@ void LIRGenerator::do_MonitorEnter(MonitorEnter* x) {
// "lock" stores the address of the monitor stack slot, so this is not an oop
LIR_Opr lock = new_register(T_INT);
LIR_Opr scratch = new_register(T_INT);
CodeEmitInfo* info_for_exception = nullptr;
if (x->needs_null_check()) {
@@ -322,7 +323,7 @@ void LIRGenerator::do_MonitorEnter(MonitorEnter* x) {
// this CodeEmitInfo must not have the xhandlers because here the
// object is already locked (xhandlers expect object to be unlocked)
CodeEmitInfo* info = state_for(x, x->state(), true);
monitor_enter(obj.result(), lock, syncTempOpr(), LIR_OprFact::illegalOpr,
monitor_enter(obj.result(), lock, syncTempOpr(), scratch,
x->monitor_no(), info_for_exception, info);
}
@@ -335,8 +336,9 @@ void LIRGenerator::do_MonitorExit(MonitorExit* x) {
LIR_Opr lock = new_register(T_INT);
LIR_Opr obj_temp = new_register(T_INT);
LIR_Opr scratch = new_register(T_INT);
set_no_result(x);
monitor_exit(obj_temp, lock, syncTempOpr(), LIR_OprFact::illegalOpr, x->monitor_no());
monitor_exit(obj_temp, lock, syncTempOpr(), scratch, x->monitor_no());
}
void LIRGenerator::do_NegateOp(NegateOp* x) {

View File

@@ -60,10 +60,10 @@ void C1_MacroAssembler::float_cmp(bool is_float, int unordered_result,
}
}
int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case) {
int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr, Register temp, Label& slow_case) {
const int aligned_mask = BytesPerWord -1;
const int hdr_offset = oopDesc::mark_offset_in_bytes();
assert_different_registers(hdr, obj, disp_hdr);
assert_different_registers(hdr, obj, disp_hdr, temp, rscratch2);
int null_check_offset = -1;
verify_oop(obj);
@@ -83,7 +83,7 @@ int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr
// Load object header
ldr(hdr, Address(obj, hdr_offset));
if (LockingMode == LM_LIGHTWEIGHT) {
fast_lock(obj, hdr, rscratch1, rscratch2, slow_case);
lightweight_lock(obj, hdr, temp, rscratch2, slow_case);
} else if (LockingMode == LM_LEGACY) {
Label done;
// and mark it as unlocked
@@ -125,10 +125,10 @@ int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr
}
void C1_MacroAssembler::unlock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case) {
void C1_MacroAssembler::unlock_object(Register hdr, Register obj, Register disp_hdr, Register temp, Label& slow_case) {
const int aligned_mask = BytesPerWord -1;
const int hdr_offset = oopDesc::mark_offset_in_bytes();
assert(hdr != obj && hdr != disp_hdr && obj != disp_hdr, "registers must be different");
assert_different_registers(hdr, obj, disp_hdr, temp, rscratch2);
Label done;
if (LockingMode != LM_LIGHTWEIGHT) {
@@ -149,7 +149,7 @@ void C1_MacroAssembler::unlock_object(Register hdr, Register obj, Register disp_
// be encoded.
tst(hdr, markWord::monitor_value);
br(Assembler::NE, slow_case);
fast_unlock(obj, hdr, rscratch1, rscratch2, slow_case);
lightweight_unlock(obj, hdr, temp, rscratch2, slow_case);
} else if (LockingMode == LM_LEGACY) {
// test if object header is pointing to the displaced header, and if so, restore
// the displaced header in the object - if the object header is not pointing to

View File

@@ -58,14 +58,16 @@ using MacroAssembler::null_check;
// hdr : must be r0, contents destroyed
// obj : must point to the object to lock, contents preserved
// disp_hdr: must point to the displaced header location, contents preserved
// temp : temporary register, must not be rscratch1 or rscratch2
// returns code offset at which to add null check debug information
int lock_object (Register swap, Register obj, Register disp_hdr, Label& slow_case);
int lock_object (Register swap, Register obj, Register disp_hdr, Register temp, Label& slow_case);
// unlocking
// hdr : contents destroyed
// obj : must point to the object to lock, contents preserved
// disp_hdr: must be r0 & must point to the displaced header location, contents destroyed
void unlock_object(Register swap, Register obj, Register lock, Label& slow_case);
// temp : temporary register, must not be rscratch1 or rscratch2
void unlock_object(Register swap, Register obj, Register lock, Register temp, Label& slow_case);
void initialize_object(
Register obj, // result: pointer to object after successful allocation

View File

@@ -385,7 +385,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
// load issuing PC (the return address for this stub) into r3
__ ldr(exception_pc, Address(rfp, 1*BytesPerWord));
__ authenticate_return_address(exception_pc, rscratch1);
__ authenticate_return_address(exception_pc);
// make sure that the vm_results are cleared (may be unnecessary)
__ str(zr, Address(rthread, JavaThread::vm_result_offset()));
@@ -434,7 +434,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
__ str(exception_pc, Address(rthread, JavaThread::exception_pc_offset()));
// patch throwing pc into return address (has bci & oop map)
__ protect_return_address(exception_pc, rscratch1);
__ protect_return_address(exception_pc);
__ str(exception_pc, Address(rfp, 1*BytesPerWord));
// compute the exception handler.
@@ -450,7 +450,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
__ invalidate_registers(false, true, true, true, true, true);
// patch the return address, this stub will directly return to the exception handler
__ protect_return_address(r0, rscratch1);
__ protect_return_address(r0);
__ str(r0, Address(rfp, 1*BytesPerWord));
switch (id) {

View File

@@ -45,6 +45,202 @@
typedef void (MacroAssembler::* chr_insn)(Register Rt, const Address &adr);
void C2_MacroAssembler::fast_lock(Register objectReg, Register boxReg, Register tmpReg,
Register tmp2Reg, Register tmp3Reg) {
Register oop = objectReg;
Register box = boxReg;
Register disp_hdr = tmpReg;
Register tmp = tmp2Reg;
Label cont;
Label object_has_monitor;
Label count, no_count;
assert_different_registers(oop, box, tmp, disp_hdr);
// Load markWord from object into displaced_header.
ldr(disp_hdr, Address(oop, oopDesc::mark_offset_in_bytes()));
if (DiagnoseSyncOnValueBasedClasses != 0) {
load_klass(tmp, oop);
ldrw(tmp, Address(tmp, Klass::access_flags_offset()));
tstw(tmp, JVM_ACC_IS_VALUE_BASED_CLASS);
br(Assembler::NE, cont);
}
// Check for existing monitor
tbnz(disp_hdr, exact_log2(markWord::monitor_value), object_has_monitor);
if (LockingMode == LM_MONITOR) {
tst(oop, oop); // Set NE to indicate 'failure' -> take slow-path. We know that oop != 0.
b(cont);
} else if (LockingMode == LM_LEGACY) {
// Set tmp to be (markWord of object | UNLOCK_VALUE).
orr(tmp, disp_hdr, markWord::unlocked_value);
// Initialize the box. (Must happen before we update the object mark!)
str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// Compare object markWord with an unlocked value (tmp) and if
// equal exchange the stack address of our box with object markWord.
// On failure disp_hdr contains the possibly locked markWord.
cmpxchg(oop, tmp, box, Assembler::xword, /*acquire*/ true,
/*release*/ true, /*weak*/ false, disp_hdr);
br(Assembler::EQ, cont);
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// If the compare-and-exchange succeeded, then we found an unlocked
// object, will have now locked it will continue at label cont
// Check if the owner is self by comparing the value in the
// markWord of object (disp_hdr) with the stack pointer.
mov(rscratch1, sp);
sub(disp_hdr, disp_hdr, rscratch1);
mov(tmp, (address) (~(os::vm_page_size()-1) | markWord::lock_mask_in_place));
// If condition is true we are cont and hence we can store 0 as the
// displaced header in the box, which indicates that it is a recursive lock.
ands(tmp/*==0?*/, disp_hdr, tmp); // Sets flags for result
str(tmp/*==0, perhaps*/, Address(box, BasicLock::displaced_header_offset_in_bytes()));
b(cont);
} else {
assert(LockingMode == LM_LIGHTWEIGHT, "must be");
lightweight_lock(oop, disp_hdr, tmp, tmp3Reg, no_count);
b(count);
}
// Handle existing monitor.
bind(object_has_monitor);
// The object's monitor m is unlocked iff m->owner == NULL,
// otherwise m->owner may contain a thread or a stack address.
//
// Try to CAS m->owner from NULL to current thread.
add(tmp, disp_hdr, (in_bytes(ObjectMonitor::owner_offset())-markWord::monitor_value));
cmpxchg(tmp, zr, rthread, Assembler::xword, /*acquire*/ true,
/*release*/ true, /*weak*/ false, tmp3Reg); // Sets flags for result
if (LockingMode != LM_LIGHTWEIGHT) {
// Store a non-null value into the box to avoid looking like a re-entrant
// lock. The fast-path monitor unlock code checks for
// markWord::monitor_value so use markWord::unused_mark which has the
// relevant bit set, and also matches ObjectSynchronizer::enter.
mov(tmp, (address)markWord::unused_mark().value());
str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
}
br(Assembler::EQ, cont); // CAS success means locking succeeded
cmp(tmp3Reg, rthread);
br(Assembler::NE, cont); // Check for recursive locking
// Recursive lock case
increment(Address(disp_hdr, in_bytes(ObjectMonitor::recursions_offset()) - markWord::monitor_value), 1);
// flag == EQ still from the cmp above, checking if this is a reentrant lock
bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
br(Assembler::NE, no_count);
bind(count);
increment(Address(rthread, JavaThread::held_monitor_count_offset()));
bind(no_count);
}
void C2_MacroAssembler::fast_unlock(Register objectReg, Register boxReg, Register tmpReg,
Register tmp2Reg) {
Register oop = objectReg;
Register box = boxReg;
Register disp_hdr = tmpReg;
Register tmp = tmp2Reg;
Label cont;
Label object_has_monitor;
Label count, no_count;
assert_different_registers(oop, box, tmp, disp_hdr);
if (LockingMode == LM_LEGACY) {
// Find the lock address and load the displaced header from the stack.
ldr(disp_hdr, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// If the displaced header is 0, we have a recursive unlock.
cmp(disp_hdr, zr);
br(Assembler::EQ, cont);
}
// Handle existing monitor.
ldr(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
tbnz(tmp, exact_log2(markWord::monitor_value), object_has_monitor);
if (LockingMode == LM_MONITOR) {
tst(oop, oop); // Set NE to indicate 'failure' -> take slow-path. We know that oop != 0.
b(cont);
} else if (LockingMode == LM_LEGACY) {
// Check if it is still a light weight lock, this is is true if we
// see the stack address of the basicLock in the markWord of the
// object.
cmpxchg(oop, box, disp_hdr, Assembler::xword, /*acquire*/ false,
/*release*/ true, /*weak*/ false, tmp);
b(cont);
} else {
assert(LockingMode == LM_LIGHTWEIGHT, "must be");
lightweight_unlock(oop, tmp, box, disp_hdr, no_count);
b(count);
}
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// Handle existing monitor.
bind(object_has_monitor);
STATIC_ASSERT(markWord::monitor_value <= INT_MAX);
add(tmp, tmp, -(int)markWord::monitor_value); // monitor
if (LockingMode == LM_LIGHTWEIGHT) {
// If the owner is anonymous, we need to fix it -- in an outline stub.
Register tmp2 = disp_hdr;
ldr(tmp2, Address(tmp, ObjectMonitor::owner_offset()));
// We cannot use tbnz here, the target might be too far away and cannot
// be encoded.
tst(tmp2, (uint64_t)ObjectMonitor::ANONYMOUS_OWNER);
C2HandleAnonOMOwnerStub* stub = new (Compile::current()->comp_arena()) C2HandleAnonOMOwnerStub(tmp, tmp2);
Compile::current()->output()->add_stub(stub);
br(Assembler::NE, stub->entry());
bind(stub->continuation());
}
ldr(disp_hdr, Address(tmp, ObjectMonitor::recursions_offset()));
Label notRecursive;
cbz(disp_hdr, notRecursive);
// Recursive lock
sub(disp_hdr, disp_hdr, 1u);
str(disp_hdr, Address(tmp, ObjectMonitor::recursions_offset()));
cmp(disp_hdr, disp_hdr); // Sets flags for result
b(cont);
bind(notRecursive);
ldr(rscratch1, Address(tmp, ObjectMonitor::EntryList_offset()));
ldr(disp_hdr, Address(tmp, ObjectMonitor::cxq_offset()));
orr(rscratch1, rscratch1, disp_hdr); // Will be 0 if both are 0.
cmp(rscratch1, zr); // Sets flags for result
cbnz(rscratch1, cont);
// need a release store here
lea(tmp, Address(tmp, ObjectMonitor::owner_offset()));
stlr(zr, tmp); // set unowned
bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
br(Assembler::NE, no_count);
bind(count);
decrement(Address(rthread, JavaThread::held_monitor_count_offset()));
bind(no_count);
}
// Search for str1 in str2 and return index or -1
// Clobbers: rscratch1, rscratch2, rflags. May also clobber v0-v1, when icnt1==-1.
void C2_MacroAssembler::string_indexof(Register str2, Register str1,

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