Commit Graph

6779 Commits

Author SHA1 Message Date
Goetz Lindenmaier
19857b164b 8131761: Fix merge error adding code that was removed in 8077936
Reviewed-by: tschatzl
2015-07-22 16:25:06 +02:00
Harold Seigel
9ba9e4aecb 8129895: New verifier fails to reject erroneous cast from int[] to other arrays of small integer types
Only allow assignability of arrays of primitive types if the types are identical

Reviewed-by: dholmes, gtriantafill
2015-07-22 08:00:38 -04:00
Kim Barrett
bd27782e17 Merge 2015-07-22 07:47:34 +02:00
Kim Barrett
717679c169 8130931: Refactor CardTableModRefBS[ForCTRS]
Remove friends and push CTRS-specific code down from base to derived

Reviewed-by: tschatzl, mgerdin
2015-07-22 00:37:01 -04:00
Coleen Phillimore
24c0f4e471 8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered

Added command line, summary cpu and os information to summary section.  Moved time of crash and duration in summary section.  Add GC strategy and compiler setting (tiered) to enhanced version string in error report.  Moved the stack trace sooner in hs_err file.

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Daniel D. Daugherty
d7f565d9eb 8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-07-21 07:28:37 -07:00
Alexander Alexeev
f3d31d3866 8131062: aarch64: add support for GHASH acceleration
Add support for GHASH using pmull

Reviewed-by: kvn, goetz, aph
2015-07-21 13:36:28 +00:00
Alexander Alexeev
b6cfe54a64 8132010: aarch64: regression test fails compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java
Fix type in SHA flag setting code

Reviewed-by: kvn, goetz, aph, zmajo
2015-07-21 14:23:08 +00:00
Roland Westrelin
ae7cdb5972 8130858: CICompilerCount=1 when tiered is off is not allowed any more
8122937 broke handling of CICompilerCount

Reviewed-by: kvn, vlivanov, gziemski
2015-07-27 13:44:07 +02:00
Roland Westrelin
327cf6829b Merge 2015-07-27 09:42:23 +02:00
Aleksey Shipilev
88a6ccaaa2 8131782: C1 Class.cast optimization breaks when Class is loaded from static final
Change as_ValueType() to return InstanceConstant when appropriate

Reviewed-by: jrose
2015-07-24 21:29:11 -04:00
Andrew Haley
71716bea0b Merge 2015-07-23 17:29:44 +01:00
Vladimir Kempik
6ab7533af1 8048353: jstack -l crashes VM when a Java mirror for a primitive type is locked
Reviewed-by: coleenp, dcubed
2015-07-20 18:57:07 +03:00
Andrew Haley
244435704b 8131779: AARCH64: add Montgomery multiply intrinsic
Add Montgomery multiply intrinsic for AArch64.

Reviewed-by: kvn
2015-07-20 11:41:34 +01:00
Coleen Phillimore
a692c78dfc Merge 2015-07-18 04:53:32 +02:00
Coleen Phillimore
802d5def62 Merge 2015-07-18 01:55:38 +02:00
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
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
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
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
Coleen Phillimore
354fb11881 Merge 2015-07-14 20:51:50 +00:00
Coleen Phillimore
fd8665fbe7 Merge 2015-07-14 18:34:11 +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
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
Daniel D. Daugherty
8dbfda6628 Merge 2015-07-09 14:35:13 -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
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
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
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
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
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
Andrew Haley
52b991b411 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 17:31:53 +01: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
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
Alejandro Murillo
4a826139e3 Merge 2015-06-26 19:11:15 -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
Bengt Rutisson
00db80b7de Merge 2015-06-24 15:04:27 +02:00
Thomas Schatzl
0d85af8161 Merge 2015-06-24 11:55:18 +02: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
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
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
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
Alejandro Murillo
03de95d555 Merge 2015-06-15 10:56:29 -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
Alejandro Murillo
95736933bd Merge 2015-06-11 12:02:12 -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
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
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
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
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
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
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
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 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
93fdb4e5ad 8081682: AbstractWorkGang::_terminate is never used
Reviewed-by: kbarrett, pliden, brutisso
2015-06-03 11:46:07 +02:00
Andreas Eriksson
f3f4608e09 8072588: JVM crashes in JNI if toString is declared as an interface method
Check for a valid itable index instead of checking if the holder is an interface

Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02:00
Christian Tornqvist
665eee5efe 8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
Christian Tornqvist
3c90d44e1a 8080446: The change for 8074354 removed the server check when creating minidumps on Windows
Reviewed-by: sla, hseigel
2015-06-01 14:01:20 -07:00
Roland Westrelin
7d22d69e0a Merge 2015-05-29 17:56:50 +02:00
Joseph Provino
3ab615bd2c 8081508: metaspace/shrink_grow/CompressedClassSpaceSize fails with OOM: Compressed class space
OOME is thrown even though there is metaspace available.

Reviewed-by: jmasa, kbarrett
2015-05-29 10:44:32 -04:00
Roland Westrelin
81b0f156c8 8080976: Unexpected AIOOB thrown from 1.9.0-ea-b64 on (regression)
Loop variant use in reduction should prevent vectorization

Reviewed-by: kvn, mcberg
2015-05-29 16:09:16 +02:00
Vladimir Ivanov
69aeb7540a 8001622: loadUB2L_immI8 & loadUS2L_immI16 rules don't match some 8-bit/16-bit masks
Reviewed-by: dlong, kvn, roland
2015-05-29 17:04:22 +03:00
Vladimir Ivanov
aae5102c06 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:04:21 +03:00
Tobias Hartmann
59f2a0f85f Merge 2015-05-29 12:49:31 +02:00
Staffan Larsen
b1388f39a9 8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
Reviewed-by: mgronlun, sspitsyn
2015-05-29 09:48:58 +02:00
Harold Seigel
84986c5ad9 Merge 2015-05-29 23:19:42 +02:00
Harold Seigel
6a5fa52c18 8076319: jstat verified class fix
Move verify perf data so that it only counts classes that actually get verified.

Reviewed-by: acorn, coleenp, gtriantafill
2015-05-29 15:23:41 -04:00
Coleen Phillimore
9b5e1ddb92 8029567: Clean up linkResolver code
Moved non-const reference return values to actual return values, refactored error handling code, remove oop from Method* variable names.

Reviewed-by: jiangli, lfoltan, acorn
2015-05-29 11:35:51 -04:00
Jesper Wilhelmsson
5862209cf3 Merge 2015-05-28 16:01:10 +02:00
Alexander Alexeev
5e3d542763 8081289: aarch64: add support for RewriteFrequentPairs in interpreter
Add support for RewriteFrequentPairs

Reviewed-by: roland
2015-05-27 09:02:08 +00:00
Bengt Rutisson
0ee851e5ef 8081039: G1: Remove unused statistics code in G1NoteEndOfConcMarkClosure and G1ParNoteEndTask
Reviewed-by: jmasa, kbarrett
2015-05-27 09:04:14 +02:00
Chris Plummer
77588c66b4 8051712: regression Test7107135 crashes
On AARCH64, make ElfFile::specifies_noexecstack() default to noexectstack

Reviewed-by: dholmes, dlong, aph
2015-05-26 11:26:50 -07:00
Stefan Karlsson
976d6c1e2a 8081007: Remove redundant active worker variables and calls in ParNewGeneration::collect
Reviewed-by: pliden, kbarrett, ehelin
2015-05-26 10:06:03 +02:00
Jon Masamitsu
807c69046a 8081629: CMS split_block() does not correctly fix up block-offset-table for large blocks
Reviewed-by: tschatzl, ysr
2015-05-25 19:26:23 -07:00
Erik Helin
c00b15bccd 8135253: Add push method to CollectionSetChooser
Reviewed-by: mgerdin, tschatzl
2015-09-11 13:20:05 +02:00
Erik Helin
89ec770497 8135260: Split G1CollectorPolicy::finalize_cset into two parts
Reviewed-by: tschatzl, mgerdin
2015-09-11 10:02:35 +02:00
Coleen Phillimore
f5b1a5107d Merge 2015-09-10 06:15:43 +02:00
Matthias Klose
e587cb7165 8135298: Fix zero builds for "unknown" architectures on linux
Add zero architectures for default cases

Reviewed-by: coleenp
2015-09-09 23:47:32 -04:00
Kim Barrett
fea40d07b4 8135209: Avoid abutting string literals and identifiers
Add spaces between string literals and identifiers.

Reviewed-by: brutisso, pliden
2015-09-09 14:31:12 -04:00
Sangheon Kim
7ec42b2f7a 8135025: Error message is repeated for large value at G1ConcRefinementThreads
Changed error handling when G1ConcRefinementThreads creation failed

Reviewed-by: jwilhelm, kbarrett, tschatzl
2015-09-09 09:19:32 -07:00
Mikael Gerdin
6f11efbbb4 8135154: Move cards scanned and surviving young words aggregation to G1ParScanThreadStateSet
Reviewed-by: tschatzl, ehelin
2015-09-09 14:22:45 +02:00
Mikael Gerdin
2dbd4dd578 8135152: Create a G1ParScanThreadStateSet class for managing G1 GC per thread states
Reviewed-by: tschatzl, ehelin
2015-09-09 10:34:22 +02:00
Kim Barrett
802664728f 8134797: Remove explicit casts in CollectorPolicy hierarchy
Removed the explicit casts.

Reviewed-by: jwilhelm, tschatzl, pliden
2015-09-08 16:00:34 -04:00
Jesper Wilhelmsson
30b987f6b7 Merge 2015-09-08 16:10:37 +02:00
Jesper Wilhelmsson
f9c99e1b3d Merge 2015-05-25 16:59:28 +02:00
Stefan Karlsson
f3f59e37c9 8080879: Remove FlexibleWorkGang::set_for_termination
Reviewed-by: brutisso, kbarrett, pliden
2015-05-25 11:41:34 +02:00
Stefan Johansson
b04d2bca57 8080746: Refactor oop iteration macros to be more general
Reviewed-by: stefank, pliden
2015-05-25 11:39:43 +02:00
Stefan Karlsson
e57447bd85 Merge 2015-05-25 09:28:47 +02:00
Stefan Karlsson
db20c1bc45 8080877: Don't use workers()->total_workers() when walking G1CollectedHeap::_task_queues
Reviewed-by: jmasa, drwhite
2015-05-22 13:35:29 +02:00
Stefan Karlsson
0290c50a20 Merge 2015-05-22 10:44:24 +00:00
Stefan Karlsson
23b343af68 8080876: Replace unnecessary MAX2(ParallelGCThreads, 1) calls with ParallelGCThreads
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:58:16 +02:00
Stefan Karlsson
21bb8edbba 8080840: Clean up active_workers() asserts
Reviewed-by: kbarrett, jmasa
2015-05-22 10:58:04 +02:00
Stefan Karlsson
5d81ec2082 8080837: Move number of workers calculation out of CollectionSetChooser::prepare_for_par_region_addition
Reviewed-by: kbarrett, mgerdin
2015-05-22 10:57:53 +02:00
Bengt Rutisson
33461c4c6e 8080627: JavaThread::satb_mark_queue_offset() is too big for an ARM ldrsb instruction
Reviewed-by: roland, kbarrett
2015-05-22 10:56:37 +02:00
Roland Westrelin
0296c2894b 8080699: Assert failed: Not a Java pointer in JCK test
Eliminated arraycopy node still reachable through exception edges

Reviewed-by: kvn
2015-05-22 09:14:18 +02:00
Tobias Hartmann
068d5d78b1 Merge 2015-05-22 09:50:32 +02:00
Alejandro Murillo
64fe991952 Merge 2015-05-21 17:11:54 -07:00
Ivan Gerasimov
48e61a6f7e 8069068: VM warning: WaitForMultipleObjects timed out (0) ..
Increase timeout to 5 minutes

Reviewed-by: dholmes, dcubed
2015-05-22 02:38:59 +03:00
Rickard Bäckman
525d473c25 Merge 2015-05-22 00:35:31 +02:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +02:00
Rickard Bäckman
657d7d0eea Merge 2015-05-21 21:17:03 +02:00
Roland Westrelin
59618d7d03 Merge 2015-05-21 20:29:09 +02:00
Tobias Hartmann
05ec00e16b Merge 2015-05-21 18:57:21 +02:00
Rickard Bäckman
af066eba2e 8080692: lots of jstack tests failing in pit
Reviewed-by: kvn, vlivanov
2015-05-21 18:10:18 +02:00
Vladimir Ivanov
3f096651f3 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:22:33 +03:00
Andreas Eriksson
346fb9ffa7 8060036: C2: CmpU nodes can end up with wrong type information
CmpU needs to be reprocessed by CCP when an AddI/SubI input's input type change

Reviewed-by: mcberg, kvn, roland
2015-05-21 16:49:11 +02:00
Stefan Karlsson
4e9a9eee84 8080869: FlexibleWorkGang initializes _active_workers to more than _total_workers
Reviewed-by: kbarrett, jmasa
2015-05-21 14:10:15 +02:00
Roland Westrelin
a3c77df5f1 8077504: Unsafe load can loose control dependency and cause crash
Node::depends_only_on_test() should return false for Unsafe loads

Reviewed-by: kvn, adinn
2015-05-21 13:54:07 +02:00
Stefan Karlsson
5dc3521a80 8080113: Remove CollectedHeap::set_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:59 +02:00
Stefan Karlsson
8d0f1a6528 8080112: Replace and remove the last usages of CollectedHeap::n_par_threads()
Reviewed-by: jmasa, kbarrett
2015-05-21 09:35:38 +02:00
Stefan Karlsson
b77b3ec014 8080111: Remove SubTaskDone::_n_threads
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:46 +02:00
Stefan Karlsson
c13872f88d 8080110: Remove usage of CollectedHeap::n_par_threads() from root processing
Reviewed-by: jmasa, kbarrett
2015-05-21 09:23:00 +02:00
Stefan Karlsson
e13e75547c 8080109: Use single-threaded code in Threads::possibly_parallel_oops_do when running with only one worker thread
Reviewed-by: jmasa, kbarrett
2015-05-21 09:10:47 +02:00
Andreas Sjoberg
c8fa7eb4dd 8047330: Remove unrolled card loops in G1 SparsePRTEntry
Reviewed-by: ehelin, mgerdin, tschatzl
2015-05-20 10:45:40 +02:00
Alejandro Murillo
ff1d247f0a Merge 2015-05-19 11:39:58 -07:00
Per Lidén
9fb89f6d01 8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp
Reviewed-by: kbarrett, tschatzl
2015-05-19 17:25:49 +02:00
Shrinivas Joshi
7c62a26e6b 8080308: TypeProfileLevel on SPARC platform should enable JSR292-only profiling level
Set TypeProfileLevel to 111 by default on sparc

Reviewed-by: kvn, roland
2015-05-19 16:05:12 +02:00
Per Lidén
5e68a86953 8080585: concurrentGCThread.hpp should not include suspendibleThreadSet.hpp
Reviewed-by: kbarrett, tschatzl
2015-05-19 14:09:22 +02:00
Volker Simonis
b48a61e5be 8080190: PPC64: Fix wrong rotate instructions in the .ad file
Reviewed-by: kvn
2015-05-19 11:06:34 +02:00
David Holmes
f1aab4c0ce Merge 2015-05-19 03:07:42 -04:00
Jungwoo Ha
c0fcbe951e 8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
Reviewed-by: dholmes, stuefe
2015-05-19 01:34:53 -04:00
Serguei Spitsyn
99f8091782 8079644: memory stomping error with ResourceManagement and TestAgentStress.java
The cached class file structure must be deallocated instead of the cached class file bytes

Reviewed-by: coleenp, sla
2015-05-18 16:42:46 -07:00
Zoltan Majo
f5c1e4d576 8080281: 8068945 changes break building the zero JVM variant
Define the PreserveFramePointer flag also in globals_zero.hpp

Reviewed-by: simonis, kvn, sgehwolf
2015-05-18 19:54:49 +02:00
Ed Nevill
87e17632b5 8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails
Return correct length in generate_cipherBlockChaining_encryptAESCrypt

Reviewed-by: roland
2015-05-18 15:52:33 +00:00
Jesper Wilhelmsson
f64e5038a4 Merge 2015-05-18 17:09:47 +02:00
Daniel D. Daugherty
5cf176b870 Merge 2015-05-16 13:19:11 -07:00
Jungwoo Ha
48b40a2611 8079216: Remove undefined method oopDesc::is_null(Klass *)
Reviewed-by: kbarrett, coleenp, stefank
2015-05-15 15:40:58 -07:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Vladimir Ivanov
18f7135255 8079135: C2 disables some optimizations when a large number of unique nodes exist
Reviewed-by: kvn
2015-05-15 19:21:46 +03:00
Ed Nevill
66630f6ae5 8079564: Use FP register as proper frame pointer in JIT compiled code on aarch64
Add support for PreserveFramePointer for debug/profile

Reviewed-by: kvn
2015-05-15 09:21:48 +00:00
Kim Barrett
ab4ba3b40f 8058265: No callers of ReferenceProcessor::clear_discovered_references
Removed unused or unneeded code.

Reviewed-by: brutisso, jmasa
2015-05-14 15:17:36 -04:00
Alejandro Murillo
7857b953d0 Merge 2015-05-14 12:05:32 -07:00
Max Ockner
813f34059b 6811960: x86 biasedlocking epoch expired rare bug
It is now guaranteed that biased_locking_enter will be passed a valid tmp_reg.

Reviewed-by: coleenp, dcubed, kvn
2015-05-14 14:03:58 -04:00
Tobias Hartmann
9e5ef665a0 Merge 2015-05-14 16:16:06 +02:00
Harold Seigel
56c375cdb7 Merge 2015-05-13 21:06:30 +02:00
Christian Tornqvist
971e022093 8078121: Add 'CreateMinidumpOnCrash' (JDK-8074354) caused many tests failed in nightly testing
Reviewed-by: coleenp, hseigel
2015-05-12 13:17:54 -07:00
Christian Tornqvist
3f565a5da4 8075966: Update ProjectCreator to create projects using Visual Studio 2013 toolset
Reviewed-by: sla, lfoltan
2015-05-12 13:16:37 -07:00
Ed Nevill
a65f9f9589 8079203: AARCH64: Need to cater for different partner implementations
Parse /proc/cpuinfo to derive implementation specific info

Reviewed-by: kvn
2015-05-12 13:58:42 +00:00
Roland Westrelin
513d9a5ede 8085832: Optimize main and post loop out when pre loop is found empty
Eliminate main loop and post loop if pre loop becomes empty

Reviewed-by: kvn, mcberg
2015-05-12 14:26:31 +02:00
Roland Westrelin
197ecf9bc1 8081823: C2 performs unsigned comparison against -1
X <= 0 || x > 0 wrongly folded as (x-1) >u -1

Reviewed-by: kvn, vlivanov
2015-06-08 18:35:17 +02:00
Roland Westrelin
0fb315714c 8078866: compiler/eliminateAutobox/6934604/TestIntBoxing.java assert(p_f->Opcode() == Op_IfFalse) failed
Bail out from range check elimination if pre loop is not found

Reviewed-by: kvn
2015-06-04 16:19:22 +02:00
Vladimir Kozlov
a2d369e486 Merge 2015-06-04 19:24:47 -07:00
Vladimir Kozlov
93d1573c5e 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose
2015-06-03 15:02:10 -07:00
Roland Westrelin
be86925c01 8078436: java/util/stream/boottest/java/util/stream/UnorderedTest.java crashed with an assert in ifnode.cpp
Bad assert in fold_compares code

Reviewed-by: kvn, vlivanov
2015-05-12 09:41:12 +02:00
Roland Westrelin
a9cdbd0407 8076188: Optimize arraycopy out for non escaping destination
If the destination of an arraycopy is non escaping, the arraycopy may be optimized out

Reviewed-by: kvn, vlivanov
2015-05-12 10:27:50 +02:00
Jiangli Zhou
cb51ce598c 8079840: G1StringDedupTable::deduplicate() reset String hash value unnecessarily
Only set hash value if String's hash value was 0.

Reviewed-by: pliden, brutisso
2015-05-11 15:06:02 -04:00
Jesper Wilhelmsson
042902811c Merge 2015-05-11 16:30:26 +02:00
Per Lidén
95da544d68 8079579: Add SuspendibleThreadSetLeaver and make SuspendibleThreadSet::joint()/leave() private
Reviewed-by: brutisso, david
2015-05-11 13:57:30 +02:00
David Lindholm
5b29324b68 8076542: G1 does not print heap page size information with -XX:+TracePageSizes
Reviewed-by: tschatzl, brutisso
2015-05-11 10:29:57 +02:00
Rickard Bäckman
3dc9461bc8 8079797: assert(index >= 0 && index < _count) failed: check
Reviewed-by: kvn
2015-05-11 09:44:07 +02:00
Tobias Hartmann
005adcec93 Merge 2015-05-11 07:58:02 +02:00
Tobias Hartmann
e113dfc652 8079343: Crash in PhaseIdealLoop with "assert(!had_error) failed: bad dominance"
C2 should not try to vectorize loops with loop variant vector base address.

Reviewed-by: kvn
2015-05-11 07:44:46 +02:00
Kim Barrett
7590aeb6e2 8079080: ConcurrentMark::mark_stack_push(oop) is unused
Remove unused functions from ConcurrentMark and CMMarkStack.

Reviewed-by: jmasa, tschatzl
2015-05-10 01:11:13 -04:00
Harold Seigel
961389c6ef Merge 2015-05-09 07:32:49 -04:00
Harold Seigel
0033b57269 Merge 2015-05-08 23:51:37 +02:00
Harold Seigel
e5e17a62d1 8076318: split verifier needs to add TraceClassResolution
Add print statements to verifier when TraceClassResolution is specified

Reviewed-by: coleenp, acorn
2015-05-08 16:24:46 -04:00
Michael C Berg
4fca8dbb1f 8076276: Add support for AVX512
Reviewed-by: kvn, roland
2015-05-08 11:49:20 -07:00
Michael Haupt
b15af202c5 8030680: 292 cleanup from default method code assessment
Small code improvements for increased robustness

Reviewed-by: acorn, coleenp
2015-05-08 14:00:24 -04:00
Harold Seigel
da4711381d Merge 2015-05-08 13:25:11 -04:00
Joseph Provino
f979b6f8f6 7006810: G1: Introduce peace-of-mind checking in the Suspendible Thread Set
Add asserts to ensure thread is in the right state.

Reviewed-by: tschatzl, pliden
2015-05-08 09:52:51 -04:00
Claes Redestad
a890eee817 8079263: Suppress warning about disabling adaptive size policy when enabling UseLargePages with UseNUMA when adaptive size policy is disabled
Reviewed-by: jmasa, jwilhelm
2015-05-08 15:41:39 +02:00
Tobias Hartmann
43a5abc876 8078497: C2's superword optimization causes unaligned memory accesses
Prevent vectorization of memory operations with different invariant offsets if unaligned memory accesses are not allowed.

Reviewed-by: kvn
2015-05-08 12:19:17 +02:00
Bengt Rutisson
890471d11a 8079561: Add a method to convert counters to milliseconds
Reviewed-by: mgerdin, ehelin
2015-05-08 10:30:16 +02:00
Alejandro Murillo
58a1361125 Merge 2015-05-07 15:34:45 -07:00
Vladimir Kozlov
fcf64c698f Merge 2015-05-07 11:28:03 -07:00
Ed Nevill
69aa7ea566 8079507: aarch64: fails to build due to changes to template interpreter
Fix by merging in changes from fix for 8074345

Reviewed-by: kvn
2015-05-07 13:58:57 +00:00
Andreas Eriksson
07f8740617 8051045: HotSpot fails to wrap Exceptions from invokedynamic in a BootstrapMethodError
Reviewed-by: coleenp, dsimms
2015-05-07 15:05:46 +02:00
David Holmes
5c859405b5 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Thomas Schatzl
00e2ae0942 8079556: BACKOUT - Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Reviewed-by: jwilhelm, brutisso
2015-05-07 10:32:42 +02:00
Daniel D. Daugherty
a692523e95 8079359: disable JDK-8061553 optimization while JDK-8077392 is resolved
Borrow an unused SyncFlags value to disable the "fast enter" optimization.

Reviewed-by: lana, dsamersoff, amurillo
2015-05-05 18:57:57 -07:00
Coleen Phillimore
c6e557977e 8069005: Hotspot crashes in System.out.println with assert(resolved_method->method_holder()->is_linked()) failed: must be linked
Move java.lang.Class initialization sooner in bootstrapping the jvm

Reviewed-by: dholmes, hseigel
2015-05-05 16:09:30 -04:00
Jan Civlin
c7d33de202 8076284: Improve vectorization of parallel streams
Improve vectorization of java/util/stream/Streams$RangeIntSpliterator::forEachRemaining() method and enable loop vectorization in a given method on demand.

Reviewed-by: kvn
2015-05-05 12:33:57 -07:00
Roland Westrelin
cf9c335865 Merge 2015-05-05 19:27:08 +02:00
Rickard Bäckman
41e1772251 8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart
2015-05-05 16:50:25 +02:00
Andreas Woess
5c13c285f7 8075492: adopt recent IGV
Adopted recent sources, updated README, added build and run instructions; ignored IGV build files in Mercurial; adapted HotSpot Ideal graph printer to current IGV's data format schema; reintroduced control flow window and basic block layout

Co-authored-by: Bernhard Urban <bernhard.urban@oracle.com>
Co-authored-by: Christian Haeubl <christian.haeubl@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Gilles Duboscq <gilles.duboscq@oracle.com>
Co-authored-by: Lukas Stadler <lukas.stadler@oracle.com>
Co-authored-by: Peter Hofer <peter.hofer@jku.at>
Co-authored-by: Roland Schatz <roland.schatz@oracle.com>
Co-authored-by: Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: kvn, roland
2015-05-05 13:06:10 +02:00
Alejandro Murillo
d83bdb4157 Merge 2015-05-01 03:56:01 -07:00
Bharadwaj Yadavalli
f8d0a6ff28 Merge 2015-04-30 18:14:58 -04:00
Roland Westrelin
3cdae26a75 8078426: mb/jvm/compiler/InterfaceCalls/testAC2 - assert(predicate_proj == 0L) failed: only one predicate entry expected
Split if finds predicates on several incoming paths when unswitched's loops are optimized out

Reviewed-by: kvn
2015-04-29 14:43:12 -07:00
Severin Gehwolf
add46c476a 8078666: JVM fastdebug build compiled with GCC 5 asserts with "widen increases"
Do the math on the unsigned type where overflows are well defined

Reviewed-by: kvn, aph
2015-04-29 12:23:48 -07:00
Evgeniya Stepanova
19e80a1f8f 6407976: GC worker number should be unsigned
Reviewed-by: jwilhelm, tschatzl
2015-04-29 15:12:33 +03:00
David Lindholm
4ff6849791 8079337: Format string issues in workgroup.cpp and taskqueue.cpp
Reviewed-by: jwilhelm, pliden, ehelin
2015-05-06 11:04:44 +02:00
Per Lidén
e5b7417b04 8079330: Circular dependency between G1CollectedHeap and G1BlockOffsetSharedArray
Reviewed-by: tschatzl, mgerdin
2015-05-05 11:17:12 +02:00
Per Lidén
7e9f9f9107 8013171: G1: C1 x86_64 barriers use 32-bit accesses to 64-bit PtrQueue::_index
Reviewed-by: roland, tschatzl
2015-05-06 09:21:10 +02:00
Stefan Karlsson
7ede39f590 8079275: Remove CollectedHeap::use_parallel_gc_threads
Reviewed-by: sjohanss, kbarrett
2015-05-04 15:02:37 +02:00
Jungwoo Ha
00f9d96a8b 8079091: Remove dictionary NULL check on common path of BlockFreeList methods
Reviewed-by: kbarrett, stefank, dholmes, jmasa
2015-05-01 10:51:00 -07:00
Jesper Wilhelmsson
ca69eddba5 Merge 2015-05-04 17:10:50 +02:00
Per Lidén
8986235472 8079148: Fix incorrect include guards
Reviewed-by: stefank, ehelin
2015-05-04 09:24:03 +02:00
Kim Barrett
0227995013 8075215: SATB buffer processing found reclaimed humongous object
Don't assume SATB buffer entries are valid objects

Reviewed-by: brutisso, ecaspole
2015-05-01 17:38:12 -04:00
Stefan Johansson
20689e5397 8078897: Clean out unused code in G1MMUTracker
Reviewed-by: brutisso, jwilhelm, drwhite
2015-04-30 10:14:26 +02:00
Dmitry Fazunenko
f10e4ec0a6 8073476: G1 logging ignores changes to PrintGC* flags via MXBeans
Reviewed-by: brutisso, jwilhelm
2015-04-29 15:32:05 +04:00
Derek White
a9a83a919f 8076995: gc/ergonomics/TestDynamicNumberOfGCThreads.java failed with java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr
Reviewed-by: brutisso, jmasa, jwilhelm
2015-04-29 09:59:51 +02:00
Coleen Phillimore
01aedea8fc Merge 2015-04-29 02:35:29 +02:00
Jesper Wilhelmsson
ab61943776 Merge 2015-04-28 23:37:11 +02:00
Coleen Phillimore
d380c068d5 Merge 2015-04-28 23:04:16 +02:00
Coleen Phillimore
8a788d57db 8068352: Move virtualspace.* out of src/share/vm/runtime to memory directory
Move virtualspace.* out of src/share/vm/runtime to memory directory

Reviewed-by: brutisso, sgehwolf, stefank, sspitsyn
2015-04-28 16:46:39 -04:00
Sangheon Kim
e207b18f10 8073204: Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: ysr, jwilhelm, tschatzl
2015-04-28 12:02:50 -07:00
Stefan Karlsson
6dde0580a0 Merge 2015-04-28 12:17:56 +00:00
Yasumasa Suenaga
649f4e881e 8076212: AllocateHeap() and ReallocateHeap() should be inlined
NMT with detail option reports incorrect caller address on Linux.

Reviewed-by: dholmes, coleenp
2015-04-28 19:04:39 +09:00
Serguei Spitsyn
f7c143cbb2 8073705: more performance issues in class redefinition
Optimize the method pointer adjustments for prev klass versions and MNT

Reviewed-by: dcubed, coleenp
2015-04-27 19:51:00 -07:00
Christian Thalinger
8cb760c280 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Thomas Schatzl
e08169c253 8073632: Make auxiliary data structures know their own translation factor
Auxiliary data structures should have knowledge of their own requirements for virtual memory reservations instead of getting these values directly from various places.

Reviewed-by: stefank, kbarrett
2015-04-27 10:04:26 +02:00
Stefan Karlsson
f171cd3a86 8078601: print_concurrent_locks should be guarded with INCLUDE_SERVICES
Reviewed-by: mgronlun, sla, dholmes
2015-04-27 09:51:13 +02:00
Stefan Karlsson
f7ea0b72eb 8076177: Remove usage of stack.inline.hpp functions from taskqueue.hpp
Reviewed-by: brutisso, goetz
2015-04-27 09:51:06 +02:00
Bengt Rutisson
6d5aa2af43 8078613: HAS_BEEN_MOVED has been moved
Reviewed-by: stefank, sjohanss
2015-04-27 09:08:07 +02:00
Andrew Haley
a4c5e8666b 8078621: AARCH64: Fails to build without precompiled headers
Fix #includes.

Reviewed-by: kvn
2015-04-24 16:28:29 +01:00
Ed Nevill
650d8b7cb6 8075930: AARCH64: Use FP Register in C2
Modify to allow C2 to allocate FP (R29) as a general register

Reviewed-by: aph, kvn, dlong
2015-04-24 11:01:37 +00:00
Michael C Berg
a880f3d139 8078563: Restrict reduction optimization
Reviewed-by: kvn, twisti
2015-04-29 15:34:04 -07:00
Volker Simonis
c87659b9f2 8079280: Fix format warning/error in vm_version_ppc.cpp
Reviewed-by: stefank
2015-05-04 18:41:53 +02:00
Calvin Cheung
22611f6936 Merge 2015-04-23 14:09:59 -07:00
Andrew Dinn
294d9dce7f 8078263: AARCH64: Volatile fields should be accessed with ldar and stlr
Ad file rules now generate load acquire and store release for volatile accesses

Reviewed-by: kvn
2015-04-23 17:53:38 +01:00
Thomas Stuefe
301298546c 8077276: allocating heap with UseLargePages and HugeTLBFS may trash existing memory mappings (linux)
Remove MAP_FIXED from initial mapping allocation; add tests

Reviewed-by: stefank, coleenp
2015-04-23 18:00:50 +02:00
Calvin Cheung
4c99a3031d Merge 2015-05-02 18:40:37 -07:00
Thomas Stuefe
e68705a3f8 8078628: linux-zero does not build without precompiled header
Add missing includes

Reviewed-by: coleenp, stefank, sgehwolf
2015-04-30 09:09:01 +02:00
Serguei Spitsyn
0096dd6154 8076579: Popping a stack frame after exception breakpoint sets last method param to exception
Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary

Reviewed-by: jbachorik, coleenp, twisti
2015-04-29 17:14:40 -07:00
Severin Gehwolf
f381346db0 8078504: Zero fails to build
Reviewed-by: kvn, simonis
2015-04-23 17:42:06 +02:00
Kim Barrett
878cf5e641 8031401: Remove unused code in the reference processor
Assume pending_list uses discovered field and remove resulting dead code.

Reviewed-by: brutisso, pliden
2015-04-23 11:26:32 -04:00
Zoltan Majo
4a038936e3 Merge 2015-04-27 11:01:29 +02:00
Zoltan Majo
a452b030ce 8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.

Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Jesper Wilhelmsson
e8a6f321c1 Merge 2015-04-23 16:09:21 +02:00
Goetz Lindenmaier
879707ab31 8078482: ppc: pass thread to throw_AbstractMethodError
Also improve check for Safepoints in signal handler.

Reviewed-by: kvn, simonis
2015-04-23 09:27:02 +02:00
Kim Barrett
5f1b96662a 8078023: verify_no_cset_oops found reclaimed humongous object in SATB buffer
Removed no longer valid checking of SATB buffers

Reviewed-by: jmasa, pliden
2015-04-22 14:06:49 -04:00
Aleksey Shipilev
dc67bb0a0e 8076987: C1 should support conditional card marks (UseCondCardMark)
Reviewed-by: iveresov, roland
2015-04-22 19:10:03 +03:00
Michail Chernov
689d9a58b1 8071462: Remove G1ParGCAllocator::alloc_buffer_waste
Removed G1ParGCAllocator::alloc_buffer_waste, added method to obtain waste

Reviewed-by: tschatzl, sjohanss
2015-04-22 17:05:00 +02:00
Stefan Johansson
ace7f7933e 8077836: Make sure G1ParGCAllocBuffer are marked as retired
Reviewed-by: tschatzl, pliden
2015-04-22 12:58:10 +02:00
Stefan Karlsson
7d01ef4a6e 8078345: Move PSParallelCompact::mark_and_push to ParCompactionManager
Reviewed-by: jwilhelm, brutisso
2015-04-22 10:31:15 +02:00
Thomas Schatzl
f3e710a50e 8076541: Parallel GC registers Java heap twice to NMT
Remove the superfluous call to MemTracker::record_virtual_memory_type() and also a superfluous check whether the space has been successfully reserved.

Reviewed-by: pliden, jmasa
2015-04-22 09:39:38 +02:00
Stefan Karlsson
9631881fe3 8078341: Remove the unused PSParallelCompact::_updated_int_array_klass_obj
Reviewed-by: ehelin, tschatzl
2015-04-22 09:09:42 +02:00
Stefan Karlsson
4357348f6f 8078340: Remove the unused PSParallelCompact::KeepAliveClosure
Reviewed-by: ehelin, tschatzl
2015-04-22 08:29:39 +02:00
Goetz Lindenmaier
d65074da2c 8078243: Fix include of stack.inline.hpp in taskqueue.hpp
Reviewed-by: stefank, tschatzl
2015-04-21 10:14:35 +02:00
Dmitry Dmitriev
dba5d6fdc5 8074026: Deprecated UseBoundThreads, DefaultThreadPriority and NoYieldsInMicrolock VM options still defined in globals.hpp
Reviewed-by: dholmes, mseledtsov
2015-04-20 22:07:09 -04:00
David Holmes
650fe66a1b 8077674: BSD build failures due to undefined macros
Reviewed-by: dsamersoff, kbarrett, hseigel
2015-04-20 21:32:28 -04:00
Stefan Karlsson
be6e9b9f50 8042891: Format issues embedded in macros for two g1 source files
Reviewed-by: brutisso, tschatzl
2015-04-20 13:34:04 +02:00
Per Lidén
e4a699552a 8068582: UseSerialGC not always set up properly
Reviewed-by: jmasa, brutisso, sjohanss
2015-04-20 08:53:08 +02:00
Bengt Rutisson
0d5c04e00d 8078156: G1: Remove dead code PrintObjsInRegionClosure
Reviewed-by: tschatzl, sjohanss
2015-04-20 16:18:02 +02:00
Jesper Wilhelmsson
f2ac065c42 Merge 2015-04-20 14:26:54 +02:00
Andrew Haley
a22fc004de 8077308: Fix warning: increase O_BUFLEN in ostream.hpp -- output truncated
Reviewed-by: dholmes, hseigel
2015-04-17 22:50:10 -04:00