Coleen Phillimore
b1689ab022
8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodHandle
...
8026948: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint might not work with anonymous classes
Walk methods in breakpoints for marking on stack so they aren't deallocated by redefine classes. Use class_holder rather than class_loader to keep GC from reclaiming class owning the method.
Reviewed-by: sspitsyn, ehelin, sla
2013-11-01 10:32:36 -04:00
Calvin Cheung
bea255ee35
Merge
2013-10-25 22:06:43 -07:00
John Coomes
ca4a0c5c64
Merge
2013-10-25 08:38:42 -07:00
Igor Veresov
986d2145ba
Merge
2013-10-24 16:25:24 -07:00
Fredrik Arvidsson
508272e5f5
8024423: JVMTI: GetLoadedClasses doesn't enumerate anonymous classes
...
Rewrite of the getLoadedClasses() method implementation to include anonymous classes.
Reviewed-by: coleenp, sspitsyn
2013-10-24 10:02:02 +02:00
Serguei Spitsyn
3375e14588
8023004: JSR 292: java.lang.RuntimeException: Original target method was called
...
Reviewed-by: jrose
2013-10-23 20:15:24 +04:00
Ioi Lam
0e4eda601c
8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread
...
Revert changes in JDK-8008962
Reviewed-by: coleenp, sspitsyn
2013-10-22 14:29:02 -07:00
Erik Helin
27f1f8efe6
8025834: NPE in Parallel Scavenge with -XX:+CheckUnhandledOops
...
Reviewed-by: coleenp, mgerdin, sspitsyn
2013-10-21 14:20:47 +02:00
Stefan Karlsson
f149d47720
8026391: The Metachunk header wastes memory
...
Reviewed-by: coleenp, jmasa
2013-10-15 14:28:51 +02:00
Mikael Gerdin
444a15a09f
8015255: NPG: Don't waste fragment at the end of a VirtualSpaceNode before retiring it
...
Chunk up the last piece of committed memory in a VSN when getting a new one.
Reviewed-by: stefank, jmasa
2013-10-15 13:56:46 +02:00
Mandy Chung
f9f9dd164a
8026025: JVM_GetCallerClass allows Reflection.getCallerClass(int depth) to use
...
Reviewed-by: alanb, dholmes, twisti
2013-10-08 02:56:06 -04:00
Karen Kinnear
088ded71f9
8009130: Lambda: Fix access controls, loader constraints
...
New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Staffan Larsen
dcbbb4d37b
8025922: JNI access to Strings need to check if the value field is non-null
...
Reviewed-by: dholmes, dcubed
2013-10-05 15:18:57 +02:00
Calvin Cheung
48a315bb52
Merge
2013-10-04 21:00:43 -07:00
Coleen Phillimore
916c31fb47
Merge
2013-10-05 00:58:43 +02:00
Coleen Phillimore
b08778e139
8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
...
Redefined class in stack trace may not be found by method_idnum so handle null.
Reviewed-by: sla, dcubed, sspitsyn
2013-10-03 18:53:27 -04:00
Igor Veresov
51a9303c03
Merge
2013-10-03 16:38:21 +04:00
Mikael Vidstedt
a9927a8ee9
8024087: Remove dead JVM_{Get,Set}PrimitiveFieldValues functions
...
The two functions were used to support JDK 1.3 but are no longer in use
Reviewed-by: coleenp, ctornqvi, twisti, dsamersoff
2013-10-02 09:18:56 -07:00
Lois Foltan
67639e0b1a
8025570: Naked oop in test/serviceability/ParserTest
...
Fix for two naked objArrayOop(s) oops causing test failure
Reviewed-by: coleenp, ctornqvi
2013-10-01 14:23:07 -04:00
Zhengyu Gu
bfafab7b47
Merge
2013-09-27 10:08:56 -04:00
Niclas Adlertz
562ce20154
Merge
2013-09-27 12:43:51 -07:00
Christian Thalinger
cd7bfac363
8024545: make develop and notproduct flag values available in product builds
...
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07: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
Thomas Schatzl
4abf168208
Merge
2013-09-26 12:18:21 +02:00
Bengt Rutisson
dc5131c84d
8025228: assert(new_entry->reserved_words() == vs_word_size) fails in nightly
...
Reviewed-by: mgerdin, tschatzl, jmasa
2013-09-25 17:23:41 +02:00
Thomas Schatzl
ab5637182c
7163191: G1: introduce a "heap spanning table" abstraction
...
Add G1BiasedArray<T> that is an array where each element represents a fixed-sized subdivision of the heap. Use this abstraction to refactor the HeapRegionSeq class.
Reviewed-by: brutisso
2013-09-25 13:25:24 +02:00
Daniel D. Daugherty
156b06d897
Merge
2013-09-20 12:58:35 -07:00
Coleen Phillimore
ec5e07f810
8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
...
Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +02:00
Thomas Schatzl
0a1b832ae0
Merge
2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71
Merge
2013-09-19 09:26:08 +02:00
Bertrand Delsart
765632873a
Merge
2013-09-18 21:47:51 -07:00
Sergey Gabdurakhmanov
c5c705217b
8022836: JVM crashes in JVMTIENVBASE::GET_CURRENT_CONTENDED_MONITOR and GET_OWNED_MONITOR
...
Check that the _java_thread parameter is valid when it is possible that the JavaThread has exited after the initial checks were made in generated/jvmtifiles/jvmtiEnter.cpp: jvmti_GetCurrentContendedMonitor()
Reviewed-by: dcubed, dsamersoff
2013-09-18 16:48:49 +04:00
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