Commit Graph

8862 Commits

Author SHA1 Message Date
Jeremy Manson
8d6eb32eee 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
Ensures special-cased command line options are settable via _JAVA_OPTIONS and JAVA_TOOL_OPTIONS.

Reviewed-by: coleenp, ddmitriev
2015-07-17 19:40:21 -04:00
Daniel D. Daugherty
350d9ece17 Merge 2015-07-17 15:01:09 -07:00
Vladimir Kozlov
1e08e6133d Merge 2015-07-17 14:51:28 -07:00
Calvin Cheung
84ff1787b7 8079825: Uninitialised variable in hotspot/src/share/vm & cpu/x86/vm (runtime)
Initialized local variables in classFileParser.cpp and rframe.cpp

Reviewed-by: dholmes, minqi
2015-07-17 12:07:49 -07:00
Alejandro Murillo
23b050e996 Merge 2015-07-17 08:46:52 -07:00
Ed Nevill
b73ef8ebc6 8131362: aarch64: C2 does not handle large stack offsets
Change spill code to allow large offsets

Reviewed-by: kvn, aph
2015-07-17 07:50:36 +00:00
Lana Steuck
ff590a4bf8 Merge 2015-07-16 19:28:37 -07:00
David Katleman
fb274497a8 Added tag jdk9-b73 for changeset 1459b46b5c27 2015-07-16 13:51:50 -07:00
Daniel D. Daugherty
6f19e14049 Merge 2015-07-16 10:22:08 -07:00
Goetz Lindenmaier
b02b2c4d5b 8131054: aix: fix two minor issues: large page size and hs_err printing
Reviewed-by: coleenp
2015-07-16 15:01:12 +02:00
Goetz Lindenmaier
ad601cca0c 8131676: Fix warning 'negative int converted to unsigned' after 8085932
Also fix 64-bit constant added in 8076276.

Reviewed-by: kvn
2015-07-16 14:18:13 +02:00
Ed Nevill
ae05bc036d 8131483: aarch64: illegal stlxr instructions
Do not generate stlxX with Ws == Xn

Reviewed-by: kvn, aph
2015-07-16 14:16:44 +00:00
Zoltan Majo
1a3b0cca61 8131326: Enable CheckIntrinsics in all types of builds
Enable CheckIntrinsics flag in all builds; make check for orphan methods available only in debug builds.

Reviewed-by: kvn
2015-07-16 15:02:12 +02:00
Thomas Schatzl
392a65ff86 8131344: Missing klass.inline.hpp include in compiler files
Reviewed-by: kvn
2015-07-16 11:55:21 +02:00
Thomas Schatzl
70eeaa4735 8131166: Remove additional whitespace in G1Allocator
Reviewed-by: jmasa, tbenson
2015-07-16 11:54:37 +02:00
Daniel D. Daugherty
9cb5f7fc9a Merge 2015-07-16 02:49:21 +02:00
Daniel D. Daugherty
6964787851 8131331: tmtools/jstack/locks/wait_interrupt and wait_notify fail due to wrong number of lock records
Make new thread dump output line optional

Reviewed-by: dholmes
2015-07-15 15:52:55 -07:00
Yumin Qi
49a45882d9 Merge 2015-07-15 20:58:06 +00:00
Yumin Qi
6384ca7b1f 8025692: Log what methods are touched at run-time
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.

Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Christian Tornqvist
ce283b1347 8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows
Reviewed-by: coleenp, gtriantafill
2015-07-15 10:37:11 -07:00
Vladimir Kozlov
10f06d081d Merge 2015-07-14 18:58:38 +02:00
Jan Civlin
2a4f18ccbd 8085932: Fixing bugs in detecting memory alignments in SuperWord
Reviewed-by: kvn
2015-07-14 09:55:22 -07:00
Katja Kantserova
99e5ddaa45 8131325: Remove hprof agent tests in hotspot repo
Reviewed-by: dholmes
2015-07-14 16:28:53 +02:00
Coleen Phillimore
354fb11881 Merge 2015-07-14 20:51:50 +00:00
Coleen Phillimore
fd8665fbe7 Merge 2015-07-14 18:34:11 +00:00
Coleen Phillimore
302ba17d8a Merge 2015-07-14 17:23:57 +00:00
Daniel D. Daugherty
0db4f21ce2 8130448: thread dump improvements, comment additions, new diagnostics inspired by 8077392
Reviewed-by: dholmes, coleenp
2015-07-14 09:33:20 -07:00
Gerard Ziemski
f1d95bc678 8079156: [TESTBUG] 32 bit Java 9-fastdebug hit assertion in client mode with StackShadowPages flag value from 32 to 50
We increase CodeBufer instr size to account for stack banging code generation.

Reviewed-by: coleenp, dholmes, kvn
2015-07-14 11:08:41 -05:00
Vladimir Ivanov
92d8281194 8078629: VM should constant fold Unsafe.get*() loads from final fields
Reviewed-by: kvn, jrose, psandoz
2015-07-14 06:44:50 -07:00
Katja Kantserova
055105c707 8130057: serviceability/sa/TestStackTrace.java should be quarantined
Reviewed-by: egahlin, jbachorik
2015-07-14 11:40:49 +02:00
Eric Caspole
34bcc977bc 8129961: SIGSEGV when copying to survivor space
Remove "include_young" parameter from GenCollectedHeap::no_allocs_since_save_marks() since all existing uses pass true to always rescan young gen.

Reviewed-by: jmasa, kbarrett
2015-07-13 11:49:23 -04:00
Lutz Schmidt
b75ed4ce34 8131048: ppc: implement CRC32 intrinsic
Reviewed-by: kvn, simonis
2015-07-13 09:44:38 +02:00
Ed Nevill
d3196fb464 8131358: aarch64: test compiler/loopopts/superword/ProdRed_Float.java fails when run with debug VM
Fix typo in match rule in vsub2f

Reviewed-by: kvn, aph
2015-07-15 16:05:53 +00:00
David Holmes
ef59ce7332 8130728: Disable WorkAroundNPTLTimedWaitHang by default
Reviewed-by: dcubed
2015-07-12 22:54:54 -04:00
Dmitry Dmitriev
8486cb7650 8130332: StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9
Deprecate StarvationMonitorInterval and PreInflateSpin, remove VerifyGenericSignatures and CountInterpCalls

Reviewed-by: coleenp, gziemski
2015-07-11 12:36:46 +03:00
Vladimir Kozlov
b5284a93ce 8129920: Vectorized loop unrolling
Optimize loop opts for vectorizible loops.

Reviewed-by: kvn, roland
2015-07-10 11:59:09 -07:00
Anthony Scarpino
963c3852a3 8130341: GHASH 32bit intrinsics has AEADBadTagException
Reviewed-by: kvn, mcberg
2015-07-10 11:31:49 -07:00
Jaroslav Bachorik
794f1616f0 Merge 2015-07-10 16:37:41 +02:00
Alejandro Murillo
8f84825191 Merge 2015-07-09 22:46:16 -07:00
Lana Steuck
9e84f7b580 Merge 2015-07-09 16:37:15 -07:00
Daniel D. Daugherty
8dbfda6628 Merge 2015-07-09 14:35:13 -07:00
David Katleman
1d9002da27 Added tag jdk9-b72 for changeset 02be96db190a 2015-07-09 13:49:32 -07:00
Harold Seigel
9d7677a83f 8130669: VM prohibits <clinit> methods with return values
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions

Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Harold Seigel
00da567d15 8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0

Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Alejandro Murillo
1f5fdd011c Merge 2015-07-07 10:37:28 -07:00
Ed Nevill
4a169a2ab1 8130687: aarch64: add support for hardware crc32c
Add support for crc32c using built in crc32c instructions

Reviewed-by: kvn, aph
2015-07-07 15:04:25 +00:00
Lana Steuck
71f0332b26 Merge 2015-07-02 16:09:16 -07:00
Alejandro Murillo
5d840dab3a Merge 2015-07-02 14:12:07 -07:00
David Katleman
5236586511 Added tag jdk9-b71 for changeset 9419a7f16a5c 2015-07-02 08:53:58 -07:00
Tobias Hartmann
62112b23c9 Merge 2015-07-01 09:15:34 +02:00
Tobias Hartmann
fba308328b 8129937: compiler/codecache/jmx/UsageThresholdIncreasedTest.java fails with "Usage threshold was hit"
Tests should not assume that usage of non-profiled code heap is predictable.

Reviewed-by: kvn, dpochepk
2015-07-01 09:07:10 +02:00
Igor Veresov
934ad8e49b 8079775: Java 9-fastdebug ia32 Error: Unimplemented with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options
8079062: Java 9-fastdebug crash(hit assertion) with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options

Revive stack walk compilation policy

Reviewed-by: kvn
2015-06-30 14:44:53 -07:00
Vladimir Kozlov
d71bb8c72b 8129893: 8129094 fix is incomplete
Move old and add new primitive type check.

Reviewed-by: iveresov
2015-06-30 12:12:18 -07:00
Alejandro Murillo
f32025bb47 Merge 2015-06-30 11:20:42 -07:00
Goetz Lindenmaier
07c7774cd7 8086069: Adapt runtime calls to recent intrinsics to pass ints as long
Remove CCallingConventionRequiresIntsAsLongs from shared code and push functionality to native wrapper. Less optimal but more flexible.

Reviewed-by: jrose, kvn
2015-06-29 15:30:55 +02:00
Goetz Lindenmaier
7682410613 8130432: ppc64le: Fix build of hsdis
Reviewed-by: dholmes, kvn
2015-07-03 16:29:37 +02:00
Zoltan Majo
547a40e75a 8130120: Handling of SHA intrinsics inconsistent across platforms
Introduce common warning message and common processing of SHA intrinsic-related arguments.

Reviewed-by: kvn, mcberg
2015-07-03 09:33:04 +02:00
Zoltan Majo
9245cdc214 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Vladimir Kozlov
34616cd876 Merge 2015-07-02 17:49:11 -07:00
Igor Veresov
156e31bd84 8080012: JVM times out with vdbench on SPARC M7-16
Check cacheline sine only for one core on sun4v SPARC systems.

Reviewed-by: kvn
2015-07-02 14:40:29 -07:00
Andrew Haley
917f70414f Merge 2015-07-02 11:12:59 +01:00
Stefan Karlsson
0e252b2a93 8087324: Use semaphores when starting and stopping GC task threads
Reviewed-by: jmasa, sjohanss
2015-06-29 11:11:12 +02:00
Stefan Karlsson
e25bcfd3d3 8087323: Unify and split the work gang classes
Reviewed-by: jmasa, sjohanss
2015-06-29 11:09:39 +02:00
Yumin Qi
aee130df16 Merge 2015-08-14 22:20:21 +00:00
Yumin Qi
211b74795e Merge 2015-08-14 20:40:48 +00:00
Coleen Phillimore
b56a1cdba5 Merge 2015-08-14 19:23:27 +00:00
Richard Reingruber
b42d8f80f5 8133557: Missing test before a branch when checking for MethodCounters in TemplateTable::branch() on x86
Reviewed-by: kvn, coleenp
2015-08-14 15:08:55 -04:00
Yumin Qi
65a39ab028 8130115: REDO - Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-08-14 10:10:35 -07:00
David Holmes
531a1ddb99 Merge 2015-08-14 04:21:37 +02:00
David Holmes
6b3f9d3d1a 8029453: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java failed by timeout
Reviewed-by: bdelsart, ddmitriev, dcubed
2015-08-13 22:08:40 -04:00
Coleen Phillimore
03f5fcdb40 Merge 2015-08-13 23:35:32 +00:00
Gerard Ziemski
2fdc0d3f21 8112746: Followup to JDK-8059557 (JEP 245)
Several improvements to range/constraint check feature.

Reviewed-by: coleenp, ddmitriev, sangheki, kbarrett
2015-08-13 17:17:56 -05:00
Axel Siebenborn
d32b06427d 8133121: Move implementation of process_grey_object to concurrentMark.inline.hpp
Move implementation of process_grey_object to inline.hpp

Reviewed-by: kbarrett, simonis
2015-08-13 09:32:01 +02:00
Max Ockner
4694fbd776 8098791: Remove PrintClassStatistics and PrintMethodStatistics
PrintClassStatistics and PrintMethodStatistics have been removed.

Reviewed-by: coleenp, iklam
2015-08-12 14:18:12 -04:00
David Lindholm
b206c669f7 8133193: Memory leak in G1 because G1RootProcessor doesn't have desctructor
Reviewed-by: mgerdin, tschatzl
2015-08-12 16:32:29 +02:00
Lana Steuck
1b64480a52 Merge 2015-06-28 16:39:04 -07:00
Alejandro Murillo
4a826139e3 Merge 2015-06-26 19:11:15 -07:00
Vladimir Kozlov
e5f22567ab 8130008: compiler/codecache/jmx/UsageThresholdIncreasedTest.java should be quarantined
Reviewed-by: iveresov
2015-06-26 15:55:54 -07:00
David Katleman
36b326d4f2 Added tag jdk9-b70 for changeset d4e08333ac48 2015-06-25 10:21:35 -07:00
Vladimir Kozlov
0b9dfebfa4 Merge 2015-06-25 09:48:50 -07:00
Jesper Wilhelmsson
d60d6fdf40 Merge 2015-06-24 13:38:01 +02:00
Dmitry Samersoff
912d770499 Merge 2015-06-24 14:28:30 +00:00
Dmitry Samersoff
1e5b265a46 Merge 2015-06-24 13:16:33 +00:00
Bengt Rutisson
00db80b7de Merge 2015-06-24 15:04:27 +02:00
David Holmes
2f0a7f3c7b Merge 2015-06-24 13:26:12 +02:00
David Holmes
c2961a9369 Merge 2015-06-24 11:58:34 +02:00
Thomas Schatzl
0d85af8161 Merge 2015-06-24 11:55:18 +02:00
Ed Nevill
99f5ee0654 8081294: aarch64: fails to build on ubuntu wily
Reviewed-by: dholmes
2015-06-24 05:45:50 -04:00
Stefan Johansson
8a03d57f9b Merge 2015-06-24 10:28:00 +02:00
Thomas Schatzl
b07602d640 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:42:45 +02:00
Goetz Lindenmaier
1a88faab89 8129757: ppc/aarch: Fix passing thread to runtime after "8073165: Contended Locking fast exit bucket."
Reviewed-by: enevill, simonis, adinn
2015-06-24 09:13:12 +02:00
Stefan Johansson
f6a2109bab 8081607: Change default GC for server configurations to G1
For more info see JEP 248.

Reviewed-by: pliden, tschatzl
2015-06-24 08:37:12 +02:00
Bertrand Delsart
d046f1596b 8030076: remove unused runtime related code
Small cleanup of runtime code

Reviewed-by: dholmes, coleenp
2015-06-24 08:30:52 +02:00
Coleen Phillimore
83a0dd66c5 8129607: Incorrect GPL header
Fix typo in GPL header

Reviewed-by: kvn, dholmes
2015-06-23 22:10:33 -04:00
Kim Barrett
90a1d4964c Merge 2015-06-24 02:00:21 +02:00
Alejandro Murillo
edb5f74e0d Merge 2015-06-23 14:20:40 -07:00
Kim Barrett
e145cf273c 8129446: crash when reporting corrupted classfile
Increase buffer size and use jio_snprintf for message generation

Reviewed-by: tbenson, coleenp, iklam
2015-06-23 17:18:27 -04:00
Michael Berg
2ef39760e6 8081247: AVX 512 extended support
Add more support for EVEX encoding

Reviewed-by: kvn, neliasso
2015-06-23 12:45:08 -07:00
Ed Nevill
d17ff6b63d 8129551: aarch64: some regressions introduced by addition of vectorisation code
Fix regressions

Reviewed-by: kvn
2015-06-23 18:56:17 +00:00
Dmitry Samersoff
c897b62caf Merge 2015-06-23 18:05:27 +00:00
Dmitry Samersoff
e5462e2263 8078632: conflicts between open and closed SA ports
Closed port is renamed to arm64

Reviewed-by: dlong, dholmes
2015-06-23 20:55:31 +03:00
Bertrand Delsart
5ed1b44143 Merge 2015-06-23 18:03:37 +02:00
Bertrand Delsart
bf69556039 8087133: Improve sharing of native wrappers in SignatureHandlerLibrary
Fingerprint normalization for arm32

Reviewed-by: dholmes, coleenp
2015-06-23 17:48:34 +02:00
Andrew Dinn
b23811b6b6 8129584: Fix required for aarch64 after 8122937
The fix for 8122937 omitted cpu/aarch64 changes required by src/share fixes

Reviewed-by: kvn, simonis
2015-06-23 10:17:35 -04:00
Bengt Rutisson
7f2ffe8c0e 8129549: G1: Make sure the concurrent thread does not mix its logging with the STW pauses
Reviewed-by: pliden, tschatzl
2015-06-23 13:26:05 +02:00
Dmitry Samersoff
f65b2271ab Merge 2015-06-23 11:00:32 +00:00
Dmitry Samersoff
fdabdd5f40 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:21 +03:00
Aleksey Shipilev
cd81d2845d 8129332: Missing test case for JDK-8078438
Add the test case originally developed for JDK-8078438

Reviewed-by: tschatzl
2015-06-23 10:12:44 +02:00
Thomas Stuefe
b46373e827 8078513: [linux] Clean up code relevant to LinuxThreads implementation
Reviewed-by: dholmes, sla, coleenp, simonis
2015-06-22 19:21:04 -04:00
Goetz Lindenmaier
bc2fd16b88 8129423: Fix unlink() of LogCompilation tmp files lost in merge of 8007993 and 8060074
Reviewed-by: kvn, simonis
2015-06-22 14:22:19 +02:00
Vladimir Kozlov
133faafebc 8080157: assert(allocates2(pc)) failed: not in CodeBuffer memory
Increase code_size2 for stubs

Reviewed-by: iveresov
2015-06-19 17:46:42 -07:00
Vladimir Kozlov
2691776621 Merge 2015-06-19 15:24:07 -07:00
Alejandro Murillo
0f5c57752d Merge 2015-06-18 22:38:36 -07:00
Daniel D. Daugherty
6bb2203891 Merge 2015-06-18 13:18:12 -07:00
Lana Steuck
af99c04aaa Merge 2015-06-18 10:23:45 -07:00
Lana Steuck
c4879427a9 Added tag jdk9-b69 for changeset 4ba02b88b7ed 2015-06-18 01:43:09 -07:00
Andrew Haley
52b991b411 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 17:31:53 +01:00
Alejandro Murillo
03de95d555 Merge 2015-06-15 10:56:29 -07:00
Vladimir Ivanov
10ca8052a1 8087218: Constant fold loads from final instance fields in VM anonymous classes
Reviewed-by: jrose, rbackman
2015-06-15 15:27:04 +03:00
Sergei Kovalev
0141308dfa 8067163: Several JT_HS tests fails due to ClassNotFoundException on compacts
Reviewed-by: dholmes, vlivanov
2015-06-17 16:22:38 +03:00
Alexander Alexeev
1b1d8f21cb 8129426: aarch64: add support for PopCount in C2
Add support for PopCount using SIMD cnt and addv inst

Reviewed-by: kvn, aph
2015-06-25 13:41:29 +00:00
Ed Nevill
38d2a4cc99 8086087: aarch64: add support for 64 bit vectors
Support 64 bit vectors

Reviewed-by: kvn, aph
2015-06-25 08:52:12 +00:00
James Cheng
e2533553f6 8073583: C2 support for CRC32C on SPARC
Reviewed-by: jrose, kvn
2015-06-29 00:10:01 -07:00
Severin Gehwolf
9ac0d9d341 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
Use __builtin_frame_address(0) rather than returning address of local variable.

Reviewed-by: dholmes
2015-06-12 16:09:45 +01:00
Andrew Haley
50746b15a9 8078521: AARCH64: Add AArch64 SA support
Add AArch64 SA support

Reviewed-by: dsamersoff, dholmes
2015-06-12 15:49:55 +01:00
Lana Steuck
d812ad995b Merge 2015-06-11 20:19:26 -07:00
Alejandro Murillo
95736933bd Merge 2015-06-11 12:02:12 -07:00
Lana Steuck
8ba193319d Added tag jdk9-b68 for changeset 930f9e292f20 2015-06-11 10:44:09 -07:00
Vladimir Ivanov
90a42c2491 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Goetz Lindenmaier
af8e2b97ae 8087183: Fix call to inline function is_oop in header debugInfo.hpp
Reviewed-by: kvn, kbarrett, dholmes
2015-06-11 10:50:27 +02:00
Vladimir Kozlov
d62598136b 8129094: assert(is_java_primitive(bt)) failed: only primitive type vectors
Ignored non-primitive type memory operation regardless its (or its inputs) control.

Reviewed-by: roland, mcberg
2015-06-18 11:09:29 -07:00
Anthony Scarpino
c4c528df14 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:48:25 -07:00
Michael Berg
7c7b91845f 8080325: SuperWord loop unrolling analysis
Determine loop unroll factor based on supported vectors sizes.

Reviewed-by: roland, kvn
2015-06-16 16:10:36 -07:00
Ed Nevill
f8cc15a29b 8085805: aarch64: AdvancedThresholdPolicy lacks tuning of InlineSmallCode size
Set default value of InlineSmallCode to 2500 on aarch64

Reviewed-by: kvn
2015-06-10 12:29:07 +00:00
Leonid Mesnik
5b6281adb8 8079134: [TESTBUG] Remove applicable_*gc and needs_*gc groups from TEST.groups
Reviewed-by: mgerdin, drwhite
2015-06-09 15:03:10 +03:00
Chris Plummer
c8b153a4e7 8087153: EXCEPTION_ACCESS_VIOLATION when CDS RO section vanished on win32
When mapping RW for debugging support, update space_info->read_only to reflect it is RW

Reviewed-by: dcubed, coleenp, iklam
2015-06-19 14:23:39 -07:00
Joseph Provino
ae6886e4d9 8085987: Vm crash "not long aligned" in nsk/stress/metaspace/jck60/jck6* tests
The word size being allocated needs to be rounded up.

Reviewed-by: jmasa, tbenson
2015-06-18 16:28:04 -04:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Thomas Schatzl
5084eb24d0 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.

Reviewed-by: jmasa, fzhinkin
2015-06-19 11:27:07 +02:00
Andrew Haley
b387838cea 8079315: UseCondCardMark broken in conjunction with CMS precleaning on x86
Add the necessary StoreLoad barrier in interpreter, C1 and C2 for x86

Reviewed-by: tschatzl
2015-06-19 09:41:50 +02:00
Aleksey Shipilev
6cb9f920e1 8078438: Interpreter should support conditional card marks (UseCondCardMark) on x86 and aarch64
Add interpreter support for conditional card marks on x86 and aarch64

Reviewed-by: tschatzl, aph
2015-06-19 09:41:49 +02:00
Dmitry Dmitriev
4875379a42 8072931: JEP-JDK-8059557: Test task: test framework development
Test set for JEP 245 Validate JVM Command-Line Flag Arguments

Reviewed-by: ctornqvi, dholmes, gziemski
2015-06-19 07:57:31 +03:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Bill Pittore
7f027ca123 8080776: ARM 32 bit binaries do not run on 64 bit ARM v8 hardware
Need to know arm cpu type earlier in the init sequence to avoid illegal instruction

Reviewed-by: dholmes, dlong, bdelsart
2015-06-18 10:47:34 -04:00
Harold Seigel
058dd16f78 8042041: https://bugs.openjdk.java.net/browse/JDK-8042041
Don't assert if class has a bad element_tag in an element_value structure of a RuntimeVisibleAnnotation attribute.  Instead, ignore the attribute.

Reviewed-by: acorn, gtriantafill
2015-06-18 08:44:28 -04:00
Erik Joelsson
f6fac96205 8087195: Support building hotspot with devkits on Macosx
Reviewed-by: dholmes, ihse
2015-06-18 10:26:58 +02:00
Coleen Phillimore
eb02df173b Merge 2015-06-18 00:40:51 +00:00
Coleen Phillimore
fbb07f9b85 Merge 2015-06-17 23:46:35 +00:00
Ioi Lam
09a689cd20 Merge 2015-06-17 22:49:17 +00:00
Coleen Phillimore
ac072b303d 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: iklam, dcubed
2015-06-17 21:44:48 +00:00
Tom Benson
8da14a64c8 8098815: Assertion failure in CDS shared string archive support on Windows
Check for a zero length before calling the G1 fill_archive_regions routine

Reviewed-by: coleenp, iklam, dcubed
2015-06-17 13:22:38 -07:00
David Lindholm
295a084cc5 7169803: Usage of pretenured value is not correct
Reviewed-by: tamao, jmasa
2015-06-17 17:29:56 +02:00
Jesper Wilhelmsson
8a2a6073df 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by: kbarrett, mgerdin
2015-06-17 14:44:54 +02:00
Coleen Phillimore
2a2b10342e Merge 2015-06-17 15:45:43 +00:00
Coleen Phillimore
29a1b9c2ed 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Poonam Bajaj
87b7e052f2 Merge 2015-06-17 00:52:06 +00:00
Poonam Bajaj
20bb21349c 8085965: VM hangs in C2Compiler
CMSClassUnloadingEnabled and ExplicitGCInvokesConcurrentAndUnloadsClasses should be disabled when -Xnoclassgc is specified

Reviewed-by: jmasa, kbarrett
2015-06-16 14:30:27 -07:00
Andreas Eriksson
606468abc4 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Bertrand Delsart
a6a13b5344 8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode

Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Christian Tornqvist
e720ad23ac 8087121: bscmake fails when building inside VS2013
Reviewed-by: hseigel, lfoltan, mgronlun
2015-06-15 14:33:51 -07:00
Severin Gehwolf
709d3d936e 8098552: 8079792 breaks Zero builds without precompiled headers
Include memRegion.hpp in g1BiasedArray.hpp

Reviewed-by: ehelin, sjohanss
2015-06-15 11:50:16 +02:00
Jesper Wilhelmsson
a347180ac5 Merge 2015-06-15 13:48:30 +02:00
Stefan Johansson
d9e465adaf 8077279: assert(ic->is_clean()) failed: IC should be clean
Reviewed-by: rbackman, thartmann
2015-06-15 10:24:38 +02:00
Kim Barrett
8098f06af1 8098517: Unprotected PrintMalloc in os::realloc
Also verify tty != NULL before printing.

Reviewed-by: dholmes
2015-06-15 01:38:42 -04:00
Tom Benson
df2efa1c37 8042668: GC Support for shared heap ranges in CDS
Added "Archive Region" support to the G1 GC

Reviewed-by: tschatzl, brutisso
2015-06-12 19:49:54 -04:00
Jiangli Zhou
edcd4cb94b 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:29:14 -04:00
David Lindholm
c3f3f0f1bd 8025608: GC trace events missing nursery size information
Reviewed-by: sjohanss, mgerdin
2015-06-12 12:55:32 +02:00
Goetz Lindenmaier
2a9614af95 8086073: Fix PrintStubCode for empty StubCodeGenerator
Reviewed-by: kvn, lfoltan
2015-06-11 11:07:03 -04:00
Kim Barrett
8a1f708096 Merge 2015-06-10 07:37:11 +02:00
Jesper Wilhelmsson
5a01287618 Merge 2015-06-10 05:59:44 +02:00
Coleen Phillimore
b13cad3a3d Merge 2015-06-10 04:39:15 +02:00
Kim Barrett
4bbbdd7aa6 8086027: Multiple STATIC_ASSERTs at class scope doesn't work
Make supporting typedef name unique via __LINE__ concatenation

Reviewed-by: dholmes, brutisso
2015-06-09 15:05:47 -04:00
Max Ockner
d796407e50 8076161: Runtime stub for throw_null_pointer_exception always constructs log messages
A LogEvents filter has been added to avoid unnecessary string construction.

Reviewed-by: coleenp, hseigel, dholmes
2015-06-09 12:22:21 -04:00
Jesper Wilhelmsson
393cf6b287 Merge 2015-06-09 16:48:55 +02:00
Coleen Phillimore
9e5e7f9e5a 8035074: hs_err improvement: Add time zone information in the hs_err file
8026335: hs_err improvement: Print exact compressed oops mode and the heap base value
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors or StackOverflowErrors

Add requested things to hs_err file.

Reviewed-by: ctornqvi, dholmes
2015-06-09 10:26:25 -04:00
Roland Westrelin
fd10da6423 8086016: closed/java/text/Format/NumberFormat/BigDecimalCompatibilityTest.java is crashing
Trying to transform ArrayCopyNode in dying part of the graph

Reviewed-by: kvn
2015-06-09 12:09:03 +02:00
Sergei Kovalev
518225447f 8078145: testlibrary_tests/RandomGeneratorTest.java failed with AssertionError : Unexpected random number sequence for mode: NO_SEED
Reviewed-by: iignatyev, vlivanov
2015-06-15 16:47:24 +03:00
Roland Westrelin
d7522fb084 8086046: escape analysis generates incorrect code as of B67
Load bypasses arraycopy that sets the value after the ArrayCopyNode is expanded

Reviewed-by: kvn
2015-06-12 14:10:17 +02:00
Alejandro Murillo
2f0a309d84 Merge 2015-06-08 11:11:47 -07:00
Goetz Lindenmaier
f286447281 8085975: Fix warning "converting to jlong from double" of gcc 4.1.2 after 8079561
Reviewed-by: mgerdin, ehelin
2015-06-08 15:40:28 +02:00
Volker Simonis
1360b41194 8080684: PPC64: Fix little-endian build after "8077838: Recent developments for ppc"
Also fix the Power8 detection which was broken because we issued an illegal 'lqarx' instruction

Reviewed-by: kvn, asmundak
2015-06-08 17:39:35 +00:00
Katja Kantserova
811fa6e09f 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 12:54:05 +02:00
Chris Plummer
c8c0356588 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:40:09 -07:00
Derek White
24c9ffed42 7097567: G1: abstract and encapsulate collector phases and transitions between them
Reviewed-by: mgerdin, tschatzl
2015-06-05 10:27:41 +02:00
David Lindholm
5f5af54f95 8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +02:00
Lana Steuck
28ac2ad5f8 Merge 2015-06-04 18:50:05 -07:00
Alejandro Murillo
c219f06861 Merge 2015-06-04 15:38:00 -07:00
Vladimir Kozlov
fcd7686431 Merge 2015-06-04 12:52:30 -07:00
David Katleman
c051a3bcfb Added tag jdk9-b67 for changeset b83f001a855d 2015-06-04 09:31:46 -07:00
David Lindholm
862b933a2e 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:29:34 +02:00
Jesper Wilhelmsson
618a7e124a Merge 2015-06-04 14:19:51 +02:00
Jesper Wilhelmsson
63abaa2c2b Merge 2015-06-04 14:19:51 +02:00
Coleen Phillimore
d97fc17132 8081219: hs_err improvement: Add event logging for class redefinition to the hs_err file
Use the Events::log function to save redefined classes for output to the hs_err file.

Reviewed-by: sspitsyn, jiangli, lfoltan
2015-06-04 08:05:47 -04:00
Ed Nevill
10741a86f6 8079565: aarch64: Add vectorization support for aarch64
Add vectorization support

Reviewed-by: roland
2015-06-04 12:04:18 +00:00
Kim Barrett
d68213f785 8079093: Remove FakeRttiSupport workaround for gcc -Wtype-limits
Remove the no longer needed workaround.

Reviewed-by: jmasa, david, simonis
2015-06-03 14:38:54 -04:00
Alexander Alexeev
252b1be912 8081790: aarch64: SHA tests fail
Fix SHA tests in JTReg so they recognize aarch64

Reviewed-by: duke
2015-06-03 08:23:09 +00:00
Vladimir Kozlov
c163b85cb2 Merge 2015-06-12 09:59:51 -07:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Stefan Karlsson
c1fc7aa38a Merge 2015-06-03 13:29:53 +02:00
Stefan Karlsson
93fdb4e5ad 8081682: AbstractWorkGang::_terminate is never used
Reviewed-by: kbarrett, pliden, brutisso
2015-06-03 11:46:07 +02:00