Commit Graph

9180 Commits

Author SHA1 Message Date
Zoltan Majo
34e1545cab 8080650: Enable stubs to use frame pointers correctly
Change MacroAssembler::verified_entry() to set up RBP correctly when generating stub code.

Reviewed-by: kvn
2015-10-15 17:38:41 +02:00
Konstantin Shefov
a4cb6b3eb4 8072369: [TESTBUG] Remove potentially insecure class cast in some hotspot tests
Reviewed-by: twisti, kvn, iignatyev, tpivovarova
2015-10-15 18:00:00 +03:00
Kim Barrett
e7d0e95b08 8139200: Eliminate G1ParClosureSuper::_worker_id
Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper.

Reviewed-by: mgerdin, tschatzl
2015-10-15 10:10:13 -04:00
Coleen Phillimore
e8e182c0e7 Merge 2015-10-16 00:01:49 +00:00
Daniel D. Daugherty
9d0fadc788 Merge 2015-10-15 19:17:08 +00:00
Gerard Ziemski
22838597ea 8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags.

Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05:00
Daniel D. Daugherty
2559482886 8136552: Last argument wins does not work for special options with "-XX:VMOptionsFile" option
Match_special_option_and_act() should insert_vm_options_file() earlier and process the inserted options right away to honor "last option wins" semantics.

Reviewed-by: dcubed, coleenp
2015-10-15 10:00:30 -07:00
Jaroslav Bachorik
7b389d3533 8135188: RunFinalizationTest.java Exception java.lang.Error: Test failure: Object was not finalized
Reviewed-by: dcubed, martin
2015-10-15 17:35:42 +02:00
Jesper Wilhelmsson
7078962b9c Merge 2015-10-15 13:28:22 +02:00
Igor Ignatyev
888def5147 Merge 2015-10-15 11:20:04 +00:00
Thomas Schatzl
f2b8803873 Merge 2015-10-15 13:00:17 +02:00
Igor Ignatyev
dbdfa81492 Merge 2015-10-15 09:36:13 +00:00
Thomas Schatzl
6abb87fd84 8138752: G1CollectorPolicy::should_should_update_surv_rate_group_predictors() uses wrong predicate
Instead of only updating the survivor rate groups in the young gc after marking and before mixed gc, update them during young gcs outside of marking

Reviewed-by: mgerdin, drwhite
2015-10-15 10:15:08 +02:00
Thomas Schatzl
f292ac2dc2 8138750: Remove dead code in survivor rate group
Reviewed-by: mgerdin, tbenson
2015-10-15 10:13:08 +02:00
Thomas Schatzl
55988baae2 8139583: Fix formatting in survRateGroup.cpp
Reviewed-by: kbarrett, stefank
2015-10-15 10:12:17 +02:00
Thomas Schatzl
b8367b252f 8137082: Factor out G1 prediction code from G1CollectorPolicy and clean up
Factor out G1 prediction code from G1CollectorPolicy into its own class, constify methods of G1CollectorPolicy and move more implementations to the cpp file.

Reviewed-by: jmasa, sangheki, ecaspole, kbarrett
2015-10-15 10:07:28 +02:00
Roland Westrelin
1f94d4ca9e Merge 2015-10-15 07:56:53 +00:00
Hui Shi
d8a864cd68 8138956: Elide more final field's write memory barrier with escape analysis result
Membar for final/stable fields eliminated if possible

Reviewed-by: roland, mdoerr, enevill, aph
2015-10-15 09:40:45 +02:00
Yumin Qi
ebe8b1d7f6 Merge 2015-10-15 00:42:15 +00:00
Dmitrij Pochepko
72de147944 8139438: [TESTBUG] JVMCI test fails with RuntimeException: Has no virtual object before materialization
Reviewed-by: iignatyev, twisti
2015-10-15 02:46:51 +03:00
Tatiana Pivovarova
d3ad64d9d6 8139375: [TESTBUG] compiler/jvmci/SecurityRestrictionsTest checks are too tight
Reviewed-by: twisti, iignatyev
2015-10-15 01:58:28 +03:00
Poonam Bajaj
a25ce80e78 8136577: Make AbortVMOnException available in product builds
Reviewed-by: coleenp
2015-10-14 15:36:41 -07:00
Christian Thalinger
230d811034 8139386: JVMCI test failed with assert(_jvmci._alternate_call_target == 0L) failed: must be
Reviewed-by: kvn
2015-10-14 12:29:18 -10:00
Yumin Qi
5ba14c7523 Merge 2015-10-14 20:59:59 +00:00
Christian Thalinger
fcbdffb48f 8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts
Reviewed-by: iveresov, kvn
2015-10-14 09:22:21 -10:00
Harold Seigel
df9b5759f7 8139069: JVM should throw ClassFormatError for <init> methods in interfaces
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"

Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
Yumin Qi
93d709dc4b 8135284: Remove Method::_method_size field
Remove Method::_method_size to improve memory footprint after JDK-8135085,which increased 4 bytes for 32 platform. Also removed related unused code in SA.

Reviewed-by: coleenp, hseigel
2015-10-14 08:12:33 -07:00
Mikael Gerdin
425894f2ea 8138762: Refactor setup of evacuation closures in G1
Introduce policy class containing the root scan closures.

Reviewed-by: ehelin, stefank
2015-10-14 14:50:43 +02:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02:00
Christian Thalinger
f1c801e561 8139524: JVMCI cannot be initialized with CMS or Serial GCs
Reviewed-by: iveresov
2015-10-13 09:21:10 -10:00
Andrew Haley
3ceb2dbcc2 8139041: Redundant DMB instructions
Merge consecutive DMB intstructions

Reviewed-by: roland, kvn, twisti
2015-10-13 16:25:50 +00:00
David Lindholm
5659603602 Merge 2015-10-13 17:34:28 +02:00
Igor Ignatyev
815be268ee 8139376: [TESTBUG] ExecuteInstalledCodeTest should be run only on amd64 and sparcv9
Reviewed-by: twisti, kvn
2015-10-13 16:21:25 +03:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00
David Lindholm
77021edbd0 8139506: Remove the WaterMark class
Reviewed-by: stefank, mgerdin
2015-10-13 14:07:05 +02:00
David Lindholm
9e52e67f3c 8139427: Break out YoungList to own class
Reviewed-by: mgerdin, jwilhelm
2015-10-13 08:37:44 +02:00
Bengt Rutisson
30e8dff916 Merge 2015-10-09 20:45:45 +00:00
Martin Doerr
3d2b56d9b3 8138890: C1: Ambiguous operator delete
XlC on AIX rejects to compile LIRGenerator and RangeCheckEliminator::Verification

Reviewed-by: simonis, goetz, twisti
2015-10-09 20:58:25 +02:00
Bengt Rutisson
df8a954b50 8139294: TestGCEventMixedWithCMSConcurrent.java still fails after JDK-8134953
Reviewed-by: jwilhelm, ecaspole
2015-10-09 20:52:59 +02:00
Bengt Rutisson
b266f13f2c 8139293: TestGCEventMixedWithG1ConcurrentMark.java fails after JDK-8134953
Reviewed-by: ecaspole, jwilhelm
2015-10-09 20:31:56 +02:00
Kim Barrett
37125920a7 8138659: Speed up InstanceKlass subclass discrimination
Add _misc_kind field and flags, move around predicates.

Reviewed-by: coleenp, stefank
2015-10-09 14:08:15 -04:00
Lana Steuck
f03621f7a6 Merge 2015-10-09 10:22:27 -07:00
Erik Helin
aeffdfc249 8138972: G1CollectorPolicy::_max_survivor_regions should be intialized in the initializer list
Reviewed-by: jwilhelm, mgerdin
2015-10-09 15:48:30 +02:00
Chris Hegarty
1a83e59745 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
David Lindholm
a9eb4d64cb Merge 2015-10-09 08:46:44 +00:00
David Lindholm
5770f4eb32 8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Mikael Gerdin
6aec53bd96 8139086: Solaris/Sparc slowdebug build fails for memset_with_concurrent_readers.cpp
Reviewed-by: dcubed, kbarrett, coleenp
2015-10-09 09:00:33 +02:00
Lana Steuck
e7f00972c0 Added tag jdk9-b85 for changeset 9a72f98c3066 2015-10-08 22:30:35 -07:00
Alejandro Murillo
cfc752716c Merge 2015-10-08 14:28:55 -07:00
Dean Long
8ecc501677 Merge 2015-10-08 19:16:42 +00:00
Tomasz Wojtowicz
254fe207a8 8139094: Tier1 test java/util/zip/TestCRC32C.java fails due to fixes for JDK-8134553
Match correct intrinsic kind

Reviewed-by: iveresov, kvn
2015-10-08 09:51:12 -07:00
Ed Nevill
a138ebeb52 8139043: aarch64: add support for adler32 intrinsic
Add adler32 support like 8132081 for sparc

Reviewed-by: kvn
2015-10-08 13:14:46 +00:00
Bengt Rutisson
dbdf722879 8138717: TestGCEventMixedWithG1ConcurrentMark.java fails
Reviewed-by: jwilhelm, david
2015-10-08 12:44:12 +02:00
Jesper Wilhelmsson
0ec56658ea Merge 2015-10-08 22:35:20 +02:00
Andrew Dinn
bf99cd983a 8139042: AARCH64: Correct regression introduced by 8080293
Reinstate unsafe volatile optimization broken by JDK-8080293

Reviewed-by: aph, kvn
2015-10-07 06:56:58 -04:00
Lana Steuck
188c32e53c Merge 2015-10-06 08:41:31 -07:00
Lana Steuck
2da00b4c36 Added tag jdk9-b84 for changeset 43c458023730 2015-10-05 20:24:59 -07:00
Vivek R Deshpande
5a633b1cbd 8132207: update for x86 exp in the math lib
Add new java.lang.Math() intrinsics from x86

Reviewed-by: kvn, iveresov
2015-10-05 20:02:40 -07:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Carsten Varming
3f29249aee 8139134: Wrong tenuring threshold in young GC trace event
Reviewed-by: ehelin, jwilhelm
2015-10-08 12:47:17 +02:00
Goetz Lindenmaier
56d0ec1e1a 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
Also fix one problematic format on ppc.

Reviewed-by: david, simonis
2015-10-02 11:46:42 +02:00
Igor Ignatyev
462756ad41 Merge 2015-10-08 01:04:29 +00:00
Daniel D. Daugherty
3a93c5efe8 Merge 2015-10-07 22:54:08 +00:00
Christian Tornqvist
32ece0aa0b Merge 2015-10-07 20:45:15 +00:00
Erik Helin
ebbcb070d7 Merge 2015-10-07 17:33:42 +00:00
Daniel D. Daugherty
476f9811ac Merge 2015-10-07 16:41:21 +00:00
George Triantafillou
1ba9657a1c 8134432: [TESTBUG] Rewrite test/runtime/6888954/vmerrors.sh in Java
Reviewed-by: ddmitriev, ctornqvi, coleenp
2015-10-07 11:37:46 -04:00
Kirill Zhaldybin
bb35c2390c 8138958: Quarantine gc/g1/mixedgc/TestLogging.java test
Reviewed-by: brutisso, iignatyev
2015-10-07 18:02:25 +03:00
Erik Helin
6b721104aa 8138971: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use
Reviewed-by: mgerdin, jwilhelm
2015-10-07 17:00:02 +02:00
David Lindholm
fcd5348f6f Merge 2015-10-07 14:56:53 +00:00
David Lindholm
def3b63b62 8138832: CreateCoredumpOnCrash on linux ARM causes assert message to be repeated
Reviewed-by: jwilhelm, mgerdin
2015-10-07 15:27:02 +02:00
Erik Helin
75623819fd 8138969: G1CollectorPolicy should use const for applicable methods
Reviewed-by: mgerdin, jwilhelm
2015-10-07 15:06:52 +02:00
Jesper Wilhelmsson
e75e2e04f7 Merge 2015-10-07 01:03:24 +02:00
Coleen Phillimore
22095dbf1d Merge 2015-10-06 18:51:47 +00:00
Max Ockner
27d1c05648 8138917: Back out change for 8130681
Change 8130681 has been backed out.

Reviewed-by: coleenp, gtriantafill
2015-10-06 14:27:39 -04:00
Bengt Rutisson
3289307dbe 8138707: TestPromotionEventWithParallelScavenge.java crashes using undefined GC id
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:27:03 +02:00
Bengt Rutisson
48bbdafeed 8138863: Refactor WaitForBarrierGCTask
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:26:13 +02:00
Bengt Rutisson
ef3a3a84bc 8138862: Remove some unused code and subclasses in gcTaskManager.hpp/cpp
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:25:02 +02:00
Per Lidén
be4747bc4d 8138846: Remove unused enum ConcurrentGCThread::CGC_flag_type
Reviewed-by: jwilhelm, brutisso
2015-10-06 08:05:11 +02:00
Kim Barrett
d0ae130dd5 8138833: Remove CMMarkStack::drain
Remove unused functions and data members.

Reviewed-by: pliden, brutisso
2015-10-05 21:17:11 -04:00
Ioi Lam
af9ada0eb2 8078295: hotspot test_env.sh can set VM_CPU incorrectly
Use sed script to filter out irrelevant parts of -Xinternalversion

Reviewed-by: dlong, dcubed, dsamersoff
2015-10-05 13:25:01 -07:00
Alejandro Murillo
1380ff2e93 Merge 2015-10-01 11:52:44 -07:00
Thomas Stuefe
6c113577e6 8137329: [windows] Build broken on VS2010 after "8046148: JEP 158: Unified JVM Logging"
Reviewed-by: simonis, ihse, prr, goetz, dcubed
2015-10-01 09:30:19 +02:00
Alejandro Murillo
796dab06c1 Merge 2015-09-30 07:41:36 -07:00
Felix Yang
12cba200a3 8138583: aarch64: add support for vectorizing fabs/fneg
Reviewed-by: aph, roland
2015-09-30 04:35:39 -04:00
Andrew Haley
f44f56e351 8138575: Improve generated code for profile counters
Reviewed-by: kvn
2015-09-29 17:01:37 +00:00
Felix Yang
65cf3f8eed 8138641: Disable C2 peephole by default for aarch64
Reviewed-by: roland
2015-09-30 13:23:46 +00:00
Roland Westrelin
c8cf3e7fe5 Merge 2015-10-13 13:23:42 +00:00
Zoltan Majo
301e389dd2 8139377: JVM can't be started w/ -XX:+EnableJVMCI -XX:+UseJVMCICompiler and default TypeProfileWidth
Raise upper bound of TypeProfileWidth from 4 to 8.

Reviewed-by: iveresov, twisti
2015-10-13 10:09:57 +02:00
Ed Nevill
ffd60d555b 8139259: aarch64: jtreg test TestLogSum segvs after 8132207
Fix jump to 0 caused by uninitialised _dexp in 8132207

Reviewed-by: roland, kvn
2015-10-13 09:40:39 +02:00
Martin Doerr
71edab514c 8139421: PPC64LE: MacroAssembler::bxx64_patchable kill register R12
Register R12 must be preserved for stub calls (e.g. deopt handler).

Reviewed-by: goetz
2015-10-12 12:20:38 +02:00
Vivek R Deshpande
e4f225de72 8139454: java/lang/Math/WorstCaseTests.java crashes on Linux-amd64
Emit the form of pextrw that works with sse2

Reviewed-by: iveresov, twisti
2015-10-12 16:35:40 -07:00
Claes Redestad
6947623b7b 8134607: Remove per-compiler performance counters
Reviewed-by: twisti, neliasso
2015-10-12 14:54:39 +02:00
Igor Veresov
45f51703ed Merge 2015-10-09 21:04:19 +00:00
Jan Civlin
115afda88e 8136725: Provide utility for creation a counted loop reserve copy (clone)
Make it easier to revert to the original loop should that be needed

Reviewed-by: kvn
2015-10-09 12:17:58 -07:00
Christian Thalinger
12fc8a0b33 8138820: JDK Hotspot build fails with Xcode 7.0.1
Reviewed-by: iveresov
2015-10-09 09:09:05 -10:00
Zoltan Majo
4c20e17d0a 8081288: erronous free in RegClass::~RegClass()
Remove the erronous free.

Reviewed-by: kvn
2015-10-09 15:00:17 +02:00
Zoltan Majo
fc2a5e9d53 8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
Add range check or constraint where necessary.

Reviewed-by: roland, thartmann
2015-10-09 14:21:26 +02:00
Tobias Hartmann
7ca0abe7ee 8139150: ClassVerifier frees exception message while it's still in use
Remove ResourceMark in StackMapReader::parse_verification_type() to avoid freeing of error message.

Reviewed-by: zmajo, dcubed, hseigel
2015-10-09 11:28:11 +02:00
Dean Long
9bb4c7872b Merge 2015-10-09 02:43:50 -04:00