6458 Commits

Author SHA1 Message Date
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
John Paul Adrian Glaubitz
3b3ebcd097 8192123: Zero should use compiler built-ins for atomics on linux-arm
Reviewed-by: aph
2017-11-29 13:58:28 +01:00
Rahul Raghavan
9726143563 8193699: aarch64 fails to build after 8167372
Added ThreadInVMfromUnknown support

Reviewed-by: smonteith, vlivanov
2017-12-22 09:51:16 -08:00
Chris Hegarty
a2000f8720 8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
2017-12-22 15:55:29 +00:00
Jean Christophe Beyler
df559fe00e 8191987: JDK-8190862 work for arch ppc64
Cleanup interpreter TLAB code

Reviewed-by: mdoerr, goetz
2017-12-20 11:00:07 -08:00
Jesper Wilhelmsson
d417fc4af1 Merge 2017-12-21 00:07:38 +01:00
Gary Adams
257f4fccd0 8180709: java -javaagent:agent.jar with run-time that does not contain java.instrument prints confusing error
Reviewed-by: cjplummer, sspitsyn
2017-12-20 13:41:40 -05:00
Ioi Lam
808189636a 8193897: JDK-8191374 caused windows_i586 build to fail
Reviewed-by: hseigel
2017-12-20 11:30:23 -08:00
Coleen Phillimore
114c1a7a69 8152957: Improve specificity of safepoint logging to print safepoint type
Upgrade safepoint begin logs to Info logging, which has the reason.

Reviewed-by: dholmes, hseigel, zgu
2017-12-20 10:05:09 -05:00
Ioi Lam
1c4fcc1627 8191374: Improve error message when CDS is not supported on exploded build
Reviewed-by: jiangli, hseigel
2017-12-19 11:29:07 -08:00
Ioi Lam
c7421b5e3b 8193672: [test] Enhance vm.cds property to check for all conditions required to run CDS tests
Reviewed-by: dholmes, dsamersoff, simonis
2017-12-04 08:59:47 -08:00
Coleen Phillimore
1d0acb189a 8186903: Remove j-types from Atomic
Make jlong into int64_t, atomic_FN_long into atomic_FN_int64, make jbyte to u_char.

Reviewed-by: dholmes, dcubed
2017-12-19 06:29:17 -05:00
Robbin Ehn
f01d0f469c 8193514: UseMembar should not be obsoleted yet
Reviewed-by: dcubed, acorn, mdoerr
2017-12-18 12:11:01 +01:00
Harold Seigel
dd8b189097 8167372: Add code to check for getting oops while thread is in native
Add asserts that detect when a thread is getting oops while in native

Reviewed-by: coleenp, shade, jiangli, gtriantafill
2017-12-15 15:13:18 -05:00
Jesper Wilhelmsson
4db5d786b7 Merge 2017-12-15 16:54:17 +01:00
Harold Seigel
47bbcac667 8154587: Resolution fails for default method named 'clone'
Make sure default methods with the same names as those in j.l.Object get put in the default methods table where resolution can find them.

Reviewed-by: acorn, lfoltan
2017-12-15 11:23:50 -05: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
Kishor Kharbas
3fc999a1fe 8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
Sub-task to be used for implementation of JEP 316: Support heap allocation on alternative memory devices

Reviewed-by: sangheki, tschatzl
2017-11-29 17:03:10 -08:00
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Volker Simonis
800d7ffc3e 8191863: [s390] Fix CDS: some bytecode rewriting doesn't depend on RewriteControl
Reviewed-by: mdoerr, goetz, jiangli
2017-11-28 14:20:15 +01:00
Volker Simonis
6d566ccf62 8191770: [ppc64] Fix CDS: don't rewrite invokefinal if DumpSharedSpaces
Reviewed-by: mdoerr, jiangli
2017-11-28 14:11:43 +01:00
Dmitry Chuyko
a43a8363ff 8191769: AARCH64: Fix hint instructions encoding
Reviewed-by: adinn
2017-11-28 15:42:15 +03:00
Derek White
ded2479840 8188877: Improper synchronization in offer_termination
Reviewed-by: kbarrett, tschatzl, aph
2017-11-28 12:23:03 +01:00
Jiangli Zhou
61e736cbae 8188791: Move AppCDS from closed repo to open repo
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00
Zhengyu Gu
205351451f 8190729: Adjustment to anonymous metadata space chunk allocation algorithm
Adjusted anonymous metadata space chunk allocation algorithm to reduce waste

Reviewed-by: stuefe, coleenp
2017-11-27 17:19:53 -05:00
Martin Doerr
20439abed6 8191907: PPC64 and s390 parts of JDK-8174962: Better interface invocations
Reviewed-by: goetz
2017-11-28 01:08:26 +03:00
David Holmes
e6056f2e91 8191707: Options with invalid values are incorrectly treated as obsolete and ignored
Reviewed-by: rehn, dcubed
2017-11-24 14:07:59 +01:00
Dean Long
2142e55df1 8191688: Assert failed in > 200 tests: failed dependencies, but counter didn't change
Reviewed-by: kvn
2017-11-22 09:27:06 -08:00