9745 Commits

Author SHA1 Message Date
Chris Plummer
7aabb799f6 8164563: Test nsk/jvmti/CompiledMethodUnload/compmethunload001 keeps reporting: PRODUCT BUG: class was not unloaded in 5
Removed _pending_list

Reviewed-by: dholmes, sspitsyn, dcubed, coleenp
2017-05-05 14:22:35 -07:00
Kim Barrett
48d21bc1c7 8179004: Add an efficient implementation of the "count trailing zeros" operation
Added count_trailing_zeros function, with platform-dependent implementations.

Reviewed-by: dholmes, cjplummer
2017-05-05 16:20:42 -04:00
Jesper Wilhelmsson
7b8b238986 Merge 2017-05-05 17:48:45 +02:00
Ioi Lam
ba388eaccd 8176863: Remove Hashtable::reverse()
Reviewed-by: hseigel, sspitsyn, coleenp
2017-05-04 16:04:23 -07:00
Rachel Protacio
dd47191766 8067728: Flag::unlock_diagnostic() should be called Flag::clear_diagnostic()
Renamed function

Reviewed-by: iklam, hseigel
2017-05-04 14:32:37 -04:00
Goetz Lindenmaier
8bd00f84a5 8179618: Fixes for range of OptoLoopAlignment and Inlining flags
OptoLoopAlignment must be multiple of NOP size. Inlining flags must not exceed WarmCallInfo::MAX_VALUE().

Reviewed-by: kvn, stuefe
2017-04-28 14:34:24 +02:00
Stefan Karlsson
06cee886b1 8178490: Usages of is_object_aligned with pointers are broken
Reviewed-by: tschatzl, kbarrett
2017-04-11 23:45:37 +02:00
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02:00
Rahul Kandu
12970ac663 8182138: Disable generating INC and DEC instructions on Xeon Phi and ATOM CPUs
Reviewed-by: kvn
2017-06-23 15:16:23 -07:00
Harold Seigel
5e4cca403b 8182720: In InstanceKlass.cpp, get init_lock from handle
Replace init_lock() calls with h_init_lock() calls

Reviewed-by: sspitsyn, coleenp
2017-06-23 09:54:52 -04:00
Kim Barrett
08361aedba Merge 2017-06-23 01:08:42 +00:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Kim Barrett
06474bd8e9 Merge 2017-06-22 23:39:18 +00:00
Vladimir Kozlov
98923cb4c4 8181113: jaotc options lost after 8177046
Reviewed-by: iveresov, dlong
2017-06-22 15:26:34 -07:00
Christian Thalinger
ec241eb2a4 8182729: [AOT] remove UseConcMarkSweepGC check when loading libraries
Reviewed-by: kvn
2017-06-22 13:59:00 -07:00
Matthew Brandyberry
c0a589deba 8181810: PPC64: Leverage extrdi for bitfield extract
Reviewed-by: mdoerr, simonis
2017-06-22 18:33:41 +02:00
Jesper Wilhelmsson
3c874cfeb3 Merge 2017-06-22 00:51:07 +02:00
Vladimir Kozlov
dd676c3a98 8181823: [AOT] jaotc doesn't work with Graal
Add new flag to indicate when to calculate class fingerprint

Reviewed-by: iklam, iveresov
2017-06-21 10:28:27 -07:00
Sergey Nazarkin
8041519b2e 8182581: aarch64: fix for crash caused by earlyret of compiled method
Fix jvm crash caused by earlyret of compiled method for aarch64 port

Reviewed-by: aph
2017-06-20 17:00:07 +08:00
Igor Veresov
bd203875c4 8182557: Update Graal
Reviewed-by: kvn
2017-06-19 16:31:43 -07:00
Rahul Raghavan
6dc481d296 Merge 2017-06-19 11:23:16 +00:00
Rahul Raghavan
8ce7d1e1d8 8044829: UseAES warning message generation differs on CPU architecture
Fixed issue with feature flag setting when AES support disabled explicitly

Reviewed-by: kvn
2017-06-19 03:10:46 -07:00
Rahul Raghavan
2614e75f50 8016470: AllocatePrefetchDistance is not changed by command line
Values from command line given preference for related flags, over default values based on platform

Reviewed-by: thartmann, kvn
2017-06-19 01:23:58 -07:00
Vladimir Kozlov
ada9ed1287 8182114: assert(VM_Version::supports_sse()) failed
Restore UseSSE check for FMA

Reviewed-by: dcubed
2017-06-16 12:06:31 -07:00
Coleen Phillimore
af0b8d46d2 8181450: assert in BasicHashtable::verify_table
Remove assert as it has small probability of happening and added logging

Reviewed-by: kbarrett, sspitsyn
2017-06-16 09:13:56 -04:00
Harold Seigel
ea15e1ac26 Merge 2017-06-15 18:58:08 +00:00
Harold Seigel
42c183edfc 8182089: build error in hotspot/src/share/vm/runtime/reflection.cpp
Add const to argument in reflection.cpp so method signature matches the one in reflection.hpp

Reviewed-by: zgu, coleenp, rprotacio
2017-06-15 14:34:32 -04:00
Robbin Ehn
0d3624a309 8181859: Monitor deflation is not checked in cleanup path
Reviewed-by: sspitsyn, dcubed, shade, cvarming
2017-06-15 09:52:44 +02:00
Erik Österlund
2a0bd0cd04 8181785: Remove the experimental ClearFPUAtPark JVM Flag
Removing the experimental and unstable ClearFPUAtPark optimization for SPARC

Reviewed-by: kbarrett, tschatzl, rehn
2017-06-14 08:47:27 +02:00
Fei Yang
4555997c30 8182161: aarch64: combine andr+cbnz into tbnz when possible
Combine andr+cbnz into tbnz when possible to save one instruction

Reviewed-by: aph
2017-06-14 17:33:54 +08:00
Igor Veresov
1cbd0bd202 Merge 2017-06-13 16:29:42 +00:00
Igor Veresov
614d1c048b 8182018: Update Graal
Reviewed-by: kvn
2017-06-13 09:19:35 -07:00
Kim Barrett
8a5654850e 8086005: Define __STDC_xxx_MACROS config macros globally via build system
Moved macro definitions to hotspot build configuration

Reviewed-by: erikj, eosterlund
2017-06-13 11:10:33 -04:00
Kim Barrett
98a9f40e34 8181787: Remove Solaris SPARC GCC code
Remove obsolete code.

Reviewed-by: kbarrett, coleenp, gtriantafill
2017-06-13 07:30:11 -04:00
Thomas Stuefe
7c972a103a 8182034: os::Posix::is_valid_signal() should, if it uses sigaddset, initialize the signal set
Added missing sigemptyset.

Reviewed-by: kbarrett, clanger
2017-06-13 08:09:17 +02:00
Teng Lu
c37f9d8c90 8181906: AArch64: port bugfix for 7009641 to AArch64
Allocation in the code cache returns NULL instead of failing the entire VM

Reviewed-by: aph
2017-06-10 16:01:29 +08:00
Roland Westrelin
698444f968 8181211: C2: Use profiling data to optimize on/off heap unsafe accesses
Reviewed-by: kvn
2017-06-09 10:51:52 +02:00
Zhongwei Yao
d9c1f52541 8179933: AArch64: Incorrect match rule for immL_255
The match rule fix will enable instructs like: SubExtL_uxtb_and and AddExtL_uxtb_and etc. Also rename immL_63 to the proper name: immI_63.

Reviewed-by: aph
2017-05-12 14:59:35 +08:00
Andrew Haley
7b865d0e66 8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
Reviewed-by: kbarrett, coleenp
2017-04-07 13:42:00 +01:00
Thomas Schatzl
442c887522 Merge 2017-04-07 10:51:28 +00:00
Alan Bateman
3919d858ca Merge 2017-04-07 10:58:27 +01:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02:00
Alan Bateman
a3ab143c64 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Tom Rodriguez
35d89151e8 8178119: [JVMCI] when rethrowing exceptions at deopt the exception must be fetched after materialization
Reviewed-by: kvn
2017-04-06 00:03:18 -07:00
David Holmes
bb2a9268c7 8135161: Missing commas in copyright notices
Reviewed-by: sspitsyn
2017-04-11 19:39:16 -04:00
Igor Veresov
767a994f9c 8176887: AOT: SIGSEGV in AOTCodeHeap::next when using specific configuration
Derive MethodCounters from Metadata

Reviewed-by: kvn, coleenp
2017-04-11 11:34:20 -07:00
Tobias Hartmann
a8a97e6625 8178033: C1 crashes with -XX:UseAVX = 3: "not a mov [reg+offs], reg instruction"
Skip the EVEX prefix such that the instruction address points to the prefixed opcode.

Reviewed-by: kvn, mcberg
2017-04-06 08:19:42 +02:00
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +00:00
Doug Simon
d28f63fb9e 8177673: [JVMCI] missing checks in HotSpotMemoryAccessProviderImpl can cause VM assertions to fail
Reviewed-by: never, iveresov
2017-04-03 14:58:17 -07:00
Igor Veresov
d76b89606e 8177856: [AOT] EliminateRedundantInitializationPhase is not working
Looks for constants of a correct type

Reviewed-by: kvn
2017-04-03 12:34:30 -07:00