563 Commits

Author SHA1 Message Date
Erik Österlund
647501969f 8191894: Refactor weak references in JvmtiTagHashmap to use the Access API
Reviewed-by: sspitsyn, coleenp
2018-01-08 15:12:05 +01:00
Erik Österlund
c6bbed9592 8191904: Refactor weak oops in ResolvedMethodTable to use the Access API
Reviewed-by: kbarrett, coleenp
2018-01-08 15:09:18 +01:00
Erik Österlund
8f739404a7 8191567: Refactor ciInstanceKlass G1 keep alive barrier to use Access API
Reviewed-by: dholmes, rkennke, tschatzl
2018-01-08 13:22:05 +01:00
Erik Österlund
01ab4faae4 8191888: Refactor ClassLoaderData::remove_handle to use the Access API
Reviewed-by: tschatzl, pliden, coleenp
2018-01-08 13:13:05 +01:00
Jesper Wilhelmsson
0d68fdfec3 Merge 2018-01-05 22:02:20 +01:00
Calvin Cheung
5cfe75dd1a 8192927: os::dir_is_empty is incorrect on Windows
Check file names in a directory. It is empty if only the "." and ".." files exist. Use unicode version of windows APIs to handle long path.

Reviewed-by: iklam, sspitsyn
2018-01-04 22:47:38 -08:00
Rickard Bäckman
9ba6ab25e4 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Andrew Haley
24e9cda4ae 8195685: AArch64: AArch64 cannot build with JDK-8174962
Reviewed-by: adinn, njian
2018-01-19 16:57:56 +00:00
Coleen Phillimore
949659e43b 8193622: JFR test TestUnloadingEventClass.java times out intermittently
Previous change was leaving scratch classes on CLD::_klasses list which are reported to tracing

Reviewed-by: gtriantafill, dcubed, mgronlun
2017-12-19 15:56:28 -05:00
Jesper Wilhelmsson
8650bbcf47 Merge 2017-12-20 20:55:07 +01:00
Robbin Ehn
5dee8bee72 8193514: UseMembar should not be obsoleted yet
Reviewed-by: dcubed, acorn, mdoerr
2017-12-18 12:11:01 +01:00
Paul Sandoz
fb9db6b02d 8193085: Vectorize the nio Buffer equals and compareTo implementations
Reviewed-by: alanb
2017-12-20 09:14:52 -08:00
Paul Sandoz
038b5f571c 8191913: Bump classfile version number to 55
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: dholmes, darcy
2017-12-20 09:14:06 -08:00
David Holmes
6a80c5906f 8193364: verify_special_jvm_flags should not cause an assertion failure when version is bumped
Reviewed-by: dcubed, coleenp
2017-12-15 23:43:35 -05:00
Vivek Deshpande
25e03a8e65 8190934: Regressions on Haswell Xeon due to JDK-8178811
Reviewed-by: neliasso, kvn
2017-12-15 10:44:06 -08:00
Roland Westrelin
d2db163edb 8193518: C2: Vector registers sometimes corrupted at safepoint
Reviewed-by: neliasso, thartmann, kvn
2017-12-15 10:26:45 -08:00
Martin Doerr
d7e6bad25c 8193257: PPC64, s390 implementation for Thread-local handshakes
Reviewed-by: goetz, lucy
2017-12-14 13:05:20 +01:00
Lutz Schmidt
3f59dac0b3 8193443: [s390]: EncodeISOArray generates wrong vector code
Reviewed-by: goetz, mdoerr
2017-12-14 12:02:16 +01:00
Mark Reinhold
0214135fde 8192833: JEP 322: Time-Based Release Versioning
Reviewed-by: erikj, ihse, iris, mchung, psandoz, tbell
2017-12-13 17:28:24 -08:00
Sangheon Kim
0ce6f0b889 8193105: Print error code when map_memory_to_file() fails
Reviewed-by: dholmes, kbarrett
2017-12-07 10:21:13 -08:00
Roland Westrelin
29bab311ab 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1
-XX:+UseCountedLoopSafepoints should disable loop strip mining.

Reviewed-by: kvn, thartmann
2017-12-07 15:52:46 +01:00
Jesper Wilhelmsson
7c3a956755 Merge 2017-12-07 10:18:31 +01:00
Dean Long
f390377be2 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
Daniel D. Daugherty
230b5768d7 8191789: migrate more Thread-SMR stuff from thread.[ch]pp -> threadSMR.[ch]pp
Reviewed-by: stefank, coleenp, dholmes, gthornbr
2017-12-06 15:19:30 -05:00
Leo Korinth
3c55f378ca 8133805: Remove the bot_updates parameter from G1Allocator's allocation methods
Reviewed-by: tschatzl, sjohanss
2017-12-06 11:11:16 +01:00
Dean Long
bfe4e0e4a2 8193323: Crash in "failed dependencies, but counter didn't change" with enabled UseJVMCICompiler
Reviewed-by: kvn
2017-12-13 20:35:09 -08:00
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
Roman Kennke
91a2daa9a2 8193193: AArch64: immByteMapBase operand generated for non-CardTable GCs
Reviewed-by: aph
2017-12-05 10:43:23 +00:00
Jean Christophe Beyler
1f15d2bb46 8191989: JDK-8190862 work for arch sparc
Fixed Interpreter never refills TLAB

Reviewed-by: tschatzl, rehn
2017-12-19 19:55:23 -08:00
Jean Christophe Beyler
ada54c7d1a 8191986: JDK-8190862 work for arch aarch64
Fixed Interpreter never refills TLAB

Reviewed-by: dsamersoff, adinn, tschatzl, rehn
2017-12-19 20:10:59 -08:00
Jean Christophe Beyler
0cd7cb821a 8191027: JDK-8190862 work for arch x86/x64
Fixed Interpreter never refills TLAB

Reviewed-by: tschatzl, mdoerr, rehn
2017-12-18 15:38:20 -08:00
Doug Simon
77eb30dae3 8193930: [JVMCI] calling ResolvedTypeType.getClassInitializer on an array type crashes
Reviewed-by: never, dlong
2017-12-22 18:34:36 +01: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