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
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
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
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
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
Albert Noll
2f84f7d5fc
7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times
...
Avoid verifying dependencies multiple times by caching verified dependencies
Reviewed-by: kvn, twisti, roland
2014-01-15 06:16:55 +01:00
Vladimir Kozlov
f3fc753f26
8028107: Kitchensink crashed with EAV
...
Check the state of caller and callee nmethods and skip call site patching if any of them is not alive
Reviewed-by: jrose, twisti
2013-12-06 12:11:51 -08:00
Albert Noll
0dee555ead
8020151: PSR:PERF Large performance regressions when code cache is filled
...
Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov
2013-09-27 10:50:55 +02:00
Lois Foltan
fca9e37c80
8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
...
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification
Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
John Cuthbertson
f63547bf71
7145569: G1: optimize nmethods scanning
...
Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.
Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn
2013-08-15 10:52:18 +02:00
Vladimir Kozlov
fbd1f6e3be
Merge
2012-09-28 10:16:29 -07:00
Bengt Rutisson
fcae0353d2
7200470: KeepAliveClosure not needed in CodeCache::do_unloading
...
Removed the unused keep_alive parameter
Reviewed-by: stefank, dholmes, kamg, coleenp
2012-09-25 14:58:12 +02:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Goetz Lindenmaier
5ada196961
7200163: add CodeComments functionality to assember stubs
...
Pass the codeBuffer to the Stub constructor, and adapts the disassembler to print the comments.
Reviewed-by: jrose, kvn, twisti
2012-09-24 10:30:14 -07:00
Vladimir Kozlov
811c047ec1
7196199: java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
...
Save whole XMM/YMM registers in safepoint interrupt handler.
Reviewed-by: roland, twisti
2012-09-17 19:39:07 -07:00
John Cuthbertson
79c90a15fa
7143511: G1: Another instance of high GC Worker Other time (50ms)
...
Tiered compilation has increased the number of nmethods in the code cache. This has, in turn, significantly increased the number of marked nmethods processed during the StrongRootsScope destructor. Create a specialized version of CodeBlobToOopClosure for G1 which places only those nmethods that contain pointers into the collection set on to the marked nmethods list.
Reviewed-by: iveresov, tonyp
2012-03-13 11:05:32 -07:00
Tom Rodriguez
9599296d97
7013347: allow crypto functions to be called inline to enhance performance
...
Reviewed-by: kvn
2012-02-01 16:57:08 -08:00
Tom Rodriguez
fa7c124af1
7083786: dead various dead chunks of code
...
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Jon Masamitsu
6819e3739e
7041789: 30% perf regression with c2/arm following 7017732
...
Implement a more accurate is_scavengable()
Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Christian Thalinger
f51036e9bc
7022998: JSR 292 recursive method handle calls inline themselves infinitely
...
Reviewed-by: never, kvn
2011-03-28 03:58:07 -07:00
Tom Rodriguez
f5ef48f3b9
7028374: race in fix_oop_relocations for scavengeable nmethods
...
Reviewed-by: kvn
2011-03-18 15:52:42 -07:00
Daniel D. Daugherty
7c14db880f
Merge
2011-03-15 06:50:01 -07:00
Daniel D. Daugherty
c4e301bffa
7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
...
Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()
Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:37:31 -07:00
Paul Hohensee
f38a80b837
7023931: PcDescCache::find_pc_desc should not write _last_pc_desc
...
Remove _last_pc_desc and use pcdescs[0] instead.
Reviewed-by: dcubed, coleenp, ysr
2011-03-11 16:09:55 -05:00
Christian Thalinger
cd6c0b147e
7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
...
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -08:00
Keith McGuigan
8a44936bb0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
...
Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
Keith McGuigan
de27a1608c
7004582: Add GetThisObject() function to JVMTI 1.2
...
Add 'GetThisObject' function
Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Igor Veresov
2c66a6c3fd
6953144: Tiered compilation
...
Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
2010-09-03 17:51:07 -07:00
Christian Thalinger
6a0c40f1fe
6961697: move nmethod constants section before instruction section
...
This is a preparation for 6961690.
Reviewed-by: kvn, never
2010-08-27 01:51:27 -07:00
Christian Thalinger
a4b2fe3b1c
6978355: renaming for 6961697
...
This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Tom Rodriguez
1d736d2851
6974176: ShouldNotReachHere, instanceKlass.cpp:1426
...
Reviewed-by: kvn, twisti
2010-08-12 16:38:23 -07:00
Gary Benson
d7310fb0f7
6976186: integrate Shark HotSpot changes
...
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
2010-08-11 05:51:21 -07:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
Tom Rodriguez
7533d0caf7
6965184: possible races in make_not_entrant_or_zombie
...
Reviewed-by: kvn
2010-07-08 14:29:44 -07:00
Tom Rodriguez
fdaa7a673c
6656830: assert((*p)->is_oop(),"expected an oop while scanning weak refs")
...
Reviewed-by: dcubed, kvn, twisti
2010-06-21 14:26:17 -07:00
John R Rose
d6a9b93b5a
Merge
2010-06-02 22:45:42 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Christian Thalinger
c9f2ba541b
6951083: oops and relocations should part of nmethod not CodeBlob
...
This moves the oops from Codeblob to nmethod.
Reviewed-by: kvn, never
2010-05-20 06:34:23 -07:00
Eric Caspole
430574f398
6950075: nmethod sweeper should operate concurrently
...
Reviewed-by: never, kvn
2010-05-17 16:50:07 -07:00
Tom Rodriguez
98ee92e724
6939930: exception unwind changes in 6919934 hurts compilation speed
...
Reviewed-by: twisti
2010-04-15 18:14:49 -07:00
Christian Thalinger
918c7a2e33
6921352: JSR 292 needs its own deopt handler
...
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
2010-02-01 19:29:46 +01:00
Eric Caspole
a57d68e35b
4360113: Evict nmethods when code cache gets full
...
Speculatively unload the oldest nmethods when code cache gets full.
Reviewed-by: never, kvn
2010-01-29 09:27:22 -08:00
Christian Thalinger
9aa675b7e6
6921339: backout 6917766
...
Reviewed-by: mr
2010-01-29 08:33:24 -08:00
Christian Thalinger
fbc43afae6
6917766: JSR 292 needs its own deopt handler
...
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
2010-01-29 12:13:05 +01:00
John R Rose
fdbb64ef71
6912062: disassembler plugin needs to produce symbolic information in product mode
...
More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never
2010-01-08 13:47:01 -08:00