1350 Commits

Author SHA1 Message Date
Erik Österlund
ce61e39060 8208601: Introduce native oop barriers in C2 for OopHandle
Reviewed-by: neliasso, kvn
2018-08-22 13:06:33 +02:00
Roman Kennke
d8ffa83e7a 8209801: Rename C1_WRITE_ACCESS and C1_READ_ACCESS decorators to ACCESS_READ and ACCESS_WRITE
Reviewed-by: kbarrett, pliden
2018-08-22 13:01:26 +02:00
Roland Westrelin
417149e74a 8209684: Intrinsics that assume some input non null should use GraphKit::must_be_not_null()
Reviewed-by: kvn, thartmann
2018-08-22 10:09:06 +02:00
Roland Westrelin
f3e518394b 8209420: Track membars for volatile accesses so they can be properly optimized
Reviewed-by: adinn, aph, thartmann
2018-08-14 16:54:47 +02:00
Ioi Lam
593590305d 8209826: Undefined reference to os::write after JDK-8209657 (filemap.hpp cleanup)
Include os_inline.hpp instead

Reviewed-by: jiangli
2018-08-21 20:23:34 -07:00
Ioi Lam
73951ab5d9 8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
Added src/hotspot/share/include/cds.h

Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Zhengyu Gu
bd0f1453dc 8206467: Refactor G1ParallelCleaningTask into shared
Refactored and moved G1ParllelCleaningTask to be shared among GCs

Reviewed-by: rkennke, kbarrett
2018-08-21 20:29:57 -04:00
Leonid Mesnik
85a5893183 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2018-08-21 13:17:29 -07:00
Tom Rodriguez
9c4f2b7294 8209624: [JVMCI] Invalidate nmethods instead of directly unloading them when the InstalledCode is dropped
Reviewed-by: kvn
2018-08-21 08:38:02 -07:00
Patricio Chilano Mateo
4ef5590fa7 8206423: Use locking for cleaning ResolvedMethodTable
ServiceThread is now in charge of cleaning ResolvedMethodTable entries

Reviewed-by: gziemski, dholmes, coleenp
2018-08-21 10:37:02 -04:00
Coleen Phillimore
eca24bfb55 8209792: Remove ClassLoaderDataGraph::keep_alive_cld_do
Unnecessary

Reviewed-by: zgu, tschatzl
2018-08-21 10:03:22 -04:00
Coleen Phillimore
dc556f4086 8209738: Remove ClassLoaderDataGraph::*oops_do functions
Make walking CLDG more consistent.

Reviewed-by: dholmes, tschatzl
2018-08-21 09:33:41 -04:00
Ioi Lam
bc62b3a40e 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Lutz Schmidt
0f4805ef4c 8209588: SIGSEGV in MethodArityHistogram() with -XX:+CountCompiledCalls
Reviewed-by: kvn, goetz
2018-08-20 17:25:45 +02:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Kim Barrett
0d9777a9cb 8154343: Make SATB related code available to other GCs
Move ptrQueue and satbMarkQueue files from g1 to shared.

Reviewed-by: rkennke, sangheki
2018-08-18 13:59:25 -04:00
Calvin Cheung
660c7e50f7 8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
Skip checking the path entries which are not being referenced during CDS dump time

Reviewed-by: jiangli, iklam
2018-08-17 14:50:59 -07:00
Stuart Monteith
2788ddc4eb 8209586: AARCH64: SymbolTable changes throw assert on aarch64
Cast the comparison value to match the signdeness

Reviewed-by: gziemski, coleenp
2018-08-17 11:56:59 -05:00
Robbin Ehn
3bb71a9b51 8207334: VM times out in VM_HandshakeAllThreads::doit() with RunThese30M
Handshakes did not consider external suspended threads safe for safepoint.

Reviewed-by: dcubed, dholmes
2018-08-17 13:38:19 +02:00
Tobias Hartmann
73bcb0507e 8208275: C2 crash in Node::add_req(Node*)
Split-if optimization should not process (dead) counted loops.

Reviewed-by: roland
2018-08-17 08:21:20 +02:00
Ioi Lam
2e941724e4 8209545: Simplify HeapShared::archive_module_graph_objects
Added archivable_static_fields array in heapShared.cpp

Reviewed-by: jiangli
2018-08-15 11:19:57 -07:00
Kim Barrett
6355dec98c 8209607: Remove stale comment for JNI mutexes
Remove comment.

Reviewed-by: dholmes
2018-08-16 19:49:25 -04:00
Jiangli Zhou
da4684e2e1 8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.

Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Ioi Lam
e12ee81ff0 8206115: Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
Added BASIC_JAVA_CLASSES_DO in javaClasses.hpp

Reviewed-by: jiangli, redestad, coleenp
2018-08-14 20:46:46 -07:00
Coleen Phillimore
ef15adee70 8209541: Fix merge problem in SymbolTable::do_check_concurrent_work
Remerged with previous change to do_unloading.

Reviewed-by: hseigel
2018-08-15 16:01:48 -04:00
Coleen Phillimore
68e65d8ece 8209447: vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_none2indy_b/TestDescription.java timed out
Was walking code cache for every safepoint because redefined methods take a long time to clear out of the code cache

Reviewed-by: eosterlund, rehn
2018-08-15 15:50:23 -04:00
Dmitrij Pochepko
4377d3abe2 8209439: C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
Reviewed-by: kvn, thartmann
2018-08-15 14:48:12 +03:00
Erik Österlund
b9052e9647 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2018-08-15 09:51:57 +02:00
Gerard Ziemski
b75805c1a5 8195100: Use a low latency hashtable for SymbolTable
Used concurrentHashTable, similar to stringTable

Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Kim Barrett
773906998a 8209347: SATBMarkQueue.cpp should not need jvm.h
Use os::snprintf instead of jio_snprintf.

Reviewed-by: shade, tschatzl
2018-08-14 14:58:14 -04:00
Kim Barrett
8f31a55f91 8209346: Refactor SATBMarkQueue filter configuration
Moved reference to G1-specific option to G1CollectedHeap.

Reviewed-by: shade, rkennke
2018-08-14 13:16:26 -04:00
Per Lidén
a51aeedca0 8209376: ZGC: Move ZMarkStackAllocator into a separate file
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:43 +02:00
Per Lidén
f50c8dddfa 8209375: ZGC: Use dynamic base address for mark stack space
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:42 +02:00
Kim Barrett
924bba584d 8209345: Merge SATBMarkQueueFilter into SATBMarkQueueSet
Move filter extension protocol to SATBMarkQueueSet.

Reviewed-by: shade, tschatzl, rkennke
2018-08-14 00:15:56 -04:00
Kim Barrett
a007690fa0 8209396: Make PtrQueueSets not statically allocated
Change the G1BarrierSet PtrQueueSet static members to ordinary members.

Reviewed-by: shade, tschatzl, rkennke
2018-08-13 18:21:26 -04:00
Claes Redestad
5c3008fbc4 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Thomas Schatzl
7aabcdee63 8200365: TestOptionsWithRanges.java of '-XX:TLABWasteTargetPercent=100' fails intermittently
For initial TLAB sizing, increase the number of expected refills to 2.

Reviewed-by: phh, sangheki
2018-08-13 12:24:25 +02:00
Aleksei Voitylov
abb7f64829 8209378: Fix Minimal VM after JDK-8208677
Reviewed-by: coleenp, shade
2018-08-13 10:28:01 +02:00
Coleen Phillimore
d1aea148fe 8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
InstanceKlass::implementors() needs the Compile_lock

Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
Coleen Phillimore
647c7d5344 8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11).

Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Harold Seigel
83b2fb5b0d 8207778: Add locking to ModuleEntry and PackageEntry tables
Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()

Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04:00
Jiangli Zhou
a5d14313f5 8207263: Store the Configuration for system modules into CDS archive
Archive boot layer Configuration.

Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Claes Redestad
2c5b52f061 8209186: Rename SimpleThresholdPolicy to TieredThresholdPolicy
Reviewed-by: thartmann, pliden, kvn
2018-08-10 00:20:15 +02:00
Roman Kennke
59ca28bf1c 8209118: Abstract SATBMarkQueueSet's ThreadLocalData access
Reviewed-by: kbarrett, shade
2018-08-09 22:51:48 +02:00
Mikael Vidstedt
83a51d869e Merge 2018-08-09 10:08:07 -07:00
Roman Kennke
cbcc690048 8205523: Explicit barriers for interpreter
Reviewed-by: eosterlund, coleenp
2018-06-22 16:07:15 +02:00
Roman Kennke
f62fa67625 8204969: Asserts in objArrayKlass.cpp need to use _raw variants of obj_addr_at()
Reviewed-by: tschatzl, eosterlund
2018-08-09 17:11:11 +02:00
Per Lidén
f8590345b7 8209127: ZGC: Improve error message when failing to map memory for mark stacks
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
abb1e458eb 8209126: ZGC: ZMarkStackAllocator::is_initialized() never called
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
6c7f0f0218 8209125: ZGC: Clean up ZServiceabilityCounters
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00