301 Commits

Author SHA1 Message Date
Coleen Phillimore
04b98fd1df 8222446: assert(C->env()->system_dictionary_modification_counter_changed()) failed: Must invalidate if TypeFuncs differ
Remove SystemDictionary::modification_counter optimization

Reviewed-by: dlong, eosterlund
2019-07-10 07:58:24 -04:00
Daniel D. Daugherty
9135141482 Merge 2019-07-08 12:14:15 -04:00
Daniel D. Daugherty
37b39bc642 8227117: normal interpreter table is not restored after single stepping with TLH
Reviewed-by: sspitsyn, eosterlund, dholmes, coleenp
2019-07-08 11:38:49 -04:00
Thomas Stuefe
4598deaf64 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-07-02 10:28:20 +02:00
Mikael Vidstedt
c15943f7a8 Merge 2019-07-01 17:08:04 -07:00
Serguei Spitsyn
fdfeffc99b 8226603: accessibility issues in specs/jvmti.html
Fix accessability issues in the JVMTI spec

Reviewed-by: dholmes, amenkov
2019-07-01 11:40:34 -07:00
Coleen Phillimore
74b8b47283 8225437: JvmtiExport::gc_epilogue is unnecessary
Remove jvmtiExport::gc_epilogue after full GCs

Reviewed-by: dholmes, sspitsyn, dlong
2019-06-27 11:40:18 -04:00
Daniel D. Daugherty
d6be015b16 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Jamsheed Mohammed C M
aedbb75803 8191278: MappedByteBuffer bulk access memory failures are not handled gracefully
Unsafe.copy*Memory access failures are handled gracefully.

Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: kvn, dcubed, thartmann, coleenp, aph
2019-06-24 11:37:56 -07:00
Daniel D. Daugherty
b0933034e0 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Coleen Phillimore
cd598622cc 8214822: Move ConcurrentHashTable VALUE parameter to CONFIG
Make VALUE parameter be included in CONFIG configuration, also remove BaseConfig

Reviewed-by: dholmes, kbarrett
2019-06-24 16:51:23 -04:00
Daniil Titov
6ad0d8a6c7 8217348: assert(thread->is_Java_thread()) failed: just checking
Reviewed-by: sspitsyn, dholmes, amenkov, jcbeyler
2019-06-17 14:31:49 -07:00
Serguei Spitsyn
f1cb8f2e23 8205126: JVMTI spec incorrectly states that PopFrame can not be called on the current thread
Align the PopFrame spec with the implementation

Reviewed-by: amenkov, jcbeyler, cjplummer, dcubed
2019-06-05 21:02:42 -07:00
Vladimir Kozlov
7356905a83 8225019: Update JVMCI
Reviewed-by: never, dlong
2019-06-04 12:44:53 -07:00
Kishor Kharbas
f0f679de2a 8224247: AllocateOldGenAt fires assertion failure
Split the heap_reserved_size_bytes() into two methods - one for use during heap initialization and other for at later stages.

Reviewed-by: sangheki, tschatzl
2019-06-03 11:04:24 -07:00
Serguei Spitsyn
110ead8bea 8223718: Checks in check_slot_type_no_lvt() should be always executed
Call check_slot_type_no_lvt() even if the LVT is present

Reviewed-by: kvn, gadams, amenkov
2019-05-30 15:55:16 -07:00
Serguei Spitsyn
854b898852 8046018: JVMTI Spec: can_redefine_any_class capability spec is inconsistent
Make the "can_redefine_any_class" capability spec clear and consistent

Reviewed-by: alanb, cjplummer, dholmes, dcubed, jcbeyler
2019-05-24 21:05:19 -07:00
Robbin Ehn
9baafa55a6 8221734: Deoptimize with handshakes
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02:00
Martin Doerr
6b2615be6a 8224230: [PPC64, s390] Support AsyncGetCallTrace
Reviewed-by: goetz, jcbeyler, sspitsyn
2019-05-21 11:45:37 +02:00
Robbin Ehn
0171fba9b8 8223313: Use handshakes for CountStackFrames
Reviewed-by: dholmes, rrich, dcubed
2019-05-21 10:46:08 +02:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Coleen Phillimore
4915cf9b71 8223956: Make SymbolTable and StringTable AllStatic
Removed superfluous and confusing _the_table pointer.

Reviewed-by: gziemski, rehn
2019-05-16 07:09:17 -04: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
Serguei Spitsyn
1c202572d5 8219023: Investigate syncing JVMTI spec version with JDK version
Auto sync versions with the jdk versions

Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-14 02:07:13 -07:00
Yasumasa Suenaga
a5c506b411 8223186: HotSpot compile warnings from GCC 9
Reviewed-by: dholmes, aeubanks
2019-05-11 01:17:18 +09:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Erik Joelsson
6eb638318a 8223319: Add copyright footer to specs and man pages
Reviewed-by: iris, sspitsyn
2019-05-07 12:32:19 -07:00
Xin Liu
63dbcdc874 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-05-07 09:17:03 +02:00
Man Cao
f05dc2fa2f 8223227: Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase
Reviewed-by: dholmes, jcbeyler
2019-05-01 20:25:31 -07:00
Stefan Karlsson
bbd9000753 8223064: Minor cleanups in ResolvedMethodTable
Reviewed-by: hseigel, coleenp
2019-05-02 10:32:28 +02:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Man Cao
37be9ccd6c 8223177: Data race on JvmtiEnvBase::_tag_map in double-checked locking
Add memory fences on accesses to JvmtiEnvBase::_tag_map

Reviewed-by: dholmes, jcbeyler, sspitsyn
2019-04-30 18:44:41 -07:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04:00
David Holmes
ded4f6b5cf 8222518: Remove unnecessary caching of Parker object in java.lang.Thread
Reviewed-by: dcubed, rehn
2019-04-26 00:57:03 -04:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Per Lidén
2accc59e60 8222462: Introduce CollectedHeap::unused()
Reviewed-by: stefank, eosterlund
2019-04-25 08:55:49 +02:00
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Stefan Karlsson
3e581f13a0 8222558: Rework ResolvedMethodTable verification
Reviewed-by: coleenp
2019-04-17 07:41:09 +02:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Serguei Spitsyn
ff03f5c84e 8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
Fix GenerateEvents() to send CompiledMethodLoad events to requesting agent only

Reviewed-by: jcbeyler, amenkov
2019-04-10 17:29:03 -07:00
Coleen Phillimore
0314bac167 8222231: Clean up interfaceSupport.inline.hpp duplicated code
Reviewed-by: dholmes, pchilanomate
2019-04-10 17:31:31 -04:00
Robbin Ehn
3ca21234ce 8221584: SIGSEGV in os::PlatformEvent::unpark() in JvmtiRawMonitor::raw_exit while posting method exit event
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: dholmes, dcubed
2019-04-08 21:39:43 +00:00
Andrew Dinn
71164a973b 8221477: Inject os/cpu-specific constants into Unsafe from JVM
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts

Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01:00
Goetz Lindenmaier
39f3368ffd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Coleen Phillimore
6780d21dd6 8221992: Fix old method replacement in ResolvedMethodTable
Use method get_new_method() which is used in other call sites.

Reviewed-by: sspitsyn
2019-04-04 17:23:05 -04:00
David Holmes
2f20909d10 8218483: Crash in "assert(_daemon_threads_count->get_value() > daemon_count) failed: thread count mismatch 5 : 5"
Reviewed-by: dcubed, stuefe
2019-04-03 22:03:39 +00:00
Leonid Mesnik
72b6b8cd2a 8221437: assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m()) failed: Should not change after link resolution
Reviewed-by: coleenp, sspitsyn
2019-04-02 17:11:04 -07:00
Per Lidén
a5cec7fe04 8221732: Introduce CollectedHeap::hash_oop()
Reviewed-by: kbarrett, tschatzl, stefank
2019-04-02 10:04:25 +02:00