Mikael Gerdin
40531b2009
8013129: Possible deadlock with Metaspace locks due to mixed usage of safepoint aware and non-safepoint aware locking
...
Change Metaspace::deallocate to take lock with _no_safepoint_check_flag
Reviewed-by: coleenp, jmasa, dholmes
2013-04-29 13:07:27 +02:00
Jiangli Zhou
a4ca5b8a49
Merge
2013-04-29 01:58:43 -07:00
Mikael Gerdin
fa84ba4ba9
Merge
2013-04-29 09:31:59 +02:00
Carlos Lucasius
ab42e2c0ca
8010428: Special -agentpath checks needed with minimal VM to produce proper error message
...
Reviewed-by: dholmes, alanb, cjplummer, olagneau
2013-04-28 18:24:04 -04:00
Jiangli Zhou
ffaac42580
Merge
2013-04-26 14:41:10 -07:00
Jiangli Zhou
b769cd296f
Merge
2013-04-26 16:58:18 -04:00
Jiangli Zhou
955b42848e
8013036: vm/runtime/simpleThresholdPolicy.cpp: assert(mcs != NULL)
...
Change the assert to if check as MethodCounters could be NULL under TieredCompilation.
Reviewed-by: kvn, twisti
2013-04-26 16:21:03 -04:00
Bharadwaj Yadavalli
2c55e61e3a
Merge
2013-04-26 14:50:23 -04:00
Bharadwaj Yadavalli
32b042e285
Merge
2013-04-26 10:52:26 -07:00
Daniel D. Daugherty
6a4aa00cc1
Merge
2013-04-26 08:40:24 -07:00
Vladimir Ivanov
ddcc43f4b5
Merge
2013-04-26 08:33:39 -07:00
Igor Ignatyev
25dd2eda88
8012322: Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
...
Reviewed-by: kvn, vlivanov
2013-04-26 07:21:41 -07:00
Eric McCorkle
287d1c2caa
8007154: Remove support for u4 MethodParameter flags fields
...
Remove support for parsing class files with four-byte flags fields in MethodParameters attributes
Reviewed-by: jrose, coleenp
2013-04-26 07:34:02 -04:00
Stefan Karlsson
ad20a6bd76
8013160: NPG: Remove unnecessary mark stack draining after CodeCache::do_unloading
...
Reviewed-by: coleenp, mgerdin
2013-04-26 10:40:36 +02:00
Bengt Rutisson
a6a565abdf
8012915: ReservedSpace::align_reserved_region() broken on Windows
...
Remove unused constructors and helper methods for ReservedHeapSpace and ReservedSpace
Reviewed-by: mgerdin, jmasa, johnc, tschatzl
2013-04-26 09:53:22 +02:00
Bharadwaj Yadavalli
adf181d9c3
Merge
2013-04-25 13:10:03 -07: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
Igor Ignatyev
0a434e425b
8011675: adding compilation level to replay data
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Igor Ignatyev
5733943877
8012337: Change Whitebox implementation to make absence of method in Whitebox.class not fatal
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:04:36 -07:00
Vladimir Ivanov
f26c1a6c88
8012260: ciReplay: Include PID into the name of replay data file
...
Reviewed-by: kvn, twisti
2013-04-25 11:02:32 -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
Dean Long
9c966207ef
Merge
2013-04-24 21:11:02 -04:00
Goetz Lindenmaier
3f42e9e118
8003853: specify offset of IC load in java_to_interp stub
...
Refactored code to allow platform-specific differences
Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Coleen Phillimore
db8bc15dd2
Merge
2013-04-24 15:57:17 -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
Zhengyu Gu
3a817dc8b4
8011218: Kitchensink hanged, likely NMT is to blame
...
Made NMT query safepoint aware.
Reviewed-by: dholmes, coleenp
2013-04-24 14:55:04 -04:00
Stefan Karlsson
f0ae855b07
8013132: Add a flag to turn off the output of the verbose verification code
...
Reviewed-by: johnc, brutisso
2013-04-24 20:13:37 +02:00
Martin Doerr
19d99e3d92
8012715: G1: GraphKit accesses PtrQueue::_index as int but is size_t
...
In graphKit INT operations were generated to access PtrQueue::_index which has type size_t. This is 64 bit on 64-bit machines. No problems occur on little endian machines as long as the index fits into 32 bit, but on big endian machines the upper part is read, which is zero. This leads to unnecessary branches to the slow path in the runtime.
Reviewed-by: twisti, johnc
2013-04-24 14:48:43 -07:00
Mikael Gerdin
316993b3db
8013136: NPG: Parallel class loading tests fail after fix for JDK-8011802
...
Move initialization of dependencies to before allocation of CLD
Reviewed-by: stefank, coleenp
2013-04-24 19:55:02 +02:00
Harold Seigel
d567edd809
8012695: Assertion message displays %u and %s text instead of actual values
...
USe err_msg() to create a proper assertion message.
Reviewed-by: twisti, coleenp, iklam
2013-04-24 09:00:04 -04:00
Gilles Duboscq
34da1742ef
8012292: optimized build with GCC broken
...
Some #ifndef PRODUCT should be #ifdef ASSERT
Reviewed-by: kvn, twisti
2013-04-24 14:26:09 +02: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
Albert Noll
34f8be0bc9
8013496: Code cache management command line options work only in special order. Another order of arguments does not deliver the second parameter to the jvm
...
Moved check that ReservedCodeCacheSize >= InitialCodeCacheSize to Arguments::check_vm_args_consistency(). As a result, the ordering in which the two parameters are given to the VM is not relevant. Added a regression test.
Reviewed-by: kvn, twisti
2013-05-31 06:41:50 +02:00
Vladimir Kozlov
ff008d0615
8015441: runThese crashed with assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P ..) failed: sanity
...
Relax the assert to accept any raw ptr types.
Reviewed-by: roland
2013-05-31 13:54:47 -07:00
Roland Westrelin
6a17746b6c
8009981: nashorn tests fail with -XX:+VerifyStack
...
Nmethod::preserve_callee_argument_oops() must take appendix into account.
Reviewed-by: kvn, twisti
2013-05-31 14:40:26 +02:00
Christian Thalinger
337a9c1432
8015266: fix some -Wsign-compare warnings in adlc
...
Reviewed-by: kvn
2013-05-30 08:37:08 -07:00
Chris Hegarty
a438830cd8
Merge
2013-04-24 10:17:40 +01:00
Roland Westrelin
95ce391b51
8011771: runThese crashed with EAV
...
Array bound check elimination's in block motion doesn't always reset its data structures from one step to the other.
Reviewed-by: kvn, twisti
2013-04-24 09:42:08 +02:00
Albert Noll
0bfc34cfd5
8012157: removed unused code in SharedRuntime::handle_wrong_method
...
Reviewed-by: kvn, roland, rbackman
2013-04-23 18:06:54 +02:00
Bharadwaj Yadavalli
cadadd73c2
8012961: Do not restrict static interface methods to be private
...
Lambda changes; spec 0.6.2 - remove the restriction that was added as part of recent changes made to support upcoming changes to compilation of lambda methods.
Reviewed-by: dholmes, acorn
2013-04-23 08:12:14 -07:00
Albert Noll
ca3a625f1e
8010332: removed unused method: ciMethod::uses_monitors
...
Reviewed-by: twisti, roland
2013-04-23 13:48:02 +02:00
Sean Mullan
1fc6a72e9d
8011896: Add check for invalid offset for new AccessControlContext isAuthorized field
...
Reviewed-by: acorn
2013-04-22 08:33:12 -04:00
Daniel D. Daugherty
2cb874268e
Merge
2013-04-21 21:05:02 -07:00
Daniel D. Daugherty
138bab2963
8012907: anti-delta fix for 8010992
...
Anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin
2013-04-21 20:41:04 -07:00
Peter Allwin
a5c3cd8ee3
6729929: I18N - Taking Heap Dump failed if project path contains multibyte characters
...
Reviewed-by: dholmes, rbackman
2013-04-20 19:02:11 +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
Daniel D. Daugherty
46b3969016
Merge
2013-04-19 16:51:27 -07:00
Daniel D. Daugherty
dec02ae201
Merge
2013-04-19 13:48:54 -07:00
Yumin Qi
735ab2cd1c
8010992: Remove calls to global ::operator new[] and new
...
Disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking.
Reviewed-by: coleenp, dholmes, zgu
2013-04-19 11:08:52 -07:00
Alejandro Murillo
d60d7014ed
Merge
2013-04-19 09:58:05 -07:00