Commit Graph

6052 Commits

Author SHA1 Message Date
Frederic Parain
90b16fd7a9 Merge 2014-02-06 14:51:01 -05:00
Gerald Thornbrugh
d3a85e73a7 8029775: Solaris code cleanup
8033464: Linux code cleanup

Cleaned up warnings in solaris and linux specific os code.

Reviewed-by: coleenp, fparain, dcubed
2014-02-06 14:28:35 -05:00
Coleen Phillimore
3eb1ac89c6 8028735: runtime/RedefineObject/TestRedefineObject.java interrupted (timed out?) on solaris_sparcv9-fastdebug-c2-runtime and solaris_x64-debugOpen-c2-runtime
Change GC loop counter to 100 which is enough to test the original problem but doesn't timeout the test.

Reviewed-by: ctornqvi, lfoltan, mseledtsov, sla
2014-02-06 18:57:46 +00:00
Frederic Parain
41edfa7107 8030808: dtrace/hotspot/Monitors/Monitors001 fails in product builds on solaris-sparc
Reviewed-by: sspitsyn, dcubed, kamg, dholmes
2014-02-06 17:59:35 +00:00
Henry Jen
aae536aad7 8033289: clang: clean up unused function warning
Reviewed-by: coleenp, dholmes, mgerdin
2014-02-05 21:24:29 -08:00
Calvin Cheung
a3c78aac2f 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution

Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Alejandro Murillo
ce3e113478 Merge 2014-02-05 08:57:33 -08:00
Stefan Johansson
05e4dd3c74 8033426: Scale initial NewSize using NewRatio if not set on command line
Now using NewRatio to size initial NewSize if not specified on commandline.

Reviewed-by: jmasa, jwilhelm
2014-02-05 11:05:13 +01:00
Serguei Spitsyn
465cfd7c01 8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
It is better to calculate frame count for suspended threads at a safepoint

Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Staffan Larsen
731320a7fd 8033126: Can't call default methods from JNI
Reviewed-by: dholmes, acorn, kamg
2014-02-03 15:24:20 +01:00
Staffan Larsen
eaac73cf84 8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Harold Seigel
f8cf8b295d Merge 2014-02-02 15:31:40 -05:00
Ron Durbin
97d55c801e 8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher.  Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.

Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
Goetz Lindenmaier
4c4b46e490 8033168: PPC64: gcc 4.8 warning in output_c.cpp
Fix warnings

Reviewed-by: kvn
2014-01-30 14:30:01 +01:00
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Jaroslav Bachorik
455663f56e 6656031: SA: jmap -permstat number of classes is off by 1
Reviewed-by: sla, dholmes
2014-01-30 09:41:45 +01:00
Harold Seigel
b7100718e8 Merge 2014-01-29 19:54:44 -05:00
Jesper Wilhelmsson
5301534dc3 8028391: Make the Min/MaxHeapFreeRatio flags manageable
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.

Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Goetz Lindenmaier
70737b100f 8033117: PPC64: Adapt to 8002074: Support for AES on SPARC
Implement missing function Matcher::pass_original_key_for_aes() in ppc64 ad file.

Reviewed-by: kvn
2014-01-29 12:22:13 +01:00
Vladimir Kozlov
7d92dc4d79 Merge 2014-01-28 12:28:17 -08:00
Vladimir Kozlov
c3a0e80e0b Merge 2014-01-28 12:25:34 -08:00
Jeff Dinkins
5159b7ce20 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:09:41 +00:00
Lana Steuck
9ac2066ae4 Merge 2014-01-28 11:21:43 -08:00
Vladimir Kozlov
c4642dd6d7 8029941: rollback changes in make/jprt.properties for embedded testing
Cleanup changes merged by accident

Reviewed-by: roland, dholmes
2014-01-28 10:19:45 -08:00
Zhengyu Gu
ebdf7e0fa8 Merge 2014-01-28 06:26:36 -08:00
Zhengyu Gu
673e8b47c0 8032827: NMT: missing virtual memory tagging in os::workaround_expand_exec_shield_cs_limit()
Fixed missing virtual memory type tagging in os::workaround_expand_exec_shield_cs_limit() function

Reviewed-by: hseigel, coleenp
2014-01-28 08:55:00 -05:00
Dmitry Samersoff
8c626c6501 Merge 2014-01-28 11:42:30 +00:00
Dmitry Samersoff
e6d68e6d66 7010732: SA_ALTROOT only works if running the SA tools from their build directory
Fixed SA packaging scripts

Reviewed-by: sla, kevinw
2014-01-28 14:45:39 +04:00
Lana Steuck
85b5e256af Merge 2014-01-27 21:00:29 -08:00
Coleen Phillimore
305d2f27f1 8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.

Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Stefan Sarne
4a7bc8eccd 8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
Reviewed-by: kvn, iignatyev
2014-01-27 10:57:52 +01:00
Dmitry Samersoff
ebf3cad435 8032247: SA: Constantpool lookup for invokedynamic is not implemented
Implement constant pool lookup for invokedynamic

Reviewed-by: sla, sspitsyn
2014-01-27 13:46:54 +04:00
Vladimir Kozlov
6e8540ca72 Merge 2014-01-24 09:04:24 -08:00
Harold Seigel
30bac4bcc7 Merge 2014-01-24 08:31:06 -05:00
Harold Seigel
39f19c2f76 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
Check if method is static before throwing exception.

Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
Niclas Adlertz
970a35292b 8031498: Cleanup and re-factorize PhaseChaitin::build_ifg_physical
Created sub-functions, added data structures, improved naming and removed unnecessary code

Reviewed-by: kvn, roland, rbackman
2014-01-24 13:06:52 +01:00
Albert Noll
3e1a99cabe Merge 2014-01-26 23:01:57 -08:00
Albert Noll
62f89da665 8009738: compiler/6826736/Test.java times out on big machines
Added -Xmx256m -XX:ParallelGCThreads=4 to the test @run command. Verified that 256m is enough to trigger old 6826736 bug.

Reviewed-by: kvn
2014-01-27 07:54:25 +01:00
Vladimir Kozlov
e42f245870 Merge 2014-01-24 13:30:55 -08:00
Aleksey Shipilev
fbff3b73a4 8032490: Remove -XX:+-UseOldInlining
Move the option to obsolete options list, purge the redundant compiler code.

Reviewed-by: kvn, jrose
2014-01-24 15:26:56 +04:00
Goetz Lindenmaier
6eddc19daf 8032634: Add #ifdef PPC64 around OrderAccess operations on _thread_state
Reviewed-by: dholmes, kvn
2014-01-24 10:23:34 +01:00
Roland Westrelin
c19a7e0fa3 8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part

Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
David Simms
edb5dd324e 8028280: ParkEvent leak when running modified runThese which only loads classes
Use spin lock to manage ParkEvent and PlatformEvent free lists.

Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01:00
Gilles Duboscq
90a44b778d 8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
The fix just throws an InstantiationException if the Klass is NULL.

Reviewed-by: coleenp, twisti, jrose
2014-01-23 16:02:14 -05:00
Alejandro Murillo
4c4881a31f Merge 2014-01-23 10:35:38 -08:00
Yumin Qi
38fe1c531a Merge 2014-01-23 09:45:38 -08:00
Yumin Qi
4a3aa3a77a 6651256: jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
Jni_DeleteGlobalRef does not really release the jni handle, instead, set the handle point to JNIHandles::_deleted_handle which holds an oop instance (java/lang/Object) in Java heap and never be GC'ed. When counting number of global reference, it counts all the handles on the chain list, which includes the already deleted ones.

Reviewed-by: zgu, sla, coleenp
2014-01-23 09:40:32 -08:00
Rickard Bäckman
0b85ee832e 8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Kozlov
e2fecea88e 8033805: Move Fast_Lock/Fast_Unlock code from .ad files to macroassembler
Consolidated C2 x86 locking code in one place in macroAssembler_x86.cpp.

Reviewed-by: roland
2014-02-24 15:12:26 -08:00
Kevin Walls
076122acf6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00:00
Staffan Larsen
6f46c5c2f0 8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
Make sure we only look for statically linked agents in the main process image

Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01:00
Staffan Larsen
869722e816 8032250: Add trace event for VM flag changes
Reviewed-by: coleenp, ehelin, egahlin, mgronlun
2014-01-23 08:12:12 +01:00
Vladimir Kozlov
0f8774f389 Merge 2014-01-22 14:27:18 -08:00
Vladimir Ivanov
91573b8695 8031695: CHA ignores default methods during analysis leading to incorrect code generation
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Henry Jen
5050fd5363 8028407: adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>
Reviewed-by: erikj
2014-01-21 20:07:14 -08:00
Igor Veresov
0c43978be6 8031743: C2: loadI2L_immI broken for negative memory values
Restrict loadI2L_imm optimizations to positive values of mask

Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
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