2561 Commits

Author SHA1 Message Date
Zhengyu Gu
cc871f0459 8222086: CodeCache::UnloadingScope needs to preserve and restore previous IsUnloadingBehavior
Reviewed-by: eosterlund
2019-04-08 13:22:59 -04:00
Roman Kennke
7a26e84e4f 8222129: Shenandoah: Missing CompareAndSwapP/N case in get_barrier_strength()
Reviewed-by: shade
2019-04-08 18:42:29 +02:00
Roman Kennke
d2ac25420e 8222125: Shenandoah: Crash when running with ShenandoahParallelSafepointThreads=1
Reviewed-by: shade
2019-04-08 18:42:27 +02:00
Dmitrij Pochepko
cc4453b2f8 8221995: AARCH64: problems with CAS instructions encoding
Reviewed-by: aph
2019-04-08 15:54:47 +03:00
Aleksey Shipilev
63d8ae233b 8222032: x86_32 fails with "wrong size of mach node" on AVX-512 machine
Reviewed-by: kvn, vlivanov
2019-04-07 13:28:18 +02:00
Andrew Haley
79218415bc 8219993: AArch64: Compiled CI stubs are unsafely modified
Reviewed-by: adinn
2019-04-05 09:53:07 -04: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
Thomas Stuefe
1baf5289c5 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2019-03-27 14:13:34 +01:00
Martin Doerr
f65be307bf 8221833: Readability check in Symbol::is_valid not performed for some addresses
Reviewed-by: zgu, coleenp
2019-04-05 09:18:18 +02: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
Roman Kennke
6292ecd39b 8221848: Shenandoah: ArrayCopy post-barrier improvements
Reviewed-by: zgu
2019-04-04 21:29:46 +02:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Ralf Schmelter
a801be79eb 8221325: Add information about swap space to print_memory_info() on MacOS
Reviewed-by: stuefe, dholmes
2019-03-26 01:46:06 -07:00
Coleen Phillimore
8e5a71de44 8221872: Remove uses of ClassLoaderWeakHandle typedef in protection domain table
Make consistent with StringTable and ResolvedMethodTable

Reviewed-by: dholmes
2019-04-03 20:39:19 -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
Roman Kennke
004b3ee748 8220664: Simplify ShenandoahUpdateHeapRefsClosure
Reviewed-by: shade
2019-03-27 22:25:03 +01:00
Claes Redestad
5c06e0a912 8221701: Archive constant BaseLocales
Reviewed-by: naoto
2019-04-03 17:06:35 +02:00
Lutz Schmidt
8cdf747187 8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode
Reviewed-by: kvn
2019-04-03 16:55:41 +02: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
Zhengyu Gu
6881a91868 8220602: Shenandoah-SA: Enable best-effort implementation of heap walk
Reviewed-by: rkennke, cjplummer
2019-03-14 09:53:15 -04:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Roman Kennke
9acdfbd5b7 8221751: Shenandoah: Improve SATB enqueueing
Reviewed-by: shade
2019-04-02 18:13:42 +02:00
Claes Redestad
3880f3db74 8221724: Enable archiving of Strings with hash 0
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02:00
Per Lidén
6bce53795b 8221748: Remove unused oopDesc::is_unlocked_oop()
Reviewed-by: kbarrett
2019-04-02 10:04:35 +02:00
Per Lidén
a5cec7fe04 8221732: Introduce CollectedHeap::hash_oop()
Reviewed-by: kbarrett, tschatzl, stefank
2019-04-02 10:04:25 +02:00
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Matthias Baesken
d06f3accec 8221541: clean up functions in CompilerOracle
Reviewed-by: mdoerr, kvn
2019-03-27 10:25:12 +01:00
Ao Qi
460c22f03d 8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc
Add missing #include of softRefPolicy.hpp

Reviewed-by: kbarrett
2019-04-02 00:23:31 +08:00
Sangheon Kim
4494be3b5f 8221517: G1: Reserved page size for heap can be wrong
Reviewed-by: tschatzl, kbarrett
2019-04-01 14:54:48 -07:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Stefan Karlsson
cb58cddccb 8221558: Remove obsolete uses of OopStorage::ParState<'false, false> _par_state
Reviewed-by: pliden, tschatzl
2019-04-01 18:36:12 +02:00
Stefan Karlsson
2480e3aa18 8221149: os::malloc checks MallocCatchPtr outside of ifdef ASSERT block
Reviewed-by: stuefe, dholmes
2019-04-01 18:36:01 +02:00
Stefan Karlsson
31ac44b710 8221146: ZGC: Reports too much relocated
Reviewed-by: pliden, eosterlund
2019-04-01 18:34:47 +02:00
Stefan Karlsson
abb2d67803 8220610: Make CollectedHeap nmethod functions pure virtual
Reviewed-by: shade
2019-04-01 18:34:39 +02:00
Roman Kennke
9e18ef0679 8221750: Shenandoah: Enable ThreadLocalHandshake by default
Reviewed-by: shade
2019-04-01 16:30:23 +02:00
Coleen Phillimore
246544eeb7 8221183: Avoid code cache walk in MetadataOnStackMark
Note nmethods with "old" Methods in them in table to walk instead.

Reviewed-by: eosterlund, sspitsyn
2019-04-01 09:53:30 -04:00
Aleksey Shipilev
18c4faf2cf 8221735: Shenandoah fails ctw/modules/jdk_management_agent.java with Traversal
Reviewed-by: rkennke, roland
2019-04-01 13:33:58 +02:00
Aleksey Shipilev
2cf209bd92 8221726: Multiple build failures after JDK-8221698 (Remove redundant includes from popular header files)
Reviewed-by: dholmes, stuefe, iklam
2019-04-01 10:04:22 +02:00
Aleksey Shipilev
7bfc1b1189 8221725: AArch64 build failures after JDK-8221408 (Windows 32bit build build errors/warnings in hotspot)
Reviewed-by: dholmes, stuefe
2019-04-01 10:02:07 +02:00
Ioi Lam
22484b8c35 8221698: Remove redundant includes from popular header files
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp

Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Zhengyu Gu
3320a7ea1f 8221629: Shenandoah: Cleanup class unloading logic
Reviewed-by: rkennke
2019-03-28 13:53:41 -04:00
Zhengyu Gu
37c8c96916 8221643: Tighten up assert(_keep_alive >= 0) in CLD::inc_keep_alive
Reviewed-by: coleenp
2019-03-29 14:17:09 -04:00
Thomas Stuefe
be4416fdda 8221480: jcmd VM.metaspace shall print limits in basic mode
Reviewed-by: adinn, rehn
2019-03-26 16:26:33 +01:00
Ioi Lam
e2ffa15762 8221351: Crash in KlassFactory::check_shared_class_file_load_hook
Reviewed-by: dholmes, ccheung
2019-03-29 08:42:32 -07:00
Zhengyu Gu
4255a28d8d 8221435: Shenandoah should not mark through weak roots
Reviewed-by: rkennke, shade
2019-03-26 12:12:49 -04:00
Thomas Stuefe
02ed0e3e52 8221408: Windows 32bit build build errors/warnings in hotspot
Reviewed-by: kbarrett, dholmes
2019-03-29 08:36:33 +01:00
Per Lidén
793c71bf92 8221153: ZGC: Heap iteration and verification pollutes GC statistics
Reviewed-by: stefank, eosterlund
2019-03-28 19:43:59 +01:00
Per Lidén
7a623e6e46 8221540: ZGC: Reduce width of zForwardingEntry::from_index field
Reviewed-by: stefank, eosterlund
2019-03-28 19:43:59 +01:00
Per Lidén
53c904df4a 8221394: Clean up ConcurrentGCThread
Reviewed-by: kbarrett, eosterlund
2019-03-28 19:43:59 +01:00