Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
d32d6c0
8297791: update _max_classes in node type system
Dec 14, 2022
9bcdfc4
8298425: System.console().readLine() hangs in jshell
lahodaj Dec 14, 2022
ceca4fc
8298264: Merge OffsetTableContigSpace into TenuredSpace
albertnetymk Dec 14, 2022
9ee5037
8298636: Fix return value in WB_CountAliveClasses and WB_GetSymbolRef…
albertnetymk Dec 14, 2022
2e801e1
8298475: Remove JVM_ACC_PROMOTED_FLAGS
coleenp Dec 14, 2022
0bbc418
8294902: Undefined Behavior in C2 regalloc with null references
Dec 14, 2022
2791701
8298296: gc/TestFullGCCount.java fails with "System.gc collections mi…
Dec 14, 2022
0eeaf6b
8298649: JFR: RemoteRecordingStream support for checkpoint event size…
egahlin Dec 14, 2022
581f9f2
8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of reg…
xmas92 Dec 14, 2022
ed8a212
8298376: ZGC: thaws stackChunk with stale oops
stefank Dec 14, 2022
0dce5b8
8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthentic…
dfuch Dec 14, 2022
c05dbac
8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/D…
Dec 14, 2022
736fcd4
8296318: use-def assert: special case undetected loops nested in infi…
eme64 Dec 14, 2022
7241e35
8298692: Fix typos in test/jdk/com/sun/jdi files
plummercj Dec 14, 2022
8ff2928
8297639: Remove preventive GCs in G1
Dec 14, 2022
ccb94ac
8287812: Cleanup JDWP agent GetEnv initialization
plummercj Dec 14, 2022
ebc4710
8298277: Replace "session" with "scope" for FFM access
minborg Dec 14, 2022
a130c8a
Merge
JesperIRL Dec 14, 2022
80cadd4
8298785: gc/TestFullGCCount.java fails with "invalid boolean value: `…
Dec 14, 2022
0ed6d0b
8297296: java/awt/Mouse/EnterExitEvents/DragWindowTest.java fails wit…
Dec 14, 2022
3ef3824
8298794: Remove JVM_ACC_PROMOTED_FLAGS breaks minimal build
coleenp Dec 14, 2022
d1085d1
8281946: VM.native_memory should report size of shareable memory
Dec 15, 2022
10bc86c
Merge
JesperIRL Dec 15, 2022
b9074fa
8298249: Excessive memory allocation in CipherInputStream AEAD decryp…
djelinski Dec 15, 2022
3ae7187
8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Se…
djelinski Dec 15, 2022
5f63f7a
8298726: (fs) Change PollingWatchService to record last modified time…
Dec 15, 2022
98fa48c
8298093: improve cleanup and error handling of awt_parseColorModel in…
MBaesken Dec 15, 2022
b17c524
8298059: Linked stack watermarks don't support nesting
fisk Dec 15, 2022
323e574
8298371: monitors_on_stack extracts unprocessed oops
stefank Dec 15, 2022
22a6b59
8298727: Trees.getPath may crash for unnamed package
lahodaj Dec 15, 2022
48f6127
8298376: ZGC: thaws stackChunk with stale oops
stefank Dec 15, 2022
2c42499
8298050: Add links to graph output for javadoc
minborg Dec 15, 2022
0288210
8298859: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.ja…
Dec 15, 2022
ca39eb9
7093322: (fs spec) Files.newBufferedWriter should be clear when codin…
Dec 15, 2022
831b35f
7093322: (fs spec) Files.newBufferedWriter should be clear when codin…
Dec 15, 2022
0ef3539
8298416: Console should be declared `sealed`
naotoj Dec 15, 2022
ae8988e
8297912: HotSpot Style Guide should permit alignas (Second Proposal A…
TheShermanTanker Dec 15, 2022
4b313b5
8297798: Timeout with DTLSOverDatagram test template
mpdonova Dec 15, 2022
10737e1
8298468: Clean up class_loader parameters
coleenp Dec 15, 2022
3cdbd87
8298241: Replace C-style casts with JavaThread::cast
Dec 15, 2022
5412439
8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAc…
Dec 15, 2022
c7d7e7e
8298888: ProblemList gc/g1/TestVerifyGCType.java on linux and macosx
Dec 16, 2022
2bb727c
8290899: java/lang/String/StringRepeat.java test requests too much he…
mrserb Dec 16, 2022
a336461
8298081: DiagnoseSyncOnValueBasedClasses doesn't report useful inform…
Dec 16, 2022
e41686b
8298710: Fix typos in test/jdk/sun/security/tools/jarsigner/
jaikiran Dec 16, 2022
03a694a
8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" …
mrserb Dec 16, 2022
fa322e4
8298709: Fix typos in src/java.desktop/ and various test classes of c…
jaikiran Dec 16, 2022
c47e64e
8297979: ZGC: Ensure consistent MemoryUsage from MemoryMXBean.getHeap…
kstefanj Dec 16, 2022
226e579
8298088: RISC-V: Make Address a discriminated union internally
RealFYang Dec 16, 2022
0ba4734
8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with …
Dec 16, 2022
f771c56
8298797: Specification of some restricted methods is incorrect
mcimadamore Dec 16, 2022
909d0cb
8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends o…
Karm Dec 16, 2022
ac2fcf3
8296374: Check for young region in G1BarrierSet::invalidate instead o…
Dec 16, 2022
f4caaca
8298852: Use of uninitialized memory in MetadataFactory::free_metadata
jcking Dec 16, 2022
b14794d
8298852: Use of uninitialized memory in MetadataFactory::free_metadata
coleenp Dec 16, 2022
9e10f00
8298919: Add a regression test for JDK-8298520
TobiHartmann Dec 16, 2022
3696711
Merge
JesperIRL Dec 16, 2022
81e23ab
8298809: Clean up vm/compiler/InterfaceCalls JMH
Dec 16, 2022
0eeaeb8
8298808: Check `script` code on detecting the base locales
naotoj Dec 16, 2022
bf9a8ce
8249826: 5 javax/net/ssl/SSLEngine tests use @ignore w/o bug-id
mpdonova Dec 16, 2022
bfa921a
8160404: RelocationHolder constructors have bugs
Dec 16, 2022
c997b5b
8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10
Dec 16, 2022
0ecad28
8298976: ProblemList java/util/concurrent/ExecutorService/CloseTest.j…
Dec 16, 2022
3b7970c
8298217: Regressions 30-110% in SwingMark on MacOS, more so on aarch64
aghaisas Dec 17, 2022
41cc044
8298970: Problem list java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java
Dec 17, 2022
d102672
8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage…
Dec 17, 2022
3410555
8298987: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default w…
Dec 17, 2022
7938f8c
8298639: Perform I/O operations in bulk for RandomAccessFile
minborg Dec 18, 2022
ba942c2
8298244: AArch64: Optimize vector implementation of AddReduction for …
Dec 19, 2022
5e678f7
8298824: C2 crash: assert(is_Bool()) failed: invalid node class: ConI
chhagedorn Dec 19, 2022
3637660
8298813: [C2] Converting double to float cause a loss of precision an…
sunny868 Dec 19, 2022
1622563
8265688: Unused ciMethodType::ptype_at should be removed
dafedafe Dec 19, 2022
ec95991
8298736: Revisit usages of log10 in compiler code
dafedafe Dec 19, 2022
86d588b
8283740: C1: Convert flag TwoOperandLIRForm to a constant on all plat…
dafedafe Dec 19, 2022
8e49fcd
8295661: CompileTask::compile_id() should be passed as int
dafedafe Dec 19, 2022
da38d43
8296412: Special case infinite loops with unmerged backedges in Ideal…
eme64 Dec 19, 2022
de0ce79
8297801: printnm crashes with invalid address due to null pointer der…
dafedafe Dec 19, 2022
756a06d
8299022: Linux ppc64le and s390x build issues after JDK-8160404
MBaesken Dec 19, 2022
4c927df
8298470: Short cut java.lang.Object super class loading
coleenp Dec 19, 2022
9194e91
8298701: Cleanup SA entries in ProblemList-zgc.txt.
plummercj Dec 19, 2022
2c69c41
8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and th…
Dec 19, 2022
188aaef
8277074: Qualified exported types show up in JavaDoc
hns Dec 19, 2022
40cb431
8298943: Missing escapes for single quote marks in compiler.properties
archiecobbs Dec 19, 2022
5d330f5
8299045: tools/doclint/BadPackageCommentTest.java fails after JDK-829…
jonathan-gibbons Dec 19, 2022
3e17e3c
4512626: Non-editable JTextArea provides no visual indication of keyb…
Dec 19, 2022
f07acfc
8298699: java/lang/reflect/IllegalArgumentsTest.java times out with s…
Dec 19, 2022
d0a7679
4958969: ObjectOutputStream example leads to non-working code
Dec 19, 2022
abc1297
8299044: test/jdk/javax/swing/JComboBox/JComboBoxBorderTest.java fail…
lawrence-andrew Dec 19, 2022
05f9e76
8298974: Add ftcolor.c to imported freetype sources
prrace Dec 19, 2022
ea40f29
8298215: gc/g1/TestVerifyGCType.java failed with "Missing expected ve…
Dec 20, 2022
dd15d30
8299043: test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java …
lawrence-andrew Dec 20, 2022
36de61c
8298865: Excessive memory allocation in CipherOutputStream AEAD decry…
djelinski Dec 20, 2022
3dd2cfa
8298784: JFR: Test chunk integrity
egahlin Dec 20, 2022
5df00d3
8298931: java/net/httpclient/CancelStreamedBodyTest.java fails with A…
dfuch Dec 20, 2022
e5edb10
8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java…
dfuch Dec 20, 2022
c5a4a7a
Merge
JesperIRL Dec 20, 2022
318526b
8299031: JFR: Clean up jdk.management.jfr
egahlin Dec 20, 2022
65fc058
8298968: G1: Incorrect merged remset stats
albertnetymk Dec 20, 2022
de8153c
8298526: JFR: Generate missing filename for time-bound recordings
egahlin Dec 20, 2022
03d9927
8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.jav…
coleenp Dec 20, 2022
03afec1
8298162: Test PrintClasses hits assert when run with code that retran…
coleenp Dec 20, 2022
f4d7f43
8299123: [BACKOUT] 4512626 Non-editable JTextArea provides no visual …
Dec 20, 2022
8dfb6d7
8298651: Serial: Remove MarkSweep::follow_klass
albertnetymk Dec 20, 2022
386db07
Merge
JesperIRL Dec 20, 2022
e85d00f
8299147: Minor accessibility errors in the specs and man index pages
jonathan-gibbons Dec 20, 2022
3d4d9fd
8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails in…
TheRealMDoerr Dec 20, 2022
f7be5b5
8299156: Broken link in jdk.compiler/module-info.java
jonathan-gibbons Dec 20, 2022
396a9bf
8298913: Add override qualifiers to Relocation classes
Dec 21, 2022
f56285c
8299146: No copyright statement on ArtifactResolverException.java
XueleiFan Dec 21, 2022
f36e144
8299025: BMPImageReader.java readColorPalette could use staggeredRead…
MBaesken Dec 21, 2022
85f9b37
8297682: Use Collections.emptyIterator where applicable
Dec 21, 2022
b005013
8296275: Write a test to verify setAccelerator method of JMenuItem
Naveenam-Oracle Dec 21, 2022
92fe304
8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends o…
RealCLanger Dec 21, 2022
81933b7
8298642: ParallelGC -XX:+UseNUMA eden spaces allocated on wrong node
nick-arm Dec 21, 2022
a7d6de7
8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all b…
ChrisHegarty Dec 21, 2022
88bfe4d
8297724: Loop strip mining prevents some empty loops from being elimi…
rwestrel Dec 21, 2022
65442a2
8269736: Optimize CDS PatchEmbeddedPointers::do_bit()
Dec 21, 2022
10d62fa
8299061: Using lambda to optimize GraphKit::compute_stack_effects()
Dec 21, 2022
7e59a0e
8298971: Move Console implementation into jdk internal package
naotoj Dec 21, 2022
9adc349
8298726: (fs) Change PollingWatchService to record last modified time…
Dec 21, 2022
22007a1
8298893: Rename option UsePolyIntrinsics to UsePoly1305Intrinsics
vpaprotsk Dec 21, 2022
f80face
8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocat…
Dec 21, 2022
34cdda5
Merge
JesperIRL Dec 21, 2022
fef70d7
8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual…
Dec 22, 2022
5012039
8298887: On the latest macOS+XCode the Robot API may report wrong colors
mrserb Dec 22, 2022
a0a09d5
8298176: remove OpaqueZeroTripGuardPostLoop once main-loop disappears
rwestrel Dec 22, 2022
5e001d6
8299207: [Testbug] Add back test/jdk/java/awt/Graphics2D/DrawPrimitiv…
aghaisas Dec 22, 2022
9863f59
8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all b…
ChrisHegarty Dec 22, 2022
a80c91d
8299230: Use https: in links
Dec 22, 2022
a3693cc
8295087: Manual Test to Automated Test Conversion
Dec 22, 2022
62a033e
8299191: Unnecessarily global friend functions for relocInfo
Dec 22, 2022
b378381
8299199: Avoid redundant split calls in FontConfiguration.initReorder…
Dec 22, 2022
6ccee83
8292206: TestCgroupMetrics.java fails as getMemoryUsage() is lower th…
iklam Dec 22, 2022
5e2de89
8299194: CustomTzIDCheckDST.java may fail at future date
Dec 22, 2022
2294f22
8286311: remove boilerplate from use of runTests
jonathan-gibbons Dec 22, 2022
33042a4
8299237: add ArraysSupport.newLength test to a test group
Dec 22, 2022
2f4098e
8299168: RISC-V: Fix MachNode size mismatch for MacroAssembler::_veri…
zhengxiaolinX Dec 23, 2022
19ce23c
Merge
JesperIRL Dec 23, 2022
da75de3
8299172: RISC-V: [TESTBUG] Fix stack alignment logic in jvmci RISCV64…
zhengxiaolinX Dec 23, 2022
188911c
8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates u…
Dec 23, 2022
fd746a2
8298643: JNI call of getAccessibleRowWithIndex and getAccessibleColum…
savoptik Dec 23, 2022
5e861e3
8298645: JNI works with accessibleSelection on a wrong thread
savoptik Dec 23, 2022
26868c1
8299255: Unexpected round errors in FreetypeFontScaler
Dec 24, 2022
19373b2
Merge
JesperIRL Dec 25, 2022
0459159
8288204: GVN Crash: assert() failed: correct memory chain
y1yang0 Dec 26, 2022
11fd651
8298875: A module requiring "java.base" with flags ACC_SYNTHETIC shou…
Dec 27, 2022
d490f15
8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.…
MBaesken Dec 28, 2022
6f85a9c
8299387: CompressedClassPointers.java still fails on ppc with 'Narrow…
MBaesken Dec 28, 2022
37f8b05
8298592: Add java man page documentation for ChaCha20 and Poly1305 in…
Dec 29, 2022
684e506
8299260: libawt and libfreetype should export only explicitly request…
djelinski Dec 30, 2022
c2e3d72
8299388: java/util/regex/NegativeArraySize.java fails on Alpine and s…
MBaesken Dec 30, 2022
2ee34f1
4912623: GTK L&F: Folder list of the JFileChooser is allowing multipl…
Jan 2, 2023
18ff1f5
6257207: JTable.getDefaultEditor throws NullPointerException
prsadhuk Jan 2, 2023
95d4db3
8299424: containers/docker/TestMemoryWithCgroupV1.java fails on SLES1…
MBaesken Jan 2, 2023
d812022
8299398: Remove metaprogramming/isConst.hpp
jcking Jan 2, 2023
0532045
8298590: Refactor LambdaForm constructors
JornVernee Jan 2, 2023
e09e243
8299187: (bf) ByteOrder.name should be declared final
minborg Jan 2, 2023
8a10eef
8299193: (bf) Buffer.capacity should be declared final
minborg Jan 2, 2023
c252a85
8298652: G1: Refactor G1MarkAndPushClosure
albertnetymk Jan 2, 2023
9d3d039
8299402: Remove metaprogramming/isVolatile.hpp
jcking Jan 2, 2023
532ccdb
8299396: Remove metaprogramming/removeExtent.hpp
jcking Jan 2, 2023
71a64a1
8299399: Remove metaprogramming/isArray.hpp
jcking Jan 2, 2023
ce6395a
8299397: Remove metaprogramming/isFloatingPoint.hpp
jcking Jan 2, 2023
67086eb
8299030: Refactor ReservedSpace::reserve
albertnetymk Jan 2, 2023
5b5552f
8299483: ProblemList java/text/Format/NumberFormat/CurrencyFormat.java
Jan 2, 2023
417d01e
8299441: Fix typos in some test files under core-libs component
jaikiran Jan 3, 2023
3757433
8295974: jni_FatalError and Xcheck:jni warnings should print the nati…
Jan 3, 2023
a6a903d
8288204: GVN Crash: assert() failed: correct memory chain
TobiHartmann Jan 3, 2023
8afd665
8299395: Remove metaprogramming/removeCV.hpp
jcking Jan 3, 2023
a9ce772
8299437: Make InetSocketAddressHolder shallowly immutable
minborg Jan 3, 2023
245f0cf
8291302: ARM32: nmethod entry barriers support
Jan 3, 2023
3d0db02
Merge
JesperIRL Jan 3, 2023
92dfc73
8294526: sun/security/provider/SubjectCodeSource.java no longer refer…
ryawalla Jan 3, 2023
ea25a56
8299520: TestPrintXML.java output error messages in case compare fails
MBaesken Jan 3, 2023
3eb85d1
8299235: broken link referencing missing id
Jan 3, 2023
031829d
8298324: Unable to run shell test with make
erikj79 Jan 3, 2023
8254cbb
8299483: ProblemList java/text/Format/NumberFormat/CurrencyFormat.java
Jan 3, 2023
38cfc59
8299378: sprintf is deprecated in Xcode 14
XueleiFan Jan 3, 2023
77ff197
7030853: JDK 7 Serializable Swing classes not compatible with JDK 6
prsadhuk Jan 4, 2023
b743519
8293824: gc/whitebox/TestConcMarkCycleWB.java failed "RuntimeExceptio…
Jan 4, 2023
82deb5c
8298601: Refactor archiving of java.lang.Module objects
iklam Jan 4, 2023
a17f505
8299476: PPC64 Zero build fails after JDK-8286302
shipilev Jan 4, 2023
41900b5
8189338: JMX RMI Remote Mbean server connection hangs if the server s…
djelinski Jan 4, 2023
e3035ba
8299079: Better interface nmethod oop accesses
fisk Jan 4, 2023
ccbcea8
8299326: LinkResolver::resolve_field resolved_klass cannot be null
coleenp Jan 4, 2023
c32a34c
8299072: java_lang_ref_Reference::clear_referent should be GC agnostic
fisk Jan 4, 2023
c6588d5
8299158: Improve MD5 intrinsic on AArch64
Jan 4, 2023
4c0f24e
8064931: tools/javac/scope/DupUnsharedTest.java needs to be updated t…
archiecobbs Jan 4, 2023
6a07fd0
8155259: Suspicious buffer allocation in com.sun.tools.javac.file.Bas…
archiecobbs Jan 4, 2023
df1caf9
Merge
JesperIRL Jan 4, 2023
b9758d2
8200610: Compiling fails with java.nio.file.ReadOnlyFileSystemException
archiecobbs Jan 4, 2023
44be5ed
8219810: javac throws NullPointerException
archiecobbs Jan 4, 2023
7dcc689
8299563: Fix typos
Jan 4, 2023
3b374c0
8299439: java/text/Format/NumberFormat/CurrencyFormat.java fails for …
justin-curtis-lu Jan 4, 2023
5ae6de8
8299296: Write a test to verify the components selection sends ItemEvent
ravigupta30 Jan 4, 2023
578c287
8081507: Open or Save button in JFileChooser has OK title in GTK LaF
Jan 4, 2023
2ccdefc
8299470: sun/jvm/hotspot/SALauncher.java handling of negative rmiport…
MBaesken Jan 5, 2023
c929d8b
8299475: Enhance SocketException by cause where it is missing in net …
MBaesken Jan 5, 2023
e7361cb
8299430: Cleanup: delete unnecessary semicolons in java.desktop module
mrserb Jan 5, 2023
1ca31d3
8299657: sun/tools/jhsdb/SAGetoptTest.java fails after 8299470
MBaesken Jan 5, 2023
8723847
8298848: C2: clone all of (CmpP (LoadKlass (AddP down at split if
rwestrel Jan 5, 2023
9c4ed16
8299561: VaList.empty() doesn't return a list associated with the glo…
mcimadamore Jan 5, 2023
be64bf8
8299329: Assertion failure with fastdebug build when trying to use CD…
ashu-mehra Jan 5, 2023
b908388
8298449: Unnecessary Vector usage in MetaData.ProxyPersistenceDelegate
Jan 5, 2023
a49ccb9
8299292: Missing elements in aliased String array
naotoj Jan 5, 2023
3e2314d
8299254: Support dealing with standard assert macro
Jan 5, 2023
dfdbd0f
8299343: Windows: Invalid thread_native_entry declaration
Jan 5, 2023
4b6809b
8299693: Change to Xcode12.4+1.1 devkit for building on macOS at Oracle
vidmik Jan 5, 2023
284c94e
8298525: javadoc crashes with "UnsupportedOperationException: Not yet…
pavelrappo Jan 5, 2023
7845b0d
8296934: Write a test to verify whether Undecorated Frame can be icon…
Jan 6, 2023
775da84
8299412: JNI call of getAccessibleActionCount on a wrong thread
savoptik Jan 6, 2023
99be740
8299306: Test "javax/swing/JFileChooser/FileSystemView/CustomFSVLinkT…
Jan 6, 2023
b5b7948
8298240: Replace the usage of ImageLayoutException by the CMMException
mrserb Jan 6, 2023
cc4936a
8298720: Insufficient error handling when CodeBuffer is exhausted
TobiHartmann Jan 6, 2023
0234f81
8298447: Unnecessary Vector usage in DocPrintJob implementations
Jan 6, 2023
136f5db
8299528: IR test: TestEor3AArch64.java fails on aarch64
Jan 6, 2023
88f0ea7
8299726: [cleanup] Some code cleanup in opto/compile.hpp
Jan 6, 2023
5598acc
8294403: [REDO] make test should report only on executed tests
shipilev Jan 6, 2023
8cc1669
8299721: [Vector API] assert in switch-default of LibraryCallKit::arc…
DamonFool Jan 6, 2023
1e99729
8299274: Add elements to resolved_references consistently
coleenp Jan 6, 2023
5eee2a0
8299740: CaptureCallState is missing @Preview annotation
mcimadamore Jan 6, 2023
3dcf700
8299336: InputStream::DEFAULT_BUFFER_SIZE should be 16384
mkarg Jan 6, 2023
ba03f42
8299746: Accept unknown signatureAlgorithm in PKCS7 SignerInfo
wangweij Jan 6, 2023
d6e9f01
8285416: [LOOM] Some nsk/jdi tests fail due to needing too many virtu…
plummercj Jan 6, 2023
1f141bd
8299705: JCov coverage runs depend on jdk_symbols
shurymury Jan 6, 2023
8c70bf3
8299544: Improve performance of CRC32C intrinsics (non-AVX-512) for s…
Jan 6, 2023
d6d6eb4
8299699: Test runtime/cds/appcds/WrongClasspath.java fails after JDK-…
ashu-mehra Jan 6, 2023
4a95c74
8299425: "LCMSImageLayout.isIntPacked" flag can be deleted
mrserb Jan 6, 2023
d086e82
8299600: Use Objects.check*() where appropriate in java.io
Jan 6, 2023
7310131
8299337: The java.awt.image.ColorModel#pData field is unused
mrserb Jan 6, 2023
5393dc9
Merge
JesperIRL Jan 7, 2023
63cf4aa
8299499: Usage of constructors of primitive wrapper classes should be…
justin-curtis-lu Jan 7, 2023
d5b80ab
8299617: CurrencySymbols.properties is missing the copyright notice
justin-curtis-lu Jan 7, 2023
e209693
8258776: ThreadLocal#initialValue() Javadoc is unaware of ThreadLocal…
jaikiran Jan 7, 2023
834e50e
8298921: Create a regression test for JDK-8139581
Jan 8, 2023
d53cac3
8299481: Remove metaprogramming/removePointer.hpp
jcking Jan 8, 2023
7607c07
8299774: SYNTH_BUTTON_UI_KEY field is unused
SWinxy Jan 9, 2023
c444922
8218474: JComboBox display issue with GTKLookAndFeel
Jan 9, 2023
d03a5d9
8299593: getprotobyname should not be used
djelinski Jan 9, 2023
8d17d1e
6914801: IPv6 unavailable if stdin is a socket
djelinski Jan 9, 2023
9b1ade8
8295406: C1 crash with -XX:TypeProfileArgsLimit=0 -XX:TypeProfileLeve…
dafedafe Jan 9, 2023
05a0a71
8297933: [REDO] Compiler should only use verified interface types for…
rwestrel Jan 9, 2023
d2827ec
8299671: speed up compiler/intrinsics/string/TestStringLatin1IndexOfC…
eme64 Jan 9, 2023
a503ec2
8299608: Add Register + imm32 orq to x86_64 assembler
fisk Jan 9, 2023
4072412
8298876: Swing applications do not get repainted coming out of sleep …
prsadhuk Jan 9, 2023
500c3c1
8298730: Refactor subsystem_file_line_contents and add docs and tests
jdksjolen Jan 9, 2023
7068457
8298472: AArch64: Detect Ampere-1 and Ampere-1A CPUs and set default …
cnqpzhang Jan 9, 2023
66db0bb
8299692: G1: Remove unused G1BlockOffsetTable::is_card_boundary
albertnetymk Jan 9, 2023
cdf0eba
Merge master and resolve conflicts
cl4es Jan 10, 2023
91309f9
Disable laziness for deeply reflective MH test
cl4es Jan 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 49 additions & 1 deletion doc/hotspot-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ <h1 class="title">HotSpot Coding Style</h1>
<li><a href="#expression-sfinae" id="toc-expression-sfinae">Expression
SFINAE</a></li>
<li><a href="#enum" id="toc-enum">enum</a></li>
<li><a href="#alignas" id="toc-alignas">alignas</a></li>
<li><a href="#thread_local" id="toc-thread_local">thread_local</a></li>
<li><a href="#nullptr" id="toc-nullptr">nullptr</a></li>
<li><a href="#atomic" id="toc-atomic">&lt;atomic&gt;</a></li>
Expand Down Expand Up @@ -598,7 +599,7 @@ <h3 id="c-standard-library">C++ Standard Library</h3>
<code>std::numeric_limits</code>.</li>
<li><code>#include &lt;type_traits&gt;</code>.</li>
<li><code>#include &lt;cstddef&gt;</code> to use
<code>std::nullptr_t</code>.</li>
<code>std::nullptr_t</code> and <code>std::max_align_t</code>.</li>
</ul>
<p>TODO: Rather than directly #including (permitted) Standard Library
headers, use a convention of #including wrapper headers (in some
Expand Down Expand Up @@ -670,6 +671,53 @@ <h3 id="enum">enum</h3>
constant members. Compilers having such bugs are no longer supported.
Except where an enum is semantically appropriate, new code should use
integral constants.</p>
<h3 id="alignas">alignas</h3>
<p><em>Alignment-specifiers</em> (<code>alignas</code> <a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf">n2341</a>)
are permitted, with restrictions.</p>
<p><em>Alignment-specifiers</em> are permitted when the requested
alignment is a <em>fundamental alignment</em> (not greater than
<code>alignof(std::max_align_t)</code> <a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf">C++14
3.11/2</a>).</p>
<p><em>Alignment-specifiers</em> with an <em>extended alignment</em>
(greater than <code>alignof(std::max_align_t)</code> <a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf">C++14
3.11/3</a>) may only be used to align variables with static or automatic
storage duration (<a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf">C++14
3.7.1, 3.7.3</a>). As a consequence, <em>over-aligned types</em> are
forbidden; this may change if HotSpot updates to using C++17 or later
(<a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0035r4.html">p0035r4</a>).</p>
<p>Large <em>extended alignments</em> should be avoided, particularly
for stack allocated objects. What is a large value may depend on the
platform and configuration. There may also be hard limits for some
platforms.</p>
<p>An <em>alignment-specifier</em> must always be applied to a
definition (<a
href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf">C++14
10.6.2/6</a>). (C++ allows an <em>alignment-specifier</em> to optionally
also be applied to a declaration, so long as the definition has
equivalent alignment. There isn't any known benefit from duplicating the
alignment in a non-definition declaration, so such duplication should be
avoided in HotSpot code.)</p>
<p>Enumerations are forbidden from having <em>alignment-specifiers</em>.
Aligned enumerations were originally permitted but insufficiently
specified, and were later (C++20) removed (<a
href="https://cplusplus.github.io/CWG/issues/2354.html">CWG 2354</a>).
Permitting such usage in HotSpot now would just cause problems in the
future.</p>
<p><em>Alignment-specifiers</em> are forbidden in <code>typedef</code>
and <em>alias-declarations</em>. This may work or may have worked in
some versions of some compilers, but was later (C++14) explicitly
disallowed (<a
href="https://cplusplus.github.io/CWG/issues/1437.html">CWG
1437</a>).</p>
<p>The HotSpot macro <code>ATTRIBUTE_ALIGNED</code> provides similar
capabilities for platforms that define it. This macro predates the use
by HotSpot of C++ versions providing <code>alignas</code>. New code
should use <code>alignas</code>.</p>
<h3 id="thread_local">thread_local</h3>
<p>Avoid use of <code>thread_local</code> (<a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm">n2659</a>);
Expand Down
47 changes: 46 additions & 1 deletion doc/hotspot-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ There are a few exceptions to this rule.
* `#include <new>` to use placement `new`, `std::nothrow`, and `std::nothrow_t`.
* `#include <limits>` to use `std::numeric_limits`.
* `#include <type_traits>`.
* `#include <cstddef>` to use `std::nullptr_t`.
* `#include <cstddef>` to use `std::nullptr_t` and `std::max_align_t`.

TODO: Rather than directly \#including (permitted) Standard Library
headers, use a convention of \#including wrapper headers (in some
Expand Down Expand Up @@ -651,6 +651,51 @@ constant members. Compilers having such bugs are no longer supported.
Except where an enum is semantically appropriate, new code should use
integral constants.

### alignas

_Alignment-specifiers_ (`alignas`
[n2341](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf))
are permitted, with restrictions.

_Alignment-specifiers_ are permitted when the requested alignment is a
_fundamental alignment_ (not greater than `alignof(std::max_align_t)`
[C++14 3.11/2](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).

_Alignment-specifiers_ with an _extended alignment_ (greater than
`alignof(std::max_align_t)`
[C++14 3.11/3](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf))
may only be used to align variables with static or automatic storage duration
([C++14 3.7.1, 3.7.3](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).
As a consequence, _over-aligned types_ are forbidden; this may change if
HotSpot updates to using C++17 or later
([p0035r4](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0035r4.html)).

Large _extended alignments_ should be avoided, particularly for stack
allocated objects. What is a large value may depend on the platform and
configuration. There may also be hard limits for some platforms.

An _alignment-specifier_ must always be applied to a definition
([C++14 10.6.2/6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).
(C++ allows an _alignment-specifier_ to optionally also be applied to a
declaration, so long as the definition has equivalent alignment. There isn't
any known benefit from duplicating the alignment in a non-definition
declaration, so such duplication should be avoided in HotSpot code.)

Enumerations are forbidden from having _alignment-specifiers_. Aligned
enumerations were originally permitted but insufficiently specified, and were
later (C++20) removed
([CWG 2354](https://cplusplus.github.io/CWG/issues/2354.html)).
Permitting such usage in HotSpot now would just cause problems in the future.

_Alignment-specifiers_ are forbidden in `typedef` and _alias-declarations_.
This may work or may have worked in some versions of some compilers, but was
later (C++14) explicitly disallowed
([CWG 1437](https://cplusplus.github.io/CWG/issues/1437.html)).

The HotSpot macro `ATTRIBUTE_ALIGNED` provides similar capabilities for
platforms that define it. This macro predates the use by HotSpot of C++
versions providing `alignas`. New code should use `alignas`.

### thread_local

Avoid use of `thread_local`
Expand Down
3 changes: 3 additions & 0 deletions doc/testing.html
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,9 @@ <h4 id="repeat_count">REPEAT_COUNT</h4>
<p>Repeat the tests up to a set number of times, stopping at first
failure. This helps to reproduce intermittent test failures. Defaults to
0.</p>
<h4 id="report">REPORT</h4>
<p>Use this report style when reporting test results (sent to JTReg as
<code>-report</code>). Defaults to <code>files</code>.</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests
Expand Down
5 changes: 5 additions & 0 deletions doc/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,11 @@ Repeat the tests up to a set number of times, stopping at first failure.
This helps to reproduce intermittent test failures.
Defaults to 0.

#### REPORT

Use this report style when reporting test results (sent to JTReg as `-report`).
Defaults to `files`.

### Gtest keywords

#### REPEAT
Expand Down
2 changes: 1 addition & 1 deletion make/Docs.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ $(foreach n, 0 1 2, \
$(eval specs_bottom_rel_path := $(specs_bottom_rel_path)../) \
)

SPECS_TOP := $(if $(filter true, $(IS_DRAFT)), <header class="draft-header">$(DRAFT_TEXT)</header>)
SPECS_TOP := $(if $(filter true, $(IS_DRAFT)), <header class="draft-header" role="banner">$(DRAFT_TEXT)</header>)

# For all html files in $module/share/specs directories, copy and add the
# copyright footer.
Expand Down
9 changes: 6 additions & 3 deletions make/RunTests.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -196,11 +196,12 @@ $(eval $(call SetTestOpt,JAVA_OPTIONS,JTREG))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
$(eval $(call SetTestOpt,FAILURE_HANDLER_TIMEOUT,JTREG))
$(eval $(call SetTestOpt,REPORT,JTREG))

$(eval $(call ParseKeywordVariable, JTREG, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \
TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT REPORT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS \
$(CUSTOM_JTREG_STRING_KEYWORDS), \
Expand Down Expand Up @@ -352,7 +353,7 @@ ExpandJtregPath = \
# with test id: dir/Test.java#selection -> Test.java#selection -> .java#selection -> #selection
# without: dir/Test.java -> Test.java -> .java -> <<empty string>>
TestID = \
$(subst .java,,$(suffix $(notdir $1)))
$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))

# The test id starting with a hash (#testid) will be stripped by all
# evals in ParseJtregTestSelectionInner and will be reinserted by calling
Expand Down Expand Up @@ -745,6 +746,7 @@ define SetupRunJtregTestBody
JTREG_RUN_PROBLEM_LISTS ?= false
JTREG_RETRY_COUNT ?= 0
JTREG_REPEAT_COUNT ?= 0
JTREG_REPORT ?= files

ifneq ($$(JTREG_RETRY_COUNT), 0)
ifneq ($$(JTREG_REPEAT_COUNT), 0)
Expand Down Expand Up @@ -857,6 +859,7 @@ define SetupRunJtregTestBody
-dir:$$(JTREG_TOPDIR) \
-reportDir:$$($1_TEST_RESULTS_DIR) \
-workDir:$$($1_TEST_SUPPORT_DIR) \
-report:$${JTREG_REPORT} \
$$$${JTREG_STATUS} \
$$(JTREG_OPTIONS) \
$$(JTREG_FAILURE_HANDLER_OPTIONS) \
Expand Down
7 changes: 4 additions & 3 deletions make/ZipSource.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -31,6 +31,7 @@ include JavaCompilation.gmk
include Modules.gmk

SRC_ZIP_WORK_DIR := $(SUPPORT_OUTPUTDIR)/src
$(if $(filter $(TOPDIR)/%, $(SUPPORT_OUTPUTDIR)), $(eval SRC_ZIP_BASE := $(TOPDIR)), $(eval SRC_ZIP_BASE := $(SUPPORT_OUTPUTDIR)))

# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, ZipSource.gmk))
Expand All @@ -45,10 +46,10 @@ ALL_MODULES := $(FindAllModules)
# again to create src.zip.
$(foreach m, $(ALL_MODULES), \
$(foreach d, $(call FindModuleSrcDirs, $m), \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$d)/$m) \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$(patsubst $(SUPPORT_OUTPUTDIR)/%,%,$d))/$m) \
$(if $(SRC_GENERATED), , \
$(eval $$($d_TARGET): $d ; \
$$(if $(filter $(TOPDIR)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
$$(if $(filter $(SRC_ZIP_BASE)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
) \
) \
$(eval SRC_ZIP_SRCS += $$($d_TARGET)) \
Expand Down
74 changes: 34 additions & 40 deletions make/autoconf/build-aux/config.guess
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,40 @@
# and fix the broken property, if needed.

DIR=`dirname $0`
OUT=`. $DIR/autoconf-config.guess`
OUT=`. $DIR/autoconf-config.guess 2> /dev/null`

# Handle some cases that autoconf-config.guess is not capable of
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
# Test and fix little endian MIPS.
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
# Test and fix little endian PowerPC64.
elif [ `uname -m` = ppc64le ]; then
OUT=powerpc64le-unknown-linux-gnu
# Test and fix LoongArch64.
elif [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
# Test and fix RISC-V.
elif [ `uname -m` = riscv64 ]; then
OUT=riscv64-unknown-linux-gnu
fi
# Test and fix cygwin machine arch .x86_64
elif [[ `uname -s` = CYGWIN* ]]; then
if [ `uname -m` = ".x86_64" ]; then
OUT=x86_64-unknown-cygwin
fi
fi

if [ "x$OUT" = x ]; then
# Run autoconf-config.guess again to get the error message.
. $DIR/autoconf-config.guess > /dev/null
else
printf "guessed by custom config.guess... " >&2
fi
fi

# Detect C library.
# Use '-gnu' suffix on systems that use glibc.
Expand Down Expand Up @@ -81,45 +114,6 @@ if test $? = 0; then
OUT=powerpc$KERNEL_BITMODE`echo $OUT | sed -e 's/[^-]*//'`
fi

# Test and fix little endian PowerPC64.
# TODO: should be handled by autoconf-config.guess.
if [ "x$OUT" = x ]; then
if [ `uname -m` = ppc64le ]; then
if [ `uname -s` = Linux ]; then
OUT=powerpc64le-unknown-linux-gnu
fi
fi
fi

# Test and fix little endian MIPS.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
fi
fi
fi

# Test and fix LoongArch64.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
fi
fi
fi

# Test and fix RISC-V.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = riscv64 ]; then
OUT=riscv64-unknown-linux-gnu
fi
fi
fi

# Test and fix cpu on macos-aarch64, uname -p reports arm, buildsys expects aarch64
echo $OUT | grep arm-apple-darwin > /dev/null 2> /dev/null
if test $? != 0; then
Expand Down
27 changes: 23 additions & 4 deletions make/common/MakeBase.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -306,17 +306,36 @@ endef
# There are two versions, either creating a relative or an absolute link. Be
# careful when using this on Windows since the symlink created is only valid in
# the unix emulation environment.
define link-file-relative
# In msys2 we use mklink /J because its ln would perform a deep copy of the target.
# This inhibits performance and can lead to issues with long paths. With mklink /J
# relative linking does not work, so we handle the link as absolute path.
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $(call RelativePath, $<, $(@D)))' '$(call DecodeSpace, $@)'
endef
endef
endif

define link-file-absolute
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'
endef
endef
endif

################################################################################

Expand Down
3 changes: 0 additions & 3 deletions make/common/modules/LibCommon.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,12 @@ ifeq ($(TOOLCHAIN_TYPE), gcc)
CFLAGS_JDKLIB += -fvisibility=hidden
CXXFLAGS_JDKLIB += -fvisibility=hidden
LDFLAGS_JDKLIB += -Wl,--exclude-libs,ALL
EXPORT_ALL_SYMBOLS := -fvisibility=default
else ifeq ($(TOOLCHAIN_TYPE), clang)
CFLAGS_JDKLIB += -fvisibility=hidden
CXXFLAGS_JDKLIB += -fvisibility=hidden
EXPORT_ALL_SYMBOLS := -fvisibility=default
else ifeq ($(TOOLCHAIN_TYPE), xlc)
CFLAGS_JDKLIB += -qvisibility=hidden
CXXFLAGS_JDKLIB += -qvisibility=hidden
EXPORT_ALL_SYMBOLS := -qvisibility=default
endif

# Put the libraries here.
Expand Down
Loading