Commit Graph

183 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
42a29333b9 Merge 2017-10-10 16:29:04 +02: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
Yasumasa Suenaga
b1a725dff0 8187401: Java Stack cannot be shown on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:42:35 +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
91d649724b Merge 2017-10-06 18:50:04 +00: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
Vladimir Kozlov
0c224245ce 8188775: Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.hotspot
Add missed changes in default.policy for new module

Reviewed-by: mchung
2017-10-06 10:39:09 -07: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
Serguei Spitsyn
195531f733 8177901: JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on checking for an interface
Add synchronization between CommandLoop and cbVMDeath callback

Reviewed-by: dholmes, dcubed
2017-09-26 00:52:29 -07: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
Jesper Wilhelmsson
1b0c9f4ae7 Merge 2017-09-25 19:54:58 +00: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
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
Serguei Spitsyn
87a8a4301f Merge 2017-09-30 01:38:57 +00:00
Yasumasa Suenaga
12a11f2c65 8175816: SA: HSDB: Compute Liveness results in java.lang.IndexOutOfBoundsException
Reviewed-by: sspitsyn, jgeorge
2017-09-29 20:57:48 +09:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Jaroslav Tulach
d72e093a74 8182701: Modify JVMCI to allow Graal Compiler to expose platform MBean
Reviewed-by: dnsimon, kvn, alanb, mchung, dfuchs
2017-09-28 13:52:15 -07:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07:00
Harold Seigel
38378b4f12 Merge 2017-09-28 17:10:36 +00:00
Harold Seigel
87e30fd801 8186092: Unnecessary loader constraints produced when there are multiple defaults
Do not check loader constraints for overpass methods

Reviewed-by: dholmes, acorn
2017-09-28 13:01:24 -04:00
Zhengyu Gu
c4ba1b52b3 8186770: NMT: Report metadata information in NMT summary
Added metadata statistics in NMT summary report

Reviewed-by: adinn, coleenp
2017-09-28 09:56:54 -04:00
Erik Österlund
394e6a8318 8186838: Generalize Atomic::inc/dec with templates
Reviewed-by: kbarrett, coleenp, dholmes
2017-09-26 14:05:27 +02:00
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02:00
Jiangli Zhou
61e3ad18c6 Merge 2017-09-28 01:01:42 +00:00
Jiangli Zhou
ba16fabd20 8186789: CDS dump crashes at ConstantPool::resolve_class_constants
ConstantPool::resolve_class_constants needs to check for NULL _cache.

Reviewed-by: sspitsyn, coleenp, iklam
2017-09-27 20:40:33 -04:00
Jiangli Zhou
92ad2630a1 8068314: "Java fields that are currently set during shared space dumping" comment is incorrect
CDS dump time should also initialize preallocated out_of_memory error messages.

Reviewed-by: iklam, hseigel
2017-09-27 17:55:20 -04:00
John Paul Adrian Glaubitz
da300604af 8186578: Zero fails to build on linux-sparc due to sparc-specific code
Reviewed-by: kbarrett, ihse, coleenp
2017-09-27 17:01:34 +02:00
Stefan Johansson
52c73dd8a9 8184286: print_tracing_info() does not use Unified Logging for output
Reviewed-by: ehelin, sangheki
2017-09-21 14:32:05 +02:00
Coleen Phillimore
b9f1af71e5 Merge 2017-09-26 21:12:39 +00:00
Chris Plummer
0ceb0316d6 Merge 2017-09-26 19:53:07 +00:00
Chris Plummer
6d534369ab Merge 2017-09-26 17:18:00 +00:00
Chris Plummer
7b36f7835a Merge 2017-09-26 17:11:39 +00:00
Chris Plummer
737c0cd7a5 8179498: attach in linux should be relative to /proc/pid/root and namespace aware
Map pid to namespace pid so proper tmp file name is used.

Reviewed-by: sspitsyn, dholmes
2017-09-26 10:09:54 -07:00
Chris Plummer
3dc45c1157 Merge 2017-09-26 16:47:46 +00:00
Harold Seigel
b670fc288c Merge 2017-09-26 16:04:40 +00:00
Coleen Phillimore
b90a701462 Merge 2017-09-26 16:03:29 +00:00
Harold Seigel
b9f9561d7c Merge 2017-09-26 15:34:49 +00:00
Lutz Schmidt
6d015ba502 8187573: [s390] z/Architecture Vector Facility Support
Reviewed-by: mdoerr
2017-09-26 17:06:06 +02:00
Coleen Phillimore
03d1c13fa3 8081323: ConstantPool::_resolved_references is missing in heap dump
Add resolved_references and init_lock as hidden static field in class so root is found.

Reviewed-by: hseigel, jiangli, sspitsyn
2017-09-26 10:03:17 -04:00
Harold Seigel
2781cf9c38 8187436: -Xbootclasspath/a causes sanity check assertion with exploded build
Fixed asserts to work properly with exploded build

Reviewed-by: alanb, jiangli, gtriantafill
2017-09-26 08:58:04 -04:00
Yasumasa Suenaga
070104325c 8187597: WrongTypeException is occurred at CLHSDB jstack after JDK-8186837
Reviewed-by: rehn, cjplummer, dholmes
2017-09-26 06:53:35 -04:00
David Holmes
57590109cc Merge 2017-09-26 10:17:35 +00:00
Thomas Stuefe
2f137ced94 8187028: [aix] Real thread stack size may be up to 64K smaller than requested one
Reviewed-by: goetz
2017-09-26 11:25:34 +02:00
David Holmes
5a3eb313a6 Merge 2017-09-26 09:02:10 +00:00
John Paul Adrian Glaubitz
80184d3515 8187590: Zero runtime can lock-up on linux-alpha
Reviewed-by: aph, dholmes
2017-09-26 04:52:02 -04:00
Zhengyu Gu
8969bd19e0 8187629: NMT: Memory miscounting in compiler (C2)
Fixed memory counting in compiler (C2)

Reviewed-by: adinn, cjplummer, kvn
2017-09-25 11:56:21 -04:00
Zhengyu Gu
03dacaa881 8187331: VirtualSpaceList tracks free space on wrong node
Fixed miscounting of virtual space node's free memory

Reviewed-by: shade, coleenp, stuefe
2017-09-20 20:54:29 -04:00