49115 Commits

Author SHA1 Message Date
Thomas Stuefe
1bb8fd058c 8198553: jcmd: separate Metaspace statistics from NMT
Reviewed-by: zgu, coleenp
2018-02-22 14:16:18 +01:00
Christian Tornqvist
052e9233e2 8198551: Rename hotspot_tier1 test group to tier1
Reviewed-by: lfoltan, iignatyev
2018-02-22 14:58:01 -05: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
Robin Westberg
f2c21c058d 8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
2018-02-13 15:48:23 +01:00
Robbin Ehn
5287d9a366 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
Reviewed-by: bobv, stuefe
2018-02-27 14:15:30 +01:00
Dmitrij Pochepko
8241f85b85 8196868: AARCH64: ld/st instructions hit guarantee assert while using sp
Reviewed-by: aph
2018-02-27 16:05:28 +03:00
Dmitry Chuyko
7e1c60b79b 8198293: AARCH64 - Add CPU detection code for Cavium Thunder X2
Reviewed-by: dsamersoff
2018-02-27 15:56:40 +03:00
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
6e70a69893 8198304: VS2017 (C4838, C4312) Various conversion issues with gtest tests
Introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: gtriantafill, hseigel
2018-02-26 10:11:05 -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
Lois Foltan
4faf9a2199 8198640: VS2017 (LNK4281) Link Warning Against Missed ASLR Optimization
Ignore VS2017 linker option that warns against potentially missed ASLR optimizations.

Reviewed-by: ctornqvi, erikj
2018-02-26 09:51:14 -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
Ioi Lam
d050bedee8 8195065: runtime/appcds/ProhibitedPackage.java intermittent failure
Reviewed-by: mseledtsov
2018-02-24 22:42:37 -08: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
Sangheon Kim
98a4315c72 8193909: Obsolete(remove) Co-operative Memory Management (CMM)
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Reviewed-by: dholmes, jwilhelm, mchung, tschatzl
2018-02-20 12:54:26 -08: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
91105a9a52 8196997: VS2017 The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be removed
Ignore deprecation warning for non-Standard std::tr1 namespace and TR1-only machinery when compiling gtest.

Reviewed-by: kbarrett, stuefe
2018-02-20 07:20:22 -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