Coleen Phillimore
27a1ed85b6
8067836: The Universe::flush_foo methods belong in CodeCache
...
Move this code to CodeCache.
Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Tobias Hartmann
5ef6d4e99d
8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
...
Ignore non-instance Klasses in the subclass hierarchy.
Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Igor Ignatyev
bdac822811
8059624: Test task: WhiteBox API for testing segmented codecache feature
...
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Igor Veresov
1af7144df1
Merge
2014-10-27 20:03:57 -10:00
Stefan Karlsson
d410f19961
8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
...
Reviewed-by: mgerdin, coleenp, bdelsart
2014-10-02 10:55:36 +02:00
Tobias Hartmann
4c1c76ae4f
8059559: SIGSEGV at CodeHeap::allocate(unsigned int, bool)
...
Create the non-profiled code heap if TieredStopAtLevel=0 is set because we compile method handle intrinsics.
Reviewed-by: kvn
2014-10-06 07:58:50 +02:00
Zoltan Majo
72eb3f0643
8059390: code cache fills up for bigapps/Weblogic+medrec/nowarnings
...
Retrieve code heap in CodeCache::allocate(), ::report_codemem_full(), and ::unallocated_capacity() also if segmented code cache is disabled.
Reviewed-by: vlivanov, thartmann
2014-10-01 10:01:46 +02:00
Tobias Hartmann
ea755702aa
8059468: Fix PrintCodeCache output changed by JDK-8059137
...
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.
Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Tobias Hartmann
3525490c57
8059137: MemoryPoolMXBeans for different code heaps should contain 'Code heap' in their names
...
The segmented code cache implementation registers a memory pool for each code heap. To be consistent with the "non-segmented" output, the names of these pools should contain the word "code heap".
Reviewed-by: kvn, sla, fzhinkin
2014-09-30 09:06:39 +02:00
Vladimir Ivanov
872804d9dc
8058578: -XX:+TraceDependencies is broken for call_site_target_value dependency type
...
Reviewed-by: jrose, kvn
2014-09-29 09:26:48 -07:00
Tobias Hartmann
d63b9025d8
8058737: CodeCache::find_blob fails with 'unsafe access to zombie method'
...
Remove active ICStubs from zombie nmethods
Reviewed-by: kvn, iveresov
2014-09-29 08:40:51 +02:00
Niclas Adlertz
37c8ef911c
Merge
2014-09-19 17:14:13 +02:00
Goetz Lindenmaier
c82c59cd8f
8058716: Add include missing in 8015774
...
Reviewed-by: kvn
2014-09-18 09:37:26 +02:00
Tobias Hartmann
cd01de591a
8015774: Add support for multiple code heaps
...
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Tobias Hartmann
dd6285d984
8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
...
Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.
Reviewed-by: kvn, vlivanov, drchase
2014-09-15 08:08:22 +02:00
Niclas Adlertz
d348978bc1
Merge
2014-09-12 09:17:58 +02:00
Nils Eliasson
6062c2db15
8054889: Compiler team's implementation task
...
Adding three new diagnostic commands for compiler
Reviewed-by: anoll, kvn, drchase
2014-09-10 13:27:33 +02:00
Igor Veresov
e285f3eadc
8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running
...
Don't make compiled MH intrinsics not entrant when redefining classes
Reviewed-by: kvn, vlivanov
2014-09-05 14:39:45 -07:00
Ioi Lam
541640ed22
Merge
2014-09-05 15:53:02 -07:00
Coleen Phillimore
731bbae8fa
8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid
...
Revert two small changes from the previous-versions cleanup with marking code cache.
Reviewed-by: kvn, dcubed
2014-09-05 08:08:51 -04:00
Coleen Phillimore
3c70d99eda
8055008: Clean up code that saves the previous versions of redefined classes
...
Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.
Reviewed-by: dcubed, sspitsyn
2014-09-03 19:13:18 -04:00
Morris Meyer
a6397cd368
8040920: Uninitialised memory in hotspot/src/share/vm/code/dependencies.cpp
...
Fixed parfait initialization issue.
Reviewed-by: kvn, twisti
2014-08-07 18:09:12 -07:00
Albert Noll
6520320d1a
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
...
Use separate sweeper thread; enables more aggressive sweeping.
Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Tobias Hartmann
bdd3c3df3a
8060196: 'CodeHeap is full' warning suggests to increase wrong code heap size
...
Fixed 'CodeHeap is full' warning to output the right CodeHeapSize flag.
Reviewed-by: kvn, anoll
2014-10-17 08:56:07 +02:00
David Chase
4c9f643e10
8054292: code comments leak in fastdebug builds
...
Added deallocation to destructor; hardened interface against misuse
Reviewed-by: kvn
2014-08-29 19:45:49 -04:00
Rickard Bäckman
84271f1c96
Merge
2014-07-24 14:38:26 +02:00
Martin Doerr
1439e307db
8050972: Concurrency problem in PcDesc cache
...
The entries of the PcDesc cache in nmethods are not declared as volatile, but they are accessed and modified by several threads concurrently.
Reviewed-by: kvn, dholmes, dcubed
2014-07-17 10:21:31 +02:00
Coleen Phillimore
c9b2bc62c9
Merge
2014-07-14 10:15:21 -04:00
Roland Westrelin
471e47dddf
Merge
2014-07-11 02:34:11 -07:00
Jon Masamitsu
fbe6d80096
Merge
2014-07-10 13:39:18 -07:00
Stefan Karlsson
1b001a2afd
8049421: G1 Class Unloading after completing a concurrent mark cycle
...
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80
8049420: Backout 8048248 to correct attribution
...
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316
8048248: G1 Class Unloading after completing a concurrent mark cycle
...
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Stefan Karlsson
2ef86bb65b
8047362: Add a version of CompiledIC_at that doesn't create a new RelocIterator
...
Reviewed-by: iveresov, mgerdin
2014-07-01 09:03:55 +02:00
Goetz Lindenmaier
f2051ed6fa
8048241: Introduce umbrella header os.inline.hpp and clean up includes
...
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Stefan Karlsson
c3148bb6cb
8047326: Consolidate all CompiledIC::CompiledIC implementations and move it to compiledIC.cpp
...
Reviewed-by: vlivanov, ehelin
2014-06-25 08:56:57 +02:00
Stefan Karlsson
b549ffc364
8047373: Clean the ExceptionCache in one pass
...
Also-reviewed-by: kim.barrett@oracle.com
Reviewed-by: jmasa, jwilhelm
2014-06-24 17:09:48 +02:00
Per Lidén
d0e17d1ff0
8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
...
Reviewed-by: tschatzl, ehelin
2014-06-23 16:43:41 +02:00
Tobias Hartmann
fa6b220619
8022968: Some codecache allocation failures don't result in invoking the sweeper
...
Add calls to CompileBroker::handle_full_code_cache() or fail gracefully whenever allocation in the code cache fails.
Reviewed-by: iveresov, vlivanov
2014-07-03 08:46:44 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Tobias Hartmann
83fc2acbd7
8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
...
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.
Reviewed-by: kvn, twisti, dlong
2014-06-11 09:16:19 +02:00
Bharadwaj Yadavalli
c66bd8445c
6563994: assert(wf.check_method_context(ctxk, m), "proper context") failed
...
Check for redefined method before finding unique concrete method
Reviewed-by: twisti, kvn
2014-05-19 20:28:35 +00:00
Christian Thalinger
c780be1a3a
Merge
2014-05-12 17:01:57 -07:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Tobias Hartmann
d2af4e35ec
8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails
...
Incrementing the number of code blobs in CodeCache::allocate(...) is now only performed if allocation succeeds. The guarantee is fixed.
Reviewed-by: kvn, iveresov
2014-05-09 09:12:39 +02:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Albert Noll
7e3f05c6f7
Merge
2014-04-28 03:44:35 -07:00