584 Commits

Author SHA1 Message Date
Martin Doerr
03af65fa7d 8198750: [s390+x86_32+aarch64] Fix build after jdk-8195142
Reviewed-by: stuefe, shade
2018-02-27 11:45:04 +01:00
Marcus Larsson
899b64249c 8170976: [TESTBUG] LogTestFixture does not restore previous logging state
Reviewed-by: rehn, lfoltan, hseigel
2018-02-26 16:33:48 +01:00
Erik Österlund
36449e6c30 8198703: Missing #include "gc/shared/cardTableModRefBS.hpp" in graphKit.hpp
Reviewed-by: thartmann, goetz, kvn
2018-02-26 18:04:43 +01:00
Harold Seigel
114e61d126 8194085: Obsolete the deprecated SafepointSynchronize flags and remove related code
Obsolete SafepointSpinBeforeYield, DeferThrSuspendLoopCount, and DeferPollingPageLoopCount and remove associated code.

Reviewed-by: dcubed, coleenp, dholmes
2018-02-26 11:28:05 -05:00
Lois Foltan
e447371492 8197864: VS2017 (C4334) Result of 32-bit Shift Implicitly Converted to 64 bits
Correctly perform a 64 bit shift when setting SlowSignatureHandler::_fp_identifiers.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: gtriantafill, hseigel
2018-02-26 10:20:06 -05:00
Lois Foltan
c3893b01c1 8198312: VS2017: Upgrade HOTSPOT_BUILD_COMPILER in vm_version.cpp
Correctly set HOTSPOT_BUILD_COMPILER for VS2015 and VS2017.

Reviewed-by: erikj, gtriantafill
2018-02-26 09:57:01 -05:00
Erik Österlund
95d34d138d 8195142: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: stefank, coleenp, kvn, ehelin
2018-02-26 09:34:12 +01:00
Marcus Larsson
b9bc9f0be8 8198554: Add fuzzy matching for log levels and tags when parsing -Xlog
Reviewed-by: hseigel, coleenp
2018-02-26 09:34:20 +01:00
Zhongwei Yao
0db8f238af 8196064: AArch64: Merging ld/st into ldp/stp in macro-assembler
Reviewed-by: aph
2018-02-03 10:36:58 +08:00
Leonid Mesnik
2471caab08 8197901: Crash during GC when logging level is debug
Reviewed-by: dholmes, coleenp
2018-02-23 13:55:49 -08:00
Chris Plummer
073257906c 8198585: add asserts to verify that ServiceUtil::visible_oop is not needed
Asserts added

Reviewed-by: stefank, sspitsyn, dcubed
2018-02-23 13:42:40 -08:00
Coleen Phillimore
b9b29cb3d6 8198635: Remove unused safepoint message functions and ShowSafepointMsgs
Reviewed-by: eosterlund, gtriantafill
2018-02-23 14:13:06 -05:00
Bob Vandette
083a22d87c Merge 2018-02-23 12:08:05 -05:00
Bob Vandette
c1359ec107 8197589: Update CPU count algorithm when both cpu shares and quotas are used
Reviewed-by: dholmes, mseledtsov
2018-02-23 10:17:35 -05:00
Coleen Phillimore
809315bdd1 8197780: Null pointer dereference in Klass::is_instance_klass of klass.hpp:532
Make generate_class_cast_message able to deal with NULL klass from the constant pool.

Reviewed-by: hseigel, lfoltan
2018-02-23 07:47:29 -05:00
Roman Kennke
2fb89326ba 8198564: Multiple crashes on SPARC
Reviewed-by: dholmes, simonis, stefank
2018-02-23 12:47:36 +01:00
Stefan Johansson
38dcf9fdf1 8198420: Remove unused extension point AllocationContextStats
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +01:00
Erik Österlund
5b53102c9e 8198560: Remove implicit casts from oop to JavaThread* and jlong*
Reviewed-by: kbarrett, coleenp, tschatzl
2018-02-23 09:15:42 +01:00
Thomas Stuefe
1bb8fd058c 8198553: jcmd: separate Metaspace statistics from NMT
Reviewed-by: zgu, coleenp
2018-02-22 14:16:18 +01:00
Thomas Stuefe
56d737d8c7 8198558: Windows does not build without precompiled headers
Reviewed-by: coleenp, mlarsson, lfoltan
2018-02-22 16:29:10 +01:00
Stefan Karlsson
3ad60c1bd2 8198530: Move _gc_policy_counters from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: kbarrett, sjohanss
2018-02-22 18:37:48 +01:00
Stefan Karlsson
5671589a10 8198528: Move GenerationSpecs from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss, kbarrett
2018-02-22 18:37:23 +01:00
Stefan Karlsson
5f4f3883d8 8198525: Move _size_policy out of GenCollectorPolicy into GenCollectedHeap
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:32 +01:00
Stefan Karlsson
f408526f30 8198515: Extract SoftReferencePolicy code out of CollectorPolicy
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:07 +01:00
Stefan Karlsson
a98b4ecb5c 8198511: Move allocation functions from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss
2018-02-22 18:35:40 +01:00
Stefan Karlsson
bd70c72fd2 8198509: Move satisfy_failed_metadata_allocation out from CollectorPolicy
Reviewed-by: sjohanss, pliden
2018-02-22 18:35:04 +01:00
Stefan Karlsson
380a8b15ec 8198507: Remove CollectorPolicy::create_rem_set
Reviewed-by: pliden, tschatzl
2018-02-22 18:34:39 +01:00
Stefan Karlsson
713858f459 8198373: Remove CollectorPolicy::is/as functions
Reviewed-by: sjohanss, pliden
2018-02-22 18:34:18 +01:00
Lois Foltan
d3d2bc3228 8197868: VS2017 (C2065) 'timezone': Undeclared Identifier in share/runtime/os.cpp
Change to use the functional version of _get_timezone for VS2017.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: coleenp, hseigel
2018-02-22 12:05:17 -05:00
Erik Österlund
432a71e564 8198286: Direct memory accessors in typeArrayOop.hpp should use Access API
Reviewed-by: pliden, rkennke
2018-02-22 10:39:42 +01:00
Kim Barrett
b8ab854bdc 8197859: VS2017 Complains about UINTPTR_MAX definition in globalDefinitions_VisCPP.hpp
Use <stdint.h> and <inttypes.h> on Windows instead of emulation.

Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-21 23:30:01 -05:00
Thomas Stuefe
bc472b0530 8197827: [windows] Small cleanups after JDK-8185712
Reviewed-by: zgu, dholmes
2018-02-13 14:38:09 +01:00
Coleen Phillimore
1a839d0882 8068593: Remove or repurpose unused PerfCounters from objectMonitor
Reviewed-by: redestad, dcubed
2018-02-21 14:08:26 -05:00
Harold Seigel
7d1735efbb 8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Roman Kennke
6be7841937 8197999: Accessors in typeArrayOopDesc should use new Access API
Reviewed-by: eosterlund, pliden
2018-02-15 23:45:15 +01:00
Zhengyu Gu
b962c75f25 8198287: Cleanup ElfFile usage in whitebox.cpp
Removed redundant include of elfFile.hpp

Reviewed-by: dholmes, coleenp
2018-02-21 07:49:36 -05:00
Stefan Karlsson
08193e2dfb 8198225: os::attempt_reserve_memory_at records memory as committed
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Stefan Karlsson
f1540011d0 8196405: [REDO] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: eosterlund, coleenp, zgu
2018-02-21 12:40:05 +01:00
Jean Christophe Beyler
f3fc38d5f5 8198439: Fix aarch64 code for handling generate_code_for after FastTLABFill obsolete code
Fix aarch64 issue when moving the stp down and to a str

Reviewed-by: adinn, smonteith
2018-02-20 09:46:48 -08:00
Per Lidén
2606b1f985 8198369: Clean up GCId and GCIdMark
Reviewed-by: stefank, eosterlund
2018-02-21 07:50:33 +01:00
Per Lidén
0bf8fa1855 8198267: Allow GCId::current_raw() calls from non-NamedThreads
Reviewed-by: stefank, kbarrett
2018-02-21 07:46:40 +01:00
Gerard Ziemski
28c9fe47bc 8193056: Title from build failure with Xcode 9.1
Included missing header explicitly.

Reviewed-by: coleenp, vlivanov
2018-02-20 16:18:25 -06:00
Martin Doerr
276e1da447 8195112: x86 (32 bit): implementation for Thread-local handshakes
Reviewed-by: goetz, rehn
2018-02-20 16:10:21 +01:00
Lois Foltan
b085ebe7b7 8196884: VS2017 Multiple Type Cast Conversion Compilation Errors
Change the type of symbolic constant badAddressVal and introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: coleenp, kbarrett
2018-02-20 07:46:40 -05:00
Lois Foltan
17fe1b7ec7 8197956: VS2017 (C4838) Narrowing conversion required from __int64 to julong
Use the correct typed constant when initializing the StubRoutines::x86::_k512_W array.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: coleenp
2018-02-20 07:32:17 -05:00
Lois Foltan
6842f2f659 8196880: VS2017 Addition of Global Delete Operator with Size Parameter Conflicts with Arena's Chunk Provided One
Add a private ordinary operator delete declaration within class Chunk.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: coleenp, stuefe
2018-02-20 07:10:42 -05:00
Lois Foltan
acd1f4797f 8196889: VS2017 Unable to Instantiate OrderAccess::release_store with an Incomplete Class Within an Inlined Method
Fix compilation error by declaring Atomic::IsPointerConvertible public.

Reviewed-by: kbarrett, stuefe
2018-02-20 07:00:49 -05:00
Per Lidén
4e971f5455 8198265: Make CollectorPolicy::satisfy_failed_metadata_allocation() virtual
Reviewed-by: stefank, eosterlund
2018-02-19 15:44:56 +01:00
Per Lidén
13aaf94964 8198268: Add time argument to ConcurrentGCTimer::register_gc_pause_start/_end
Reviewed-by: kbarrett, stefank
2018-02-19 15:44:56 +01:00
Per Lidén
1b12333f8f 8198269: Allow GCCauseSetter to be used outside of safepoints
Reviewed-by: stefank, sjohanss
2018-02-19 15:44:56 +01:00