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
Albert Noll
aa61dce719
8014246: remove assert to catch access to object headers in index_oop_from_field_offset_long
...
Reviewed-by: twisti, jrose
2013-06-06 09:29:38 -07:00
Serguei Spitsyn
6d485348e1
8014052: JSR292: assert(end_offset == next_offset) failed: matched ending
...
A call to the finalize_operands_merge() must be unconditional
Reviewed-by: kvn, twisti
2013-06-03 14:28:37 -07:00
Chris Hegarty
a8432ef7c5
Merge
2013-05-31 10:27:12 +01:00
Jiangli Zhou
69a86594a2
Merge
2013-05-30 13:19:06 -04:00
Joseph Provino
b0dcc34e06
8013461: There is a symbol AsyncGetCallTrace in libjvm.symbols that does not exist in minimal/libjvm.a when DEBUG_LEVEL == release
...
AsyncGetCallTrace is needed in libjvm.symbols so that programs which reference it can build correctly.
Reviewed-by: dholmes, bobv
2013-05-28 11:17:16 -04:00
Daniel D. Daugherty
85761dd2b8
Merge
2013-05-24 10:21:12 -07:00
Jesper Wilhelmsson
f698761da5
Merge
2013-05-24 09:29:57 +02: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
Mikael Vidstedt
de93893f4e
8013726: runtime/memory/ReserveMemory.java fails due to 'assert(bytes % os::vm_allocation_granularity() == 0) failed: reserve block size'
...
Fix regression test to work on all platforms
Reviewed-by: ctornqvi, dholmes
2013-05-21 09:43:23 -07:00
Thomas Schatzl
b33547e347
8014405: G1: PerRegionTable::fl_mem_size() calculates size of the free list using wrong element sizes
...
Instead of using a simple sizeof(), ask the PerRegionTable class about its size when iterating over the free list.
Reviewed-by: jwilhelm, brutisso
2013-05-21 11:30:14 +02:00
Daniel D. Daugherty
9a6dfe1c55
Merge
2013-05-17 11:36:43 -07: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
Rickard Bäckman
cd5cf59bae
4965252: JvmtiExport::post_raw_field_modification jni ref handling is odd
...
Reviewed-by: coleenp, sspitsyn
2013-05-15 11:30:54 +02:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00