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
18ca4cc301
8027593: performance drop with constrained codecache starting with hs25 b111
...
Fixed proper sweeping of small code cache sizes
Reviewed-by: kvn, iveresov
2013-11-12 09:32:50 +01:00
Vladimir Ivanov
505ac76763
8023037: Race between ciEnv::register_method and nmethod::make_not_entrant_or_zombie
...
Reviewed-by: kvn, iveresov
2013-11-08 01:13:11 -08:00
Igor Veresov
51a9303c03
Merge
2013-10-03 16:38:21 +04: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
7bf953d005
7195622: CheckUnhandledOops has limited usefulness now
...
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Niclas Adlertz
a0a141a9d9
Merge
2013-09-05 10:39:10 +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
Roland Westrelin
515a7df996
8016277: Crash in nmethod::is_compiled_by_c1() on x86
...
Method pointer for zombie methods may be invalid
Reviewed-by: kvn, coleenp
2013-08-26 16:12:20 +02: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
Goetz Lindenmaier
fad60d1428
8017308: Remove unused breakpoint relocation type
...
Remove unused breakpoint relocation type
Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
Calvin Cheung
53448fdbed
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
...
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Roland Westrelin
6a17746b6c
8009981: nashorn tests fail with -XX:+VerifyStack
...
Nmethod::preserve_callee_argument_oops() must take appendix into account.
Reviewed-by: kvn, twisti
2013-05-31 14:40:26 +02:00
Coleen Phillimore
32df114e2a
8014024: NPG: keep compiled ic methods from being deallocated in redefine classes
...
Walk the compiledIC relocation records to keep Method* from being deallocated.
Reviewed-by: dlong, kvn
2013-05-07 18:51:31 -04:00
Nils Eliasson
92ef5fe748
8006952: Slow VM due to excessive code cache freelist iteration
...
Remove continous free block requirement
Reviewed-by: kvn
2013-04-11 13:57:44 +02:00
Morris Meyer
981e9c35c9
8009026: [parfait] Null pointer deference in hotspot/src/share/vm/code/nmethod.cpp
...
Add guarantee() to nmethod constructor and checks to ensure CodeCache has space before allocation
Reviewed-by: kvn
2013-03-23 06:22:07 -07:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Harold Seigel
7fee66f152
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
...
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
2012-11-06 15:09:37 -05: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
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07: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
Christian Thalinger
b0d292378a
7196262: JSR 292: java/lang/invoke/PrivateInvokeTest.java fails on solaris-sparc
...
Reviewed-by: kvn, jrose, bdelsart
2012-09-17 12:57:58 -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
5a41427b37
7141200: log some interesting information in ring buffers for crashes
...
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Tom Rodriguez
fa7c124af1
7083786: dead various dead chunks of code
...
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
Tom Rodriguez
15161b8cd1
7057587: JSR 292 - crash with jruby in test/test_respond_to.rb
...
Don't skip receiver when GC'ing compiled invokedynamic callsites
Reviewed-by: twisti, kvn, jrose
2011-06-22 14:45:37 -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
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -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
Christian Thalinger
51f5142db1
Merge
2011-03-18 01:44:15 -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
Vladimir Kozlov
fd6487f201
7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
...
Use largest_free_block() instead of unallocated_capacity().
Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Tom Rodriguez
dcfa5e385a
7024866: # assert(limit == NULL || limit <= nm->code_end()) failed: in bounds
...
Reviewed-by: kvn, iveresov
2011-03-04 20:01:48 -08: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
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Tom Rodriguez
423f587b01
4926272: methodOopDesc::method_from_bcp is unsafe
...
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
Christian Thalinger
84f5de835b
Merge
2011-01-07 03:41:07 -08:00
Christian Thalinger
135eaf7e21
6990933: assert(sender_cb) failed: sanity in frame::sender_for_interpreter_frame
...
Reviewed-by: never
2010-12-18 01:15:01 -08: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
Gary Benson
a10ec19a4d
6990549: Zero and Shark fixes after 6978355 and 6953144
...
Reviewed-by: twisti
2010-10-08 02:42:17 -07:00