3774 Commits

Author SHA1 Message Date
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
Jiangli Zhou
670aea401a 8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
Change jmpb() to jmp().

Reviewed-by: coleenp, rdurbin, dcubed
2013-04-24 18:20:04 -04: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
Jiangli Zhou
8c2c17a067 8012927: 'assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range' in interpreter initialization
Change br_null_short() to br_null().

Reviewed-by: coleenp, hseigel
2013-04-23 12:32:17 -04: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
Bharadwaj Yadavalli
b32dc11760 Merge 2013-04-19 03:13:04 -04:00
Bharadwaj Yadavalli
824a51963f Merge 2013-04-18 16:04:33 -07:00
Jiangli Zhou
a86e7e948c Merge 2013-04-18 17:00:16 -04:00
Bharadwaj Yadavalli
8206331fb9 Merge 2013-04-18 14:03:37 -04:00
Bharadwaj Yadavalli
f63b13e379 8006267: InterfaceMethod_ref should allow invokestatic and invokespecial
Lambda changes; spec 0.6.2 - Allow static invokestatic and invokespecial calls to InterfaceMethod_ref

Reviewed-by: dholmes, acorn
2013-04-18 08:05:35 -07:00
Zhengyu Gu
cfaea9fe7d 8012464: NMT: classes should not derive from _ValueObj, use VALUE_OBJ_CLASS_SPEC instead
NMT value objects should use VALUE_OBJ_CLASS_SPEC instead of deriving from _ValueObj

Reviewed-by: coleenp, hseigel, dholmes
2013-04-18 10:04:44 -04:00
Mikael Gerdin
f01ea84a24 Merge 2013-04-18 14:38:31 +02:00
Bengt Rutisson
687b6a8d44 8012455: Missing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime
Also reviewed by: kirk@kodewerk.com, brandon@twitter.com

Reviewed-by: tschatzl, stefank, johnc
2013-04-18 06:50:35 +02:00
David Katleman
738e12d844 Merge 2013-04-17 12:38:58 -07:00
Martin Doerr
d61a4656e4 8012335: G1: Fix bug with compressed oops in template interpreter on x86 and sparc
In do_oop_store the uncompressed value of the oop being stored needs to be preserved and passed to g1_write_barrier_post. This is necessary for the heap region cross check to work correctly.

Reviewed-by: coleenp, johnc
2013-04-17 10:57:02 -07:00
Harold Seigel
54b7ae1ff9 8009928: PSR:PERF Increase default string table size
Increase default string table size to 60013 for 64-bit platforms.

Reviewed-by: coleenp, dholmes
2013-04-17 08:20:02 -04:00
Ron Durbin
2b3d514995 Merge 2013-04-16 08:59:29 -07:00
Roland Westrelin
bad6728ea4 8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
Instruct xaddL_no_res shouldn't allow 64 bit constants.

Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Jiangli Zhou
2f703b2613 Merge 2013-04-15 21:25:23 -04:00
David Katleman
fd2735329e Merge 2013-04-15 14:19:58 -07:00
David Katleman
6e2f758312 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -07:00
Jiangli Zhou
9ce964ad38 8012052: java/lang/invoke/6987555/Test6987555.java crashes with assert(mcs != NULL) failed: MethodCounters cannot be NULL
Skip counter decay if the MethodCounters is NULL in NonTieredCompPolicy::delay_compilation().

Reviewed-by: kvn, dholmes
2013-04-11 23:06:33 -04:00
Bharadwaj Yadavalli
c660647bfa Merge 2013-04-11 17:16:39 -07:00
Vladimir Ivanov
9e673d1cc1 Merge 2013-04-11 11:42:41 -07:00
Vladimir Ivanov
50821686b5 8011972: Field can be erroneously marked as contended when @Contended annotation isn't present
Reviewed-by: kvn, kmo, shade
2013-04-11 09:08:15 -07:00