Yumin Qi
0cd7bc2cde
7164841: Improvements to the GC log file rotation
...
Made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name.
Reviewed-by: ccheung, tschatzl, tamao, zgu
2013-09-16 15:35:04 -07:00
Goetz Lindenmaier
0732a739b3
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
...
Implement profiling for c2 jit compilation. Also enable new cppInterpreter features.
Reviewed-by: kvn
2013-09-15 15:28:58 +02:00
David Chase
222c735458
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
...
Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Serguei Spitsyn
2823ae6943
8024346: ~CautiouslyPreserveExceptionMark - assert(!_thread->has_pending_exception()) failed: unexpected exception generated
...
Pending exceptions must be handled properly after a call to the JVMTI merge_cp_and_rewrite
Reviewed-by: coleenp, dholmes
2013-09-13 12:48:50 -07:00
Serguei Spitsyn
47e8234251
8024345: 'assert(_value != NULL) failed: resolving NULL _value' from VM_RedefineClasses::set_new_constant_pool
...
The OOME's in the JVMTI merge_cp_and_rewrite and set_new_constant_pool must be handled correctly
Reviewed-by: coleenp, dholmes
2013-09-13 12:47:44 -07:00
Serguei Spitsyn
5c11ecebfb
8017230: Internal Error (jvmtiRedefineClasses.cpp:1662): guarantee(false) failed: insert_space_at() failed
...
Handle pending exceptions instead of firing a guarantee()
Reviewed-by: coleenp, dholmes
2013-09-13 12:46:40 -07:00
Stefan Karlsson
8a515de48c
8024638: Count and expose the amount of committed memory in the metaspaces
...
Reviewed-by: brutisso, ehelin
2013-09-12 10:15:54 +02:00
Bill Pittore
091edb47c5
8024007: Misc. cleanup of static agent code
...
Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn
2013-09-11 20:03:34 -04:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
David Holmes
e5e78099db
Merge
2013-08-29 00:22:13 -04:00
Stefan Karlsson
15464d7992
Merge
2013-08-26 07:01:23 -07:00
David Simms
618cb11a73
8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
...
Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.
Reviewed-by: dholmes, coleenp
2013-08-26 09:33:01 +02:00
Chris Plummer
a8f6ab1f52
8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported
...
Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported.
Reviewed-by: dholmes, coleenp
2013-08-23 12:36:32 -07:00
Bill Pittore
993de8ba28
8014135: The JVMTI specification does not conform to recent changes in JNI specification
...
Added support for statically linked agents
Reviewed-by: sspitsyn, bobv, coleenp
2013-08-23 20:33:02 -04:00
Daniel D. Daugherty
3b29cc06ea
Merge
2013-08-23 10:39:15 -07:00
Jiangli Zhou
5c6c0a8d1d
8023547: com/sun/jdi/RedefineMulti.sh fails with IllegalArgumentException after JDK-8021948
...
Need to check if the constant pool mapping returns 0.
Reviewed-by: coleenp, sspitsyn
2013-08-22 19:27:42 -04:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Rickard Bäckman
4cb52fc49d
Merge
2013-08-22 18:37:14 +02:00
Jiangli Zhou
553b498f51
8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
...
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.
Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Stefan Karlsson
7ade7987a0
8007074: SIGSEGV at ParMarkBitMap::verify_clear()
...
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +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
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
Vladimir Kozlov
f4c4fd7903
Merge
2013-08-01 17:25:10 -07:00
Vladimir Kozlov
ed85bb1853
Merge
2013-07-19 13:32:53 -07:00
David Simms
71ca890b66
8020697: jniCheck.cpp:check_is_obj_array asserts on TypeArrayKlass::cast(aOop->klass())
...
Reviewed-by: dcubed, fparain, dholmes
2013-07-18 06:47:15 -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
Vladimir Kozlov
493c485dc3
Merge
2013-07-11 12:56:29 -07:00
Eric Mccorkle
65405fd613
8014399: Remove JVM_SetProtectionDomain from hotspot
...
JVM_SetProtectionDomain has been deprecated since 1.5 and is being removed
Reviewed-by: coleenp, hseigel
2013-07-08 19:36:22 -04:00
Goetz Lindenmaier
b57506ea6c
8019973: PPC64 (part 11): Fix IA64 preprocessor conditionals on AIX
...
On AIX 7.1 systemcfg.h defines IA64 unconditionally, so test for !AIX where IA64 is used.
Reviewed-by: dholmes, kvn
2013-07-05 22:17:47 +02:00
Frederic Parain
7f314c6d87
Merge
2013-07-05 08:09:40 -07:00
Daniel D. Daugherty
765f5cd4e7
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
...
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Roland Westrelin
6864f9f8a8
Merge
2013-07-04 01:42:34 -07:00
Sylvestre Ledru
eeba729b55
8019833: Wrong JNI error code for preexisting JVM
...
Return the appropriate JNI error message (instead of the generic one) when the JVM is already started
Reviewed-by: coleenp, hseigel
2013-07-03 13:45:39 -04:00
Christian Thalinger
90c790728d
8017571: JSR292: JVM crashing on assert "cast to instanceKlass" while producing MethodHandle for array methods with MethodHandle.findVirtual
...
Reviewed-by: kvn
2013-07-02 20:27:00 -07:00
Alejandro Murillo
2289eb801f
Merge
2013-06-25 12:46:21 -07:00
Vladimir Kozlov
175419c053
Merge
2013-06-20 16:08:11 -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
Vladimir Kozlov
55f6f35697
Merge
2013-06-14 16:33:34 -07:00
David Chase
d6402d4452
8010124: JVM_GetClassContext: use GrowableArray instead of KlassLink
...
Replace linked data structure with array (performance)
Co-authored-by: Christian Thalinger <christian.thalinger@oracle.com>
Reviewed-by: kvn
2013-06-13 15:39:47 -04:00
Rickard Bäckman
9a67229e2f
8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
...
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
David Simms
1859ec2556
6671508: JNI GetPrimitiveArrayCritical should not be callable on object arrays
...
Checked JNI now reports error for Get/ReleasePrimitiveArrayCritical on object arrays
Reviewed-by: dholmes, acorn
2013-07-16 07:33:29 +02:00
Lois Foltan
17ebe26fa0
7007040: Check of capacity paramenters in JNI_PushLocalFrame is wrong
...
Changed AND to OR
Reviewed-by: coleenp, hseigel
2013-06-30 09:59:08 -04:00
Serguei Spitsyn
f0d506b4b5
6493116: JVMTI Doc: GetOwnedMonitorStackDepthInfo has a typo in monitor_info_ptr parameter description
...
A typo in the parameter spelling, a bound update missed when the parameter was renamed
Reviewed-by: sla, minqi
2013-06-14 15:17:10 -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
Daniel D. Daugherty
72a51a0c44
8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
...
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.
Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07: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