Jonathan Gibbons
20b9ba53a5
8262875: doccheck: empty paragraphs, etc in java.base module
...
Reviewed-by: alanb, darcy, lancea
2021-03-02 20:35:51 +00:00
Claes Redestad
83357b1196
8261030: Avoid loading GenerateJLIClassesHelper at runtime
...
Reviewed-by: mchung
2021-02-04 10:47:03 +00:00
Jorn Vernee
d07af2b8ec
8255531: MethodHandles::permuteArguments throws NPE when duplicating dropped arguments
...
Reviewed-by: redestad
2021-01-28 12:26:32 +00:00
Johannes Kuhn
bf5e801501
8259922: MethodHandles.collectArguments does not throw IAE if pos is outside the arity range
...
Reviewed-by: mchung
2021-01-22 17:18:06 +00:00
Claes Redestad
27cc62a5c7
8259911: byteArrayViewVarHandle should throw ArrayIndexOutOfBoundsException
...
Reviewed-by: jvernee, mchung
2021-01-20 23:42:58 +00:00
Dan Smith
48d8650ae1
8257845: Integrate JEP 390
...
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Mandy Chung
972bc3b408
8256167: Convert JDK use of Reference::get
to Reference::refersTo
...
Reviewed-by: sspitsyn, shade, dfuchs, alanb, kbarrett
2020-12-06 00:08:22 +00:00
Calvin Cheung
3da30e991a
8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
...
Reviewed-by: iklam, redestad, mchung
2020-12-02 22:17:46 +00:00
Vladimir Ivanov
7104400ad8
8257164: Share LambdaForms for VH linkers/invokers
...
Reviewed-by: redestad, kvn, psandoz
2020-12-02 21:47:27 +00:00
Vladimir Ivanov
692b273ec5
8257189: Handle concurrent updates of MH.form better
...
Reviewed-by: redestad, psandoz
2020-12-02 17:35:41 +00:00
Mandy Chung
4356469a31
8230501: Class data support for hidden classes
...
Reviewed-by: jvernee, psandoz, chegar
2020-12-01 00:24:40 +00:00
Maurizio Cimadamore
0fb31dbf3a
8254231: Implementation of Foreign Linker API (Incubator)
...
Reviewed-by: coleenp, ihse, dholmes, vlivanov
2020-11-23 11:00:38 +00:00
Jorn Vernee
03e84ef7e3
8256189: Exact VarHandle tests should test withInvokeBehavior() works as expected
...
Reviewed-by: mcimadamore, chegar
2020-11-18 19:01:52 +00:00
Roland Westrelin
a7422ac2f4
8255150: Add utility methods to check long indexes and ranges
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Reviewed-by: jvernee, dlong, vlivanov
2020-11-17 10:37:27 +00:00
Maurizio Cimadamore
3e70aac5cc
8254162: Implementation of Foreign-Memory Access API (Third Incubator)
...
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Jorn Vernee
0a41ca6b75
8254354: Add a withInvokeExactBehavior() VarHandle combinator
...
Reviewed-by: psandoz, chegar
2020-11-10 23:26:02 +00:00
Jorn Vernee
b8d4e02ce7
8255374: Add a dropReturn MethodHandle combinator
...
Reviewed-by: redestad
2020-11-03 12:10:48 +00:00
Mandy Chung
5782a2a309
8254975: lambda proxy fails to access a protected member inherited from a split package
...
Reviewed-by: rriggs
2020-10-29 21:11:37 +00:00
Jorn Vernee
2a2fa134c3
8255449: Improve the exception message of MethodHandles::permuteArguments
...
Reviewed-by: chegar, mchung
2020-10-29 18:32:48 +00:00
Sergey Tsypanov
3c4fc79326
8255299: Drop explicit zeroing at instantiation of Atomic* objects
...
Reviewed-by: redestad, serb, prr
2020-10-28 12:11:53 +00:00
Jonathan Gibbons
0aa3c92577
8255262: Remove use of legacy custom @spec tag
...
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-22 19:42:01 +00:00
Calvin Cheung
74ac77e2b1
8247666: Support Lambda proxy classes in static CDS archive
...
Reviewed-by: iklam, mchung
2020-10-19 18:27:50 +00:00
Yumin Qi
e4469d2c8c
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
...
Reviewed-by: iklam, mchung
2020-10-10 02:06:52 +00:00
Philippe Marschall
2a406f3ce5
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
...
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-30 20:05:07 +00:00
Gilles Duboscq
1b79326c05
8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode
...
Reviewed-by: mchung
2020-09-25 10:10:36 +00:00
Yumin Qi
89c5e49ba2
8253500: [REDO] JDK-8253208 Move CDS related code to a separate class
...
Reviewed-by: mchung, iklam
2020-09-24 15:28:10 +00:00
Ioi Lam
65af837391
8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class
...
Reviewed-by: eosterlund, dcubed
2020-09-22 20:15:01 +00:00
Yumin Qi
c1df13b855
8253208: Move CDS related code to a separate class
...
Reviewed-by: mchung, iklam
2020-09-22 16:12:05 +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
Vipin Sharma
d4626d89cc
8251542: Several small Javadoc errors in java.base
...
Fixing wrong exception type in throws clause and wrong return type description
Reviewed-by: darcy, dfuchs, mullan, mchung, rriggs
2020-08-25 09:27:36 +01:00
Mandy Chung
18d5626e25
8250929: Missing "classpath exception" in LambdaProxyClassArchive.java
...
Reviewed-by: sundar
2020-08-05 13:24:53 -07:00
Bob Vandette
65b23ca67a
8249080: Reduce MemberName class dependency on MethodHandles
...
Reviewed-by: mchung
2020-07-08 19:59:22 +00:00
Jesper Wilhelmsson
4862d0d542
Merge
2020-06-22 18:23:49 +02:00
Mandy Chung
f2b191a6e9
8247444: Trust final fields in records
...
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: jrose, dholmes, forax, coleenp, vlivanov
2020-06-19 08:27:59 -07:00
Claes Redestad
34c79640e7
8247681: Improve bootstrapping of unary concatenations
...
Reviewed-by: jlaskey, psandoz
2020-06-17 19:36:26 +02:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Pavel Rappo
6e43cddad7
8247115: Fix typos in java.lang.invoke and java.lang
...
Reviewed-by: lancea
2020-06-09 16:28:10 +01:00
Mandy Chung
71d646a160
8235521: Replacement API for Unsafe::ensureClassInitialized
...
Reviewed-by: alanb, chegar, psandoz
2020-06-08 16:55:45 -07:00
Claes Redestad
a043bd0ff8
8246632: StringConcatFactory::makeConcatWithConstants no longer throws NullPointerException when an unexpected constant is null
...
Reviewed-by: rriggs, mchung
2020-06-08 19:23:51 +02:00
Chris Hegarty
f1e1cb7055
8246095: Tweaks to memory access API
...
Add more user friendly API points to the foreign memory acesss API
Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Claes Redestad
19257f4fb7
8246241: LambdaFormEditor should use a transform lookup key that is not a SoftReference
...
Reviewed-by: psandoz, mchung
2020-06-02 12:34:05 +02: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
Claes Redestad
1f698a35f2
8246152: Improve String concat bootstrapping
...
Reviewed-by: forax, psandoz
2020-06-01 22:04:22 +02:00
Claes Redestad
7e85b2c787
8245969: Simplify String concat constant folding
...
Reviewed-by: psandoz, forax
2020-05-28 00:35:04 +02:00
Claes Redestad
5200d162bc
8245756: Reduce bootstrap cost of StringConcatFactory prependers
...
Reviewed-by: forax, psandoz
2020-05-27 12:42:55 +02:00
Claes Redestad
36c4b11bc6
8245455: Remove alternative StringConcatFactory strategies
...
Reviewed-by: jlaskey, psandoz, forax, mchung
2020-05-25 12:03:30 +02:00
Chris Hegarty
f3eb44a94d
8243491: Implementation of Foreign-Memory Access API (Second Incubator)
...
Upstream latest changes of the Foreign-Memory Access API
Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Claes Redestad
6812f6f641
8218173: exception during StringConcatFactory clinit breaks string concat with no fallback
...
Reviewed-by: psandoz, jlaskey
2020-05-20 11:35:58 +02:00