1335 Commits

Author SHA1 Message Date
Kim Barrett
1b02e70184 8072498: Multi-thread JNI weak reference processing
Add parallel processing support to WeakProcessor.

Reviewed-by: tschatzl, sjohanss
2018-08-28 12:57:40 -04:00
Harold Seigel
eb51968f00 8202578: Revisit location for class unload events
Use notify_unload_class() to post JFR class unload events instead of doing a separate traversal of the class loader data graph

Reviewed-by: lfoltan, coleenp, mgronlun, egahlin
2018-08-28 10:10:11 -04:00
Per Lidén
12c27777c8 8209894: ZGC: Cap number of GC workers based on heap size
Reviewed-by: ehelin, tschatzl
2018-08-28 09:06:23 +02:00
Zhengyu Gu
083110efa9 8209852: Counters in StringCleaningTask should be type of size_t
Converted counters to size_t type to avoid casting

Reviewed-by: coleenp
2018-08-27 17:20:29 -04:00
Coleen Phillimore
fd9fa38d21 8209821: Make JVMTI GetClassLoaderClasses not walk CLDG
And also added function with KlassClosure to remove the hacks.

Reviewed-by: lfoltan, sspitsyn
2018-08-25 11:10:21 -04:00
Aleksey Shipilev
51c04f947f 8209911: More blob types in hs_err printout
Reviewed-by: simonis, kvn
2018-08-25 14:23:21 +02:00
Mikael Vidstedt
83d8bf86a6 8209915: Fix license headers
Reviewed-by: kvn, pliden
2018-08-24 13:23:39 -07:00
Zhengyu Gu
af8a3d61b5 8209841: [REDO] Refactor G1ParallelCleaningTask into shared
Refactored ParallelCleaningTask to share with other GCs

Reviewed-by: tschatzl, shade
2018-08-24 15:49:21 -04:00
Jiangli Zhou
7a51b4a8fa 8208061: runtime/LoadClass/TestResize.java fails with "Load factor too high" when running in CDS mode
Allow resizing for all system dictionaries except for the shared dictionary at runtime.

Reviewed-by: iklam, gziemski
2018-08-24 15:33:28 -04:00
Dean Long
347b95d500 8209825: guarantee(false) failed: wrong number of expression stack elements during deopt
Reviewed-by: kvn, thartmann
2018-08-24 11:56:14 -07:00
Tobias Hartmann
aef7c93375 8209670: CompilerThread releasing code buffer in destructor is unsafe
Don't free temporary code buffers in compiler thread destructor to avoid interference with safepoint code.

Reviewed-by: kvn, dholmes, zgu
2018-08-21 17:47:59 +02:00
Roland Westrelin
423c207dc7 8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item
Reviewed-by: neliasso, kvn
2018-08-17 17:13:12 +02:00
Gerard Ziemski
e0559bdd88 8209622: applications/kitchensink/Kitchensink.java failed with Kitchensink failed with exit code = 138
SymbolTableLock no longer checks for safepoints

Reviewed-by: coleenp, rehn
2018-08-24 09:12:51 -05:00
Gunter Haug
e2081b42b5 8208480: Test failure: assert(is_bound() || is_unused()) after JDK-8206075 in C1
Reviewed-by: kvn, phh, lucy
2018-08-20 12:08:07 +02:00
Tobias Hartmann
6dac70d919 8207355: C1 compilation hangs in ComputeLinearScanOrder::compute_dominator
Bail out from recursive computation if the block was already processed.

Reviewed-by: kvn, iveresov
2018-08-06 09:09:57 +02:00
Markus Grönlund
e8dd517464 8207139: NMT is not enabled on Windows 2016/10
Reviewed-by: dcubed, zgu, dholmes
2018-08-02 09:49:04 +02:00
Harold Seigel
5a3decc9f1 8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
Add code to skip over unknown attributes when class file version >= 11.

Reviewed-by: lfoltan
2018-07-26 15:56:37 -04:00
Goetz Lindenmaier
c798b68ee1 8207830: [aix] disable jfr in build and tests
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Zhengyu Gu
7f98a31e8d 8207056: Epsilon GC to support object pinning
Epsilon GC to use object pinning to avoid expensive GCLocker

Reviewed-by: shade, rkennke
2018-07-11 13:55:38 -04:00
Vladimir Kozlov
67d90233b1 8207069: [AOT] we should check that VM uses the same GC as one used for AOT library generation
Reviewed-by: twisti, dnsimon, never
2018-07-19 13:41:56 -07:00
Roman Kennke
9ec15cedd0 8206457: Code paths from oop_iterate() must use barrier-free access
Reviewed-by: eosterlund, shade
2018-07-06 16:04:19 +02:00
Tobias Hartmann
a494a819eb 8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place"
Deoptimize if exception is thrown in _clone intrinsic.

Reviewed-by: kvn
2018-08-24 08:17:23 +02:00
Kim Barrett
23f0fb4cde 8209850: Allow NamedThreads to use GlobalCounter critical sections
Add NamedThreads iterator and make GlobalCounter use it.

Reviewed-by: eosterlund, rehn
2018-08-23 18:14:53 -04:00
Per Lidén
14443eec10 8209883: ZGC: Compile without C1 broken
Reviewed-by: eosterlund, shade
2018-08-23 14:31:27 +02:00
Per Lidén
58e2f2d41c 8209831: ZGC: Clean up ZRelocationSetSelectorGroup::semi_sort()
Reviewed-by: eosterlund, kbarrett
2018-08-23 10:52:27 +02:00
Thomas Schatzl
6f880d7f48 8209062: Clean up G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Thomas Schatzl
0d78eb91db 8209061: Move G1 serviceability functionality to G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Thomas Schatzl
5c94ea21e7 8209700: Remove HeapRegionSetBase::RegionSetKind for a more flexible approach
Reviewed-by: kbarrett, phh
2018-08-22 20:37:07 +02:00
Thomas Schatzl
0cad83662a 8209698: Remove "Pinned" from HeapRegionTraceType
Reviewed-by: iklam
2018-08-22 20:37:07 +02:00
Thomas Schatzl
8e264e259d 8208498: Put archive regions into a first-class HeapRegionSet
Maintain archive regions in a HeapRegionSet like other region types.

Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Ioi Lam
5b2c081460 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Relocate and patch archive regions if necessary

Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Roland Westrelin
40af989884 8209686: cleanup arguments to PhaseIdealLoop() constructor
Reviewed-by: thartmann, kvn, pliden
2018-08-22 10:36:39 +02:00
Thomas Schatzl
2ffded2a4b 8209839: [Backout] Backout JDK-8206467 Refactor G1ParallelCleaningTask into shared
Reviewed-by: zgu
2018-08-22 16:01:29 +02:00
Roman Kennke
83d1dd7d9a 8209667: Explicit barriers for C1/LIR
Reviewed-by: eosterlund, roland
2018-08-19 20:00:57 +02:00
Coleen Phillimore
b1ce2c0fe8 8208172: SIGSEGV when owner of invokedynamic bootstrap method throws an exception - Symbol::increment_refcount()+0x0
Table for resolution errors always expect non-null message string.

Reviewed-by: dholmes, iklam
2018-08-22 07:51:07 -04:00
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