681 Commits

Author SHA1 Message Date
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 Schatzl
edb1509a0e 8197968: [Backout] JDK-8196883 G1RemSet::refine_card_concurrently doesn't need to check for cards in collection set
Reviewed-by: kbarrett
2018-02-15 00:20:22 +01: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
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
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
Aleksey Shipilev
dcabd45c6c 8198341: Build failures after 8194084 (Obsolete FastTLABRefill and remove the related code)
Reviewed-by: mdoerr, dholmes
2018-02-19 15:07:21 +01:00
Marcus Larsson
29dd30e010 8196783: Refactor LogTagLevelExpression into separate classes
Reviewed-by: rehn, pliden
2018-02-19 09:46:10 +01:00
Marcus Larsson
8cf755c120 8176298: Log tags in -Xlog:help not sorted
Reviewed-by: ecaspole, gtriantafill, stuefe
2018-02-19 09:16:04 +01:00
Thomas Schatzl
147e4f3054 8197493: [Backout] JDK-8196602 Change HeapRegionClosure to comply to naming conventions
Reviewed-by: shade
2018-02-09 12:53:08 +01:00
Thomas Schatzl
514930360f 8196602: Change HeapRegionClosure to comply to naming conventions
Reviewed-by: kbarrett, sjohanss
2018-02-09 11:51:40 +01:00
Matthias Baesken
e1f8cacc0b 8198275: AIX build broken after latest whitebox.cpp changes
Reviewed-by: mdoerr
2018-02-16 11:33:13 +01:00
Jesper Wilhelmsson
aa9cf33c1e Merge 2018-02-19 04:50:50 +01:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Tobias Hartmann
01353e7787 8197828: Null pointer dereference in MultiNode::proj_out_or_null
Added a null check for the return value of AllocateNode::initialization().

Reviewed-by: kvn, shade, dlong
2018-02-15 09:17:56 +01:00
Zhengyu Gu
f47021e2ab 8193373: Cleanup ElfFile and family
Cleanup elf decoder and added test

Reviewed-by: minqi, coleenp
2018-02-14 17:20:59 -05:00