Commit Graph

5735 Commits

Author SHA1 Message Date
Chen Liang
a2c775222e 8317356: Fix missing null checks in the ClassFile API
Co-authored-by: Nizar Benalla <nbenalla@openjdk.org>
Reviewed-by: asotona
2024-10-14 17:21:10 +00:00
Weijun Wang
3f53d57134 8340327: A common framework to support public key algorithms with standard parameter sets
Reviewed-by: ascarpino, mullan
2024-10-11 21:16:41 +00:00
Shaojin Wen
472db922fa 8341900: Optimize DirectCodeBuilder writeBody
Reviewed-by: liach
2024-10-11 02:17:37 +00:00
Shaojin Wen
24eb360147 8341906: Optimize ClassFile writing BufBuffer
Reviewed-by: liach
2024-10-11 00:29:14 +00:00
Justin Lu
7eb55357ab 8341789: Fix ExceptionOccurred in java.base
Reviewed-by: bpb, jpai, dfuchs, lancea, rriggs, naoto
2024-10-10 17:33:22 +00:00
Shaojin Wen
6e0138450a 8341136: Optimize StackMapGenerator::trimAndCompress
Reviewed-by: liach
2024-10-10 15:13:39 +00:00
Shaojin Wen
e9327b6e3c 8339205: Optimize StackMapGenerator
Reviewed-by: liach
2024-10-10 14:32:32 +00:00
Shaojin Wen
c850ecb20a 8341755: Optimize argNames in InnerClassLambdaMetafactory
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: liach, redestad
2024-10-09 23:50:18 +00:00
Justin Lu
e7045e9399 8341684: Typo in External Specifications link of java.util.Currency
Reviewed-by: liach, naoto, srl
2024-10-09 21:46:50 +00:00
Justin Lu
49c7148d37 8341366: Suspicious check in Locale.getDisplayName(Locale inLocale)
Reviewed-by: naoto
2024-10-09 21:45:47 +00:00
Shaojin Wen
a24525b67b 8339320: Optimize ClassFile Utf8EntryImpl#inflate
Reviewed-by: liach
2024-10-09 17:21:59 +00:00
Eirik Bjørsnøs
950e3a7587 8341625: Improve ZipFile validation of the END header
Reviewed-by: lancea
2024-10-09 15:56:38 +00:00
Shaojin Wen
047c2d7f26 8341141: Optimize DirectCodeBuilder
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: liach, redestad
2024-10-09 10:01:22 +00:00
Shaojin Wen
62acc9c174 8341548: More concise use of classfile API
Reviewed-by: liach
2024-10-08 20:35:14 +00:00
Eirik Bjørsnøs
7a1e832ea9 8336843: Deprecate java.util.zip.ZipError for removal
Reviewed-by: liach, lancea
2024-10-08 10:08:31 +00:00
Eirik Bjørsnøs
f62dba3651 8341597: ZipFileInflaterInputStream input buffer size uses uncompressed size
Reviewed-by: lancea
2024-10-08 09:59:29 +00:00
Claes Redestad
ffb60e55cd 8341594: Use Unsafe to coalesce reads in java.util.zip.ZipUtils
Reviewed-by: lancea
2024-10-08 08:14:40 +00:00
Shaojin Wen
d996ca863d 8341581: Optimize BytecodeHelpers validate slot
Reviewed-by: liach
2024-10-07 23:30:06 +00:00
Eirik Bjørsnøs
f7bb647dc8 8341595: Clean up iteration of CEN headers in ZipFile.Source.initCEN
Reviewed-by: lancea, redestad
2024-10-07 16:34:08 +00:00
David M. Lloyd
20f36c666c 8339329: ConstantPoolBuilder#constantValueEntry method doc typo and clarifications
Reviewed-by: liach
2024-10-06 16:26:45 +00:00
Attila Szegedi
260d4658ae 8340572: ConcurrentModificationException when sorting ArrayList sublists
Reviewed-by: smarks
2024-10-05 21:15:18 +00:00
Shaojin Wen
1c3e56c3e4 8341512: Optimize StackMapGenerator::processInvokeInstructions
Reviewed-by: liach
2024-10-05 15:37:18 +00:00
Shaojin Wen
f8db3a831b 8341510: Optimize StackMapGenerator::processFieldInstructions
Reviewed-by: liach
2024-10-05 01:21:25 +00:00
Shaojin Wen
b42fbf43df 8339699: Optimize DataOutputStream writeUTF
Reviewed-by: liach, bpb
2024-10-04 22:35:03 +00:00
Joe Darcy
e70cbcfd0c 8341541: Wrong anchor in wrapper classes links
Reviewed-by: hannesw, liach
2024-10-04 19:25:31 +00:00
Maurizio Cimadamore
7fa2f229fb 8341127: Extra call to MethodHandle::asType from memory segment var handles fails to inline
Reviewed-by: psandoz, redestad, jvernee
2024-10-04 09:45:50 +00:00
Jamil Nimeh
b6e72ff971 8339403: sun.security.ssl.StatusResponseManager.get swallows interrupt status
Reviewed-by: valeriep
2024-10-03 17:16:31 +00:00
Brian Burkhalter
3ee94e040a 8341282: (fs) Move creation time fallback logic to Java layer (Linux)
Reviewed-by: sgehwolf, alanb
2024-10-03 15:13:58 +00:00
Brian Burkhalter
f1ea57f06a 8340229: Improve opening sentence of FileInputStream constructor specification
Reviewed-by: alanb, jpai
2024-10-03 15:13:42 +00:00
Shaojin Wen
12028000db 8341006: Optimize StackMapGenerator detect frames
Reviewed-by: liach
2024-10-03 14:34:05 +00:00
Shaojin Wen
d7f32d891c 8341415: Optimize RawBytecodeHelper::next
Reviewed-by: liach
2024-10-03 12:08:23 +00:00
Calvin Cheung
0bdfe88e4c 8328313: Archived module graph should allow identical --module-path to be specified during dump time and run time
Reviewed-by: alanb, dholmes, iklam
2024-10-02 15:51:56 +00:00
fabioromano1
d6820d1324 8336274: MutableBigInteger.leftShift(int) optimization
Reviewed-by: rgiulietti
2024-10-02 09:45:43 +00:00
Matthias Baesken
c8c4ff2035 8341135: Incorrect format string after JDK-8339475
Reviewed-by: shade, clanger, alanb
2024-10-02 08:14:48 +00:00
Chen Liang
39c17b3926 8341277: Validate slot argument for instruction factories
Reviewed-by: asotona
2024-10-02 03:30:02 +00:00
Eirik Bjørsnøs
0f381137cb 8341243: Use ArraySupport.SOFT_MAX_ARRAY_LENGTH for max array size in java.base
Reviewed-by: jpai, smarks
2024-10-02 01:27:03 +00:00
Sandhya Viswanathan
83dcb02d77 8340079: Modify rearrange/selectFrom Vector API methods to perform wrapIndexes instead of checkIndexes
Reviewed-by: jbhateja, psandoz
2024-10-01 22:48:31 +00:00
Smita Kamath
a6b318863f 8337632: AES-GCM Algorithm optimization for x86_64
Reviewed-by: jbhateja, sviswanathan
2024-09-30 17:00:13 +00:00
Joe Darcy
5586f83e34 8341064: Define anchor point and index term for "wrapper classes"
Reviewed-by: prappo, liach
2024-09-30 16:13:35 +00:00
Joe Darcy
4168faf54c 8341100: Add index entries for terms used in java.lang.Class
Reviewed-by: liach
2024-09-30 16:10:02 +00:00
Shaojin Wen
f1bf469b4e 8341199: Use ClassFile's new API loadConstant(int)
Reviewed-by: liach, redestad
2024-09-30 14:12:01 +00:00
Eirik Bjørsnøs
cff420d8d3 8339711: ZipFile.Source.initCEN needlessly reads END header
Reviewed-by: lancea, jpai, redestad
2024-09-30 13:06:49 +00:00
Justin Lu
082125d61e 8340404: CharsetProvider specification updates
Reviewed-by: alanb, naoto
2024-09-27 18:26:08 +00:00
Rajan Halade
f554c3ffce 8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: mullan
2024-09-27 17:16:13 +00:00
Rajan Halade
824a297aae 8341057: Add 2 SSL.com TLS roots
Reviewed-by: mullan
2024-09-27 16:57:02 +00:00
Matthias Baesken
2a2ecc994e 8339475: Clean up return code handling for pthread calls in library coding
Reviewed-by: clanger, jwaters
2024-09-27 07:27:29 +00:00
Joe Darcy
bb040ef4cc 8340983: Use index and definition tags in Object and Double
Reviewed-by: bpb, liach
2024-09-26 16:04:45 +00:00
Joe Darcy
8225a5f58a 8340981: Update citations to "Hacker's Delight"
Reviewed-by: bpb, iris, liach, jwaters
2024-09-26 16:03:04 +00:00
Brian Burkhalter
aeaa4f78eb 8336895: BufferedReader doesn't read full \r\n line ending when it doesn't fit in buffer
Reviewed-by: jpai, alanb
2024-09-26 15:20:51 +00:00
Chen Liang
8c8f0d85ce 8339260: Move rarely used constants out of ClassFile
Reviewed-by: asotona
2024-09-26 06:34:18 +00:00
Tobias Hartmann
47c10694c6 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe
Reviewed-by: liach, shade, jvernee
2024-09-26 06:03:29 +00:00
Chen Liang
84751cbfdd 8340831: Simplify simple validation for class definition in MethodHandles.Lookup
Reviewed-by: redestad
2024-09-25 18:31:24 +00:00
Chen Liang
df1959fd7a 8340838: Clean up MutableCallSite to use explicit release fence instead of AtomicInteger
Reviewed-by: jrose, redestad, shade
2024-09-25 18:29:30 +00:00
Claes Redestad
d8790aa048 8340885: Desugar ZipCoder.Comparison
Reviewed-by: lancea, eirbjo
2024-09-25 13:04:46 +00:00
Shaojin Wen
2e0554a695 8340710: Optimize DirectClassBuilder::build
Reviewed-by: liach
2024-09-25 02:35:41 +00:00
Shaojin Wen
2d38af61e4 8340587: Optimize StackMapGenerator$Frame::checkAssignableTo
Reviewed-by: liach
2024-09-25 02:32:29 +00:00
Shaojin Wen
9bcc7b66de 8340708: Optimize StackMapGenerator::processMethod
Reviewed-by: liach
2024-09-25 02:30:46 +00:00
Jaikiran Pai
c0fcb258bb 8340717: Remove unused function declarations from java.c/java.h of the launcher
Reviewed-by: alanb, dholmes, shade, jwaters
2024-09-25 01:45:04 +00:00
Artur Barashev
e3d80f1e1e 8340670: Policy.UNSUPPORTED_EMPTY_COLLECTION.isReadOnly does not return true
Reviewed-by: mullan
2024-09-24 18:57:58 +00:00
vamsi-parasa
212e32931c 8338694: x86_64 intrinsic for tanh using libm
Reviewed-by: kvn, jbhateja, sgibbons, sviswanathan
2024-09-24 15:11:13 +00:00
Chen Liang
caa751c561 8338546: Speed up ConstantPoolBuilder::classEntry(ClassDesc)
Reviewed-by: asotona, redestad
2024-09-24 14:28:05 +00:00
Matthias Baesken
9176f6810e 8340623: Remove outdated PROCESSOR_ARCHITECTURE_IA64 from Windows coding
Reviewed-by: alanb, dholmes
2024-09-24 07:22:27 +00:00
Jaikiran Pai
865d99f634 8340596: Remove dead code from RequiresSetenv function in java.base/unix/native/libjli/java_md.c
Reviewed-by: dholmes
2024-09-24 02:08:20 +00:00
Jaikiran Pai
40cde003e8 8340114: Remove outdated SelectVersion() function from the launcher and update the code comments explaining the code flow
Reviewed-by: dholmes, alanb
2024-09-24 01:47:57 +00:00
Francisco Ferrari Bihurriet
c6f1d5f374 8319332: Security properties files inclusion
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun, mullan, kdriver
2024-09-23 17:45:38 +00:00
Lance Andersen
0f9f777520 8336025: Improve ZipOutputSream validation of MAX CEN Header field limits
Reviewed-by: alanb
2024-09-23 16:07:12 +00:00
Per Minborg
384deda65f 8325949: Create an internal utility method for creating VarHandle instances
Reviewed-by: rriggs
2024-09-23 10:57:43 +00:00
Matthias Baesken
34cddfbedd 8340387: Update OS detection code to recognize Windows Server 2025
Reviewed-by: mdoerr, jwaters, dholmes
2024-09-23 06:40:33 +00:00
Shaojin Wen
ab06a878f8 8340544: Optimize setLocalsFromArg
Reviewed-by: redestad, liach
2024-09-22 01:01:31 +00:00
Shaojin Wen
2461263aac 8339217: Optimize ClassFile API loadConstant
Reviewed-by: liach, redestad, asotona
2024-09-21 00:21:04 +00:00
Shaojin Wen
40fba14812 8340232: Optimize DataInputStream::readUTF
Reviewed-by: liach, bpb
2024-09-20 17:54:06 +00:00
Chen Liang
ab81197d0d 8339198: Remove tag field from AbstractPoolEntry
Reviewed-by: asotona, redestad
2024-09-20 16:11:39 +00:00
Jaikiran Pai
90d3a64b0a 8340537: Typo in javadoc of java.util.jar.JarFile
Reviewed-by: mullan, lancea, iris
2024-09-20 16:02:25 +00:00
Claes Redestad
a50440fadc 8340456: Reduce overhead of proxying Object methods in ProxyGenerator
Reviewed-by: liach
2024-09-20 09:21:12 +00:00
Justin Lu
5f3e7aa833 8339735: Remove references to Applet in core-libs/security APIs
Reviewed-by: coffeys, naoto, iris, rriggs, lancea, mullan
2024-09-19 16:18:37 +00:00
Brian Burkhalter
2ada313cdd 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win)
Reviewed-by: alanb
2024-09-19 15:25:04 +00:00
Prasadrao Koppula
c9bee173d6 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
Reviewed-by: coffeys, mullan
2024-09-19 13:21:08 +00:00
Jaikiran Pai
67198992ce 8286851: Deprecate for removal several of the undocumented java launcher options
Reviewed-by: dholmes
2024-09-19 06:28:05 +00:00
Rafael Winterhalter
1d070a3238 8337302: Undefined type variable results in null
Reviewed-by: liach
2024-09-18 12:33:56 +00:00
Claes Redestad
d23c59e408 8340280: Avoid calling MT.invokerType() when creating LambdaForms
Reviewed-by: liach, jvernee
2024-09-18 07:01:13 +00:00
Chen Liang
dfc90938ba 8340132: Remove internal CpException for reading malformed utf8
Reviewed-by: asotona
2024-09-17 21:08:47 +00:00
Raffaello Giulietti
28d009ce0e 8339934: Simplify Math.scalb(double) method
Reviewed-by: darcy
2024-09-17 17:11:32 +00:00
David M. Lloyd
3e14fb9c16 8340200: Misspelled constant AttributesProcessingOption.DROP_UNSTABLE_ATRIBUTES
Reviewed-by: liach
2024-09-17 16:24:38 +00:00
Brian Burkhalter
64e3a9ee91 8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks
Reviewed-by: djelinski, alanb
2024-09-17 15:50:32 +00:00
Brian Burkhalter
f87701635f 8315273: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link (win)
Reviewed-by: djelinski
2024-09-17 15:50:16 +00:00
Naoto Sato
418bb42b95 8340073: Support "%z" time zone abbreviation format in TZ files
Reviewed-by: jlu, joehw, coffeys
2024-09-16 20:03:00 +00:00
Justin Lu
65b9abaa29 8339769: Incorrect error message during startup if working directory does not exist
Reviewed-by: naoto, dholmes, alanb
2024-09-16 17:26:47 +00:00
Claes Redestad
e1ebeef040 8340131: Refactor internal makeHiddenClassDefiner to take option mask instead of Set<ClassOption>
Reviewed-by: liach, jvernee
2024-09-16 14:08:08 +00:00
Jaikiran Pai
a4eb9a063f 8339918: Remove checks for outdated -t -tm -Xfuture -checksource -cs -noasyncgc options from the launcher
Reviewed-by: dholmes, alanb
2024-09-16 08:34:54 +00:00
Nizar Benalla
37bf589ec0 8339847: Broken link to the dieharder distribution website in SplittableRandom
Reviewed-by: iris, liach
2024-09-13 16:56:01 +00:00
Joe Darcy
89c172ac47 8340082: Use inline return tag in java.base
Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
2024-09-13 16:49:28 +00:00
Per Minborg
1a0a53883f 8340120: Remove redundant code in SegmentBulkOperations::mismatch
Reviewed-by: mcimadamore
2024-09-13 15:27:50 +00:00
Per Minborg
3e0da58ee6 8333843: Provide guidelines on MemorySegment to read strings with known lengths
Reviewed-by: mcimadamore
2024-09-13 14:38:24 +00:00
Per Minborg
0c36177fea 8340089: Simplify SegmentBulkOperations::powerOfProperty
Reviewed-by: jpai
2024-09-13 08:43:38 +00:00
Per Minborg
5709c37940 8340081: Test java/foreign/TestLinker.java failed failed: missing permission java.lang.foreign.native.threshold.power.fill
Reviewed-by: dholmes
2024-09-13 06:48:44 +00:00
Per Minborg
81ff91ef27 8339531: Improve performance of MemorySegment::mismatch
Reviewed-by: mcimadamore
2024-09-12 18:31:08 +00:00
Eirik Bjørsnøs
7f1dae12e5 8339874: Avoid duplicate checking of trailing slash in ZipFile.getZipEntry
Reviewed-by: lancea, redestad
2024-09-12 15:24:22 +00:00
Chen Liang
4d65c3efca 8339876: Move constant symbol caches to Utf8EntryImpl
Reviewed-by: redestad
2024-09-12 15:16:38 +00:00
Claes Redestad
0765917dea 8340011: Simplify jdk.internal.classfile.impl.EntryMap
Reviewed-by: liach
2024-09-12 15:08:11 +00:00
Alan Bateman
1b17e0b133 8338747: hasIncubatorModules needs to be generated when module resolution required at startup
Reviewed-by: iklam, ccheung
2024-09-12 08:48:17 +00:00
Jaikiran Pai
1d39249231 8339834: Replace usages of -mx and -ms in some tests
Reviewed-by: aivanov, ascarpino, prr, dholmes
2024-09-12 02:02:14 +00:00
Viktor Klang
b0cff6b528 8299419: Thread.sleep(millis) may throw OOME
Reviewed-by: alanb
2024-09-11 20:02:49 +00:00
Maurizio Cimadamore
5977888500 8339686: java/foreign/TestMappedHandshake.java fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
8339780: TestByteBuffer fails on AIX after 8339285

Reviewed-by: alanb, jvernee
2024-09-11 11:18:38 +00:00
SendaoYan
a6faf8247b 8339714: Delete tedious bool type define
Reviewed-by: jwaters, dholmes
2024-09-11 02:12:08 +00:00
Jaikiran Pai
07643237d4 8225049: Bad -Xlog example in -Xlog:help, online documentation, JEP
Reviewed-by: dholmes
2024-09-11 01:19:15 +00:00
Joe Darcy
6fd043f1e4 8339789: Use index and definition tags in AnnotatedElement
Reviewed-by: jjg, prappo
2024-09-10 19:37:38 +00:00
Daniel Fuchs
c8e64cb7a5 8283779: Clarify API documentation of NetworkInterface with respect to configuration changes
Reviewed-by: alanb, msheppar
2024-09-10 17:27:19 +00:00
Claes Redestad
c246ede163 8339799: Reduce work done in j.l.invoke bytecode generators
Reviewed-by: liach
2024-09-10 13:33:19 +00:00
Claes Redestad
fb51c1e57b 8339837: Remove unused BootstrapMethodsInvokers.isLambdaMetafactoryCondyBSM
Reviewed-by: jvernee
2024-09-10 12:34:51 +00:00
Shaojin Wen
4d597de893 8338930: StringConcatFactory hardCoded string concatenation strategy
Reviewed-by: redestad, liach
2024-09-10 12:33:07 +00:00
Coleen Phillimore
ad104932e6 8338526: Don't store abstract and interface Klasses in class metaspace
Reviewed-by: stuefe, iklam
2024-09-10 11:43:21 +00:00
Claes Redestad
0d8e52b382 8339800: Prefer invokeBasic in BootstrapMethodInvokers
Reviewed-by: jvernee
2024-09-10 09:46:36 +00:00
Alan Bateman
7e2bcf6d00 8338890: Add monitoring/management interface for the virtual thread scheduler
Reviewed-by: kevinw
2024-09-10 07:23:35 +00:00
Artur Barashev
56387a0981 8329754: The ThreadSafe attribute is ignored for SecureRandom algorithm aliases
Reviewed-by: weijun
2024-09-09 21:04:04 +00:00
Chen Liang
a9bb04331d 8339683: Simplify class data generation in InvokerBytecodeGenerator
Reviewed-by: redestad
2024-09-09 15:15:16 +00:00
Claes Redestad
d53e405a26 8339742: Refactor ClassFileImpl to allow loading Option classes lazily
Reviewed-by: asotona
2024-09-09 14:18:20 +00:00
Ferenc Rakoczi
c54fc08aa3 8338587: Internal XOF Methods for SHAKE128 and SHAKE256
Reviewed-by: valeriep, weijun
2024-09-09 13:49:34 +00:00
Pavel Rappo
88cccc14db 8339631: Fix block @jls and @jvms tags
Reviewed-by: liach, darcy, jjg
2024-09-09 12:06:21 +00:00
Matthias Baesken
4ff72dc57e 8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message
Reviewed-by: alanb, lucy, rriggs
2024-09-09 07:35:18 +00:00
Claes Redestad
b45fe17450 8339710: Avoid initializing AccessFlag related classes in write-only cases
Reviewed-by: liach
2024-09-09 05:53:29 +00:00
Shaojin Wen
fbe2629303 8339635: StringConcatFactory optimization for CompactStrings off
Reviewed-by: liach
2024-09-06 18:37:29 +00:00
Chen Liang
5b72bbf9d4 8339519: Remove size field from instructions
Reviewed-by: asotona
2024-09-06 14:57:12 +00:00
Shaojin Wen
9ebc2ecbf6 8339317: Optimize ClassFile writeBuffer
Reviewed-by: redestad, liach
2024-09-06 13:38:22 +00:00
Claes Redestad
d2b36f0907 8339642: Reduce overheads in InvokerBytecodeGenerator
Reviewed-by: liach
2024-09-06 12:37:48 +00:00
Claes Redestad
cb00333d6a 8339640: Reduce construction overheads in StringConcatFactory$InlineHiddenClassStrategy
Reviewed-by: liach
2024-09-06 12:27:53 +00:00
Claes Redestad
260908e16e 8339592: Simplify and remove unused code in ObjectMethods.<clinit>
Reviewed-by: liach
2024-09-06 12:04:38 +00:00
Shaojin Wen
febbd998ee 8339168: Optimize ClassFile Util slotSize
Reviewed-by: liach, redestad
2024-09-06 12:01:01 +00:00
Chen Liang
a1eebbdf8a 8339576: Speed up raw bytecode processing in ClassFile API
Co-authored-by: Shaojin Wen <swen@openjdk.org>
Reviewed-by: asotona, redestad
2024-09-06 11:42:50 +00:00
Adam Sotona
a35fd38610 8339368: Switch targets are not inflated in CodeModel if no StackMap
Reviewed-by: liach
2024-09-06 07:43:38 +00:00
Hai-May Chao
8fb8cd85b7 8339347: keytool -importpass insists prompting the user even if there is no terminal
Reviewed-by: weijun
2024-09-05 20:17:52 +00:00
Maurizio Cimadamore
9e1af8cc7c 8339285: Test fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
Reviewed-by: alanb
2024-09-05 18:11:18 +00:00
Brian Burkhalter
042053c3a8 8003887: File.getCanonicalFile() does not resolve symlinks on MS Windows
Reviewed-by: alanb
2024-09-05 15:03:54 +00:00
Per Minborg
6be927260a 8338591: Improve performance of MemorySegment::copy
Reviewed-by: mcimadamore
2024-09-05 13:10:24 +00:00
Shaojin Wen
cb9f5c5791 8339290: Optimize ClassFile Utf8EntryImpl#writeTo
Reviewed-by: redestad, liach
2024-09-05 11:45:49 +00:00
Shaojin Wen
55312e1549 8338937: Optimize the string concatenation of ClassDesc
Reviewed-by: liach
2024-09-04 22:45:17 +00:00
David M. Lloyd
433f6d8a06 8339492: StackMapDecoder::writeFrames makes lots of allocations
Reviewed-by: liach, redestad, jwaters, asotona
2024-09-04 16:46:44 +00:00
Attila Szegedi
c7d15f1fe0 8325679: Optimize ArrayList subList sort
Reviewed-by: liach
2024-09-04 13:40:40 +00:00
Chen Liang
bd8569bc6c 8339131: Remove rarely-used accessor methods from Opcode
Reviewed-by: asotona
2024-09-04 12:29:40 +00:00
David Holmes
90f3f43257 8328877: [JNI] The JNI Specification needs to address the limitations of integer UTF-8 String lengths
Reviewed-by: cjplummer, alanb
2024-09-04 03:41:42 +00:00
Mark Powers
bbb516163d 8337664: Distrust TLS server certificates issued after Oct 2024 and anchored by Entrust Root CAs
Reviewed-by: mullan, rhalade
2024-09-03 19:55:58 +00:00
Chen Liang
ad40a122d6 8339214: Remove misleading CodeBuilder.loadConstant(Opcode, ConstantDesc)
Reviewed-by: asotona
2024-09-03 13:44:48 +00:00
Viktor Klang
e0c46d589b 8325397: sun/java2d/Disposer/TestDisposerRace.java fails in linux-aarch64
Reviewed-by: alanb
2024-09-03 12:55:23 +00:00
Shaojin Wen
b94c3debf5 8339401: Optimize ClassFile load and store instructions
Reviewed-by: liach, redestad
2024-09-03 12:05:02 +00:00
Matthias Baesken
8ea6adc623 8339364: AIX build fails: various unused variable and function warnings
Reviewed-by: mdoerr, clanger, jwaters
2024-09-03 12:02:49 +00:00
Per Minborg
7a418fc074 8338967: Improve performance for MemorySegment::fill
Reviewed-by: mcimadamore, psandoz
2024-09-03 10:25:27 +00:00
Magnus Ihse Bursie
a136a85b6f 8338768: Introduce runtime lookup to check for static builds
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: prr, jiangli, alanb
2024-09-02 09:14:36 +00:00
Justin Lu
b840b130df 8338882: Clarify matching order of MessageFormat subformat factory styles
Reviewed-by: naoto
2024-08-30 18:28:53 +00:00
Chen Liang
25e03b5209 8339115: Rename TypeKind enum constants to follow code style
Reviewed-by: asotona
2024-08-30 17:28:28 +00:00
Brian Burkhalter
fef1ef7dfe 6426678: (spec) File.createTempFile(prefix, suffix, dir) needs clarification for illegal symbols in suffix
Reviewed-by: alanb
2024-08-30 17:17:10 +00:00
Shaojin Wen
b711c41d44 8339196: Optimize BufWriterImpl#writeU1/U2/Int/Long
Reviewed-by: liach, redestad
2024-08-29 21:21:16 +00:00
Chen Liang
777ed2b5d2 8339132: Make DirectCodeBuilder write through without allocating instruction objects
Reviewed-by: asotona, redestad
2024-08-29 15:45:52 +00:00
Andrey Turbanov
d35ffa4f6a 8339017: Make a couple of fields in DoubleByte static
Reviewed-by: bpb, naoto
2024-08-29 09:57:52 +00:00
Brent Christian
26e3d535ad 8338716: Re-visit "interrupt handling" in jdk.internal.loader.Resource
Reviewed-by: alanb
2024-08-28 22:54:38 +00:00
Justin Lu
a8ac28725b 8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
2024-08-28 21:14:29 +00:00
Claes Redestad
eff6d9cd23 8339167: Remove AbstractPoolEntry.PrimitiveEntry to reduce boxing overheads
Reviewed-by: liach
2024-08-28 18:22:30 +00:00
Claes Redestad
a98ecad0a9 8338897: Small startup regression remains after JDK-8309622 and JDK-8331932
Reviewed-by: liach, naoto
2024-08-28 18:16:00 +00:00
Anthony Scarpino
0c2b175898 8328608: Multiple NewSessionTicket support for TLS
Reviewed-by: djelinski
2024-08-28 17:24:33 +00:00
Maurizio Cimadamore
1ff9ac7233 8338731: MemoryLayout::offsetHandle can return a negative offset
Reviewed-by: pminborg, psandoz
2024-08-28 10:22:34 +00:00
Jaikiran Pai
2e174c6367 8338445: jdk.internal.loader.URLClassPath may leak JarFile instance when dealing with unexpected Class-Path entry in manifest
Reviewed-by: michaelm, cstein, alanb
2024-08-28 09:29:18 +00:00
Shaojin Wen
449ca2c3c1 8337832: Optimize datetime toString
Reviewed-by: scolebourne, liach, naoto
2024-08-27 22:10:05 +00:00
Per Minborg
2e96f159aa 8338489: Typo in MemorySegment doc
Reviewed-by: rriggs, mcimadamore, iris
2024-08-27 16:24:50 +00:00
Naoto Sato
fa4ff78bd4 8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)
Reviewed-by: joehw, rriggs, jlu
2024-08-27 15:34:50 +00:00
Maurizio Cimadamore
b25095b08e 8338728: Misc issues in memory layout javadoc
Reviewed-by: pminborg, psandoz
2024-08-27 14:26:31 +00:00
Viktor Klang
414d23cb8f 8338765: ScheduledThreadPoolExecutor struggles with extremely long delays
Reviewed-by: alanb
2024-08-27 13:23:02 +00:00
Julian Waters
cd9e241f0e 8336289: Obliterate most references to _snprintf in the Windows JDK
Reviewed-by: kbarrett, dholmes, jpai, mullan, djelinski, prr
2024-08-27 04:13:54 +00:00
Shaojin Wen
5ecbecfbca 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Reviewed-by: redestad, liach
2024-08-26 20:26:17 +00:00
Claes Redestad
3f00da84b3 8338906: Avoid passing EnumDescs and extra classes to type switch methods that don't use them
Reviewed-by: liach, jlahoda
2024-08-26 15:58:25 +00:00
Claes Redestad
e63418ee01 8338979: Avoid bootstrapped switches in the classfile API
Reviewed-by: liach, asotona
2024-08-26 14:29:09 +00:00
Maurizio Cimadamore
20d8f58c92 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
Brian Burkhalter
23dc3b0246 8324048: (fc) Make FileKey fields final
Reviewed-by: djelinski, alanb, jpai
2024-08-23 16:32:14 +00:00
Chen Liang
a461369f16 8338700: AttributeMapper type parameter should be bounded by Attribute
Reviewed-by: asotona
2024-08-23 15:16:44 +00:00
Markus Grönlund
69bd227e6c 8338417: Explicitly pin a virtual thread before acquiring the JFR string pool monitor
Reviewed-by: alanb, egahlin, dholmes
2024-08-23 09:29:23 +00:00
Markus Grönlund
fead3cf541 8338745: Intrinsify Continuation.pin() and Continuation.unpin()
Reviewed-by: kvn
2024-08-23 09:26:00 +00:00
Brian Burkhalter
c89a1c35bd 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Reviewed-by: sgehwolf, alanb
2024-08-22 21:41:25 +00:00
Claes Redestad
47c8a6a8db 8333265: De-duplicate method references in java.util.stream.FindOps
Reviewed-by: liach
2024-08-21 22:10:06 +00:00
Doug Lea
ab8071d280 8338146: Improve Exchanger performance with VirtualThreads
Reviewed-by: alanb
2024-08-21 18:22:24 +00:00
Maurizio Cimadamore
0e8fe3550b 8338677: Improve startup of memory access var handles by simplifying combinator chains
Reviewed-by: redestad
2024-08-21 15:11:32 +00:00
Shaojin Wen
3aeb6733f9 8338532: Speed up the ClassFile API MethodTypeDesc#ofDescriptor
Reviewed-by: redestad, liach
2024-08-21 14:56:30 +00:00
Chen Liang
80adea8e0a 8338545: Functional interface implementations for common pre-boot ClassFile operations
Reviewed-by: asotona
2024-08-21 11:58:21 +00:00
Adam Sotona
e88a3b0574 8338661: StackMapTable is invalid if frames appear in dead code
Reviewed-by: liach
2024-08-21 08:19:35 +00:00
Chen Liang
88ccbb6091 8336934: Clean up JavaLangReflectAccess
Reviewed-by: rriggs, darcy
2024-08-21 01:05:41 +00:00
Chen Liang
1ebf2cf639 8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
2024-08-20 19:02:38 +00:00
Mark Reinhold
0267284c52 8338611: java.lang.module specification wording not aligned with JEP 261
Reviewed-by: alanb
2024-08-20 18:50:17 +00:00
Vladimir Petko
285ceb9ee5 8336529: (fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Reviewed-by: bpb, alanb
2024-08-20 15:51:40 +00:00
Chen Liang
b442003048 8338623: StackCounter adding extraneous slots for receiver invoke instructions
Reviewed-by: asotona
2024-08-20 14:44:37 +00:00
Jaikiran Pai
686eb233d5 8336817: Several methods on DatagramSocket and MulticastSocket do not specify behaviour when already closed or connected
Reviewed-by: dfuchs, alanb
2024-08-20 12:28:56 +00:00
Chen Liang
68d1f5c33b 8338543: ClassBuilder withMethod builders should cache the method type symbol
Reviewed-by: asotona
2024-08-20 05:43:04 +00:00
Alan Bateman
2766b09e29 8338452: (dc) DatagramChannelImpl.blockingReceive with timeout may block indefinitely if all datagrams blocked by SecurityManager
Reviewed-by: dfuchs
2024-08-19 12:57:29 +00:00
Adam Sotona
f0fe31383a 8338564: Remove obsolete AbstractNamedEntry::equals method
Reviewed-by: liach
2024-08-19 12:57:17 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Pavel Rappo
07352c6744 8338398: Trivially fix grammar and typos
Reviewed-by: aivanov
2024-08-16 14:06:10 +00:00
Shaojin Wen
5022109b2a 8336856: Efficient hidden class-based string concatenation strategy
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-08-16 13:18:02 +00:00
Andrey Turbanov
60c9b5cd9f 8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
2024-08-16 08:49:18 +00:00
Shaojin Wen
74066bcca8 8338409: Use record to simplify code
Reviewed-by: redestad, liach
2024-08-15 22:57:33 +00:00
Chen Liang
ace496515f 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy
Reviewed-by: asotona
2024-08-15 17:50:34 +00:00
Sonia Zaldana Calles
56dec215b0 8338014: Improve usage of @jvms tags in class file API
Reviewed-by: darcy, liach, asotona
2024-08-15 13:28:25 +00:00
John Engebretson
a5d948fb98 8332842: Optimize empty CopyOnWriteArrayList allocations
Reviewed-by: shade, alanb
2024-08-14 14:11:53 +00:00
Alan Bateman
58b9570544 8338142: (dc) DatagramChannelImpl.blockingReceive can use untimed-park when no timeout set
Reviewed-by: dfuchs
2024-08-13 16:05:38 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Viktor Klang
fbe4cc96e2 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
Reviewed-by: alanb
2024-08-13 09:51:08 +00:00