Commit graph

1167 commits

Author SHA1 Message Date
Joe Darcy
ee0f5b5ed0 8301392: Port fdlibm log1p to Java
Reviewed-by: bpb
2023-02-02 20:36:34 +00:00
Christian Wimmer
622b6594d1 8262994: Refactor String.split to help method inlining
Reviewed-by: plevart
2023-01-30 23:33:11 +00:00
Joe Darcy
63bb2ce8de 8301205: Port fdlibm log10 to Java
Reviewed-by: bpb
2023-01-30 20:33:01 +00:00
Jesper Wilhelmsson
5c59de52a3 Merge 2023-01-27 22:46:31 +00:00
Mandy Chung
7f05d57a87 8217920: Lookup.defineClass injects a class that can access private members of any class in its own module
Reviewed-by: psandoz, alanb, darcy
2023-01-27 18:31:03 +00:00
Adam Sotona
b22e5216c4 8300953: ClassDesc::ofInternalName missing @since tag
Reviewed-by: darcy, mchung, jjg
2023-01-27 15:09:53 +00:00
Claes Redestad
bb42e61a61 8300493: Use ArraysSupport.vectorizedHashCode in j.u.zip.ZipCoder
Reviewed-by: alanb, lancea
2023-01-21 11:54:51 +00:00
Mandy Chung
facd41511b 8297757: VarHandles.getStaticFieldFromBaseAndOffset should get the receiver type from VarHandle
Reviewed-by: psandoz, alanb
2023-01-20 17:25:18 +00:00
Joe Darcy
f2a1eb9804 8300698: Missing @since tag for ClassFileFormatVersion.RELEASE_21
Reviewed-by: rriggs, mchung
2023-01-19 22:11:23 +00:00
Feilong Jiang
24cdcd4c70 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview)
Co-authored-by: Weikai He <weikai@isrc.iscas.ac.cn>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: jvernee, fyang, shade, yadongwang
2023-01-19 01:33:35 +00:00
Joe Darcy
7bf0d1465e 8300133: Use generalized see and link tags in core libs
Reviewed-by: jjg, mchung, naoto, smarks
2023-01-18 18:54:03 +00:00
Claes Redestad
3ea0b8bc25 8300489: Use ArraysSupport.vectorizedHashCode in j.l.CharacterName
Reviewed-by: alanb, naoto
2023-01-18 17:39:27 +00:00
Sergey Tsypanov
754f6e6116 8300237: Minor improvements in MethodHandles
Reviewed-by: redestad
2023-01-18 13:55:09 +00:00
Claes Redestad
e37078f5bb 8282664: Unroll by hand StringUTF16 and StringLatin1 polynomial hash loops
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: vlivanov, sviswanathan, luhenry
2023-01-17 21:06:22 +00:00
Justin Lu
ab7f43f080 8299498: Usage of constructors of primitive wrapper classes should be avoided in java.lang API docs
Backport-of: d663b5da10
2023-01-13 23:14:14 +00:00
Jesper Wilhelmsson
9887047228 Merge 2023-01-12 22:24:19 +00:00
Roger Riggs
6a4a874356 8299034: Runtime::exec clarification of inherited environment
Reviewed-by: alanb
2023-01-12 14:54:39 +00:00
Claes Redestad
48c8fb39a7 8299978: Remove MethodHandleNatives.getMembers
Reviewed-by: jvernee, mchung
2023-01-12 13:39:59 +00:00
Jorn Vernee
3918f9f523 8299090: Specify coordinate order for additional CaptureCallState parameters on class as well
Reviewed-by: pminborg, mcimadamore
2023-01-12 06:49:27 +00:00
Jesper Wilhelmsson
33f3bd8fad Merge 2023-01-11 21:50:42 +00:00
Justin Lu
d663b5da10 8299498: Usage of constructors of primitive wrapper classes should be avoided in java.lang API docs
Reviewed-by: naoto, darcy, rriggs, mchung, lancea
2023-01-11 17:18:39 +00:00
Maurizio Cimadamore
945ef07564 8299862: OfAddress setter should disallow heap segments
Reviewed-by: jvernee
2023-01-11 10:31:25 +00:00
Mandy Chung
a86b6f6fde 8299183: Invokers.checkExactType passes parameters to create WMTE in opposite order
Reviewed-by: iris, jpai
2023-01-10 17:05:33 +00:00
Jaikiran Pai
e209693a37 8258776: ThreadLocal#initialValue() Javadoc is unaware of ThreadLocal#withInitial()
Reviewed-by: alanb
2023-01-07 02:33:52 +00:00
Jesper Wilhelmsson
5393dc9a48 Merge 2023-01-07 02:05:59 +00:00
Maurizio Cimadamore
5eee2a07f5 8299740: CaptureCallState is missing @Preview annotation
Reviewed-by: alanb
2023-01-06 14:52:08 +00:00
Jorn Vernee
0532045edb 8298590: Refactor LambdaForm constructors
Reviewed-by: redestad
2023-01-02 12:06:26 +00:00
Jesper Wilhelmsson
3696711efa Merge 2022-12-16 15:48:24 +00:00
Maurizio Cimadamore
f771c56e16 8298797: Specification of some restricted methods is incorrect
Reviewed-by: jvernee, pminborg
2022-12-16 10:49:22 +00:00
Brent Christian
bf78f716bd 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())
Reviewed-by: iris
Backport-of: c7aca73177
2022-12-13 19:07:44 +00:00
Brent Christian
c7aca73177 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())
Reviewed-by: lancea, bpb, naoto, dholmes, smarks
2022-12-12 19:36:55 +00:00
Joe Darcy
7f9c6ce331 8297679: InvocationTargetException field named target is not declared final
Reviewed-by: alanb
2022-12-09 00:29:08 +00:00
Alan Bateman
d35e840024 8297295: Remove ThreadGroup.allowThreadSuspension
Reviewed-by: jpai, smarks, chegar, darcy
2022-12-08 18:17:58 +00:00
Joe Darcy
175e3d3ff3 8296149: Start of release updates for JDK 21
8296150: Add SourceVersion.RELEASE_21
8296151: Add source 21 and target 21 to javac

Reviewed-by: dholmes, iris, erikj, vromero, jlahoda
2022-12-08 16:04:00 +00:00
Sergey Tsypanov
b9346e149e 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check
Reviewed-by: rriggs
2022-12-08 10:21:56 +00:00
Alan Bateman
1166c8e2c0 8296896: Change virtual Thread.yield to use external submit
Reviewed-by: jpai, rpressler
2022-12-08 07:37:32 +00:00
Naoto Sato
8a9911ef17 8295803: Console should be usable in jshell and other environments
Reviewed-by: jlaskey, alanb
2022-12-07 20:49:29 +00:00
Claes Redestad
3de775094d 8298177: Various java.lang.invoke cleanups
8284363: Redundant imports in BoundMethodHandle

Reviewed-by: jvernee
2022-12-07 15:37:58 +00:00
Andrew Haley
221e1a4260 8286666: JEP 429: Implementation of Scoped Values (Incubator)
Reviewed-by: psandoz, dlong, alanb, mcimadamore
2022-12-07 10:14:06 +00:00
Jorn Vernee
0452c39fec 8296477: Foreign linker implementation update following JEP 434
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: rehn, mcimadamore, vlivanov
2022-12-05 14:47:12 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Jorn Vernee
562bc171b9 8291359: Specification of method j.l.foreign.VaList::skip still deserves clarification
Reviewed-by: mcimadamore
2022-12-02 22:15:27 +00:00
Aleksey Shipilev
9bbcb546c8 8297784: Optimize @Stable field for Method.isCallerSensitive
Reviewed-by: redestad, jvernee, alanb
2022-12-02 07:29:27 +00:00
Sergey Tsypanov
c6156f9123 8297561: Redundant index check in String.offsetByCodePoints()
Reviewed-by: aturbanov, rriggs, redestad
2022-12-01 15:28:39 +00:00
Alan Bateman
cd776093c7 8294278: ForkJoinPool.getAndAddPoolIds should use Unsafe.staticFieldBase
Reviewed-by: burban, chegar, martin
2022-12-01 10:40:36 +00:00
Claes Redestad
4485d4e517 8297728: Cache invocation type rather than invoker in NamedFunction
Reviewed-by: jvernee
2022-11-30 20:53:56 +00:00
Ryan Ernst
50f9043c69 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread
Reviewed-by: chegar, alanb
2022-11-26 20:04:59 +00:00
Per Minborg
76a24c3f90 8297145: Add a @sealedGraph tag to ConstantDesc
Reviewed-by: darcy
2022-11-26 08:29:34 +00:00
Per Minborg
099b42f360 8297148: Add a @sealedGraph tag to CallSite
Reviewed-by: darcy
2022-11-26 08:28:31 +00:00
Claes Redestad
87d1097d9b 8297530: java.lang.IllegalArgumentException: Negative length on strings concatenation
Reviewed-by: enikitin, alanb
2022-11-24 17:40:30 +00:00