8317 Commits

Author SHA1 Message Date
Thomas Stuefe
aaf9f2515f 8184339: Thread::current_or_null() shall not assert if Posix TLS is not yet initialized
Reviewed-by: dcubed, coleenp
2017-07-13 16:28:14 +02:00
Claes Redestad
143eab3a85 8184337: CodeCache::get_code_cache_containing wrongly asserts that start can not be NULL
Reviewed-by: thartmann, gtriantafill, rehn
2017-07-13 15:33:20 +02:00
Harold Seigel
38a5756236 8183962: JVM_DoPrivileged does not find run method in default methods
Add search of interfaces for run() method.

Reviewed-by: acorn, gtriantafill
2017-07-13 08:49:09 -04:00
Erik Österlund
0e3835aac2 8184269: JVMCI CompilerToVM::Data::initialize() should use BarrierSet fake RTTI to identify card table barrier sets
Reviewed-by: kvn, dnsimon
2017-07-13 12:39:46 +02:00
Harold Seigel
9e3de501f8 Merge 2017-07-13 01:28:24 +00:00
Harold Seigel
30580af958 8184281: -Xlog:startuptime does not include call to initPhase2
Remove "+module" and improve message

Reviewed-by: alanb, gtriantafill
2017-07-12 21:24:07 -04:00
Erik Österlund
53dee26ab9 8184073: Cleanup of compiler activity enum in compileBroker.hpp
An unnamed enum describing compiler activity was given a name and had spelling errors fixed.

Reviewed-by: kvn, kbarrett
2017-07-12 09:49:05 +02:00
Erik Österlund
454e63fe90 8183927: Hotspot needs C++ type_traits metaprogramming utilities
This changeset introduces new metaprogramming utilities typically found in <type_traits> in C++11.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: kbarrett, rehn, pliden
2017-07-11 12:00:48 +02:00
Erik Österlund
ad941e4f9d 8183575: Runtime1::oop_arraycopy is unused and should be removed
Runtime1::oop_arraycopy and its friend Runtime1::primitive_arraycopy are no longer used and this changeset removes them.

Reviewed-by: kvn, tschatzl
2017-07-10 11:42:45 +02:00
Claes Redestad
28bb3a05d9 8183573: Refactor CodeHeap and AOTCodeHeap to devirtualize hot methods
Reviewed-by: kvn, dlong
2017-07-10 23:28:25 +02:00
Thomas Schatzl
4de007ff3b 8183397: Ensure consistent closure filtering during evacuation
Consistently apply the cross-region check for references in the various oop closures.

Reviewed-by: sjohanss, ehelin
2017-07-10 10:10:49 +02:00
Robbin Ehn
dc44ef52d3 Merge 2017-07-07 23:53:36 +02:00
Robbin Ehn
cc9648a8b8 8183925: Decouple crash protection from watcher thread
Reviewed-by: dcubed, coleenp
2017-07-07 23:11:33 +02:00
Robbin Ehn
41e729b386 8183545: Event tracing, transition hooks
Reviewed-by: dcubed, egahlin
2017-07-07 23:04:06 +02:00
Nils Eliasson
5bd24e0c25 8183271: VectorizeDebug compiler directive command is broken
Add parser support for uint

Reviewed-by: kvn, thartmann
2017-07-07 10:37:52 +02:00
Stefan Karlsson
b7b5e80b9d 8183570: Rework is_aligned_ to avoid multiple evaluation of the size expression
Reviewed-by: tschatzl, kbarrett
2017-07-05 12:51:28 +02:00
Roman Kennke
313f3e3ef5 8179268: Factor out AdaptiveSizePolicy from top-level interfaces CollectorPolicy and CollectedHeap
Reviewed-by: pliden, sjohanss
2017-07-04 20:41:33 +02:00
Harold Seigel
b4d5834c9d Merge 2017-07-12 12:46:31 +00:00
Harold Seigel
00b2004598 8140284: Deprecate -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal
Add the two options to the deprecate list.

Reviewed-by: acorn, gtriantafill
2017-07-12 08:07:58 -04:00
Thomas Schatzl
8055a4e57d 8183128: Update RefineCardTableEntryClosure
Improve names and placement of RefineCardTableEntryClosure

Reviewed-by: ehelin, sjohanss
2017-07-12 12:26:57 +02:00
Thomas Schatzl
1af7551c3e 8183226: Remembered set summarization accesses not fully initialized java thread DCQS
Reviewed-by: sjohanss, ehelin
2017-07-12 12:25:12 +02:00
Christian Thalinger
340108f92b 8183151: DCmd Compiler.codelist should print all compiled methods
Add support for AOT methods in codelist dcmd

Reviewed-by: neliasso, kvn
2017-07-03 11:41:19 +02:00
Chihiro Ito
5ae3d88bb7 8181647: jhsdb jstack could not output thread name
Standardized thread information across jstack, jhsdb jstack, and jhsdb jstack --mixed

Reviewed-by: ysuenaga, poonam
2017-07-06 09:31:01 -04:00
Thomas Schatzl
3df0f64e1f 8179679: Rearrange filters before card scanning
Implement micro-optimizations in the card scanning code enabled by JDK-8177044.

Reviewed-by: sjohanss, ehelin
2017-07-06 12:11:20 +02:00
Thomas Schatzl
10afb6f4f0 8183127: UpdateRSetDeferred should not enqueue cards for NULL references
Filter out NULL references during generating cards for an object.

Reviewed-by: mgerdin, ehelin
2017-07-06 10:42:02 +02:00
Vladimir Kozlov
0be0ab5955 Merge 2017-07-05 20:16:26 -07:00
Vladimir Kozlov
62b03921aa Merge 2017-07-05 18:14:48 -07:00
Vladimir Kozlov
eb20e62194 8183262: noexecstack check in os::dll_load on Linux is too expensive
Convert ElfFile::specifies_noexecstack() to static method which read file header and check executable stack flag.

Reviewed-by: iklam, stuefe
2017-07-05 11:03:19 -07:00
Stefan Karlsson
c9957ebc9a Merge 2017-07-05 09:38:47 +00:00
Stefan Karlsson
a18f1c2d58 8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Claes Redestad
4112be360c Merge 2017-07-04 18:10:40 +00:00
Claes Redestad
fd301e5f76 8183299: Improve inlining of CompiledMethod methods into frame::sender
Reviewed-by: kvn, neliasso
2017-07-04 18:36:50 +02:00
Jesper Wilhelmsson
efd1054686 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02:00
Lana Steuck
3edb9c14f7 Merge 2017-06-24 00:24:40 +00:00
Vladimir Ivanov
2a0ab692f7 8181872: C1: possible overflow when strength reducing integer multiply by constant
Reviewed-by: kvn
2017-06-20 14:37:25 +03:00
Alan Bateman
a0a5208606 Merge 2017-06-17 08:03:09 +01:00
Poonam Bajaj
2a168d1426 8178536: OOM ERRORS + SERVICE-THREAD TAKES A PROCESSOR TO 100%
Clear the pending OOM exception in SensorInfo::trigger()

Reviewed-by: mchung, dcubed
2017-06-16 22:10:34 +00:00
Doug Simon
a7a368b2f9 8182310: [AOT][JVMCI] Get host class of VM anonymous class
Add missing JVMCI functionality

Reviewed-by: dlong, kvn
2017-06-16 12:18:46 -07:00
Alan Bateman
2f378477c4 8181087: Module system implementation refresh (6/2017)
Reviewed-by: sspitsyn, hseigel
2017-06-16 09:20:23 -07:00
Lana Steuck
e62c1a127e Merge 2017-06-16 04:55:29 +00:00
Lana Steuck
63253f80e8 Merge 2017-06-14 20:05:32 +00:00
Dean Long
a1ea428918 8181757: NonNMethod heap in segmented CodeCache is not scanned in some cases
8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events

Reviewed-by: thartmann, kvn
2017-06-13 10:27:42 -07:00
Ron Pressler
061b09e847 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Reviewed-by: psandoz, dholmes, thartmann, kvn
2017-06-05 15:52:09 -07:00
Erik Österlund
c4d86b2455 8161145: The min/max macros make hotspot tests fail to build with GCC 6
Change min/max macros to expand (once) to self.

Reviewed-by: sgehwolf, pliden, andrew
2017-06-06 13:31:34 -04:00
Lana Steuck
2d59a5eb78 Merge 2017-06-03 02:44:26 +00:00
Magnus Ihse Bursie
1697e378d3 8180322: Move JNI spec to specs directory
Reviewed-by: mchung, dholmes
2017-06-02 14:29:02 +02:00
Rickard Bäckman
7311151cd6 8180197: Failing assert: id must be initialized
Reviewed-by: kvn, kbarrett
2017-06-02 11:26:36 +02:00
Roland Westrelin
a9c2bc6517 8179678: ArrayCopy with same src and dst can cause incorrect execution or compiler crash
Replacing load on dst with load on src only valid if copy doesn't modify src element to load

Reviewed-by: kvn, thartmann
2017-06-02 09:08:34 +02:00
Sharath Ballal
536c210f77 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:30:49 +05:30
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00