819 Commits

Author SHA1 Message Date
Raffaello Giulietti
72bcf2aa03 4511638: Double.toString(double) sometimes produces incorrect results
Reviewed-by: aturbanov, darcy, bpb
2022-06-01 21:53:54 +00:00
Sergey Tsypanov
168b226b0f 8282662: Use List.of() factory method to reduce memory consumption
Reviewed-by: redestad, rriggs
2022-06-01 13:31:36 +00:00
liach
e0382c5523 8285401: Proxy class initializer should use 3-arg Class.forName to avoid unnecessary class initialization
Reviewed-by: rriggs, mchung
2022-05-31 18:30:39 +00:00
liach
37a513003c 8287064: Modernize ProxyGenerator.PrimitiveTypeInfo
Reviewed-by: rriggs, mchung
2022-05-31 18:29:07 +00:00
Claes Redestad
be93318576 8287292: Improve TransformKey to pack more kinds of transforms efficiently
Reviewed-by: jlaskey, jvernee, mchung
2022-05-27 12:10:40 +00:00
Maurizio Cimadamore
f58c9a659b 8287244: Add bound check in indexed memory access var handle
Reviewed-by: psandoz, jvernee
2022-05-26 08:34:49 +00:00
Jan Lahoda
e9bddc18ab 8262889: Compiler implementation for Record Patterns
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-05-25 11:56:24 +00:00
Maurizio Cimadamore
e1f140d270 8287206: Use WrongThreadException for confinement errors
Reviewed-by: alanb, darcy, mchung
2022-05-25 09:50:55 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Maurizio Cimadamore
89a1d055d9 8286715: Generalize MemorySegment::ofBuffer
Reviewed-by: jvernee
2022-05-23 08:43:51 +00:00
Claes Redestad
d5d19f52ce 8287013: StringConcatFactory: remove short and byte mixers/prependers
Reviewed-by: jlaskey
2022-05-20 08:17:23 +00:00
Andrey Turbanov
de74e0e25a 8280035: Use Class.isInstance instead of Class.isAssignableFrom where applicable
Reviewed-by: prr, rriggs
2022-05-19 21:43:32 +00:00
Jorn Vernee
ee45a0ac63 8286669: Replace MethodHandle specialization with ASM in mainline
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2022-05-18 16:03:18 +00:00
Jorn Vernee
81e4bdbe13 8283689: Update the foreign linker VM implementation
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: mcimadamore, vlivanov, rehn
2022-05-18 09:49:55 +00:00
Joe Darcy
4bc7b7df04 8286760: Update citation of "Effective Java" second edition to third edition
Reviewed-by: bpb, prappo
2022-05-16 16:07:30 +00:00
Jan Lahoda
0155e4b76b 8282274: Compiler implementation for Pattern Matching for switch (Third Preview)
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, vromero, abimpoudis
2022-05-16 07:49:26 +00:00
Joe Darcy
160944bc6b 8286615: Small refactor to SerializedLambda
Reviewed-by: bpb, iris
2022-05-12 16:56:05 +00:00
Maurizio Cimadamore
2c5d136260 8282191: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Naoto Sato
cc7560e995 8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
Reviewed-by: jpai, bpb, rriggs
2022-05-12 15:58:19 +00:00
Sergey Tsypanov
9073a98d57 8282701: Use Class.getInterfaces(false) where possible to reduce allocation pressure
Reviewed-by: redestad, mchung
2022-05-10 17:19:33 +00:00
Claes Redestad
3fa1c40439 8286298: Remove unused methods in sun.invoke.util.VerifyType
Reviewed-by: bpb, alanb, mchung
2022-05-10 09:01:40 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Joe Darcy
59ef76a365 8285497: Add system property for Java SE specification maintenance version
Reviewed-by: mullan, jpai, iris
2022-05-05 22:23:41 +00:00
Joe Darcy
3cbf769f55 8285977: Add links to IEEE 754 specification
Reviewed-by: jjg, iris, bpb
2022-05-03 16:58:19 +00:00
Pavel Rappo
3eb661bbe7 8285890: Fix some @param tags
Reviewed-by: dfuchs, mullan, darcy, mchung, wetmore
2022-04-30 21:21:17 +00:00
Joe Darcy
bba456a8db 8285676: Add missing @param tags for type parameters on classes and interfaces
Reviewed-by: wetmore, smarks, dfuchs, prr, alanb, mchung
2022-04-28 18:00:34 +00:00
Claes Redestad
6c79671e50 8285633: Take better advantage of generic MethodType cache
Reviewed-by: jvernee
2022-04-27 17:54:21 +00:00
Naoto Sato
03bcf7b6d1 8283620: System.out does not use the encoding/charset specified in the Javadoc
Reviewed-by: alanb
2022-04-26 16:05:20 +00:00
Joe Darcy
d435d692b0 8285614: Fix typo in java.lang.Float
Reviewed-by: naoto, lancea, iris
2022-04-25 23:03:11 +00:00
Raffaello Giulietti
fb605944b5 8285477: Add a PRECISION public static field to j.l.Float and j.l.Double
Reviewed-by: darcy
2022-04-25 17:18:46 +00:00
Tim Prinzing
e8016f7443 8281006: Module::getResourceAsStream should check if the resource is open unconditionally when caller is null
Reviewed-by: alanb, erikj, mchung
2022-04-20 17:02:31 +00:00
Claes Redestad
e307bc8694 8285001: Simplify StringLatin1.regionMatches
Reviewed-by: rriggs, naoto
2022-04-19 20:29:16 +00:00
Claes Redestad
5d1ec54d6c 8285007: Use correct lookup mode for MethodHandleStatics.UNSAFE
Reviewed-by: psandoz, mchung
2022-04-19 20:26:02 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Naoto Sato
eb9c457b41 8284856: Add a test case for checking UnicodeScript entity numbers
Reviewed-by: iris, smarks
2022-04-19 15:51:57 +00:00
XenoAmess
87faa85c59 8186958: Need method to create pre-sized HashMap
Reviewed-by: chegar, naoto, joehw, lancea, wetmore, smarks
2022-04-19 00:03:56 +00:00
Pavel Rappo
d3d71ea289 8284922: Fix some doc-comment issues on methods with package access in JDK API
Reviewed-by: darcy, iris, bpb
2022-04-18 17:35:48 +00:00
Paul Sandoz
fbb0916090 8283892: Compress and expand bits
Reviewed-by: alanb, redestad
2022-04-14 20:27:12 +00:00
Claes Redestad
280aa42880 8284579: Improve VarHandle checks for interpreter
Reviewed-by: mcimadamore, mchung
2022-04-13 07:21:24 +00:00
vamsi-parasa
37e28aea27 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: sviswanathan, kvn, jbhateja
2022-04-10 03:47:18 +00:00
Ioi Lam
662320a0ec 8284336: CDS SignedJar.java test fails due to archived Reference object
Reviewed-by: alanb, ccheung
2022-04-08 17:20:10 +00:00
Claes Redestad
a385142398 8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method
Reviewed-by: darcy, shade, coleenp
2022-04-06 14:26:58 +00:00
Thomas Stuefe
9561b5e041 8284165: Add pid to process reaper thread name
Reviewed-by: rriggs
2022-04-05 03:39:39 +00:00
Jatin Bhateja
003ec21f3c 8279508: Auto-vectorize Math.round API
Reviewed-by: sviswanathan, aph
2022-04-02 18:00:33 +00:00
Dan Heidinga
fc7a17c79b 8284103: AsVarargsCollector::asCollectorCache incorrectly marked @stable
Reviewed-by: jvernee, shade
2022-04-01 12:50:21 +00:00
Xin Liu
bab431cc12 8282429: StringBuilder/StringBuffer.toString() skip compressing for UTF16 strings
Reviewed-by: djelinski, redestad
2022-04-01 04:42:03 +00:00
Mandy Chung
e61ccfba7f 8283470: Update java.lang.invoke.VarHandle to use sealed classes
Reviewed-by: darcy, psandoz
2022-03-30 17:37:42 +00:00
Mandy Chung
489b27d2c0 8282776: Bad NullPointerException message when invoking an interface MethodHandle on a null receiver
Reviewed-by: psandoz
2022-03-29 19:57:53 +00:00
Roger Riggs
f0282d7def 8279488: ProcessBuilder inherits contextClassLoader when spawning a process reaper thread
Reviewed-by: alanb
2022-03-28 15:44:54 +00:00
Joe Darcy
f16244509d 8283416: Update java.lang.invoke.MethodHandle to use sealed classes
Reviewed-by: sundar, mchung
2022-03-24 19:08:23 +00:00