4387 Commits

Author SHA1 Message Date
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
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
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
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
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
Ioi Lam
128f91288c 8197857: fieldDescriptor prints incorrect 32-bit representation of compressed oops
Reviewed-by: coleenp
2018-02-14 06:57:28 -08:00
Coleen Phillimore
2a4d4b43b4 8197772: metaspace uses global operator new/delete for gtest testing
Inherit ChunkManagerReturnTestImpl from CHeapObj

Reviewed-by: kbarrett, zgu
2018-02-14 09:09:37 -05:00
Coleen Phillimore
d41cbf61a1 8197789: os::SuspendedThreadTask causes references to global operator delete
Make destructor non-virtual and protected

Reviewed-by: kbarrett
2018-02-14 09:03:31 -05:00
Kim Barrett
023fc4b866 8197454: Need Access decorator for storing oop into uninitialized location
Repurpose ARRAYCOPY_DEST_NOT_INITIALIZED to AS_DEST_NOT_INITIALIZED.

Reviewed-by: eosterlund, coleenp
2018-02-13 17:36:22 -05:00
Roland Westrelin
4f8c5b6949 8197563: assert(is_Loop()) crash in PhaseIdealLoop::try_move_store_before_loop()
Don't move store out of the loop if head is not a LoopNode.

Reviewed-by: kvn, thartmann
2018-02-13 16:57:01 +01:00
Thomas Schatzl
347c253452 7127700: G1: Replace G1PLAB with PLAB
Reviewed-by: sjohanss, kbarrett
2018-02-13 16:13:20 +01:00
Marcus Larsson
6ef9800875 8194994: Remove redundant string streams used for logging
Reviewed-by: rehn, iklam, coleenp
2018-02-13 14:10:56 +01:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Leonid Mesnik
45f751f518 8197455: There is some runthese related unused code in bytecodeInterpreter.cpp
Reviewed-by: iignatyev, dholmes
2018-02-08 21:53:06 -05:00
Kim Barrett
a25a95120e 8196083: Avoid locking in OopStorage::release
Defer release list updates to later allocate/delete operations.

Reviewed-by: coleenp, eosterlund
2018-02-08 17:23:43 -05:00
Coleen Phillimore
789e827f1a 8196806: Deprecate VMThreadHintNoPreempt and CompilerThreadHintNoPreempt
Reviewed-by: dholmes, hseigel
2018-02-08 15:21:59 -05:00
Zhengyu Gu
934390b571 8196923: [REDO] NMT: Report array class count in NMT summary
Added instance and array class counters in NMT summary report

Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
Thomas Schatzl
75ab2501f7 8196883: G1RemSet::refine_card_concurrently doesn't need to check for cards in collection set
Remove code related to collection set checking in that method.

Reviewed-by: kbarrett, ehelin
2018-02-08 10:15:57 +01:00
Poonam Bajaj
4779c85b46 8187577: JVM crash during gc doing concurrent marking
Inform G1's SATB that a klass has been resurrected and it should not be unloaded

Reviewed-by: coleenp, tschatzl, kbarrett
2018-02-07 21:53:38 +00:00
Alex Menkov
8abc2c38f7 8161605: The '!UseSharedSpaces' check is not need in JvmtiManageCapabilities::recompute_always_capabilities
Reviewed-by: sspitsyn, mseledtsov
2018-02-07 10:25:10 -08:00
Lois Foltan
7f25db6e5f 8196601: IllegalAccessError: cannot access class jdk.jfr.internal.handlers.EventHandler
Do not perform access check when returning a reflection field or method or performing internal signature processing.

Reviewed-by: acorn, psandoz
2018-02-06 10:28:22 -05:00
Jesper Wilhelmsson
dd416bbf33 8196924: [BACKOUT] NMT: Report array class count in NMT summary
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206 8193184: NMT: Report array class count in NMT summary
Report array class and instance class count in NMT summary report

Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Coleen Phillimore
48f208f193 8196907: Fix minimal vm
Reviewed-by: zgu, dholmes
2018-02-06 18:10:30 -05:00
Harold Seigel
34480e526e 8190235: Clarify ClassLoaderData::is_*_class_loader_data() method implementations
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-06 13:41:49 -05:00
Lois Foltan
2f74993973 8196601: IllegalAccessError: cannot access class jdk.jfr.internal.handlers.EventHandler
Do not perform access check when returning a reflection field or method or performing internal signature processing.

Reviewed-by: acorn, psandoz
2018-02-06 10:28:22 -05:00
Jesper Wilhelmsson
d7dd9d1027 Merge 2018-02-05 23:12:03 +01:00
Lana Steuck
845f7823de Merge 2018-02-09 02:23:34 +00:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Zhengyu Gu
897d228899 8194934: NMT: Remove MemTracker::get_virtual_memory_xxx_tracker(), create Tracker in place
Create tracker in place to avoid additional locking

Reviewed-by: coleenp
2018-02-05 13:23:26 -05:00
David Holmes
3c2d19f0bc 8196739: Disable obsolete/expired VM flag transitional warnings
Reviewed-by: kbarrett
2018-02-05 06:43:23 -05: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
Harold Seigel
83bb2205e8 8190359: Reduce the number of recorded klass dependencies
Skip recording dependencies to non-anonymous classes loaded by builtin class loaders.

Reviewed-by: iklam, coleenp, lfoltan
2018-02-02 10:37:48 -05:00