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
Albert Noll
ff3717e719
8040085: dtrace/jsdt tests crash on solaris. found an unadvertised bad scavengable oop in the code cache
...
Add CodeCache::add_scavenge_root_nmethod(this) to the dtrace-constructor of nmethod
Reviewed-by: roland, iveresov
2014-04-28 12:39:12 +02:00
Tobias Hartmann
d16c89c108
8041468: Field nmethod::_lock_count should be declared volatile
...
The jint field nmethod::_lock_count which is used in nmethodLocker::lock_nmethod and nmethodLocker::unlock_nmethod should be declared volatile (see also signature of Atomic::inc)
Reviewed-by: kvn, roland
2014-04-24 09:47:34 +02:00
Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Albert Noll
e8bc971d19
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
...
Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti
2014-03-07 07:42:40 +01:00
Coleen Phillimore
1a95f3a409
8035735: Metaspace::contains become extremely slow in some cases
...
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.
Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Albert Noll
1258452546
Merge
2014-02-26 02:38:46 -08:00
Albert Noll
aa570e227c
8034839: jvm hangs with gc/gctests/LoadUnloadGC test
...
Provide fast lookup of checked dependencies via hashmap
Reviewed-by: kvn, roland
2014-02-26 11:29:47 +01:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00