250 Commits

Author SHA1 Message Date
Roland Westrelin
93691571bc 8200303: C2 should leverage profiling for lookupswitch/tableswitch
Reviewed-by: kvn, thartmann
2018-04-24 15:07:20 -07:00
Gerard Ziemski
816e2e5fe0 8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519

Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Gerard Ziemski
60723b7e3d 8081519: Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05:00
Ioi Lam
cac6379cc4 8188105: Make -Xshare:auto the default for server VM
Reviewed-by: dholmes, lfoltan, acorn, mseledtsov, jiangli
2018-04-23 07:51:46 -07:00
Martin Doerr
5e1a7651cd 8198756: Lazy allocation of compiler threads
Reviewed-by: kvn
2018-04-18 11:19:32 +02:00
Vladimir Kozlov
97c2167e1c 8178825: unused variable threadObj in jvmci_counters_include
Reviewed-by: ccheung
2018-04-19 18:11:18 -07:00
Coleen Phillimore
ddfd4c33c6 8201556: Disallow reading oops in ClassLoaderData if unloading
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.

Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Coleen Phillimore
36d1d59425 8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang

Remove oop pointers from runtime data structures.

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Coleen Phillimore
1ee531afe9 8200555: OopHandle should use Access API
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code.  Add comments for compiler code for later.

Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04:00
Robbin Ehn
a0a4b1981b 8195099: Concurrent safe-memory-reclamation mechanism
This implement a globalcounter with RCU semantics.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson, kbarrett, dholmes
2018-04-18 09:25:51 +02:00
Calvin Cheung
894e8c6479 8197972: Always verify non-system classes during CDS dump time
Use -Verify:remote even if the user specifies -Xverify:none during CDS dump time

Reviewed-by: iklam, mseledtsov, jiangli
2018-04-17 16:19:48 -07:00
Daniel D. Daugherty
d974f0b162 8200374: Add ThreadsSMRSupport::verify_hazard_pointer_scanned() to verify threads_do()
Add verification for the threads_do() part of the Thread-SMR protocol.

Reviewed-by: eosterlund, dholmes, rehn
2018-04-12 09:03:46 -04:00
Per Lidén
ec504ecf84 8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
2018-04-12 11:22:24 +02:00
Per Lidén
6825739d3f 8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
Reviewed-by: shade, rehn
2018-04-12 08:25:56 +02:00
Per Lidén
4c60e69b97 8201316: Move G1-related static members from JavaThread to G1BarrierSet
Reviewed-by: stefank, shade
2018-04-12 08:25:30 +02:00
Erik Österlund
2a0986b882 8199417: Modularize interpreter GC barriers
Reviewed-by: coleenp, rkennke
2018-04-11 16:07:42 +02:00
Stefan Karlsson
623c83dad9 8201427: Fix Minimal VM builds on Linux x64
Reviewed-by: shade
2018-04-11 13:52:23 +02:00
Calvin Cheung
4ef7c919a2 8194812: Extend class-data sharing to support the module path
8199360: Rework the support for the 'ignored' module options in CDS

Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
2018-04-10 11:43:40 -07:00
Coleen Phillimore
d187884156 8198313: Wrap holder object for ClassLoaderData in a WeakHandle
Use WeakHandle for ClassLoaderData::_holder so that is_alive closure is not needed

Reviewed-by: rehn, kbarrett
2018-04-10 10:06:42 -04:00
Stefan Karlsson
367f9ea984 8201244: Clean out unnecessary includes of heap headers
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Stefan Karlsson
f0f7a1b70d 8201168: Move GC command line constraint functions to GC specific files
Reviewed-by: gziemski, sjohanss
2018-04-10 12:17:16 +02:00
Stefan Karlsson
906806e067 8200759: Move GC entries in vmStructs.cpp to GC specific files
Reviewed-by: sjohanss, shade
2018-04-10 12:15:07 +02:00
Roman Kennke
389d720746 8199735: Mark word updates need to use Access API
Reviewed-by: shade, eosterlund
2018-04-05 10:54:53 +02:00
Harold Seigel
ffc0b90a4e 8198908: Add JVM support for preview features
Add new major and minor version checks

Reviewed-by: dholmes, lfoltan
2018-04-06 09:59:48 -04:00
Stefan Karlsson
14a142ba14 8201136: Move GC flags from globals.hpp to GC specific files
Reviewed-by: sjohanss, shade, rehn
2018-04-06 13:55:25 +02:00
Stefan Karlsson
4387825322 8200737: Move GC code out of Arguments::check_vm_args_consistency into GCArguments
Reviewed-by: sjohanss, pliden
2018-04-06 11:37:31 +02:00
Erik Helin
b025fab0d2 8200626: Restore history for g1ConcurrentMarkThread.*
Reviewed-by: shade, sjohanss
2018-04-04 10:12:02 +02:00
Roman Kennke
b938ae51ce 8199781: Don't use naked == for comparing oops
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Kim Barrett
9fee73ec95 8195972: Refactor oops in JNI to use the Access API
Use Access API in JNIHandles

Reviewed-by: coleenp, eosterlund
2018-03-30 21:57:50 -04:00
Thomas Stuefe
3e603a776e 8191101: Show register content in hs-err file on assert
Reviewed-by: adinn, clanger, simonis
2018-03-30 06:31:16 +02:00
Ioi Lam
526bcdab19 8183238: Obsolete CheckEndorsedAndExtDirs and remove checks for lib/endorsed and lib/ext
Reviewed-by: dholmes, mchung, alanb
2018-03-29 20:15:23 -07:00
Daniel D. Daugherty
d2e9c712ad 8199813: SIGSEGV in ThreadsList::includes()
ThreadsListHandles cannot be used by JavaThreads that are not on the Threads list.

Reviewed-by: eosterlund, gthornbr, dholmes, rehn
2018-03-28 12:04:33 -04:00
Thomas Schatzl
83d7c657c4 8197573: Remove concurrent cleanup and secondary free list handling
Remove secondary free list and all associated functionality, moving the cleanup work into the Cleanup pause instead.

Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Per Lidén
24273f04a4 8199925: Break out GC selection logic from GCArguments to GCConfig
Reviewed-by: eosterlund, rkennke
2018-03-28 11:38:47 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
John Paul Adrian Glaubitz
3bb4de100a 8200245: Zero fails to build on linux-ia64 due to ia64-specific cruft
Reviewed-by: dholmes, stuefe
2018-03-28 10:49:07 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Tobias Hartmann
c530e2724d 8200230: [Graal] Compilations should not be enqueued before Graal is initialized
Split compiler initialization into two phases to avoid compilations being enqueued before Graal is initialized.

Reviewed-by: kvn, dnsimon
2018-03-27 11:51:39 +02:00
Lutz Schmidt
b7cb1a07e4 8198691: CodeHeap State Analytics
Reviewed-by: kvn, thartmann
2018-03-26 12:59:45 -07:00
Coleen Phillimore
c892f948e0 8198760: Move global lock SpaceManager::_expand_lock to MutexLocker.cpp
We should avoid having global locks buried in cpp files

Reviewed-by: tschatzl, lfoltan, gtriantafill, stuefe
2018-03-26 09:35:20 -04:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Stefan Karlsson
7595845e9a 8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Stefan Karlsson
f89abe4589 8199946: Move load/store and encode/decode out of oopDesc
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Tobias Hartmann
55233a42f3 8199777: Deprecate -XX:+AggressiveOpts
Deprecate -XX:+AggressiveOpts and remove it from testing.

Reviewed-by: kvn, dholmes, shade
2018-03-22 08:39:51 +01:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Chris Plummer
fcd067c48d 8195109: ServiceUtil::visible_oop is not needed anymore
Strip out ServiceUtil and all users of it

Reviewed-by: coleenp, stefank, jcbeyler, sspitsyn
2018-03-21 13:07:19 -07:00
Roland Westrelin
35460b0e85 8196294: LoopStripMiningIterShortLoop is set to zero by default
Reviewed-by: shade, thartmann, kvn
2018-03-21 10:05:36 +01:00
Gerard Ziemski
3cbe6dfd8f 8140359: get_locked_message_ext() should return Flag::MsgType
Changed get_locked_message_ext() to return Flag::MsgType

Reviewed-by: coleenp, rehn
2018-03-19 14:20:28 -05:00
Lutz Schmidt
f5d589fe63 8198608: Improvements to command-line flags printing
Re-implemented Flag::print_on()

Reviewed-by: dholmes, mikael, gziemski
2018-03-19 13:37:57 -05:00
Zhengyu Gu
d574a06345 8199741: NMT: Tag safepoint polling pages
Added NMT tag for Safepoint polling pages

Reviewed-by: coleenp, shade
2018-03-19 13:38:35 -04:00