8407 Commits

Author SHA1 Message Date
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
Patric Hedlin
431063deba 8164888: Intrinsify fused mac operations on SPARC
Such speed, much wow

Reviewed-by: kvn
2017-06-27 15:50:09 +02:00
Patric Hedlin
9f66abeeb6 8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
Update for new platforms

Reviewed-by: kvn
2017-06-27 15:27:54 +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
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
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
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
Thomas Schatzl
3e624c317a 8162928: Micro-optimizations in scanning the remembered sets
Reviewed-by: ehelin, kbarrett
2017-06-02 13:45:21 +02:00
Thomas Schatzl
92a1acb43b 8071280: Specialize HeapRegion::oops_on_card_seq_iterate_careful() for use during concurrent refinement and updating the rset
Reviewed-by: kbarrett, sangheki, ehelin
2017-06-02 13:45:15 +02:00
Mikael Vidstedt
91920f154d 8181377: Capture underlying type for unsafe/unaligned pointers in ClassFileParser
Reviewed-by: dholmes, kbarrett
2017-06-01 09:34:53 -07:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Mikael Vidstedt
f1f868513d 8180032: Unaligned pointer dereference in ClassFileParser
Reviewed-by: dholmes, hseigel
2017-05-26 13:47:33 -07:00
Thomas Schatzl
4c944bd1ca 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Matthias Baesken
b47172b765 8180945: vmError.cpp : adjust dup and fclose
Reviewed-by: dholmes
2017-05-25 20:55:20 -04:00
Claes Redestad
9071d17dc9 8180614: Skip range and constraint checks on non-existent flags
Reviewed-by: iklam, gziemski
2017-05-26 01:04:05 +02:00
Robbin Ehn
3ca4b6b01b 8152955: Many safepoints of "no vm operation" kind
Reviewed-by: dholmes, rkennke, shade
2017-05-25 09:43:43 +02:00
Robbin Ehn
ad4bc13f9f 8152953: ForceSafepoint operations should be more specific
Reviewed-by: dholmes, sspitsyn, rkennke, coleenp
2017-05-25 09:38:33 +02:00
Claes Redestad
4d1141ee1c 8180763: Improve inlining of Symbol::equals(char*,int) into CompactHashtable
Reviewed-by: iklam, jiangli
2017-05-24 12:42:44 +02:00
Coleen Phillimore
b641222eda Merge 2017-05-23 18:42:08 +00:00
Zhengyu Gu
fd9c3d8158 8139673: NMT stack traces in output should show mtcomponent
Show memory types of malloc site in detail report

Co-authored-by: Max Ockner <max.ockner@oracle.com>
Reviewed-by: dholmes, shade, coleenp
2017-05-23 11:58:32 -04:00
Jesper Wilhelmsson
d599f0d03a Merge 2017-05-23 17:51:35 +02: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
Chihiro Ito
7d85a92ef0 8180654: Apply UL to PrintCodeCacheOnCompilation
Reviewed-by: kvn
2017-05-22 09:07:16 -07:00
Roman Kennke
8bda8fc602 8180599: Possibly miss to iterate monitors on thread exit
Move thread-local monitors to global lists before thread is removed from global threads list, to ensure all monitors get scanned

Reviewed-by: dholmes, rehn
2017-05-19 12:14:38 +02:00
Tobias Hartmann
4e05c8c099 Merge 2017-05-19 06:50:58 +00:00
Tobias Hartmann
2ee903d3ff 8180587: Assert in layout_helper_log2_element_size(jint) compares bits instead of bytes
Fixed assert to compare log2 element size in bytes.

Reviewed-by: zmajo, kvn
2017-05-19 08:36:49 +02:00