Paul Sandoz
0c99b19258
8223347: Integration of Vector API (Incubator)
...
Co-authored-by: Vivek Deshpande <vdeshpande@openjdk.org>
Co-authored-by: Qi Feng <qfeng@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Jean-Philippe Halimi <jphalimi@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Co-authored-by: Razvan Lupusoru <rlupusoru@openjdk.org>
Co-authored-by: Smita Kamath <svkamath@openjdk.org>
Co-authored-by: Rahul Kandu <rkandu@openjdk.org>
Co-authored-by: Kishor Kharbas <kkharbas@openjdk.org>
Co-authored-by: Eric Liu <Eric.Liu2@arm.com>
Co-authored-by: Aaloan Miftah <someusername3@gmail.com>
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Shravya Rukmannagari <srukmannagar@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Lauren Walkowski <lauren.walkowski@arm.com>
Co-authored-by: Yang Zang <Yang.Zhang@arm.com>
Co-authored-by: Joshua Zhu <jzhu@openjdk.org>
Co-authored-by: Wang Zhuo <wzhuo@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: erikj, chegar, kvn, darcy, forax, briangoetz, aph, epavlova, coleenp
2020-10-14 20:02:46 +00:00
Ioi Lam
a098037375
8254365: ciMethod.hpp should not include methodHandles.hpp
...
Reviewed-by: dholmes, coleenp
2020-10-14 04:59:52 +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
Erik Österlund
b9873e1833
8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing
...
Reviewed-by: stefank, pliden, rehn, neliasso, coleenp, smonteith
2020-10-09 08:40:33 +00:00
Ioi Lam
8b85c3a6d7
8251261: CDS dumping should not clear states in live classes
...
Reviewed-by: minqi, ccheung
2020-09-24 19:19:53 +00:00
Jamsheed Mohammed C M
73c9088b81
8249451: Unconditional exceptions clearing logic in compiler code should honor Async Exceptions.
...
Reviewed-by: dholmes, iveresov
2020-09-18 05:48:14 +00:00
Ioi Lam
03a4df0acd
8244778: Archive full module graph in CDS
...
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
2020-09-13 14:45:12 +00:00
David Holmes
976acddeb5
8252406: Introduce Thread::as_Java_thread() convenience function
...
Reviewed-by: shade, coleenp, kbarrett, dcubed
2020-09-11 01:31:32 +00:00
Ioi Lam
dd89c92c50
8251560: Remove excessive header file inclusion from systemDictionary.hpp and others
...
Reviewed-by: coleenp
2020-08-31 08:05:08 -07:00
Lois Foltan
deaadfad52
8247938: Change various JVM enums like LinkInfo::AccessCheck and Klass::DefaultsLookupMode to enum class
...
Use C++11 scoped enumeration declarations for several different Klass and LinkInfo enumerations.
Reviewed-by: coleenp, hseigel, kbarrett
2020-08-06 18:13:56 +00:00
Coleen Phillimore
ac4dc0470e
8250519: [REDO] Move mirror oops from Universe into OopStorage
...
Redo the patch but add a null pointer check where one belongs.
Reviewed-by: dcubed, iklam, dholmes
2020-07-25 10:36:19 -04:00
Coleen Phillimore
cbf6894299
8250516: [BACKOUT] Move mirror oops from Universe into OopStorage
...
Reviewed-by: dholmes, tschatzl
2020-07-24 10:34:11 -04:00
Coleen Phillimore
bd12e85975
8249938: Move mirror oops from Universe into OopStorage
...
Save and restore mirror oops to temporary array for CDS, and move them to OopStorage once restored.
Reviewed-by: iklam, dholmes
2020-07-24 08:32:27 -04:00
Coleen Phillimore
c63911b33b
8249822: SymbolPropertyTable creates an extra OopHandle per entry
...
Add an assert to OopHandle assigment operator to catch leaking OopHandles, and fix code accordingly.
Reviewed-by: sspitsyn, eosterlund, dholmes
2020-07-24 07:45:38 -04:00
David Holmes
73c75ed838
8249650: Optimize JNIHandle::make_local thread variable usage
...
Reviewed-by: kbarrett, dcubed, kvn, coleenp, sspitsyn
2020-07-22 01:27:08 -04: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
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Coleen Phillimore
f3c2a17a30
8247220: Make OopHandle constructor explicit
...
Fix null initializations to explicitly call the OopHandle constructor
Reviewed-by: lfoltan, kbarrett
2020-06-10 08:29:39 -04:00
Coleen Phillimore
5314d28f84
8245289: Clean up offset code in JavaClasses
...
Make offset member names consistent and private, move static initializations near owning classes
Reviewed-by: fparain, lfoltan
2020-05-29 15:00:19 -04:00
Coleen Phillimore
6aa15ad7ab
8166358: Re-enable String verification in java_lang_String::create_from_str()
...
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str().
Reviewed-by: dholmes, hseigel
2020-05-26 09:44:17 -04:00
Erik Österlund
6508c5a38d
8243996: Remove hardcoded field offsets from HotSpot
...
Reviewed-by: jrose, coleenp, dholmes, fparain
2020-05-20 09:31:38 +00:00
Erik Österlund
382e5dc334
8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
...
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00:00
Claes Redestad
c2780c9556
8244550: Unsafe::allocateInstance does redundant transitions
...
Reviewed-by: coleenp, mchung, dholmes
2020-05-07 14:09:20 +02: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
Ioi Lam
0bc7cc4d28
8241158: SA TestHeapDumpForInvokeDynamic.java fails when CDS archive is relocated
...
Reviewed-by: ccheung
2020-04-20 17:33:52 -07:00
Claes Redestad
d185fe9953
8242452: During module definition, move conversion of packages from native to VM
...
8242290: Pointless verification in get_package_entry_by_name
Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Vladimir Ivanov
2ea157fee1
8227467: Better class method invocations
...
Reviewed-by: thartmann, dholmes, ahgross
2019-12-03 19:31:20 +03:00
Stefan Karlsson
593a05c93a
8240530: CheckUnhandledOops breaks BacktraceBuilder::set_has_hidden_top_frame
...
Reviewed-by: coleenp, dholmes
2020-03-04 15:50:51 +01:00
Ioi Lam
0532bd23cd
8240267: VM fails to start with CDS enabled but JVMTI disabled
...
Reviewed-by: dholmes
2020-03-01 17:36:03 -08:00
Harold Seigel
a1e9328367
8235225: Replace CHECK_0 with CHECK_NULL for non-integer returning methods
...
Change CHECK_0 to CHECK_NULL and CHECK_false where appropriate
Reviewed-by: mikael, dholmes, coleenp
2020-02-27 13:00:05 +00:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Claes Redestad
820e1a7e14
8235956: Remove javaClasses offset tests
...
Reviewed-by: dholmes, coleenp
2019-12-16 13:40:22 +01:00
Ioi Lam
cb75b6ee22
8235629: Remove unnecessary calls to Thread::current
...
Reviewed-by: coleenp, ccheung, hseigel
2019-12-11 15:25:38 -08:00
Vladimir Kozlov
41b4803cdf
8235438: [JVMCI] StackTraceElement::decode should use the original Method
...
Reviewed-by: coleenp, never
2019-12-06 14:47:05 -08:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Stefan Karlsson
c0ea1e647e
8235257: Split 'assert(loader != NULL && oopDesc::is_oop(loader), "loader must be oop")'
...
Reviewed-by: dcubed, hseigel
2019-12-04 10:26:32 +01:00
Vladimir Ivanov
a6daef527e
8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
...
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
David Holmes
697a87460d
8233549: Thread interrupted state must only be accessed when not in a safepoint-safe state
...
Reviewed-by: dcubed, sspitsyn
2019-11-14 22:36:40 -05:00
Ioi Lam
5678f98a9e
8231610: Relocate the CDS archive if it cannot be mapped to the requested address
...
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Coleen Phillimore
ed21b56269
8233913: Remove implicit conversion from Method* to methodHandle
...
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.
Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
David Holmes
4272078d30
8233454: Test fails with assert(!is_init_completed(), "should only happen during init") after JDK-8229516
...
Reviewed-by: jiefu, dcubed
2019-11-06 21:18:42 -05:00
David Holmes
1d50b2761c
8229516: Thread.isInterrupted() always returns false after thread termination
...
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Goetz Lindenmaier
a3ee39cb81
8232921: assert(is_object_aligned(result)) failed: address not aligned
...
Reviewed-by: coleenp, rschmelter
2019-10-29 15:08:19 +01:00
Alexey Ivanov
c7acea028c
8232724: Remove indirection with calling JNU_NewStringPlatform
...
Reviewed-by: dholmes, clanger
2019-10-30 14:08:07 +00:00
Claes Redestad
574263a884
8232613: Move Object.registerNatives into HotSpot
...
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Alexey Ivanov
16f3919405
8232624: Java cannot start: NewStringPlatform missing
...
Reviewed-by: dholmes, alanb, redestad
2019-10-21 21:36:26 +01:00
Goetz Lindenmaier
d8c6516c92
8218628: Add detailed message to NullPointerException describing what is null
...
This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Coleen Phillimore
986f2bbf2c
8231769: Test tools/javac/tree/MakeTypeTest.java fails with -Xcheck:jni
...
Delete local jni handles in create_from_platform_dependent_str() after upcall to Java.
Reviewed-by: dholmes, hseigel
2019-10-11 08:49:42 -04:00
Claes Redestad
f8f7cdcbe3
8231355: Remove unused utility methods in libjava
...
Reviewed-by: dholmes, jrose, alanb
2019-10-08 10:24:22 +02:00