3008 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Mikael Gerdin
0393fa9b49 Merge 2013-04-11 16:35:34 +02:00
Krystal Mo
fe4b74edc7 8011952: Missing ResourceMarks in TraceMethodHandles
Add missing ResourceMark under TraceMethodHandles in LinkResolver

Reviewed-by: dholmes
2013-04-11 07:12:09 -07:00
Nils Eliasson
92ef5fe748 8006952: Slow VM due to excessive code cache freelist iteration
Remove continous free block requirement

Reviewed-by: kvn
2013-04-11 13:57:44 +02:00
Igor Ignatyev
33e3f6b59b 8011971: WB API doesn't accept j.l.reflect.Constructor
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
Nils Eliasson
23e34191a6 Merge 2013-04-16 10:37:16 -04:00
Niclas Adlertz
09fdc18edc 8011621: live_ranges_in_separate_class.patch
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
Roland Westrelin
9f96eb3ed5 8011648: C1: optimized build is broken after 7153771
Missing #ifdef ASSERT

Reviewed-by: kvn
2013-04-15 17:17:11 +02:00
David Chase
25c31f3742 6443505: Ideal() function for CmpLTMask
Repair wrong code generation, added new matching rule

Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
David Chase
55c4ce1ca1 7104565: trim jprt build targets
Remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources

Reviewed-by: dholmes, kvn, coleenp
2013-04-12 15:53:30 -07:00
Christian Thalinger
01e43be718 8011933: add number of classes, methods and time spent to CompileTheWorld
Reviewed-by: jrose, kvn
2013-04-12 12:22:59 -07:00
Zhengyu Gu
37fe1421a8 8010151: nsk/regression/b6653214 fails "assert(snapshot != NULL) failed: Worker should not be started"
Fixed a racing condition when shutting down NMT while worker thread is being started, also fixed a few mis-declared volatile pointers.

Reviewed-by: dholmes, dlong
2013-04-10 08:55:50 -04:00
Stefan Karlsson
e96efdaa1a 8011872: Include Bit Map addresses in the hs_err files
Reviewed-by: brutisso, jmasa
2013-04-10 14:26:49 +02:00
Mikael Gerdin
0edccc9e61 8010196: NPG: Internal Error: Metaspace allocation lock -- possible deadlock
Refactor the CLD dependency list into a separate class. Use an ObjectLocker to synchronize additions to the CLD dependency list.

Reviewed-by: stefank, coleenp
2013-04-10 13:27:35 +02:00
Roland Westrelin
c99c99aa36 8011706: specjvm2008 test xml.transform gets array bound exception with c1
Loop invariant code motion may move load before store to the same field

Reviewed-by: kvn
2013-04-10 09:52:49 +02:00
Jiangli Zhou
56370657b9 8010862: The Method counter fields used for profiling can be allocated lazily
Allocate the method's profiling related metadata until they are needed.

Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Igor Ignatyev
ca90185607 8007288: Additional WB API for compiler's testing
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Bharadwaj Yadavalli
be10521e31 8011671: JCK tests on static interface methods fail under b84: Illegal type at constant pool entry 5
Restore incorrect removal of support for static interface method verification in Java 8

Reviewed-by: kvn, coleenp
2013-04-09 08:52:32 -07:00