6351 Commits

Author SHA1 Message Date
Jean-Francois Denise
88ff99b454 Merge 2015-06-25 20:47:46 +00:00
Poonam Bajaj
b34dec66c6 Merge 2015-06-25 18:14:54 +00:00
Jean-Francois Denise
aaac2cbb54 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02:00
Thomas Schatzl
e5a5f9beab Merge 2015-06-25 15:43:16 +00:00
Poonam Bajaj
c7612a1138 8129108: nmethod related crash in CMS
Add SO_AllCodeCache to root scanning options when not unloading classes with a CMS collection cycle

Reviewed-by: mgerdin, jwilhelm
2015-06-25 06:52:05 -07:00
Bertrand Delsart
6684a41c5d Merge 2015-06-25 13:23:36 +00:00
Bengt Rutisson
e7a2bfa767 Merge 2015-06-25 10:52:37 +00:00
David Holmes
1b1b03c99c Merge 2015-06-25 08:30:23 +00:00
Thomas Schatzl
9a06f23e99 Merge 2015-06-25 07:13:27 +00:00
Thomas Schatzl
2431e87477 8129573: CollectedHeap::fill_with_objects() needs to use multiple arrays in 32 bit mode too
In JDK-8042668 we introduced a custom fill threshold for G1. This leads to CollectedHeap::fill_with_objects create too large objects in G1 when using it in 32 bit mode, as the code to create multiple filler objects is IFDEF'ed out on 32 bit. Enable this code on 32 bit too.

Reviewed-by: tonyp, mgerdin, tbenson
2015-06-25 09:06:35 +02:00
Bertrand Delsart
2a01bb6dda 8081406: cleanup and minor extensions of the debugging facilities in CodeStrings
Avoid issues around _defunct CodeStrings

Reviewed-by: dholmes, coleenp
2015-06-25 08:17:52 +02:00
Bengt Rutisson
5f4a67087f 8129626: G1: set_in_progress() and clear_started() needs a barrier on non-TSO platforms
Also reviewed by vitalyd@gmail.com

Reviewed-by: pliden, bpittore, bdelsart
2015-06-25 08:15:07 +02:00
Coleen Phillimore
ee01e4e88b Merge 2015-06-24 21:58:05 -04:00
Dmitry Dmitriev
ef8ad5ea95 8078399: Deprecate -Xoss, -Xsqnopause, -Xoptimize and -Xboundthreads options in JDK 9
Reviewed-by: dholmes, coleenp
2015-06-24 18:19:09 -04:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Bengt Rutisson
00db80b7de Merge 2015-06-24 15:04:27 +02:00
Jesper Wilhelmsson
d60d6fdf40 Merge 2015-06-24 13:38:01 +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
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
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
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
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
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