Serguei Spitsyn
95cdf53e75
8034249: need more workarounds for suspend equivalent condition issue
...
Collect data at safepoint, do not rely on thread suspension
Reviewed-by: dcubed, dholmes
2014-02-18 06:19:49 -08:00
Staffan Larsen
43b711ea78
8034080: Remove the USDT1 dtrace code from Hotspot
...
Reviewed-by: dholmes, coleenp
2014-02-18 09:15:40 +01:00
Harold Seigel
b4be5da833
Merge
2014-02-15 14:41:04 -05:00
Calvin Cheung
297485c528
8034860: Fatal error due to incorrect thread state during nightly testing
...
Use the HAS_PENDING_EXCEPTION and CLEAR_PENDING_EXCEPTION macros
Reviewed-by: dholmes, coleenp, dcubed
2014-02-14 09:50:17 -08:00
Erik Helin
c5ef624e7c
Merge
2014-02-13 17:57:27 +01:00
Calvin Cheung
afe8f1c904
8028785: [parfait] warnings from b116 for hotspot.src.share.vm.prims: JNI exception pending
...
Added JNI exception pending check in several files under src/share/vm/prims directory
Reviewed-by: coleenp, minqi
2014-02-12 12:01:45 -08:00
Ioi Lam
d0baa9304f
Merge
2014-02-11 10:05:02 -08:00
Ioi Lam
7f138c5502
7182040: volano29 limited by os resource on Linux - need better diagnostic message
...
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"
Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Daniel D. Daugherty
cf5c3370a3
8028073: race condition in ObjectMonitor implementation causing deadlocks
...
Move redo of ParkEvent.unpark() after JVMTI_EVENT_MONITOR_WAITED event handler is called.
Reviewed-by: dholmes, sspitsyn, dice, acorn
2014-02-10 12:48:54 -08:00
Oleg Mazurov
50b13833fa
8025841: JVMTI: "vtable stub" dynamic code notification is misplaced
...
Generate correct "vtable stub" dynamic code notifications
Reviewed-by: sspitsyn, kvn, coleenp
2014-02-06 20:13:38 -08:00
Henry Jen
aae536aad7
8033289: clang: clean up unused function warning
...
Reviewed-by: coleenp, dholmes, mgerdin
2014-02-05 21:24:29 -08:00
Stefan Johansson
05e4dd3c74
8033426: Scale initial NewSize using NewRatio if not set on command line
...
Now using NewRatio to size initial NewSize if not specified on commandline.
Reviewed-by: jmasa, jwilhelm
2014-02-05 11:05:13 +01:00
Serguei Spitsyn
465cfd7c01
8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
...
It is better to calculate frame count for suspended threads at a safepoint
Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Staffan Larsen
731320a7fd
8033126: Can't call default methods from JNI
...
Reviewed-by: dholmes, acorn, kamg
2014-02-03 15:24:20 +01:00
Erik Helin
4b802a6d31
Merge
2014-01-30 14:01:45 +01:00
Harold Seigel
b7100718e8
Merge
2014-01-29 19:54:44 -05:00
Jesper Wilhelmsson
5301534dc3
8028391: Make the Min/MaxHeapFreeRatio flags manageable
...
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Coleen Phillimore
305d2f27f1
8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
...
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.
Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Alejandro Murillo
4c4881a31f
Merge
2014-01-23 10:35:38 -08:00
Gilles Duboscq
90a44b778d
8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
...
The fix just throws an InstantiationException if the Klass is NULL.
Reviewed-by: coleenp, twisti, jrose
2014-01-23 16:02:14 -05:00
Harold Seigel
9aea544943
Merge
2014-01-19 20:23:46 -05:00
Morris Meyer
92d751996e
Merge
2014-01-17 10:43:43 -08:00
Staffan Larsen
b35fb5f8c0
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Serguei Spitsyn
0aac4235b3
8030027: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Linux-amd64: SIGSEGV in JavaThread::last_java_vframe(RegisterMap*)+0xfa
...
Add a safe guard to VMOp_GetCurrentLocation against non-walkable stack of target thread exiting from Java execution
Reviewed-by: mgronlun, dholmes, sla, dcubed
2014-01-17 02:13:40 -08:00
Martin Doerr
0306737032
8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
...
Reviewed-by: dholmes, kvn
2014-01-16 14:25:51 +01:00
Roland Westrelin
bff5f5c875
8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails
...
Erroneously removed call to SystemDictionary::notice_modification() from jvmti with fix for 8029383
Reviewed-by: iveresov, twisti, kvn
2014-01-14 12:44:12 +01:00
Morris Meyer
a665235538
Merge
2014-01-10 12:54:08 -08:00
Christian Thalinger
dd042bf16e
8022263: use same Clang warnings on BSD as on Linux
...
Reviewed-by: kvn, iveresov
2014-01-07 14:26:12 -08:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Dmitry Samersoff
c684cce042
8028408: unused-value warning on forte.cpp when build on Mac
...
Cast argument to void in function type definition
Reviewed-by: sla, sspitsyn
2013-12-18 20:32:46 +04:00
Staffan Larsen
b91fa108bf
8029726: On OS X some dtrace probe names are mismatched with Solaris
...
8029727: On OS X dtrace probes Call<type>MethodA/Call<type>MethodV are not fired
8029728: On OS X dtrace probes SetStaticBooleanField are not fired
Reviewed-by: kamg, dsamersoff
2013-12-18 08:39:06 +01:00
Staffan Larsen
f72107ae20
8028737: Remove JVM_AccessVMIntFlag / JVM_AccessVMBooleanFlag / JVM_VMBreakPoint
...
Reviewed-by: dcubed, coleenp
2013-12-16 10:34:30 +01:00
Roland Westrelin
bbb97e5b39
8029383: assert(counter_changed) failed: failed dependencies, but counter didn't change
...
No call to SystemDictionary::notice_modification() when class is defined through Unsafe.defineAnonymousClass() can caused missed dependency change.
Reviewed-by: kvn, twisti
2013-12-13 09:25:44 +01:00
Vladimir Kozlov
3b4f167e54
Merge
2013-12-12 11:05:39 -08:00
Erik Helin
f0eaf32781
Merge
2014-02-10 14:37:53 +01:00
Erik Helin
96a77ee8e6
Merge
2014-02-10 13:31:22 +01:00
Stefan Karlsson
a26a6715b0
8033764: Remove the usage of StarTask from BufferingOopClosure
...
Reviewed-by: mgerdin, brutisso, tschatzl
2014-02-10 12:51:51 +01:00
Erik Helin
814dad45e0
8028254: gc/arguments/TestMinInitialErgonomics.java failed with unexpected initial heap size
...
Reviewed-by: brutisso, tschatzl, sjohanss
2014-02-05 10:09:54 +01:00
John R Rose
722570a7ee
8029507: Enhance JVM method processing
...
Update MemberName.clazz correctly in MemberName.resolve; also pass lookupClass to MethodHandles::resolve_MemberName
Reviewed-by: acorn, vlivanov
2013-12-05 00:36:42 -08:00
Serguei Spitsyn
e820946a1e
8028126: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Solaris-sparc64 fastdebug builds: only current thread can flush its registers
...
Fix a race between VMOp_GetCurrentLocation reaching a safepoint and arget thread exiting from Java execution
Reviewed-by: sla, dholmes, dsamersoff
2013-12-03 15:41:35 -08:00
Vladimir Kozlov
aabed3781b
Merge
2013-11-21 12:30:35 -08:00
Joseph Provino
afe298eb7c
8028396: Minimal VM: undefined symbol: _ZN23JvmtiCurrentBreakpoints11metadata_doEPFvP8MetadataE
...
Minimal VM doesn't run
Reviewed-by: coleenp, dholmes
2013-11-19 16:26:54 -05:00
Erik Helin
66e2f70db7
Merge
2013-11-14 21:05:16 +01:00
Mikael Gerdin
90ed74aa8c
Merge
2013-11-11 16:20:48 +01:00
Alkesey Timofeev
722d25b2dd
8027237: New tests on ReservedSpace/VirtualSpace classes
...
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class
Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Alejandro Murillo
2c2fcae7df
Merge
2013-11-02 13:02:59 -07:00
Jesper Wilhelmsson
0fa3a71c8a
8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
...
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector
Major cleanup of the collectorpolicy classes
Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
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