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
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
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
Vladimir Ivanov
29e10e4582
8332547: Unloaded signature classes in DirectMethodHandles
...
Reviewed-by: jvernee, liach
2024-06-04 04:02:49 +00:00
Chen Liang
2bd4136bdb
8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect
...
Reviewed-by: mchung, darcy
2023-06-27 16:10:50 +00:00
Mandy Chung
dd59471798
8304846: Provide a shared utility to dump generated classes defined via Lookup API
...
Reviewed-by: jvernee
2023-04-04 18:07:02 +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
Ioi Lam
8d4c077218
8295302: Do not use ArrayList when LambdaForm has a single ClassData
...
Reviewed-by: vlivanov, redestad, mchung
2022-10-19 21:11:36 +00:00
Vladimir Ivanov
ad34f03b54
8279515: C1: No inlining through invokedynamic and invokestatic call sites when resolved class is not linked
...
Reviewed-by: kvn, dlong
2022-01-10 13:56:01 +00:00
Mandy Chung
c6339cb8a2
8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
...
8013527: calling MethodHandles.lookup on itself leads to errors
Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Mandy Chung
ddce47cd3c
8270949: Make dynamically generated classes with the class file version of the current release
...
Reviewed-by: alanb
2021-07-21 18:09:38 +00:00
Patrick Concannon
d43c8a74b3
8268124: Update java.lang to use switch expressions
...
Reviewed-by: naoto, darcy, mchung, iris, lancea, dfuchs
2021-06-10 11:12:37 +00:00
Weijun Wang
6765f90250
8266459: Implement JEP 411: Deprecate the Security Manager for Removal
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Jorn Vernee
3623abb7f6
8263087: Add a MethodHandle combinator that switches over a set of MethodHandles
...
Reviewed-by: redestad
2021-05-27 12:28:10 +00:00
Harold Seigel
e14b026841
8243287: Removal of Unsafe::defineAnonymousClass
...
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Jorn Vernee
b7baca7f32
8264288: Performance issue with MethodHandle.asCollector
...
Reviewed-by: jrose, vlivanov
2021-04-05 20:05:07 +00:00
Patrick Concannon
329697b02e
8263358: Update java.lang to use instanceof pattern variable
...
Reviewed-by: iris, chegar, mchung, dfuchs
2021-03-24 09:57:22 +00:00
Claes Redestad
63eae8fac2
8260605: Various java.lang.invoke cleanups
...
Reviewed-by: mchung
2021-03-18 12:47:57 +00:00
Claes Redestad
83357b1196
8261030: Avoid loading GenerateJLIClassesHelper at runtime
...
Reviewed-by: mchung
2021-02-04 10:47:03 +00:00
Yumin Qi
8f36580594
8252725: Refactor jlink GenerateJLIClassesPlugin code
...
Cleanup code for jlink classes generation, move parsing file work to java.lang.invoke and add a new API in interface JavaLangInvokeAccess to generate holder classes, remove old APIs. The new API is used both by JLI and CDS.
Reviewed-by: mchung, sundar
2020-09-04 09:47:18 -07:00
Mandy Chung
4e6a4af186
8244090: public lookup should find public members of public exported types
...
Reviewed-by: lfoltan, psandoz
2020-09-03 12:43:13 -07:00
Roger Riggs
afce1f4ebd
8251203: Fix "no comment" warnings in java.base/java.lang and java/io
...
Reviewed-by: dfuchs, lancea, mchung, naoto
2020-08-25 10:20:14 -04:00
Mandy Chung
5e5880d4f1
8245061: Lookup::defineHiddenClass should throw ClassFormatError if this_class is not Class_info structure
...
8245432: Lookup::defineHiddenClass should throw UnsupportedClassVersionError if bytes are of an unsupported major or minor version
8245596: Clarify Lookup::defineHiddenClass spec @throws IAE if the bytes has ACC_MODULE flag set
Reviewed-by: alanb, dholmes
2020-06-01 13:19:06 -07:00
Mandy Chung
33d9178ebd
8243574: java.lang.invoke.InvokerBytecodeGenerator.ClassData should be package-private
...
Reviewed-by: alanb
2020-04-24 12:59:04 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Ivan Gerasimov
b0e1ee4b3b
8241727: Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)
...
Reviewed-by: prappo
2020-03-28 21:07:55 -07:00
Jorn Vernee
be223c62fc
8233920
: MethodHandles::tryFinally generates illegal bytecode for long/double return type
...
Reviewed-by: redestad, vlivanov, jrose
2019-11-14 10:55:46 +01:00
Claes Redestad
c788d9841c
8230662: Remove dead code from MethodTypeForm
...
Reviewed-by: vlivanov, mchung
2019-09-07 15:44:04 +02:00
Vladimir Ivanov
6a61345684
8213234: Move LambdaForm.Hidden to jdk.internal.vm.annotation
...
Reviewed-by: mchung, dlong
2019-01-22 18:13:49 -08:00
Mandy Chung
5e6d6b8642
8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
...
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
John Rose
d05ed512ac
8200167: Validate more special case invocations
...
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Claes Redestad
b66ffad152
8199471: Enable generation of callSiteForms at link time
...
Reviewed-by: psandoz, mchung
2018-03-14 17:14:02 +01:00
Claes Redestad
d88408c75b
8199453: Enable link-time generation of constructor forms
...
Reviewed-by: alanb, psandoz, mchung
2018-03-12 18:31:02 +01:00
Claes Redestad
ec495ebede
8198888: Reduce string allocation churn in InvokerBytecodeGenerator
...
Reviewed-by: psandoz, plevart
2018-03-01 13:08:06 +01:00
Claes Redestad
3c9dfe26ed
8198755: Reduce cost of InvokerBytecodeGenerator::isStaticallyInvocable/-Nameable
...
Reviewed-by: vlivanov, psandoz, jrose
2018-02-27 21:05:07 +01:00
Claes Redestad
433bf8ab65
8184777: Factor out species generation logic from BoundMethodHandle
...
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: vlivanov
2017-11-16 00:58:50 +01:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00