4526 Commits

Author SHA1 Message Date
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
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
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
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
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +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
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
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
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
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01: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
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
John Paul Adrian Glaubitz
1e788379fa 8191663: Zero variant broken after 8189170 and 8189871
Reviewed-by: eosterlund, coleenp
2017-11-21 15:24:38 +01:00
Calvin Cheung
e7ff0665e4 8188122: Path length limits on Windows leads to obscure class loading failures
Used the unicode version of windows API's to handled long paths and avoid using the stat() function.

Reviewed-by: stuefe, iklam
2017-11-21 09:49:52 -08:00
Ioi Lam
28b3c9f104 8191042: Deprecate VM option CheckEndorsedAndExtDirs
Reviewed-by: dholmes
2017-11-21 09:20:56 -08:00
Dean Long
fb89c1729c 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
Reviewed-by: vlivanov, dpochepk
2017-11-21 09:04:42 -08:00
Roman Kennke
6765ebd98f 8191562: Missing include in gcArguments.cpp breaks minimal JVM build
Reviewed-by: mdoerr, ehelin
2017-11-21 12:48:17 +01:00
Magnus Ihse Bursie
85089d08d5 8191203: Remove duplicated jimage.hpp
Reviewed-by: dholmes
2017-11-21 15:02:17 +01:00
Erik Helin
26aa579a78 8182284: G1Analytics uses uninitialized fields
Reviewed-by: tschatzl, sjohanss
2017-11-21 08:33:54 +01:00
Igor Veresov
2811fa2e82 8043070: nmethod::verify_interrupt_point() shouldn't enter safepoint
Introduce not_installed state for nmethods

Reviewed-by: dlong
2017-11-20 19:00:22 -08:00
David Holmes
687c2c5412 8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
Reviewed-by: stuefe, dcubed
2017-11-20 15:56:32 -05:00
Nils Eliasson
fc7955d5fc 8160548: Inconsistent inlining behavior with CompileOnly
Can_be_compiled should not affect inlining

Reviewed-by: thartmann
2017-11-20 09:50:27 +01:00