5844 Commits

Author SHA1 Message Date
Zhengyu Gu
e0ca30c97b 6730115: Fastdebug VM crashes with "ExceptionMark destructor expects no pending exceptions" error
Fixed incompatible uses of EXCEPTION_MARK and CHECK macros in AttachListener::init(), handle exception locally.

Reviewed-by: minqi, coleenp
2013-12-31 08:58:08 -05:00
Joe Darcy
4d741fe483 8030656: Bad version check for parameter information in src/share/vm/classfile/javaClasses.cpp
Switched version check to check for greater than or equal to 8, not equal to 8

Reviewed-by: dholmes, kamg
2013-12-26 11:16:44 -05: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
Harold Seigel
ac9faf4243 8023735: [TESTBUG] runtime/XCheckJniJsig/XCheckJSig.java fails on MacOS X
Look for libjsig in correct locations and do not fail if it's not found

Reviewed-by: zgu, ccheung
2013-12-23 18:44:59 -05:00
Igor Ignatyev
06de19d647 Merge 2013-12-23 18:39:47 +00:00
Igor Ignatyev
cfefbcebf5 8029070: memory leak in jmm_SetVMGlobal
Reviewed-by: kvn, dholmes
2013-12-23 20:56:18 +04:00
George Triantafillou
dbde42105e 8021774: [TESTBUG] Tests failed because of a warning in its output
Remove check for warning

Reviewed-by: zgu, mseledtsov
2013-12-23 10:13:42 -05:00
Coleen Phillimore
208a1a025e 8030633: nsk/jvmti/RedefineClasses/StressRedefine failed invalid method ordering length on Solaris
A method with no declared methods was getting an AME overpass method with the latest change.  The method_ordering array was not updated for the new methods.

Reviewed-by: dcubed, acorn, dsamersoff, lfoltan, hseigel
2013-12-19 20:28:45 +00:00
Dmitry Samersoff
ed5c744803 6969276: minor memory leak detected by cppcheck in agent/src/os/linux/symtab.c
Missed free call on error return

Reviewed-by: sla, sspitsyn, igerasim
2013-12-18 23:09:57 +04: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
Harold Seigel
4856bd53aa 8027804: JCK resolveMethod test fails expecting AbstractMethodError
Create AME overpass methods and fix method search logic

Reviewed-by: kamg, acorn, lfoltan, coleenp
2013-12-16 08:24:33 -05:00
Bengt Rutisson
fd42fb4446 8027440: DefNew does not log heap change information when a promotion failure occurs
Reviewed-by: tamao, jmasa
2013-12-16 13:43: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
Zhengyu Gu
3a3cc4bad3 8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags
Fixed wrong print string format

Reviewed-by: sla, ccheung
2013-12-16 10:57:08 -08:00
Francis Andre
ea73be64ac 8029798: Build warnings in windows/makefiles/sa.make
Reviewed-by: sla
2013-12-16 11:17:33 +01:00
Bengt Rutisson
810bc0c558 8029524: Remove unsused method CollectedHeap::unsafe_max_alloc()
Reviewed-by: pliden, jmasa
2013-12-16 08:54:14 +01:00
Iris Clark
fb95cb3939 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:35:12 -08: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
Iris Clark
e4037a3971 Added tag jdk9-b00 for changeset 9088fb4951d4 2013-12-12 15:27:05 -08:00
David Chase
da079783f8 8029351: assert(bt != T_OBJECT) failed: Guard is incorrect in VM:defmeth
Replace test condition with reference to the proper predicate, encode folk wisdom into an assert

Reviewed-by: twisti, coleenp
2013-12-12 15:11:35 -05:00
Igor Ignatyev
55ff73a553 8026941: [TESTBUG] java.lang.ClassNotFoundException: java.lang.invoke.InvokeGeneric
Reviewed-by: kvn, vlivanov
2013-12-13 00:34:09 +04:00
Igor Veresov
99d963b5ee 8029668: Kithcensink crashed with guarantee(Assembler::is_simm13(disp)) failed: Do not match large constant offsets
Bailout if we try to reference a stack location that we can't encode

Reviewed-by: kvn, twisti
2013-12-12 11:25:32 -08:00
David Katleman
fe882ee12e Added tag jdk8-b120 for changeset 1d69b0d20e2c 2013-12-12 05:20:55 -08:00
Joseph Provino
b38f891924 8029566: PPC: OrderAccess::load_acquire(julong) is broken
JFR needs this fix to run on PPC

Reviewed-by: sla, mikael
2013-12-11 13:51:28 -05:00
Igor Ignatyev
6780ffeaa6 8029153: [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
Reviewed-by: twisti
2013-12-11 01:09:04 +04:00
Igor Ignatyev
5e69eb1595 8028122: [TESTBUG] compiler/regalloc/C1ObjectSpillInLogicOp.java
Reviewed-by: kvn, twisti
2013-12-11 01:04:34 +04:00
Christian Thalinger
e71c8df213 8029366: ShouldNotReachHere error when creating an array with component type of void
Reviewed-by: kvn
2013-12-06 16:43:56 -08:00
Vladimir Kozlov
f3fc753f26 8028107: Kitchensink crashed with EAV
Check the state of caller and callee nmethods and skip call site patching if any of them is not alive

Reviewed-by: jrose, twisti
2013-12-06 12:11:51 -08:00
Stefan Karlsson
0454a45a80 8029106: JVM crashes in Metachunk::Metachunk during parallel class redefinition (PrivateMLetController, anonymous-simple_copy_1)
Fixed overflow bug in VirtualSpaceNode::is_available

Reviewed-by: mgerdin, brutisso, coleenp, jmasa
2013-12-09 10:03:39 +01:00
Stefan Johansson
5f4d0e9c25 8028993: Full collections with ParallelScavenge slower in JDK 8 compared to 7u40
Reducing the number of calls to follow_class_loader to speed up the marking phase. Also removed some unnecessary calls to adjust_klass.

Reviewed-by: stefank, jmasa, mgerdin
2013-12-10 10:31:00 +01:00
Erik Helin
5d5b1157d1 8029326: G1 does not check if threads gets created
Reviewed-by: brutisso, jmasa, jwilhelm
2013-12-09 08:20:45 +01:00
Lois Foltan
5ece6fc7fd 8028741: Interface Method Resolution should skip static and non-public methods in j.l.Object
Implementation of JDK 8 JVMS 5.4.3.4 specification change to skip static and non-public methods of java.lang.Object for interface method resolution.

Reviewed-by: acorn, coleenp
2013-12-10 16:18:26 -05:00
Alejandro Murillo
39b4ed8824 Added tag hs25-b62 for changeset dfe9ffbee182 2013-12-06 09:29:15 -08:00
Alejandro Murillo
7f58c74120 Merge 2013-12-06 09:29:14 -08:00
Lois Foltan
2078c58bbf 8029415: java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61
Check first that a class is not a dynamically-generated bytecode associated with 1.4 reflection implementation, to emitting an ICCE of an invokespecial IMR of a method in an indirect superinterface.

Reviewed-by: acorn, hseigel
2013-12-06 11:33:10 -05:00
Albert Noll
dacc8e143f Merge 2013-12-05 12:49:55 -08:00
Erik Helin
865adecf33 Merge 2013-12-05 17:49:55 +01:00
Markus Grönlund
cd7d5ca125 8028412: AsyncGetCallTrace() is broken on x86 in JDK 7u40
Reviewed-by: kvn, sspitsyn
2013-12-05 12:35:38 +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
David Katleman
f8fb03ffcf Added tag jdk8-b119 for changeset e61cf7994c51 2013-12-04 23:11:03 -08:00
Staffan Larsen
62e1b6eddd 8029395: SA: jstack throws WrongTypeException
SA missed some TLABs

Reviewed-by: dsamersoff, mgerdin, brutisso
2013-12-04 14:43:50 +01:00
Harold Seigel
9169a8f064 8027458: VM anonymous classes: wrong context for protected access checks
Use the anonymous class's host class for protected access checks

Reviewed-by: acorn, coleenp, lfoltan
2013-12-04 08:10:31 -05:00
Anton Ivanov
b6d0b72ec0 8028587: New tests development for intrisics for basic operators - add, neg, inc, dec, sub, mul
Reviewed-by: twisti
2013-12-31 19:26:57 +04:00
Igor Veresov
cfefd04320 8027388: JVM crashes with SIGSEGV (0xb) at pc=0x00000001077cbbf6
Make object non-scalarizable if it has field with multiple bases one of which is null

Reviewed-by: kvn, twisti
2013-12-26 21:00:23 -08:00
Albert Noll
2eb5e0e89d 8028052: compiler/startup/SmallCodeCacheStartup.java fails there is no 'no space to run compiler' in the output
Weaken test so that configurations that have no C1 compiler pass

Reviewed-by: iveresov
2013-12-20 10:31:14 +01:00
Albert Noll
066ad17893 8030783: Provide regression test for 8026478: -XX:+VerifyAdapterSharing is broken
Added simple regression test

Reviewed-by: iveresov
2013-12-20 10:29:44 +01:00
Tobias Hartmann
63f7ba0045 8025277: Add -XX: flag to print code cache sweeper statistics
New diagnostic flag prints statistics about the code cache sweeper

Reviewed-by: kvn
2013-12-19 14:08:02 +01:00
Albert Noll
0679f774af 8026478: -XX:+VerifyAdapterSharing is broken
Fix by considering all checks in StubRoutines

Reviewed-by: kvn, twisti
2013-12-19 06:09:16 +01:00
Albert Noll
2656f6d603 8029091: Bug in calculation of code cache sweeping interval
Use signed data type so that no underflow can happen

Reviewed-by: kvn, roland
2013-12-17 08:31:06 +01:00