Commit graph

369 commits

Author SHA1 Message Date
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
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
Chen Liang
a9bb04331d 8339683: Simplify class data generation in InvokerBytecodeGenerator
Reviewed-by: redestad
2024-09-09 15:15:16 +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
Shaojin Wen
fbe2629303 8339635: StringConcatFactory optimization for CompactStrings off
Reviewed-by: liach
2024-09-06 18:37:29 +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
Shaojin Wen
55312e1549 8338937: Optimize the string concatenation of ClassDesc
Reviewed-by: liach
2024-09-04 22:45:17 +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
Shaojin Wen
5ecbecfbca 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Reviewed-by: redestad, liach
2024-08-26 20:26:17 +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
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
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +00:00
Chen Liang
aabec4a947 8335922: Incorrect @Stable usage of LambdaForm$Name.index
Reviewed-by: jvernee, shade
2024-07-22 22:54:36 +00:00
Adam Sotona
3ca2bcd402 8335060: ClassCastException after JDK-8294960
Reviewed-by: liach, jpai
2024-07-01 11:51:13 +00:00
Adam Sotona
7f6804ceb6 8334872: BigEndian: java/lang/invoke/condy Tests failing since JDK-8294960
Reviewed-by: redestad
2024-06-26 09:09:13 +00:00
Adam Sotona
01ee4241b7 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-06-19 15:15:30 +00:00
Claes Redestad
7b43a8cd7c 8333824: Unused ClassValue in VarHandles
Reviewed-by: mcimadamore
2024-06-10 10:05:14 +00:00
Chen Liang
8d2f9e57c3 8333749: Consolidate ConstantDesc conversion in java.base
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, jvernee
2024-06-08 13:05:36 +00:00
Nizar Benalla
e0bab78640 8326951: since-checker - missing @ since tags
Reviewed-by: jpai
2024-06-04 16:51:39 +00:00
Vladimir Ivanov
29e10e4582 8332547: Unloaded signature classes in DirectMethodHandles
Reviewed-by: jvernee, liach
2024-06-04 04:02:49 +00:00
Jonathan Gibbons
10eb1cb639 8331879: Clean up non-standard use of /// comments in java.base
Reviewed-by: naoto, iris, darcy
2024-05-31 22:16:35 +00:00
Maurizio Cimadamore
c003c1207f 8331865: Consolidate size and alignment checks in LayoutPath
Reviewed-by: psandoz, jvernee
2024-05-29 11:12:30 +00:00
Chen Liang
adaa509b6e 8327499: MethodHandleStatics.traceLambdaForm includes methods that cannot be generated
Reviewed-by: redestad, iklam
2024-05-13 09:11:49 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Claes Redestad
c3372c4555 8331134: Port SimpleStringBuilderStrategy to use ClassFile API
Reviewed-by: mchung
2024-04-27 12:13:53 +00:00
Claes Redestad
5e2ced4b9e 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases
Reviewed-by: mchung, shade
2024-04-26 12:36:55 +00:00
Jonathan Gibbons
9cc163a999 8330178: Clean up non-standard use of /** comments in java.base
Reviewed-by: darcy, iris, dfuchs, aivanov, naoto
2024-04-23 18:43:36 +00:00
Claes Redestad
35b30c81e0 8330595: Invoke ObjectMethods::bootstrap method exactly
Reviewed-by: mchung
2024-04-22 08:55:46 +00:00
Adam Sotona
706b421cca 8330467: NoClassDefFoundError when lambda is in a hidden class
Reviewed-by: psandoz, mchung
2024-04-18 05:50:24 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Calvin Cheung
41450e9405 8314250: CDS dump error message: Invoker type parameter must start and end with Object: L3I_L
Reviewed-by: iklam, matsaave
2024-03-11 20:49:20 +00:00
Ioi Lam
761ed250ec 8327138: Clean up status management in cdsConfig.hpp and CDS.java
Reviewed-by: ccheung, matsaave
2024-03-09 03:48:38 +00:00
Jorn Vernee
9c852df6aa 8318966: Some methods make promises about Java array element alignment that are too strong
Reviewed-by: psandoz, mcimadamore
2024-02-14 14:30:54 +00:00
Matthias Baesken
1369c545ac 8322782: Clean up usages of unnecessary fully qualified class name "java.util.Arrays"
Reviewed-by: alanb, aivanov
2024-01-04 08:06:14 +00:00
Hannes Wallnöfer
c51685267c 8321889: JavaDoc method references with wrong (nested) type
Reviewed-by: alanb
2023-12-12 11:27:31 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Jorn Vernee
9c98270737 8254693: Add Panama feature to pass heap segments to native code
Reviewed-by: mcimadamore, lucy, vlivanov
2023-11-14 11:19:30 +00:00
Maurizio Cimadamore
f262f06c97 8319211: Regression in LoopOverNonConstantFP
Reviewed-by: jvernee
2023-11-01 17:49:21 +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
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
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
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
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