Commit Graph

6050 Commits

Author SHA1 Message Date
Coleen Phillimore
e8d4b7aee3 8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
Use PrintCompressedOopsMode and these other flags that match printing compressed oop information

Reviewed-by: ctornqvi, sla
2014-03-04 09:57:16 -05:00
Coleen Phillimore
1a95f3a409 8035735: Metaspace::contains become extremely slow in some cases
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.

Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Dmitry Samersoff
4482a30c61 8036102: part of the fix for 6498581 lost in mismerge
Restore code lost in mis-merge

Reviewed-by: dcubed
2014-03-01 09:56:15 -08:00
Serguei Spitsyn
791b5d2b0d 6471769: Error: assert(_cur_stack_depth == count_frames(),"cur_stack_depth out of sync")
It is more safe to get/update data for suspended threads at a safepoint

Reviewed-by: dcubed, twisti, dholmes
2014-03-01 08:05:55 -08:00
Dmitry Samersoff
e1998b8813 Merge 2014-03-01 01:36:48 -08:00
Alejandro Murillo
ad8d066a4a Merge 2014-02-28 09:30:20 -08:00
Morris Meyer
c696dd6700 Merge 2014-02-28 08:02:20 -08:00
Erik Helin
000c4d9734 Merge 2014-02-28 14:56:04 +01:00
Roland Westrelin
227129c4d9 8031754: Type speculation should favor profile data from outermost inlined method
Favor profile data coming from outer most method

Reviewed-by: kvn, twisti
2014-02-28 13:44:16 +01:00
Ivan Gerasimov
9bb0f46d00 8035893: JVM_GetVersionInfo fails to zero structure
Reviewed-by: sla, zgu
2014-02-28 16:00:40 +04:00
Staffan Larsen
1d81fd35d6 8036010: hs: Some jtreg tests use hard coded ports
Bind to an ephemeral port

Reviewed-by: jbachorik, sla
2014-02-28 14:30:25 +04:00
Goetz Lindenmaier
74db1cc753 8035970: PPC64: fix ad file after 8027754: Enable loop optimizations for loops with MathExact
Reviewed-by: kvn
2014-02-27 20:40:24 +01:00
Stefan Karlsson
959bdfb211 8035746: Add missing Klass::oop_is_instanceClassLoader() function
Reviewed-by: mgerdin, coleenp
2014-02-27 10:36:50 +01:00
Stefan Karlsson
ba2326e19f 8035648: Don't use Handle in java_lang_String::print
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Roland Westrelin
58c97205d0 8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock

Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Igor Veresov
2c99a4ef9f 8035283: Second phase of branch shortening doesn't account for loop alignment
Added missing check for loop padding case.

Reviewed-by: kvn, jrose
2014-02-26 16:45:15 -08:00
Yumin Qi
bfb1c42657 6498581: ThreadInterruptTest3 produces wrong output on Windows
There is race condition between os::interrupt and os::is_interrupted on Windows. In JVM_Sleep(Thread.sleep), check if thread gets interrupted, it may see interrupted but not really interrupted so cause spurious waking up (early return from sleep). Fix by checking if interrupt event really gets set thus prevent false return. For intrinsic of _isInterrupted, on Windows, go fastpath only on bit not set.

Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: acorn, kvn
2014-02-26 15:20:41 -08:00
Goetz Lindenmaier
c01a8b9263 8035396: Introduce accessor for tmp_oop in frame
Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr().

Reviewed-by: kvn, twisti
2014-02-26 11:33:34 -08:00
Staffan Larsen
e1e850a132 8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Jesper Wilhelmsson
ead6152f73 8035822: Unable to test minimalVM
Moved the test code inside INCLUDE_ALL_GCS

Reviewed-by: dholmes, stefank
2014-02-26 14:52:42 +01:00
Albert Noll
6dcf058035 Merge 2014-02-26 02:54:49 -08:00
Albert Noll
1258452546 Merge 2014-02-26 02:38:46 -08:00
Albert Noll
aa570e227c 8034839: jvm hangs with gc/gctests/LoadUnloadGC test
Provide fast lookup of checked dependencies via hashmap

Reviewed-by: kvn, roland
2014-02-26 11:29:47 +01:00
Henry Jen
ac4f26242b 8033898: undefined symbol when build hotspot with Xcode5
Reviewed-by: sla, dholmes
2014-02-25 23:59:04 -08:00
Niclas Adlertz
94a86285a7 8010500: [parfait] Possible null pointer dereference at hotspot/src/share/vm/opto/loopnode.hpp
Added NULL check for loopnode() in get_pre_loop_end()

Reviewed-by: kvn, roland
2014-02-26 07:46:46 +01:00
Albert Noll
39b5a040cd 8032642: [TESTBUG] Fix testbugs in compiler/startup/.*
Fixed issues with these tests

Reviewed-by: kvn, twisti
2014-02-26 07:44:59 +01:00
Roland Westrelin
84c68fc78a Merge 2014-02-25 10:42:25 -08:00
Roland Westrelin
493557fc90 8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.

Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Niclas Adlertz
5d4b624caf 8033260: assert(lrg._area >= 0.0) failed: negative spill area
Change type from float to double on block frequency, and add check for +Inf - +Inf operation

Reviewed-by: kvn, roland
2014-02-25 17:51:27 +01:00
Niclas Adlertz
532b570e81 8032656: Tag the MachSpillCopies with purpose information
Subclassed the MachSpillCopyNode with different subnodes for different spill purposes to enhance debugging / visualization

Reviewed-by: kvn, roland
2014-02-25 14:09:02 +01:00
Albert Noll
a609fe84bb 8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)

Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
Erik Helin
a45b9ead44 Merge 2014-02-25 11:02:11 +01:00
Niclas Adlertz
e3931e81eb 8032894: Remove dead code in Pressure::lower
Remove dead code in Pressure::lower

Reviewed-by: kvn, roland
2014-02-25 10:26:21 +01:00
Calvin Cheung
bfbc3a0d51 8025519: [TESTBUG] runtime/7107135/Test7107135.sh need to use COMPILEJAVA for javac task
Modified some tests to use COMPILEJAVA instead of TESTJAVA for javac and include path

Reviewed-by: dholmes, mseledtsov
2014-02-24 21:54:22 -08:00
Thomas Schatzl
7de1730b10 8034948: Back out JDK-6976350 since it does not fix any issue
Revert JDK-6976350 because it does not improve PLAB fragmentation. To the contrary, it tends to increase the amount of wasted space with many threads.

Reviewed-by: brutisso
2014-02-24 10:45:15 +01:00
Jaroslav Bachorik
2b75897176 4505697: nsk/jdi/ExceptionEvent/_itself_/exevent006 and exevent008 tests fail with InvocationTargetException
Reviewed-by: dcubed, dholmes, sspitsyn
2014-02-24 10:28:22 +01:00
Markus Grönlund
605e69a0dc 8035650: Exclude AIX from VS.NET make/windows/projectcreator.make
Reviewed-by: dholmes, sla
2014-02-24 13:29:14 +01:00
Thomas Schatzl
2ae60596ed 8035329: Move G1ParCopyClosure::copy_to_survivor_space into G1ParScanThreadState
Move G1ParCopyClosure::copy_to_survivor_space to decrease code size.

Reviewed-by: stefank, jmasa
2014-02-24 09:41:04 +01:00
Thomas Schatzl
dbc8581147 8035326: Assume non-NULL references in G1CollectedHeap::in_cset_fast_test
Remove the assumption that G1CollectedHeap::in_cset_fast_test needs to check for NULL references. Most of the time this is not required, making the code doing this check multiple times.

Reviewed-by: stefank, mgerdin, jmasa
2014-02-24 09:40:49 +01:00
Thomas Schatzl
6c588725c1 8027559: Decrease code size and templatizing in G1ParCopyClosure::do_oop_work
Move methods that are not dependent on any of G1ParCopyClosure's template parameters into G1ParCopyHelper. Further remove unused methods and members of the class hierarchy.

Reviewed-by: mgerdin, stefank
2014-02-24 09:40:21 +01:00
Axel Siebenborn
cdc5c0c966 8034867: Object references from expression stack are not visible as roots via jvmti FollowReferences and HeapDump
The heap walking is inconsistent without following references from expression stack, so need to fix it

Reviewed-by: coleenp, sspitsyn
2014-02-23 22:36:19 -08:00
Harold Seigel
b2c117b170 Merge 2014-02-23 13:16:03 -05:00
Markus Grönlund
68857c9469 8035493: JVMTI PopFrame capability must instruct compilers not to prune locals
Reviewed-by: kvn, sla, coleenp, sspitsyn
2014-02-22 10:22:05 +01:00
Alejandro Murillo
fe929c4107 Merge 2014-02-21 08:09:15 -08:00
Stefan Karlsson
a235c50791 8035412: Cleanup ClassLoaderData::is_alive
Reviewed-by: coleenp, mgerdin
2014-02-21 10:19:09 +01:00
Stefan Karlsson
4248787654 8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
Reviewed-by: tschatzl, coleenp
2014-02-21 10:01:20 +01:00
Erik Helin
7b6d31b4a5 Merge 2014-02-21 10:00:46 +01:00
Lana Steuck
3f017cd6f2 Merge 2014-02-20 19:59:26 -08:00
George Triantafillou
70c77b3470 8034898: [TESTBUG]: Zero failure project - tag all Runtime JTReg bugs that fail nightly
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2014-02-20 16:38:45 -05:00
Vladimir Kozlov
4200d0d095 Merge 2014-02-20 12:20:56 -08:00