88 Commits

Author SHA1 Message Date
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
Erik Helin
3f2081a618 8187667: Disable deprecation warning for readdir_r
Reviewed-by: dholmes, sjohanss
2017-09-18 15:06:28 +02:00
Igor Veresov
c0c2da94f4 8189183: [AOT] Fix eclipse project generation after repo consolidation
Reviewed-by: dlong
2017-10-11 16:19:09 -07:00
Erik Helin
b5dd6a9a45 8187578: BitMap::reallocate should check if old_map is NULL
Reviewed-by: stefank, eosterlund, dholmes
2017-09-15 14:47:13 +02:00
Calvin Cheung
449114a4f6 8185694: Replace SystemDictionaryShared::_java_platform_loader with SystemDictionary::is_platform_class_loader()
Added the creation of _java_platform_loader

Reviewed-by: iklam, coleenp, mchung, dholmes, jiangli
2017-10-10 14:38:56 -07:00
Mandy Chung
4c1297b778 8188052: JNI FindClass needs to specify the class loading context used for library lifecycle hooks
Reviewed-by: alanb, coleenp, dholmes
2017-10-10 11:52:42 -07:00
Erik Österlund
bf5816a2c5 8188813: Generalize OrderAccess to use templates
Reviewed-by: dholmes, coleenp
2017-10-09 14:39:59 +02:00
Martin Doerr
21ee7f4b2a 8188868: PPC64: Support AES intrinsics on Big Endian
Reviewed-by: goetz
2017-10-09 13:56:59 +02:00
Lutz Schmidt
ccbba3fe48 8188857: [s390]: CPU feature detection incomplete
Reviewed-by: mdoerr
2017-10-09 11:51:20 +02:00
Lutz Schmidt
75a4bdf218 8187964: [s390][ppc]: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: mdoerr
2017-10-09 11:43:42 +02:00
David Holmes
b8a270598e Merge 2017-10-09 08:15:25 +00:00
Serguei Spitsyn
70bbf43808 Merge 2017-10-09 07:08:53 +00:00
David Holmes
2d8670326d 8185529: JCK api/java_lang/Object/WaitTests failed with jdk10/hs nightly
Reviewed-by: dcubed, ccheung
2017-10-09 01:23:13 -04:00
Yasumasa Suenaga
72ef94f770 8187403: [Unknown generation] is shown in Stack Memory on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:45:12 +09:00
Zhengyu Gu
0d8679e178 8187685: NMT: Tracking compiler memory usage of thread's resource area
Bias compiler thread's resource area to mtCompiler

Reviewed-by: kvn, coleenp
2017-10-06 22:40:31 -04:00
Jiangli Zhou
3ccd60110d 8174986: CDS archived java heap region may not compatible with AOT
Always uses LogKlassAlignmentInBytes for narrow_klass_shift when CDS is enabled.

Reviewed-by: iklam, ccheung
2017-10-06 19:33:27 -04:00
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