667 Commits

Author SHA1 Message Date
Coleen Phillimore
fd85805dc0 8178870: instrumentation.retransformClasses cause coredump
Don't double-free cached class bytes on redefinition loading failure.

Reviewed-by: sspitsyn, jiangli
2017-10-06 14:30:04 -04:00
Michihiro Horie
36dec9793d 8188802: PPC64: Failure on assert(lrgmask.is_aligned_sets(RegMask::SlotsPerVecX))
Reviewed-by: mdoerr
2017-10-05 12:56:42 +02:00
Erik Österlund
b6bc02e70f 8188224: Generalize Atomic::load/store to use templates
Reviewed-by: dholmes, coleenp
2017-10-05 10:55:34 +02:00
Ujwal Vangapally
96d0817455 8185003: JMX: Add a version of ThreadMXBean.dumpAllThreads with a maxDepth argument
Added two new API's to limit the stack trace depth

Reviewed-by: mchung, dfuchs, rriggs, egahlin
2017-10-05 01:31:53 -07:00
Serguei Spitsyn
b4347ad825 Merge 2017-09-30 00:14:39 +00:00
Serguei Spitsyn
8f9b248011 Merge 2017-09-29 23:53:15 +00:00
Calvin Cheung
6213838f11 8138600: eliminate the need of ModuleLoaderMap.dat for CDS
Removed the code which generates the ModuleLoaderMap.dat and the code which references it

Reviewed-by: mchung, jiangli
2017-09-29 10:11:01 -07:00
Yasumasa Suenaga
858db7244e 8187402: UnknownOopException is occurred on Stack Memory window in HSDB
Reviewed-by: sspitsyn, jgeorge
2017-09-29 21:00:18 +09:00
Patric Hedlin
e31bc5637a 8188031: Complement fused mac operations on SPARC
Adding a few (FMAf) matcher patterns to the SPARC back-end

Reviewed-by: rbackman, kvn
2017-09-29 10:44:58 +02:00
Patric Hedlin
d801fa5d9d 8182279: Updating SPARC feature/capability detection to support Core C5
Renamed Core Sx to Core Cx (C3, C4, C5, according to name change).

Reviewed-by: kvn, dholmes
2017-09-29 10:41:36 +02:00
Patric Hedlin
b125aebb91 8167199: Add C2 SPARC intrinsic for BigInteger::multiplyToLen() method
Preliminary support for intrinsic multiplyToLen, including generalised version based on 'mpmul' instruction (when available).

Reviewed-by: kvn, neliasso
2017-09-29 10:40:54 +02:00
Patric Hedlin
1af1d42ac4 8011352: C1: TraceCodeBlobStacks crashes fastdebug Solaris SPARC
Handle null correctly

Reviewed-by: roland, dlong, rbackman
2017-09-29 10:40:49 +02:00
Mikael Gerdin
04b79fa8f3 8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
Reviewed-by: dholmes, stuefe
2017-09-25 21:25:46 -04:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Gustavo Serra Scalet
521c3ea430 8185976: PPC64: Implement MulAdd and SquareToLen intrinsics
This implementation is based on the algorithm implemented in java. It yields a performance speedup of: JDK8: 23% JDK9: 5% JDK10: 5%

Reviewed-by: mdoerr, goetz
2017-09-25 09:37:43 +02:00
Goetz Lindenmaier
a17ce440a5 8187547: PPC64: icache invalidation is incorrect in some places
Reviewed-by: mdoerr, goetz
2017-09-25 08:43:43 +02:00
Zhongwei Yao
2990ce8012 8187601: Unrolling more when SLP auto-vectorization failed
Reviewed-by: kvn
2017-09-20 18:30:32 +08:00
Roland Westrelin
844e594fec 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-09-27 16:17:47 +02:00
Jesper Wilhelmsson
eed5d34c26 Merge 2017-10-04 20:01:19 +00:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Dmitrij Pochepko
949f677957 8187684: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: kvn, aph, lucy
2017-10-04 11:52:07 -07:00
Martin Doerr
f651176392 8188773: PPC64 and s390: Fix UseMembar and enable ShareVtableStubs
Reviewed-by: goetz
2017-10-04 16:44:45 +02:00
Lutz Schmidt
bdb303aa42 8187969: [s390] z/Architecture Vector Facility Support. Part II
Reviewed-by: mdoerr
2017-10-04 14:25:53 +02:00
Michihiro Horie
febf1d80ea 8188757: PPC64: Disable VSR52-63 in ppc.ad
Reviewed-by: mdoerr
2017-10-04 14:01:54 +02:00
Michihiro Horie
7b17b2d2a3 8188139: PPC64: Superword Level Parallelization with VSX
Reviewed-by: kvn, gromero
2017-10-03 17:37:15 -07:00
Rohit Arul Raj
e6765bf9bf 8187219: Newer AMD 17h (EPYC) Processor family defaults
Reviewed-by: dholmes, kvn
2017-10-03 15:32:27 -07:00
Coleen Phillimore
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Goetz Lindenmaier
92fc72a86b 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes
2017-09-25 23:42:58 -04:00
Erik Helin
80f8ee98e4 8187570: Comparison between pointer and char in MethodMatcher::canonicalize
Reviewed-by: ysuenaga, eosterlund
2017-09-15 10:43:03 +02:00
Erik Österlund
aa72ba3a64 8187977: Generalize Atomic::xchg to use templates
Reviewed-by: kbarrett, coleenp
2017-09-26 21:37:01 +02:00
Ioi Lam
a2d1045eef 8187979: Clean up info printing at CDS dump time
Reviewed-by: jiangli, ccheung
2017-10-02 16:00:42 -07:00
David Holmes
fd93a04684 8185062: Set AssumeMP to true and deprecate the flag
Reviewed-by: shade, dcubed, kvn
2017-10-02 18:56:30 -04:00
Dmitrij Pochepko
b787f1b55b 8186915: AARCH64: Intrinsify squareToLen and mulAdd
Reviewed-by: aph
2017-10-02 17:20:14 +03:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Thomas Stuefe
25f56657aa 8187230: [aix] Leave OS guard page size at default for non-java threads instead of explicitly setting it
Reviewed-by: goetz, dholmes
2017-09-07 15:40:20 +02:00
Kim Barrett
7704492287 8187462: IntegralConstant should not be AllStatic
Changed base class to VALUE_OBJ_CLASS_SPEC

Reviewed-by: coleenp
2017-10-17 20:21:50 -04:00
Roman Kennke
b788c73f53 8185580: Refactor Threads::possibly_parallel_oops_do() to use Threads::parallel_java_threads_do()
Reviewed-by: dholmes, coleenp
2017-10-17 18:54:03 +02:00
Erik Österlund
9adfa12663 8188919: Generalize GC thread suspend/resume at safepoints
Reviewed-by: pliden, rkennke
2017-10-17 08:51:55 +02:00
Coleen Phillimore
39b068db11 8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
With the new template functions these are unnecessary.

Reviewed-by: kbarrett, dholmes, eosterlund
2017-10-16 22:36:06 -04:00
Erik Gahlin
cb9e7bf51a Merge 2017-10-16 20:22:41 +00:00
Erik Gahlin
96c45a7857 Merge 2017-10-16 19:11:17 +00:00
Robin Westberg
cb07ac64f3 8187042: Events to show which objects are associated with biased object revocations
Reviewed-by: mgronlun, dholmes, egahlin
2017-10-16 18:25:07 +02:00
Erik Gahlin
03f6080cd2 8189274: Allow cutoff attribute for event based tracing
Reviewed-by: mgronlun
2017-10-16 17:48:47 +02:00
Robin Westberg
f4d679fb21 8173917: Safepoint ID is not consistent across event-based tracing events
Reviewed-by: egahlin, mgronlun
2017-10-16 16:44:23 +02:00
Roman Kennke
d19e0c0bb2 8189333: Fix Zero build after Atomic::xchg changes
Reviewed-by: dholmes
2017-10-15 17:37:29 -04:00
Dean Long
9d33d6f6bb 8189244: x86: eliminate frame::adjust_unextended_sp() overhead
Reviewed-by: kvn
2017-10-13 12:29:45 -07:00
Erik Österlund
ebf1633bd2 8185141: Generalize scavengeable nmethod root handling
Reviewed-by: tschatzl, pliden, rkennke
2017-10-13 15:08:56 +02:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Roman Kennke
4516caf125 8179387: Factor out CMS specific code from GenCollectedHeap into its own subclass
Reviewed-by: ehelin, coleenp
2017-10-12 15:08:19 +02:00