Commit Graph

6046 Commits

Author SHA1 Message Date
David Katleman
a3bd10b411 Added tag jdk9-b01 for changeset 7ef63208c60e 2014-01-21 18:16:59 -08:00
Gerard Ziemski
7591b3dd89 7015395: [TESTBUG] runtime/6626217/Test6626217.sh fails if compilation happens fast enough for timestamps to be equal
Insert 2 second sleep between copying of the src files and the compilation, to make sure the timestamps of *.class files are in the future of *.java files.

Reviewed-by: coleenp, fparain
2014-01-21 16:45:10 -06:00
Kevin Walls
dd35520229 Merge 2014-01-20 09:56:47 +00:00
Harold Seigel
9aea544943 Merge 2014-01-19 20:23:46 -05:00
Igor Veresov
2275de8d6b 8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
Fix the sizing of loadUS2L_immI16 and loadI2L_immI

Reviewed-by: kvn, azeemj
2014-01-17 18:09:08 -08:00
Morris Meyer
92d751996e Merge 2014-01-17 10:43:43 -08:00
Kevin Walls
ded754b7b2 8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters
Reviewed-by: sla, dsamersoff
2014-01-17 18:39:22 +00:00
Coleen Phillimore
d6a0a9d513 8032024: Test not added for bug 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field,change
Test didn't get hg added with original bug fix

Reviewed-by: jrose, hseigel, lfoltan
2014-01-17 11:21:29 -05:00
Harold Seigel
b1317dd946 Merge 2014-01-17 09:47:17 -05:00
Harold Seigel
fe0b2eae89 8031045: Access checks should precede additional per-instruction checks
Move access check above the check for non-static method

Reviewed-by: lfoltan, coleenp
2014-01-17 09:39:51 -05:00
Erik Helin
b70f686814 Merge 2014-01-17 09:40:04 +01:00
Christian Thalinger
d80bfaeb14 8022395: java.util.zip.ZipException: Not in GZIP format in JT_JDK/test/java/util/zip/GZIP tests
Reviewed-by: kvn, iveresov
2014-01-16 16:18:34 -08:00
Staffan Larsen
b35fb5f8c0 8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Serguei Spitsyn
0aac4235b3 8030027: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Linux-amd64: SIGSEGV in JavaThread::last_java_vframe(RegisterMap*)+0xfa
Add a safe guard to VMOp_GetCurrentLocation against non-walkable stack of target thread exiting from Java execution

Reviewed-by: mgronlun, dholmes, sla, dcubed
2014-01-17 02:13:40 -08:00
Calvin Cheung
7f34fe7eee 8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
Clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct

Reviewed-by: kvn, twisti, ctornqvi
2014-01-16 10:51:16 -08:00
Erik Helin
3cd01085cd 8031779: Assert in MetaspaceGC is always true
Reviewed-by: jmasa, jwilhelm
2014-01-16 17:22:35 +01:00
Martin Doerr
0306737032 8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
Reviewed-by: dholmes, kvn
2014-01-16 14:25:51 +01:00
Mikhailo Seledtsov
735887477f 8031151: Add basic CDS tests
Added new tests to cover missing CDS basic funtions

Reviewed-by: zgu, hseigel
2014-01-15 19:12:45 -05:00
Jon Masamitsu
9d4f3dfd4f 8031290: Adjust call to getisax() for additional words returned
Reviewed-by: kvn, iveresov, twisti
2014-01-15 07:20:04 -08:00
Stefan Johansson
a23ee6de8d 8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
Using pointer_delta to avoid overflowing pointer calculation.

Reviewed-by: jmasa, tschatzl
2014-01-20 10:55:54 +01:00
Bengt Rutisson
9b29efeb63 8030177: G1: Enable TLAB resizing
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +01:00
Jesper Wilhelmsson
81ba2e32c0 8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code

Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
David Simms
3529de993d 6945460: [TESTBUG] runtime/6929067/Test6929067.sh
Change link order for the test

Reviewed-by: coleenp, mgerdin
2014-01-15 11:46:19 +01:00
Albert Noll
1689dc7b05 Merge 2014-01-14 21:33:33 -08:00
Albert Noll
2f84f7d5fc 7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times
Avoid verifying dependencies multiple times by caching verified dependencies

Reviewed-by: kvn, twisti, roland
2014-01-15 06:16:55 +01:00
Shrinivas Joshi
d4c9d3889b 8002074: Support for AES on SPARC
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.

Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Dmitry Samersoff
3154f17907 Merge 2014-01-14 22:13:21 +00:00
Dmitry Samersoff
5289bda8e5 8030941: Darwin mapfile-vers doesnt work for other BSDs
Changed makefile to use generic mapfile for non Darwin BSDs

Reviewed-by: dholmes, sla
2014-01-15 02:02:47 +04:00
Harold Seigel
44a8bf65f3 8031059: invokestatic: ICCE trying to invoke static method when it clashes with an abstract method inherited from an interface
Do not create AME overpass if there is a matching static method

Reviewed-by: lfoltan, coleenp, kamg
2014-01-14 16:27:35 -05:00
George Triantafillou
e5a5aefdfb 8028398: [TESTBUG]: test/runtime/memory/ReadFromNoaccessArea.java failed with EXCEPTION_ACCESS_VIOLATION
Remove ignore label

Reviewed-by: sla, mseledtsov
2014-01-14 13:51:47 -05:00
Mikael Gerdin
4c7c3f0613 8032379: Remove the is_scavenging flag to process_strong_roots
Refactor the strong root processing to avoid using a boolean in addition to the ScanOption enum.

Reviewed-by: stefank, tschatzl, ehelin, jmasa
2014-01-14 16:40:33 +01:00
Stefan Johansson
8ce7c46ec7 8020277: Young GC could be extremely slow due to assertion in ObjectStartArray::object_starts_in_range
8009462: Young GC's (ParNewGC and SerialGC) have unexpected variances

Removed the assertion slowing down GC.

Reviewed-by: stefank, mgerdin
2014-01-20 12:56:18 +01:00
Erik Helin
ba54cfdf88 8031776: Remove the unnecessary enum GenRemSet::Name
Reviewed-by: stefank, tschatzl, jwilhelm
2014-01-20 17:15:55 +01:00
Thomas Schatzl
70fd1802a0 8027746: Remove do_gen_barrier template parameter in G1ParCopyClosure
Remove the above mentioned template parameter and related unused code. Also remove some classes that are never used.

Reviewed-by: stefank, mgerdin, jwilhelm
2014-01-20 11:47:53 +01:00
Thomas Schatzl
aeba3a8119 8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark
Do not try to unlink string table entries unconditionally during remark. This is without side effects as the preceding initial mark always uses the string table as strong roots. Needs to be fixed with class unloading during concurrent mark.

Reviewed-by: brutisso, mgerdin
2014-01-20 11:47:29 +01:00
Thomas Schatzl
4bb3631855 8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses

Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.

Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Roland Westrelin
b1c92a140b 8026253: New type profiling points: sparc support
C1 and interpreter support for new type profiling on sparc

Reviewed-by: kvn, twisti
2014-01-14 14:51:47 +01:00
Erik Helin
e962dec4b7 Merge 2014-01-14 14:26:43 +01:00
Roland Westrelin
bff5f5c875 8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails
Erroneously removed call to SystemDictionary::notice_modification() from jvmti with fix for 8029383

Reviewed-by: iveresov, twisti, kvn
2014-01-14 12:44:12 +01:00
Mikael Gerdin
927369db43 8028764: dtrace/hotspot_jni/ALL/ALL001 crashes the vm on Solaris-amd64, SIGSEGV in MarkSweep::follow_stack()+0x8a
C1 generates code to encode compressed oop into tmp register before runtime call for patching where GC may happen

Reviewed-by: iveresov, twisti, kvn
2014-01-14 09:44:45 +01:00
Roland Westrelin
14578d5ae9 8029464: assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop()
Fix the assert check for narrow klass pointer.

Reviewed-by: twisti, kvn
2014-01-13 16:16:25 -08:00
Jeff Dinkins
2e916722f5 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:42:26 -08:00
Zhengyu Gu
509d617369 8031530: [TESTBUG] Enable test runtime/LoadClass/LoadClassNegative.java
Re-enabled the test. The issue that prevents this test from running was fixed by 8020675

Reviewed-by: sla, ccheung
2014-01-13 10:05:37 -05:00
Fredrik Arvidsson
6c1b243c0e 8031304: Add dcmd to print all loaded dynamic libraries
Adding VM.dynlibs as a dcmd to dump all loaded dynamic libraries.

Reviewed-by: sla, fparain, mgronlun, dsamersoff
2014-01-14 15:27:01 +01:00
Harold Seigel
f84476eec5 Merge 2014-01-13 18:30:57 -05:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Per Lidén
ca035a4040 8029162: G1: Shared SATB queue never enabled
Reviewed-by: brutisso, mgerdin, tschatzl
2014-01-10 09:54:25 +01:00
Per Lidén
ce8f2a52fc 8029255: G1: Reference processing should not enqueue references on the shared SATB queue
Reviewed-by: brutisso, tschatzl
2014-01-10 09:53:53 +01:00
Albert Noll
42afc756f5 8022494: Make compilation IDs sequential
Use atomic operations to provide sequential compilation IDs

Reviewed-by: kvn, twisti
2014-01-10 06:36:18 +01:00
Christian Thalinger
0c84081c87 8026413: ScopeDesc::is_equal is declared in header file but not implemented
Reviewed-by: kvn
2014-01-09 18:09:59 -08:00
Calvin Cheung
9d16ac7083 8022301: [TESTBUG] runtime/jsig/Test8017498.sh incorrectly compiles native code
Added the '-m32' compile option and the '-z noexecstack' link option

Reviewed-by: mseledtsov, zgu
2014-01-09 15:48:00 -08:00
Zhengyu Gu
3d84ac9ef1 7012961: runtime/jni/WindowsExceptionFilter/WindowsExceptionFilter01 crashes on windows-amd64
VM needs to handle EXCEPTION_FLT_* exceptions on Win64

Reviewed-by: coleenp, ccheung
2014-01-09 14:06:53 -05:00
Erik Helin
c6faff2824 Merge 2014-01-09 16:53:51 +01:00
Igor Ignatyev
26ad8adaf4 8031115: intrinsics for Math.decrementExact(J) and incrementExact(J) don't work
Reviewed-by: kvn, twisti
2014-01-09 19:03:36 +04:00
Niclas Adlertz
f0e34eb09c 8011391: C1: assert(code_offset() - offset == NativeInstruction::nop_instruction_size) failed: only one instruction can go in a delay slot
Remove the VerifyOopMaps flag which doesn't work for tiered or for C1 with more compiler threads than one.

Reviewed-by: twisti, drchase, iveresov
2014-01-09 10:47:40 +01:00
Daniel D. Daugherty
1eed5c3f4d Merge 2014-01-08 13:53:24 -08:00
Vladimir Kozlov
ba7149bbda 8028468: Add inlining information into ciReplay
Allow dump and replay inlining for specified method during a program execution.

Reviewed-by: roland, twisti
2014-01-08 10:25:50 -08:00
Staffan Larsen
2352ce8d9c 8030184: Remove unneeded "content_type" declarations from tracetypes.xml
Reviewed-by: dholmes, jbachorik, egahlin, mgronlun
2014-01-08 13:20:33 +01:00
Niclas Adlertz
1defb28228 8029446: assert(_cfg.get_block_for_node(proj) == borig) failed: incorrect block for kill projections
Added loadConP0 projection node to block in case of re-materialization of the loadConP0. x86_64 only.

Reviewed-by: kvn
2014-01-08 12:05:19 +01:00
Roland Westrelin
cb7814987c 8029873: compiler/uncommontrap/TestStackBangRbp.java crashes with SIGSEGV
May end up in uncommon trap blob/deopt blob with unguarded stack

Reviewed-by: kvn, twisti
2014-01-08 09:49:31 +01:00
Jeremy Manson
783155575c 8031376: TraceClassLoading expects there to be a (Java) caller when you load a class with the bootstrap class loader
Reviewed-by: sla, dholmes
2014-01-08 08:34:02 +01:00
Christian Thalinger
dd042bf16e 8022263: use same Clang warnings on BSD as on Linux
Reviewed-by: kvn, iveresov
2014-01-07 14:26:12 -08:00
Coleen Phillimore
469f290817 8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.

Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Goetz Lindenmaier
06b9210700 8031319: PPC64: Some fixes in ppc and aix coding
Reviewed-by: kvn
2014-01-07 17:24:59 +01:00
Erik Helin
acc27f48fc Merge 2014-01-07 16:15:35 +01:00
Roland Westrelin
417b5f07b7 8027571: fatal error: meet not symmetric
Meet of one constant array and one exact array not symmetric.

Reviewed-by: kvn
2014-01-07 16:02:10 +01:00
Roland Westrelin
e9b5199781 8028064: tiered may collect wrong receiver type at virtual call
When unique callee is known at compile time, recorded class may be wrong

Reviewed-by: kvn, iveresov
2014-01-07 14:36:34 +01:00
Jeremy Manson
66b65f9f88 8027364: PSScavenge accounts too large code section to StringTable unlink
Correct timing measurement by modifying the scope of the GCTraceTime instance.

Reviewed-by: ysr, tamao
2014-01-07 13:31:33 +01:00
Roland Westrelin
7c32ed31d2 8028536: Test cases to cover type system fixes pushed with 8024070
Extra test cases for type speculation

Reviewed-by: kvn
2014-01-07 12:38:22 +01:00
Staffan Larsen
3e537df17c 8031305: (hotspot) com.sun.management.VMOption is missing the ATTACH_ON_DEMAND origin
Reviewed-by: jbachorik, mchung, dholmes
2014-01-07 12:32:57 +01:00
Staffan Larsen
3c425d407f 4990369: visibleMethods() and methodsByName() return wrong visible methods
Reviewed-by: sspitsyn, coleenp
2014-01-07 10:50:28 +01:00
Christian Thalinger
76a9fa693d 8029305: add type tag to AbstractCompiler
Reviewed-by: iveresov, kvn
2014-01-06 17:23:07 -08:00
Christian Thalinger
618ee38356 8031199: _MSC_VER is only defined on _WIN32
Reviewed-by: kvn, iveresov
2014-01-06 15:35:20 -08:00
Harold Seigel
6794647135 8030955: assert(_prologue != NULL) failed: prologue pointer must be initialized
Allow multiple calls to PerfMemory::destroy()

Reviewed-by: zgu, coleenp
2014-01-06 08:44:24 -05:00
Goetz Lindenmaier
fe000cd966 8031188: Fix for 8029015: PPC64 (part 216): opto: trap based null and range checks
Swap the Projs in the block list so that the new block is added behind the proper node.

Reviewed-by: kvn
2014-01-06 11:02:21 +01:00
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
Goetz Lindenmaier
9c10079653 8030863: PPC64: (part 220): ConstantTableBase for calls between args and jvms
Add ConstantTableBase node edge after parameters and before jvms. Adapt jvms offsets.

Reviewed-by: kvn
2013-12-20 13:51:14 +01:00
Vladimir Kozlov
20057cd46c Merge 2014-01-08 11:24:00 -08: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
Vladimir Kozlov
3b4f167e54 Merge 2013-12-12 11:05:39 -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
Goetz Lindenmaier
2131424a64 8029957: PPC64 (part 213): cppInterpreter: memory ordering for object initialization
Add StoreStore barriers after object initialization and after constructor calls in the C++ interpreter.

Reviewed-by: kvn
2013-12-11 12:28:09 +01:00
Goetz Lindenmaier
7d56518671 8029940: PPC64 (part 122): C2 compiler port
Reviewed-by: kvn
2013-12-11 00:06:11 +01: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
Jesper Wilhelmsson
40ba2bba2c 8026849: Fix typos in the GC code, part 2
Fixed typos in assert messages, flag descriptions and verbose messages

Reviewed-by: stefank, tschatzl
2013-12-10 15:11:02 +01:00
Stefan Karlsson
5d460f1f3d 8033923: Use BufferingOopClosure for G1 code root scanning
Reviewed-by: mgerdin, brutisso
2014-02-10 12:58:09 +01:00
Erik Helin
f0eaf32781 Merge 2014-02-10 14:37:53 +01:00
Erik Helin
96a77ee8e6 Merge 2014-02-10 13:31:22 +01:00
Stefan Karlsson
a26a6715b0 8033764: Remove the usage of StarTask from BufferingOopClosure
Reviewed-by: mgerdin, brutisso, tschatzl
2014-02-10 12:51:51 +01:00
Bengt Rutisson
980e57c6c4 8033922: G1: Back out 8033601 and go back to use the to-obj for chunked arrays
Reviewed-by: stefank, tschatzl
2014-02-07 13:48:07 +01:00
Matthias Braun
b109e793aa 8033545: Missing volatile specifier in Bitmap::par_put_range_within_word
The method Bitmap::par_put_range_within_word reloads the original value during a CAS, which may be optimized away. Instead of reloading, use the value returned by Atomic::cmpxchg_ptr() for further processing.

Reviewed-by: tschatzl, brutisso, tonyp
2014-02-06 17:12:10 +01:00
Per Lidén
0a63fe1c10 8031703: Missing post-barrier in ReferenceProcessor
Reviewed-by: tonyp, tschatzl
2014-02-06 14:12:43 +01:00
Thomas Schatzl
a81e7a52fc 8033443: Test8000311 fails after latest changes to parallelize string and symbol table unlink
When string and symbol table unlink are not performed in parallel, the claim index we check is not updated, and so a guarantee fails. Take this into account when checking the guarantee.

Reviewed-by: brutisso, jwilhelm
2014-02-05 14:29:34 +01:00
Antonios Printezis
170566f471 8033601: G1: Make array chunking use the same length field as the other young GCs
Use the old copy length instead of the length of the forwarded object for chunked arrays.

Reviewed-by: brutisso, tschatzl
2014-02-05 12:47:48 +01:00
Erik Helin
814dad45e0 8028254: gc/arguments/TestMinInitialErgonomics.java failed with unexpected initial heap size
Reviewed-by: brutisso, tschatzl, sjohanss
2014-02-05 10:09:54 +01:00
Erik Helin
d52699c497 Merge 2014-02-03 10:49:49 +01:00
Shrinivas Joshi
c50ff2e023 8024366: Make UseNUMA enable UseNUMAInterleaving
Reviewed-by: brutisso, tschatzl
2014-01-16 13:25:25 -08:00
Thomas Schatzl
58f7d4c7e5 8033106: Wrong predicate for checking whether the correct amount of symbol table entries have been processed in G1
The change fixes the predicate check.

Reviewed-by: jmasa, tonyp, stefank
2014-01-31 09:58:06 +01:00
Thomas Schatzl
90c553c06f 6991197: G1: specialize deal_with_reference() for narrowOop*
Clean up and slightly optimize reference handling from the GC reference task queue. Since we never push partial array chunks as narrowOop* we can manually specialize the code so that some code can be optimized away.

Reviewed-by: tonyp, brutisso, stefank
2014-01-31 09:57:50 +01:00
Thomas Schatzl
0bc1701ea0 8032771: The flag VerifySilently misses a test case
Add test case for the VerifySilently flag.

Reviewed-by: brutisso
2014-01-31 09:55:59 +01:00
Goetz Lindenmaier
c50c083f83 8029888: PPC64: (part 219): adl replacement variable CondRegister
Add support for replacement variable CondRegister in adlc.

Reviewed-by: kvn
2013-12-10 14:29:43 +01: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
Albert Noll
234b4044ba 8028109: compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java crashes in RT_Baseline
Use non-relocatable code to load byte_map_base

Reviewed-by: kvn, roland
2013-12-04 09:31:17 +01:00
Serguei Spitsyn
4ede60461b Merge 2013-12-03 13:56:10 -08:00
Serguei Spitsyn
e820946a1e 8028126: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Solaris-sparc64 fastdebug builds: only current thread can flush its registers
Fix a race between VMOp_GetCurrentLocation reaching a safepoint and arget thread exiting from Java execution

Reviewed-by: sla, dholmes, dsamersoff
2013-12-03 15:41:35 -08:00
Karen Kinnear
536943884a 8028438: static superclass method masks default methods
Reviewed-by: hseigel, lfoltan, coleenp
2013-12-03 11:13:14 -08:00
Karen Kinnear
b5f2f33aaa 8026066: ICCE for invokeinterface static
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08:00
Stefan Johansson
5811b8eb93 8029329: tmtools tests fail with NPE (in the tool) when run with G1 and FlightRecorder
Now iterating over all committed (used) G1 regions instead of all reserved.

Reviewed-by: brutisso, dsamersoff, mgerdin
2013-12-03 12:01:18 +01:00
Erik Helin
aba1a79d81 Merge 2013-12-02 15:43:04 +01:00
Markus Grönlund
7c7027e087 Merge 2013-12-02 11:42:10 +01:00
Volker Simonis
f0010291f7 8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
Fix code to allow testing on Fujitsu Sparc64 CPUs

Reviewed-by: kvn
2013-12-02 11:12:32 +01:00
Goetz Lindenmaier
46c4ef6572 8029396: PPC64 (part 212): Several memory ordering fixes in C-code
Memory ordering fixes in GC and other runtime code showing on PPC64.

Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Vladimir Kozlov
1b2bf0be10 Merge 2013-12-05 15:13:12 -08:00
Volker Simonis
d767bd2dfd 8019929: PPC64 (part 107): Extend ELF-decoder to support PPC64 function descriptor tables
Extend ELF-decoder to support PPC64 function descriptor tables

Reviewed-by: kvn, zgu
2013-12-05 19:19:09 +01:00
Vladimir Danushevsky
bb7aae990f Merge 2013-12-01 22:35:15 -05:00
Alejandro Murillo
7426f563d3 8029367: new hotspot build - hs25-b62
Reviewed-by: jcoomes
2013-11-29 11:20:34 -08:00
Alejandro Murillo
dff92ee01f Added tag hs25-b61 for changeset d42eec86b5bd 2013-11-29 11:10:31 -08:00
Alejandro Murillo
2293c2eefe Merge 2013-11-29 11:10:30 -08:00
David Chase
4620107099 Merge 2013-11-29 11:32:45 -05:00
Christine Lu
4ba2e9f322 Added tag jdk8-b118 for changeset 283fe68e7f05 2013-11-28 08:23:04 -08:00
Goetz Lindenmaier
ecca1bcc72 8029015: PPC64 (part 216): opto: trap based null and range checks
On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.

Reviewed-by: kvn
2013-11-27 16:16:21 -08:00
Dmitry Samersoff
144769b78b 7050685: jsdbproc64.sh has a typo in the package name
Fixed typeo

Reviewed-by: sla, kmo, sspitsyn
2013-11-27 14:26:04 +04:00
Goetz Lindenmaier
fe89766184 8028515: PPPC64 (part 113.2): opto: Introduce LoadFence/StoreFence
Use new nodes for loadFence/storeFence intrinsics in C2.

Reviewed-by: kvn, dholmes
2013-11-26 18:38:19 -08:00
David Chase
78f1afbf45 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
George Triantafillou
1ee6fad9ba 8028160: [TESTBUG] Exclude failing (runtime) jtreg tests using @ignore
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2013-11-26 16:03:57 -05:00
Lois Foltan
28557bc30e 8026065: InterfaceMethodref for invokespecial must name a direct superinterface
Add verification to check that invokespecial of an InterfaceMethodref names a method in a direct superinterface of the current class or interface in accordance with JSR 335, JVMS 4.9.2 Structural Constraints.

Reviewed-by: acorn, hseigel, coleenp
2013-11-26 09:52:22 -05:00
Stefan Johansson
22478ae2e0 8027675: Full collections with Serial slower in JDK 8 compared to 7u40
Reduced the number of calls to follow_class_loader and instead marked and pushed the klass holder directly. Also removed unneeded calls to adjust_klass.

Reviewed-by: coleenp, jmasa, mgerdin, tschatzl
2013-11-26 14:35:38 +01:00
Markus Grönlund
b1e3461fe5 8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
2013-11-23 12:25:13 +01:00
Markus Grönlund
9963570316 Merge 2013-11-23 09:56:59 +01:00
Alejandro Murillo
3646381ba6 8028815: new hotspot build - hs25-b61
Reviewed-by: jcoomes
2013-11-22 13:42:46 -08:00
Alejandro Murillo
faa4ee25ed Added tag hs25-b60 for changeset b8b59f498f73 2013-11-22 13:34:43 -08:00
Alejandro Murillo
5da49878a2 Merge 2013-11-22 13:34:41 -08:00
Goetz Lindenmaier
b4ded0bc2e 8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object
Also introduces the compiler oracle 'option' feature for PrintAssembly.

Reviewed-by: kvn
2013-11-22 12:14:09 -08:00
Markus Grönlund
1bb792465e Merge 2013-11-22 20:26:36 +01:00
Rickard Bäckman
c5b9d5ccd3 8028624: [TESTBUG] compiler/intrinsics/mathexact/DecExactLTest executes DecExactITest
Reviewed-by: kvn, twisti
2013-11-22 15:26:37 +01:00
Rickard Bäckman
57e01f1502 8028997: mathexact intrinsics are unstable
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
Goetz Lindenmaier
7289ee4573 8028767: PPC64: (part 121): smaller shared changes needed to build C2
Smaller shared changes required to build the C2 compiler on PPC64.

Reviewed-by: kvn
2013-11-21 19:00:57 -08:00
Goetz Lindenmaier
a7c123880e 8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization
Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected.

Reviewed-by: kvn
2013-11-21 18:29:34 -08:00
Vladimir Kozlov
aabed3781b Merge 2013-11-21 12:30:35 -08:00
Harold Seigel
34329af386 8028520: JVM should not throw VerifyError when a private method overrides a final method
Exclude private methods when checking for final method override.

Reviewed-by: kamg, coleenp, dholmes, mseledtsov
2013-11-21 14:41:13 -05:00
Christine Lu
2bb71f5f4c Added tag jdk8-b117 for changeset 797ce5564b97 2013-11-21 09:22:49 -08:00
Goetz Lindenmaier
d22bde2c91 8028580: PPC64 (part 114/120): Support for Call nodes with constants
Extends MachCall nodes so that they can issue constants to the constant table

Reviewed-by: kvn
2013-11-20 11:08:09 -08:00
Roland Westrelin
319bfa3852 8028308: nsk regression, assert(obj->is_oop()) failed: not an oop
Rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs

Reviewed-by: kvn, iveresov
2013-11-20 12:46:08 +01:00
Joseph Provino
afe298eb7c 8028396: Minimal VM: undefined symbol: _ZN23JvmtiCurrentBreakpoints11metadata_doEPFvP8MetadataE
Minimal VM doesn't run

Reviewed-by: coleenp, dholmes
2013-11-19 16:26:54 -05:00
Volker Simonis
86fba81619 8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'
Fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build

Reviewed-by: kvn, dholmes, lfoltan
2013-11-19 11:53:58 -08:00
Sergey Gabdurakhmanov
e237fbfe1f 8028341: PSR:FUNC: SCOPE PARAMETER MISSING FROM THE -XX:+PRINTFLAGSFINAL
Reviewed-by: dcubed, sla
2013-11-18 08:21:19 +01:00
Staffan Larsen
92187d7583 8027630: SIGSEGV in const char*Klass::external_name()
Reviewed-by: coleenp, sspitsyn, mgronlun
2013-11-18 10:20:13 +01:00
Goetz Lindenmaier
c16bc98686 8028470: PPC64 (part 214): linux: extend signal handler to catch SIGTRAP on ppc64
Reviewed-by: kvn
2013-11-16 01:42:55 +01:00
Coleen Phillimore
3e62155fec 8028347: Rewriter::scan_method asserts with array oob in RT_Baseline
Fix reversing rewriting for invokespecial

Reviewed-by: jrose, hseigel
2013-11-15 17:20:22 -05:00
Markus Grönlund
689cc9ddb7 Merge 2013-11-15 21:39:27 +01:00
Goetz Lindenmaier
f9a0d6a4b5 8028401: PPC (part 117): Improve usability of adlc and format() functionality
Add additional, more verbose syntax checks in adlc. Fix printing constant's problem in format().

Reviewed-by: kvn
2013-11-15 12:01:00 -08:00
Vladimir Kozlov
fa597af116 Merge 2013-11-15 14:09:26 -05:00
Goetz Lindenmaier
13b13f5259 8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering
Add a field to C2 LoadNode and StoreNode classes which indicates whether the load/store should do an acquire/release on platforms which support it.

Reviewed-by: kvn
2013-11-15 11:05:32 -08:00
Alejandro Murillo
13cf514dff 8028444: new hotspot build - hs25-b60
Reviewed-by: jcoomes
2013-11-15 07:58:06 -08:00
Alejandro Murillo
a65e3d6622 Added tag hs25-b59 for changeset 0cee03c5f3b3 2013-11-15 07:50:05 -08:00