384 Commits

Author SHA1 Message Date
Vladimir Ivanov
0c05e5a478 8190869: C2: missing strength reduction of Math.pow(x, 2.0D) to x*x
Reviewed-by: kvn
2017-12-13 19:32:48 +03:00
Coleen Phillimore
3541733024 8193053: jvm crash by G1CMBitMapClosure::do_addr
We were adding an unloaded mirror to the SATB collection set in remove_handle.

Reviewed-by: hseigel, kbarrett
2017-12-13 07:14:18 -05:00
David Holmes
b1001c7d7d 8193222: EnsureLocalCapacity() should maintain capacity requests through multiple calls
Reviewed-by: coleenp, dcubed
2017-12-12 19:06:19 -05:00
Man Cao
d8a31c4cb8 8193386: CompressedClassSize too large with MaxMetaspace
Reviewed-by: ysuenaga, coleenp
2017-12-12 11:55:57 -05:00
Calvin Cheung
915b2cd1f2 8192989: runtime/appcds/javaldr/ArrayTest.java crashes with assert(k->is_instance_klass())
Disable loading array classes from the class list

Reviewed-by: iklam, jiangli
2017-12-08 15:14:08 -08:00
Daniel D. Daugherty
b0138d81ad 8193135: get rid of redundant _smr_ prefix/infix in ThreadSMRSupport stuff
Reviewed-by: stefank, gtriantafill, coleenp
2017-12-08 15:24:47 -05:00
Dean Long
18e7fa9b4c 8145579: SimpleThresholdPolicy assumes non-trivial methods to be trivial
Reviewed-by: shade, kvn, thartmann
2017-12-05 10:38:31 -08:00
Razvan A Lupusoru
b96c85c640 8192846: Support cmov vectorization for float
Reviewed-by: kvn
2017-12-05 09:49:23 -08:00
Dean Long
29aabe9c05 8193009: compiler/c2/Test7029152.java crashes with SIGILL in java.lang.StringLatin1.indexOf with -XX:+UseJVMCICompiler
Reviewed-by: iveresov, kvn
2017-12-06 18:37:57 -08:00
Roland Westrelin
c042b7af4c 8191950: assertion failed: no insertions allowed
Check for dead loops before incremental inlining.

Reviewed-by: thartmann
2017-12-02 13:50:04 +01:00
Jesper Wilhelmsson
e77f4f9c55 Merge 2017-12-02 06:51:10 +01:00
Vivek Deshpande
1172328edf 8170244: Update UseAVX after cpu feature detection to use more default mapping
Reviewed-by: kvn
2017-12-01 16:58:30 -08:00
Vivek Deshpande
b4ef56fd28 8190494: Different results with UseAVX=3 when calling AVX-512 native function via JNI
Reset mask register after JNI calls

Reviewed-by: kvn, vlivanov
2017-12-01 16:23:17 -08:00
Roland Westrelin
f570e1bc27 8192762: LoopNode::verify_strip_mined() fails with "assert failed: only phis"
Don't clone Phi to uncommon calls

Reviewed-by: kvn
2017-12-01 16:20:18 -08:00
Ioi Lam
d4fab56c4f 8190809: JVM crashes while generating appcds for classpath with empty directory entry
Reviewed-by: ccheung, jiangli, lmesnik
2017-12-01 15:53:15 -08:00
Coleen Phillimore
6f13586ba2 Merge 2017-12-01 14:19:16 -05:00
Martin Doerr
f8f83d77a8 8192898: AIX build broken after JDK-8190308
Reviewed-by: coleenp
2017-12-01 11:26:22 -05:00
Martin Doerr
1fd81dac32 8192825: PPC64: Missing null check in C1 inline cache check
Reviewed-by: goetz
2017-12-01 17:10:33 +01:00
Lutz Schmidt
d8284abf49 8192818: [s390]: restoring register contents calculates wrong value
Reviewed-by: goetz, mdoerr
2017-12-01 17:09:43 +01:00
Erik Gahlin
8fd0feffb9 8179083: Uninitialized notifier in Java Monitor Wait tracing event
Reviewed-by: mgronlun
2017-12-01 17:03:07 +01:00
Daniel D. Daugherty
7c89ccfeb8 8192810: EnableThreadSMRStatistics should be default off in release builds
Reviewed-by: gtriantafill, coleenp, eosterlund
2017-12-01 11:00:46 -05:00
Boris Ulasevich
f4b397b4ba 8189439: Parameters type profiling is not performed from aarch64 interpreter
Reviewed-by: vlivanov
2017-12-01 18:24:52 +03:00
Dmitry Chuyko
d24ef2f18f 8191129: AARCH64: Invalid value passed to critical JNI function
Reviewed-by: vlivanov
2017-12-01 18:20:00 +03:00
Jamsheed Mohammed C M
b24fe21f43 8006887: Comment about LIR_OprDesc.value in c1_LIR.hpp is incorrect
Pointer bit description corrected

Reviewed-by: kvn, dlong
2017-12-01 00:57:01 -08:00
Stefan Johansson
ea04c5cfb3 8191821: Finer granularity for GC verification
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Yasumasa Suenaga
6311c909f6 8190837: BasicType and BasicTypeSize should refer to HotSpot values
Reviewed-by: dholmes, jgeorge
2017-12-01 10:04:31 +09:00
Daniel D. Daugherty
b468df82f9 8191787: move private inline functions from thread.inline.hpp -> thread.cpp
Reviewed-by: coleenp, dholmes
2017-11-30 18:38:20 -05:00
Dean Long
15ea766de2 8191437: AOT doesn't work easily after thread local handshakes
Reviewed-by: kvn, rehn, aph
2017-11-30 10:40:48 -08:00
Calvin Cheung
40f06dc0e3 8174101: Bootclasspath append should not invalidate CDS archive
Reviewed-by: iklam, jiangli
2017-11-30 14:25:33 -08:00
Erik Österlund
6dc1d8c06d 8186787: clang-4.0 SIGSEGV in Unsafe_PutByte
Reviewed-by: coleenp, dholmes, aph, dsamersoff, kbarrett
2017-11-30 20:37:20 +01:00
Patric Hedlin
bece28d6cc 8191232: compiler/intrinsics/bigInteger/TestMultiplyToLen.java fails with java.lang.Exception: Failed
Generating the wrong insn for pointer comparison in intrinsic (on SPARC).

Reviewed-by: neliasso, kvn
2017-11-30 15:54:45 +01:00
Tobias Hartmann
23424e9e0a 8191360: Lookup of critical JNI method causes duplicate library loading with leaking handler
Unload shared library after lookup to avoid keeping it live.

Reviewed-by: vlivanov, dholmes
2017-12-05 08:27:54 +01:00
Magnus Ihse Bursie
a06ef68dcf 8190484: Move jvm.h, jmm.h et al to hotspot/*/include
Reviewed-by: dholmes, erikj, mchung
2017-12-04 23:55:52 +01:00
Tom Rodriguez
05f99dfe85 8191052: [Graal] java/lang/invoke/CallSiteTest.java intermittently fails with "Failed dependency of type call_site_target_value" when running with Graal as JIT
Reviewed-by: kvn, iveresov, dlong
2017-12-04 13:13:44 -08:00
Roland Westrelin
8b4b92c1a1 8191950: assertion failed: no insertions allowed
Check for dead loops before incremental inlining.

Reviewed-by: thartmann
2017-12-02 13:50:04 +01:00
Jesper Wilhelmsson
48d81c1e0c Merge 2017-12-02 06:51:10 +01:00
Sean Mullan
4da03ba907 8186535: Remove deprecated pre-1.2 SecurityManager methods and fields
Reviewed-by: alanb, coleenp, hseigel, mchung
2017-11-30 07:54:28 -05:00
Roman Kennke
3f3f0cb67e 8191564: Refactor GC related servicability code into GC specific subclasses
Reviewed-by: ehelin, eosterlund
2017-11-30 13:40:07 +01:00
Igor Veresov
d6aded9c68 8192756: SIGSEGV in nmethod::new_native_nmethod
Add the missing null check

Reviewed-by: kvn, thartmann
2017-11-30 08:35:33 -08:00
Jini George
42d3f8d610 8191324: SA cleanup -- part 2
Avoid redefinition of hotspot constants and ia64 code vestiges removal

Reviewed-by: sspitsyn, dholmes, coleenp
2017-11-30 21:24:52 +05:30
Bob Vandette
724a34fbda Merge 2017-11-30 09:51:28 -05:00
Bob Vandette
0e7f779f1b 8192154: JVM crashes inside some chroot environments on linux
Reviewed-by: dholmes, sgehwolf, glaubitz
2017-11-30 09:49:45 -05:00
Vladimir Kozlov
3faa620f4c 8184361: AOT lib at jdk/lib/libjava.base-coop.so seems to override -XX:AOTLibrary=
Load libraries specified by AOTLibrary. Don't load a library if an other library with the same name is already loaded.

Reviewed-by: dlong
2017-11-29 10:30:51 -08:00
Dmitry Chuyko
c5df44a4ce 8188221: Return type profiling is not performed from aarch64 interpreter
Reviewed-by: drwhite
2017-11-29 14:34:19 +03:00
Yasumasa Suenaga
b25c9ddbae 8165736: Error message should be shown when JVMTI agent cannot be attached
Reviewed-by: sspitsyn, dholmes
2017-11-29 09:26:58 +09:00
Coleen Phillimore
bd0fdc5c21 Merge 2017-11-28 17:11:02 -05:00
Kim Barrett
678aafa42c 8191870: Remove badJNIHandle
Reviewed-by: coleenp, eosterlund, dcubed
2017-11-28 15:52:32 -05:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Tobias Hartmann
6f31e2eada 8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range
Adjusted minimum value according to platform specific default values.

Reviewed-by: kvn
2017-11-28 19:02:23 +01:00
Volker Simonis
7617012f55 8191927: Enable AppCDS for custom loaders on all 64-bit Linux and AIX
Added "@requires vm.cds.custom.loaders" to mark tests related to custom loaders

Reviewed-by: simonis, mseledtsov
2017-11-28 09:47:04 -08:00