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
Per Lidén
2d6874b861
8230841: Remove oopDesc::equals()
...
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Coleen Phillimore
e2287af876
8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
...
Return NULL source file and negative line number for hidden frames.
Reviewed-by: dholmes, hseigel
2019-08-29 08:52:22 -04:00
Andrew Dinn
047b8bfeb7
8224974: Implement JEP 352
...
Non-Volatile Mapped Byte Buffers
Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Mandy Chung
5542307097
8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
...
Reviewed-by: coleenp, fparain, shade, plevart
2019-08-15 13:41:30 -07:00
Christian Hagedorn
ce70e6c481
8071275: remove AbstractAssembler::update_delayed_values dead code
...
Removed dead code.
Reviewed-by: thartmann, mdoerr
2019-07-25 08:04:33 +02:00
Nick Gasson
72daa46d46
8224853: CDS address sanitizer errors
...
Reviewed-by: iklam, dholmes
2019-06-04 17:56:16 +08:00
Igor Veresov
e47daab7b4
8223320: [AOT] jck test api/javax_script/ScriptEngine/PutGet.html fails when test classes are AOTed
...
Materialization of primitive boxes should use caches
Reviewed-by: kvn, never
2019-06-03 13:21:02 -07:00
Coleen Phillimore
204059634d
8223657: Remove unused THREAD argument from SymbolTable functions
...
Also made lookup and lookup_only functions private to SymbolTable. External callers use new_symbol or probe.
Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Gerard Ziemski
22bf018812
8189208: Cleanup ancient argument processing code
...
Remove bits thread_park_blocker, post_vm_init_hook_enabled and pending_list_uses_discovered_fields
Reviewed-by: hseigel, dholmes
2019-05-09 12:04:20 -05:00
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00