740 Commits

Author SHA1 Message Date
Jon Masamitsu
4fe3c66318 Merge 2013-08-20 10:02:38 -07:00
Stefan Karlsson
8fc3bf8715 8023227: Enhance layout_helper_log2_element_size assert
Reviewed-by: mgerdin, jmasa
2013-08-19 13:44:13 +02:00
Coleen Phillimore
a25f924de6 8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore

Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00
Igor Ignatyev
caa3d02130 8022832: Add WB APIs for OSR compilation
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Eric McCorkle
dd70c34130 8019632: Method parameters are not copied in clone_with_new_data
Add code to copy method parameters data in clone_with_new_data

Reviewed-by: coleenp, sspitsyn
2013-07-22 17:57:42 -04:00
Jiangli Zhou
3dfcb4125e 8020309: Eliminate InstanceKlass::_cached_class_file_len
Use JvmtiCachedClassFileData.

Reviewed-by: iklam, sspitsyn, dcubed
2013-07-17 18:06:29 -04:00
David Simms
2d5af88356 8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
Reviewed-by: dholmes, rbackman
2013-07-15 11:35:10 +02:00
Jiangli Zhou
b454ece6d7 7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.

Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Alejandro Murillo
c2c1793452 Merge 2013-06-28 02:25:07 -07:00
Coleen Phillimore
39a1c1d6c2 8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Ioi Lam
196c8abc3d 8009575: Reduce Symbol::_refcount from 4 bytes to 2 bytes
Added Atomic::inc(short*) to support this change.

Reviewed-by: coleenp, dcubed, dholmes, minqi
2013-06-23 22:08:28 -07:00
Chris Hegarty
748456a6d9 Merge 2013-06-19 11:02:10 +01:00
Chris Hegarty
ae4642e749 Merge 2013-06-17 11:17:49 +01:00
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