2704 Commits

Author SHA1 Message Date
David Leopoldseder
26a978276c 8166125: [JVMCI] Missing JVMCI flag default values
Reviewed-by: twisti, kvn
2017-01-09 19:36:47 +00:00
Lutz Schmidt
9b98f88304 8170981: Possible access to char array with negative index
Check arithmetic before trying to access array by index.

Reviewed-by: rprotacio, dholmes, gziemski
2016-12-22 15:01:20 -06:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00
Jesper Wilhelmsson
3bfd349b45 Merge 2016-12-20 22:53:45 +01:00
Calvin Cheung
026a05429c 8171011: convert some CDS dump time warning and error messages to informational messages which will be printed with -XX:+PrintSharedSpaces
Print informational message if a module related options is used during dumping except for the -m option

Reviewed-by: iklam, jiangli, mseledtsov
2016-12-20 11:50:40 -08:00
Jini George
5f477c032d 8159127: hprof heap dumps broken for lambda classdata
Added class dump records for lambda related anonymous classes in the heap dump

Reviewed-by: dsamersoff, sspitsyn
2016-12-20 13:35:40 +03:00
Goetz Lindenmaier
12aa0a8788 8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp
2016-12-19 15:48:57 -08:00
Bob Vandette
6009cf0793 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:01 -05:00
Jiangli Zhou
bae7bbd382 8168797: do not load any archived classes from a patched module
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime.

Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
2016-12-19 13:54:33 -05:00
Christine Flood
6fd85f1084 8170888: [linux] Experimental support for cgroup memory limits in container (ie Docker) environments
Set apparent physical memory to cgroup memory limit when UseCGroupMemoryLimitForHeap is true

Reviewed-by: acorn, kbarrett
2016-12-12 15:41:50 -05:00
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Jesper Wilhelmsson
65ae405a5b Merge 2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
5597cd6698 Merge 2016-12-08 15:49:29 +01:00
Rachel Protacio
9c6128c943 8169734: Update uses of string "java.base" to macro
Replaced instances of "java.base" string with JAVA_BASE_NAME macro

Reviewed-by: sspitsyn, dcubed
2016-12-05 16:08:20 -05:00
Alan Bateman
988690303a 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Erik Helin
cc87ed96f5 8170388: Deprecate the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses
Reviewed-by: tschatzl, jprovino
2016-11-28 14:57:12 +01:00
Kirill Zhaldybin
f2dcdc6fb5 8166156: Convert test_semaphore to GTest
Reviewed-by: kbarrett, tschatzl, stefank
2016-11-28 18:54:30 +03:00
Ioi Lam
7624f76c84 8169867: Method::restore_unshareable_info does not invoke Method::link_method
Reviewed-by: jiangli, kvn, thartmann
2016-11-27 19:58:30 -08:00
Thomas Schatzl
06bd79afed 8057003: Large reference arrays cause extremely long synchronization times
Slice large object arrays into parts so that the synchronization of marking threads with an STW pause request does not take long.

Reviewed-by: ehelin, pliden
2016-11-24 11:27:57 +01:00
Bob Vandette
2ed31c7b3b 8167501: ARMv7 Linux C2 compiler crashes running jtreg harness on MP systems
Reviewed-by: dcubed
2016-11-03 10:44:17 -04:00
Rachel Protacio
3f2be39bb3 8165550: Add class loader names to ClassCastException message
Adds new format of class loader names to VM ClassCastException messages

Reviewed-by: dholmes, mchung, lfoltan
2016-11-17 16:28:45 -05:00
Harold Seigel
198498171b 8169551: Segfaults in error traces when module version is null
Make sure module->version() is not null before dereferencing it.

Reviewed-by: coleenp, gtriantafill, lfoltan
2016-11-15 08:34:56 -05:00
Calvin Cheung
1c8fc7bca4 8168796: relax vm options checking during CDS dump time
Warning instead of exit for the following vm options specified during CDS dump time: --module-path, --upgrade-module-path, --add-modules

Reviewed-by: hseigel, jiangli, sspitsyn
2016-11-14 10:42:13 -08:00
Marcus Larsson
8641d21c56 8166117: Add UTC timestamp decorator for UL
Reviewed-by: rehn, rprotacio
2016-10-21 10:18:11 +02:00
Goetz Lindenmaier
da8430daf1 8166561: [s390] Adaptions needed for s390 port in C1 and C2
Reviewed-by: kvn
2016-09-22 18:29:15 +02:00
Goetz Lindenmaier
7aed968c10 8166560: [s390] Basic enablement of s390 port
Also fix problem with ARM Elf configuration.

Reviewed-by: dholmes, coleenp
2016-09-22 18:23:15 +02:00
Jesper Wilhelmsson
82bdf29022 8157455: Convert TestOS_test to GTest
Reviewed-by: dholmes, rehn
2016-05-23 19:46:43 +02:00
Nils Eliasson
1134c66f5e 8166377: is_compiled_by_jvmci hot in some profiles - improve nmethod compiler type detection
Refactor code removing virtual call

Reviewed-by: kvn, twisti
2016-10-21 20:12:47 +02:00
Alejandro Murillo
af03100a51 Merge 2016-10-20 16:53:56 -07:00
Sangheon Kim
614320ba5e 8167494: Deprecate AutoGCSelectPauseMillis
Reviewed-by: kbarrett, ehelin
2016-10-17 16:40:49 -07:00
Sangheon Kim
fb49622c7e 8166461: Deprecate UseAutoGCSelectPolicy
Reviewed-by: kbarrett, ehelin
2016-10-17 21:21:53 -07:00
Coleen Phillimore
f860133cc4 Merge 2016-10-18 02:53:36 +00:00
Coleen Phillimore
4bcb9f4aee Merge 2016-10-18 00:15:02 +00:00
Jon Masamitsu
867c3bfaef 8155948: Add message for CMS deprecation for Oracle builds
Reviewed-by: kbarrett, dholmes, coleenp, drwhite
2016-10-17 16:46:12 -07:00
David Holmes
7e084fd81f 8166197: assert(RelaxAssert || w != Thread::current()->_MutexEvent) failed: invariant
Reviewed-by: dcubed, cvarming
2016-10-17 18:40:10 -04:00
Martin Doerr
4b792903da 8166970: Adapt mutex padding according to DEFAULT_CACHE_LINE_SIZE
Reviewed-by: coleenp, dholmes, dcubed, redestad
2016-10-12 10:41:00 +02:00
Doug Simon
dd2c391c43 8167194: [JVMCI] no reliable mechanism for querying JVMCI system properties
Reviewed-by: kvn
2016-10-05 13:56:26 -07:00
Harold Seigel
9d898bb3e0 8157176: Improved classfile parsing
Reviewed-by: acorn, mschoene, ctornqvi, bmoloden
2016-06-27 15:26:08 -04:00
Gerard Ziemski
656510aa27 8155968: Update command line options
Reviewed-by: gthornbr, hseigel, mschoene
2016-06-09 13:47:15 -05:00
Jiangli Zhou
065f9a3a4e 8156794: Extend data sharing
Reviewed-by: iklam, hseigel, acorn, mschoene
2016-05-12 17:37:45 -04:00
Max Ockner
06ee36561b 8167446: Add back PermSize and MaxPermSize
Added Permsize and MaxPermSize as obsolete options to remain indefinitely.

Reviewed-by: coleenp, hseigel, lfoltan
2016-10-13 15:57:24 -04:00
Dean Long
42ec83b459 Merge 2016-09-26 14:21:21 -04:00
Erik Österlund
f6f5dfdb4a 8033552: Fix missing missing volatile specifiers in CAS operations in GC code
Add missing volatile specifiers.

Reviewed-by: kbarrett, tschatzl
2016-09-20 15:42:17 -04:00
Calvin Cheung
f9707ab4cd 8164011: --patch-module support for CDS
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.

Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:19 -07:00
Thomas Schatzl
317f1aa044 8157952: Parallelize Memory Pretouch
Use multiple threads to pretouch memory using -XX:+AlwaysPreTouch to use more memory bandwidth

Reviewed-by: jmasa, sangheki
2016-09-16 11:33:47 +02:00
Thomas Schatzl
94bbcbd378 8159422: Very high Concurrent Mark mark stack contention
Decrease contention on mark stack by splitting locks, and minimizing the amount of time these locks are held. Improve mark stack management.

Reviewed-by: kbarrett, mgerdin, eosterlund
2016-09-15 16:44:19 +02:00
David Simms
1c2da5f5ed 8164086: Checked JNI pending exception check should be cleared when returning to Java frame
Transitions to Java clear the pending pointer

Reviewed-by: dholmes, neliasso, coleenp
2016-09-13 09:04:44 +02:00
Stefan Johansson
f6a7898995 8114823: G1 doesn't honor request to disable class unloading
Reviewed-by: tschatzl, mgerdin
2016-09-12 16:34:36 +02:00
Harold Seigel
37c77e03d3 8165634: Support multiple --add-modules options on the command line
Use numbered properties for --add-module options so that multiple --add-module options can be supported.

Reviewed-by: coleenp, gziemski, lfoltan, ccheung
2016-09-10 08:25:51 -04:00
Daniel D. Daugherty
097b1f1495 Merge 2016-09-09 11:23:59 -07:00