Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Vladimir Kozlov
e62cfbfd5f
Merge
2013-06-06 11:02:25 -07:00
Vladimir Kozlov
56e8f83652
Merge
2013-06-03 14:02:05 -07:00
Ioi Lam
9dc36eb923
8014912: Restore PrintSharedSpaces functionality after NPG
...
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
2013-05-28 16:36:19 -07:00
Calvin Cheung
7cb20773ad
8015265: revise the fix for 8007037
...
Reviewed-by: sspitsyn, dholmes, dcubed
2013-05-24 17:19:56 -07:00
Serguei Spitsyn
fb0022c7b1
8013945: CMS fatal error: must own lock MemberNameTable_lock
...
The "delete mnt" needs to grab MemberNameTable_lock if !SafepointSynchronize::is_at_safepoint()
Reviewed-by: sla, mgerdin, dholmes, jmasa
2013-05-24 17:36:12 -07:00
Serguei Spitsyn
b2e43ed612
8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes
...
The fix of perf regression is to use method_idnum() for direct indexing into NMT
Reviewed-by: twisti, kvn, coleenp, dholmes
2013-05-23 23:04:33 -07:00
Chris Hegarty
988a08a49f
Merge
2013-05-23 12:44:18 +01:00
Coleen Phillimore
6ed8c8fcea
8003421: NPG: Move oops out of InstanceKlass into mirror
...
Inject protection_domain, signers, init_lock into java_lang_Class
Reviewed-by: stefank, dholmes, sla
2013-05-22 14:37:49 -04:00
Christian Thalinger
c6c7f3439e
Merge
2013-05-16 13:47:55 -07:00
Chris Hegarty
99f427d2c5
Merge
2013-05-16 11:44:33 +01:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Yumin Qi
9a1cd52a0f
Merge
2013-05-13 18:08:13 +00:00
Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Chris Hegarty
b22f700cdc
Merge
2013-05-08 15:25:08 +01:00
Jiangli Zhou
7f4ae06bdb
Merge
2013-05-06 20:11:18 -07:00
Jiangli Zhou
ba80b3e045
8013067: Zero builds are broken after 8010862
...
Fixed broken Zero build.
Reviewed-by: twisti, coleenp, kvn
2013-05-06 19:57:35 -04:00
Christian Thalinger
149097fbb7
7196277: JSR 292: Two jck/runtime tests crash on java.lang.invoke.MethodHandle.invokeExact
...
Reviewed-by: jrose, kvn
2013-05-06 13:53:13 -07:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07:00
Chris Hegarty
7040795490
Merge
2013-05-01 14:11:01 +01:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Harold Seigel
2a692f80bf
8011773: Some tests on Interned String crashed JVM with OOM
...
Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes
2013-04-29 16:13:57 -04:00
Nils Eliasson
dedfcd5aa4
8012547: Code cache flushing can get stuck reclaming of memory
...
Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti
2013-04-29 13:20:19 +02:00
Ioi Lam
4e19360f89
8008962: NPG: Memory regression: One extra Monitor per ConstantPool
...
Re-use InstanceKlass::_init_lock locking ConstantPool as well.
Reviewed-by: dholmes, coleenp, acorn
2013-04-25 12:55:49 -07:00
Serguei Spitsyn
333cf9a756
8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands
...
References from operands to CP entries and back must be correct after CP merge
Reviewed-by: coleenp, twisti
2013-04-25 03:58:53 -07:00
Coleen Phillimore
cd7d504d54
8011803: release_C_heap_structures is never called for anonymous classes
...
Call this function from the ClassLoaderData destructor instead of the system dictionary walk.
Reviewed-by: stefank, mgerdin
2013-04-24 16:19:35 -04:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02:00
Serguei Spitsyn
87f3086e13
8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition
...
Lazily create and maintain the MemberNameTable to be able to update MemberName's
Reviewed-by: coleenp, jrose, dholmes
2013-04-20 04:07:08 -07:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Ioi Lam
ba2c11a93a
8011048: Possible reading from unmapped memory in UTF8::as_quoted_ascii()
...
Pass utf_length parameter to UTF8::as_quoted_ascii()
Reviewed-by: dcubed, minqi
2013-04-01 14:05:41 -07:00
Harold Seigel
e1383d4931
8010943: guarantee(length == 0) failed: invalid method ordering length
...
Add DumpSharedSpaces to IF condition to handle verify during -Xshare:dump.
Reviewed-by: coleenp, zgu
2013-04-04 08:47:39 -04:00
Karen Kinnear
8e1f6dce02
Merge
2013-03-27 16:31:00 -07:00
Karen Kinnear
b79e2c6803
8009731: Confusing error message for loader constraint violation
...
Fix text, overwritten type and holder for resolved method
Reviewed-by: coleenp, dcubed, minqi, dholmes
2013-03-27 14:10:59 -04:00
Coleen Phillimore
878c7e4cd0
8009531: Crash when redefining class with annotated method
...
Neglected to copy the annotations in clone_with_new_data when they were moved to ConstMethod.
Reviewed-by: acorn, sspitsyn, dcubed
2013-03-27 08:19:50 -04:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Morris Meyer
e4b1cf5f02
Merge
2013-03-24 12:43:13 -07:00
Roland Westrelin
15178005e6
Merge
2013-03-21 22:00:14 -07:00
Morris Meyer
8d607b2446
Merge
2013-03-21 21:48:56 -07:00
Morris Meyer
6c55facb77
8009593: [parfait] Null pointer deference in hotspot/src/share/vm/oops/constantPool.cpp
...
Added guarantee() to print_entry_on()
Reviewed-by: kvn
2013-03-21 10:13:56 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Morris Meyer
c6d91fa2d9
8009022: [parfait] Null pointer deference in hotspot/src/share/vm/oops/generateOopMap.cpp
...
Add guarantee() checks to merge_state_into_bb()
Reviewed-by: kvn
2013-03-19 11:49:36 -07:00
Niclas Adlertz
e6e67652d9
8010121: Remove definition of ShouldNotReachHere2(msg)
...
Reviewed-by: kvn, stefank, rbackman, twisti
2013-03-19 10:31:16 +01:00