6688 Commits

Author SHA1 Message Date
Coleen Phillimore
d98409eadb 8146984: SIGBUS: bool Method::has_method_vptr(const void*)+0xc
Add address check and use SafeFetchN for Method* vptr access when Method* may be bad pointer.

Reviewed-by: dcubed, mgronlun
2016-02-03 17:26:36 +00:00
Max Ockner
ce74c2fa3c Merge 2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Claes Redestad
a95454d65c 8148755: -XX:+HeapDumpAfterFullGC creates heap dump both before and after Full GC
Reviewed-by: mgerdin, brutisso, sangheki
2016-02-03 14:15:57 +01:00
Severin Gehwolf
c647cd04b0 8148945: JDK-8148481: Devirtualize Klass::vtable breaks Zero build
Use Klass::method_at_vtable() instead of InstanceClass::start_of_vtable()[index]

Reviewed-by: mgerdin, coleenp
2016-02-03 12:19:03 +01:00
Mikael Gerdin
bbbbfdbf3f 8148944: CollectorPolicy methods for memory allocations are specific to GenCollectorPolicy
Reviewed-by: jwilhelm, kbarrett
2016-02-03 11:33:33 +01:00
Robbin Ehn
ba3a7addac 8148141: Remove fixed level padding in UL
Reviewed-by: sla, mlarsson
2016-02-04 08:36:38 +01:00
David Holmes
978ec9c982 8146616: VM exit path throws fatal error: Thread holding lock at safepoint that vm can block on: BeforeExit_lock
Reviewed-by: dcubed, gthornbr
2016-02-02 22:12:17 -05:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Harold Seigel
828a52c262 Merge 2016-02-02 14:54:05 +00:00
Harold Seigel
80e499001a 8135206: VM permits illegal flags for abstract methods in interfaces, versions 45.3 - 51.0
Add additional method flag checks

Reviewed-by: jiangli, minqi
2016-02-02 08:27:40 -05:00
Bengt Rutisson
f4f5e64f5d 8148736: Let the G1 heap transition log regions instead of bytes
Reviewed-by: sjohanss, david
2016-02-02 12:13:05 +01:00
Bengt Rutisson
0e9273e8a7 8148733: G1: Add log message to print the heap region size
Reviewed-by: sjohanss, david
2016-02-02 12:12:17 +01:00
Robbin Ehn
636b10604f 8148053: Remove unused log tags
Reviewed-by: dholmes, mlarsson, sla
2016-02-02 11:09:21 +01:00
Bengt Rutisson
a5e2b096bc 8148734: G1: Make G1GCPhaseTimes keep track of the start GC time
Reviewed-by: sjohanss, tschatzl
2016-02-02 10:50:08 +01:00
Bengt Rutisson
de76c23ff5 8147913: Some runtime/CompressedOops tests fail on ARM64 product builds
Reviewed-by: jmasa, kbarrett
2016-02-02 09:51:24 +01:00
David Holmes
2053203d5d 8148771: os::active_processor_count() returns garbage which causes VM to crash
Reviewed-by: kbarrett
2016-02-01 20:39:17 -05:00
Per Lidén
4bfa63dd34 8147918: Rename develop_log_is_enabled() to log_develop_is_enabled()
Reviewed-by: dholmes, brutisso
2016-02-01 22:11:16 +01:00
Mikael Gerdin
3cda485fe5 8148481: Devirtualize Klass::vtable
Move remainder of vtable related methods to Klass

Reviewed-by: cjplummer, coleenp
2016-01-19 12:07:32 +01:00
Sangheon Kim
46cb143b5d 8144949: TestOptionsWithRanges -XX:NUMAInterleaveGranularity=2147483648 crashes VM
Changed max range to 2G/8192G for NUMAInterleaveGranularity and removed constraint function

Reviewed-by: jwilhelm, jmasa
2015-12-16 22:06:52 -08:00
Bengt Rutisson
bd183dc526 8145315: VM crashes in print_task_time_stamps()
Reviewed-by: jwilhelm, jmasa
2015-12-16 09:24:48 +01:00
Roland Schatz
af94163551 8144704: [JVMCI] add tests for simple code installation
Reviewed-by: twisti
2015-12-15 16:55:24 +01:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Christian Thalinger
cd568438d0 Merge 2015-12-17 23:36:28 +00:00
Christian Thalinger
02795f1623 8145714: [JVMCI] SPARC broken after JDK-8134994
Reviewed-by: kvn
2015-12-17 23:17:34 +00:00
Dean Long
bef2c6a325 8144852: Corrupted oop in nmethod
Reviewed-by: vlivanov
2015-12-17 09:39:07 -08:00
David Lindholm
ddab9e4387 8145301: Improve and unify the printout format for the g1HRPrinter
Reviewed-by: brutisso, tschatzl
2015-12-14 13:47:35 +01:00
Thomas Stuefe
0eda47f124 8145114: const-correctness for ucontext_t* reading functions
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
Roland Westrelin
6961dea52a 8139771: Eliminating CastPP nodes at Phis when they all come from a unique input may cause crash
Lost dependency when CastPP at Phis are eliminate

Reviewed-by: kvn
2015-12-11 16:57:08 +01:00
Vladimir Ivanov
0e01750370 8133612: new clone logic added in 8042235 is missing from compiler intrinsics
Reviewed-by: roland
2015-12-18 20:23:28 +03:00
Vladimir Ivanov
7adcd9a503 8140659: C1: invokedynamic call patching violates JVMS-6.5.invokedynamic
Reviewed-by: roland
2015-12-18 20:23:27 +03:00
Vladimir Ivanov
a82be01120 8071374: -XX:+PrintAssembly -XX:+PrintSignatureHandlers crash fastdebug VM with assert(limit == __null || limit <= nm->code_end()) in RelocIterator::initialize
Reviewed-by: kvn, iklam, shade
2015-12-18 20:23:26 +03:00
Vivek Deshpande
6a52e93df7 8143353: update for x86 sin and cos in the math lib
Optimize Math.sin() and cos() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
2016-01-08 21:06:50 -08:00
Martin Doerr
ad3414f985 8146612: C2: Precedence edges specification violated
Reviewed-by: kvn
2016-01-08 11:41:04 +01:00
Alexander Smundak
74f0500a47 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Set LIBARCH to ppc64le, make SA and hsdis work, have os.arch return ppc64le on PowerPC64 LE

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-13 22:32:16 -05:00
Frederic Parain
bf8186d569 Merge 2015-12-11 18:54:22 +00:00
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Stefan Johansson
d95b280d79 8144908: Remove apply_to_weak_ref_discovered_field override for UpdateRSOopClosure
Reviewed-by: kbarrett, jmasa
2015-12-11 17:49:42 +01:00
Stefan Johansson
33d3e19b81 8144701: Change three G1 remembererd set closures to be OopClosures
Reviewed-by: mgerdin, stefank
2015-12-11 17:49:41 +01:00
Stefan Johansson
79ddc15248 8144584: Change FilterIntoCSClosure to inherit OopClosure
Reviewed-by: kbarrett, mgerdin
2015-12-11 17:49:40 +01:00
Stefan Johansson
27c56ca8af 8144505: Change G1ParCopyHelper to inherit OopClosure
Reviewed-by: mgerdin, stefank
2015-12-11 17:49:40 +01:00
David Lindholm
a1a959760b 8144996: Replace the HeapRegionSetCount class with an uint
Reviewed-by: brutisso, jwilhelm
2015-12-11 13:48:52 +01:00
Stefan Johansson
97e8a96fe1 8144486: Change G1UpdateRSOrPushRefOopClosure to inherit OopClosure
Reviewed-by: mgerdin, stefank
2015-12-11 09:08:08 +01:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Joseph Provino
581eb19018 Merge 2015-12-10 23:02:31 +00:00
Christian Tornqvist
d15ab0eb1c Merge 2015-12-10 21:31:56 +00:00
Joseph Provino
79e18f084b Merge 2015-12-10 18:55:58 +00:00
Joseph Provino
4fd73ebe16 8139871: G1CollectorPolicy::_cur_mark_stop_world_time_ms is never read from
Remove dead code

Reviewed-by: tschatzl, jwilhelm
2015-12-10 13:38:18 -05:00
Christian Tornqvist
a39fa54251 8015396: double a%b returns NaN for some (a,b) (|a| < inf, |b|>0)
Reviewed-by: coleenp, gtriantafill
2015-12-10 09:42:22 -08:00
Dmitry Dmitriev
f9b7fc0201 8144197: Possible use after free in Arguments::add_property function
Reviewed-by: dholmes, goetz
2015-12-10 14:50:47 +03:00