4332 Commits

Author SHA1 Message Date
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
Morris Meyer
92d751996e Merge 2014-01-17 10:43:43 -08: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
Erik Helin
3cd01085cd 8031779: Assert in MetaspaceGC is always true
Reviewed-by: jmasa, jwilhelm
2014-01-16 17:22:35 +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
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
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
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
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
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
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
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
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
Igor Ignatyev
cfefbcebf5 8029070: memory leak in jmm_SetVMGlobal
Reviewed-by: kvn, dholmes
2013-12-23 20:56:18 +04: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
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