5649 Commits

Author SHA1 Message Date
Bertrand Delsart
5aec2dc9fc 8087333: Optionally Pre-Generate the HotSpot Template Interpreter
Optional support for pregenerated template interpreter

Reviewed-by: coleenp, dholmes, kvn
2015-07-01 10:53:26 +02:00
Daniel D. Daugherty
503aa09100 Merge 2015-06-30 09:48:24 -07:00
Daniel D. Daugherty
7315d2ea19 8130135: backout 8087143 due to failures in 8130115
Reviewed-by: minqi, coleenp
2015-06-30 09:39:53 -07:00
Yumin Qi
037958ba9a 8087143: 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-06-29 13:48:55 -07:00
Harold Seigel
df34232add Merge 2015-06-29 17:24:52 +00:00
Harold Seigel
28effe7632 8073423: Remove LazyClassPathEntry support if no longer needed
Remove LazyClassPathEntry support and deprecate -XX:+LazyBootClassLoader

Reviewed-by: acorn, lfoltan
2015-06-29 11:48:27 -04:00
Goetz Lindenmaier
bd938df14f 8130036: Fix problems with imprecise C++ coding
Reviewed-by: dholmes, kbarrett
2015-06-29 10:16:48 +02:00
Thomas Stuefe
a88e8669c5 8080925: Make error log write timeout parameter configurable
Reviewed-by: sla, coleenp, ctornqvi, dholmes
2015-06-26 08:29:29 +02:00
Stefan Karlsson
1a534420a8 8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes
2015-01-19 11:06:08 +01:00
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
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
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
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
Daniel D. Daugherty
6bb2203891 Merge 2015-06-18 13:18:12 -07: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
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