8195 Commits

Author SHA1 Message Date
Robbin Ehn
9d3a9c331d 8180421: Change default value of BiasedLockingStartupDelay to 0
As CSR 8181778

Reviewed-by: tschatzl, redestad, coleenp, dcubed
2017-06-28 14:18:00 +02:00
Thomas Schatzl
be1f5ab521 8183006: Remove unused IterateOopClosureRegionClosure
Reviewed-by: sjohanss, ehelin
2017-06-28 12:11:55 +02:00
Thomas Schatzl
c0fff2604d 8183002: Remove unused concurrent parameter in HeapRegionManager::par_iterate
Reviewed-by: ehelin, sjohanss
2017-06-28 12:11:48 +02:00
Thomas Schatzl
52a1ad0388 8175554: Improve G1UpdateRSOrPushRefClosure
Micro-optimizations and improving naming for the G1UpdateRSOrPushRefClosure

Reviewed-by: ehelin, sangheki
2017-06-28 10:58:19 +02:00
Thomas Schatzl
8467de8bbc 8178148: Log more detailed information about scan rs phase
Add logging about the number of cards actually scanned, claimed and skipped during the Scan RS phase

Reviewed-by: ehelin, sangheki
2017-06-14 11:26:44 +02:00
Claes Redestad
92c45050f9 8182487: Add Unsafe.objectFieldOffset(Class, String)
Reviewed-by: dsimms, twisti, bchristi, mgerdin, psandoz, chegar
2017-06-22 15:53:07 +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
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
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
Christian Thalinger
ec241eb2a4 8182729: [AOT] remove UseConcMarkSweepGC check when loading libraries
Reviewed-by: kvn
2017-06-22 13:59:00 -07: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
Lana Steuck
e62c1a127e Merge 2017-06-16 04:55:29 +00:00
Lana Steuck
63253f80e8 Merge 2017-06-14 20:05:32 +00:00
Ron Pressler
061b09e847 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Reviewed-by: psandoz, dholmes, thartmann, kvn
2017-06-05 15:52:09 -07:00
Erik Österlund
c4d86b2455 8161145: The min/max macros make hotspot tests fail to build with GCC 6
Change min/max macros to expand (once) to self.

Reviewed-by: sgehwolf, pliden, andrew
2017-06-06 13:31:34 -04:00
Lana Steuck
2d59a5eb78 Merge 2017-06-03 02:44:26 +00:00
Magnus Ihse Bursie
1697e378d3 8180322: Move JNI spec to specs directory
Reviewed-by: mchung, dholmes
2017-06-02 14:29:02 +02:00
Roland Westrelin
a9c2bc6517 8179678: ArrayCopy with same src and dst can cause incorrect execution or compiler crash
Replacing load on dst with load on src only valid if copy doesn't modify src element to load

Reviewed-by: kvn, thartmann
2017-06-02 09:08:34 +02:00
Sharath Ballal
536c210f77 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:30:49 +05:30
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00
Vladimir Ivanov
5d2b14d198 8179882: C2: Stale control info after cast node elimination during loop optimization pass
Reviewed-by: kvn, roland
2017-05-30 21:35:21 +03:00
Zoltan Majo
73b3420b12 8180855: Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
Check for possible null-point dereference.

Reviewed-by: kvn
2017-05-29 10:32:37 +02:00
Tobias Hartmann
83a3e9f114 8180813: Null pointer dereference of CodeCache::find_blob() result
Fixed missing null checks on the result of CodeCache::find_blob() found by Parfait.

Reviewed-by: shade, kvn
2017-05-24 16:53:58 +02:00
Tobias Hartmann
d3baf34118 8180575: Null pointer dereference in LoadNode::Identity()
Fixed a missing null check on the return value of AddPNode::Ideal_base_and_offset() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:23:59 +02:00
Tobias Hartmann
4b93f11738 8180576: Null pointer dereference in Matcher::xform()
Fixed a missing null check on n->in(0) found by Parfait.

Reviewed-by: kvn
2017-05-22 09:18:12 +02:00
Tobias Hartmann
1d1141fbdf 8180511: Null pointer dereference in Matcher::ReduceInst()
Fixed a missing null check on the return value of MachNodeGenerator() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:17:32 +02:00
Tobias Hartmann
66fb50e7a2 8180617: Null pointer dereference in InitializeNode::complete_stores
Fixed a missing null check on the return value of InitializeNode::allocation() found by Parfait.

Reviewed-by: zmajo
2017-05-22 09:16:46 +02:00
Tobias Hartmann
bbe61a3c5d 8180565: Null pointer dereferences of ConstMethod::method()
We need to check ConstMethod::method() for NULL before dereferencing.

Reviewed-by: kvn, iignatyev
2017-05-22 09:14:10 +02:00
Lana Steuck
7b47a378fa Merge 2017-05-19 04:18:25 +00: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
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
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
Tobias Hartmann
620b398ba3 8181741: C2 compilation fails with "assert(i<_max) failed: oob"
PhaseIdealLoop should not use type() or type_or_null().

Reviewed-by: roland, kvn
2017-06-09 09:27:10 +02:00
Tobias Hartmann
872c310c4f 8181781: Replay compilation should ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors
Ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors.

Reviewed-by: kvn
2017-06-09 09:20:13 +02:00
Jesper Wilhelmsson
a41f617837 Merge 2017-06-08 20:28:04 +02:00
George Triantafillou
39a08d3fd9 8166748: Clean out Windows IA64 support
Reviewed-by: kbarrett, coleenp, bobv, mdoerr
2017-06-08 13:17:51 -04:00
Vivek Deshpande
4fd6f92702 8181616: FMA Vectorization on x86
Reviewed-by: kvn
2017-06-07 13:09:46 -07:00
Chris Plummer
c04bd11452 8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events
Fix CodeCache:blobs_do() so it iterates over all code cache heaps

Reviewed-by: sspitsyn, thartmann
2017-06-07 08:56:35 -07:00
Tobias Hartmann
501fdbaf15 8181644: C1 crashes with -XX:+PrintCFGToFile
CFGPrinterOutput should not be shared between C1 compiler threads.

Reviewed-by: kvn
2017-06-07 12:23:04 +02:00
Roland Westrelin
9bcec9e523 8176506: C2: loop unswitching and unsafe accesses cause crash
Reviewed-by: vlivanov, mcberg, kvn, simonis
2017-05-29 18:17:49 +02:00
Kim Barrett
5ea9bb3e56 8166651: OrderAccess::load_acquire &etc should have const parameters
Added const qualifiers to load/load_acquire source parameters.

Reviewed-by: dholmes, coleenp, adinn, eosterlund
2017-06-05 19:07:47 -04:00
Rachel Protacio
451b8b5d32 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:13:38 -04:00
Thomas Schatzl
f2b486212e 8177044: Remove _scan_top from HeapRegion
Remove the _scan_top member from HeapRegion using a per-gc pre-calculated table of scan limits that also subsumes other checks.

Reviewed-by: sangheki, kbarrett, ehelin
2017-06-02 13:48:01 +02:00
Thomas Schatzl
c982403296 8177707: Specialize G1RemSet::refine_card for concurrent/during safepoint refinement
Reviewed-by: ehelin, kbarrett
2017-06-02 13:47:54 +02:00