7820 Commits

Author SHA1 Message Date
Lois Foltan
92eb334c91 8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules

Reviewed-by: coleenp, dholmes, sspitsyn, zgu
2016-06-28 10:11:01 -04:00
Per Lidén
651e15fda6 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: stefank, drwhite, tschatzl, jiangli, iklam
2016-06-28 10:37:52 +02:00
Harold Seigel
9d898bb3e0 8157176: Improved classfile parsing
Reviewed-by: acorn, mschoene, ctornqvi, bmoloden
2016-06-27 15:26:08 -04:00
Rachel Protacio
53164dd532 8159503: Amend Annotation Actions
Reviewed-by: coleenp, hseigel, mschoene, acorn, ctornqvi
2016-07-01 15:11:38 -04:00
Harold Seigel
5f49daa2c4 8159511: Stack map validation
Reviewed-by: acorn, mschoene
2016-06-30 08:11:30 -04:00
Coleen Phillimore
c6d2422f35 8159515: Improve indy validation
Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene
2016-06-29 11:52:27 -04:00
Per Lidén
e7a6ecea86 8158871: Long response times with G1 and StringDeduplication
Reviewed-by: stefank, sjohanss, tschatzl, dfazunen
2016-06-27 09:35:18 +02:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Dmitry Dmitriev
90f957ddb1 8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp
Reviewed-by: dholmes, rehn
2016-06-24 12:08:32 +03:00
Alejandro Murillo
080739ce03 Merge 2016-06-23 17:11:18 -07:00
Alejandro Murillo
f7095d870c Merge 2016-06-23 17:07:27 -07:00
Alex Henrie
4abb5e4aaf 8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior
Replace shifts of -1 with shifts of ~0u.

Reviewed-by: kbarrett, mockner
2016-06-23 16:46:41 -04:00
Andrew Haley
eded7ae794 8157306: Random infrequent null pointer exceptions in javac
Reviewed-by: kvn
2016-06-23 17:58:59 +00:00
Christian Thalinger
e94d8e44dd 8162427: fix indent in CompileTask::print_tty
Reviewed-by: kvn
2016-07-22 12:47:08 -10:00
Roland Westrelin
c52af628ab 8161651: Logic in ConnectionGraph::split_unique_types() wrongly assumes node always have memory input
Reviewed-by: thartmann, kvn
2016-07-18 20:45:51 +02:00
Doug Simon
86961b9419 8161265: [JVMCI] EnableJVMCI should only be required when its not implied by other flags
Reviewed-by: twisti, kvn, never
2016-07-20 22:18:13 +00:00
Dmitrij Pochepko
48476abaa6 8071652: -XX:CompileOnly does not behave as documented
Reviewed-by: kvn
2016-07-20 19:35:08 +03:00
Doug Simon
913ccd67d4 8161274: [JVMCI] compiler/jvmci/events/JvmciNotifyInstallEventTest.java fails with NoClassDefFound
Reviewed-by: kvn, twisti
2016-07-19 18:59:11 +00:00
Rickard Bäckman
3d15529c03 Merge 2016-07-19 13:15:46 +02:00
Goetz Lindenmaier
6cf9b5c453 8160245: C1: Clean up platform #defines in c1_LIR.hpp
Also add fnoreg on x86, LIR_Address constructor without scale, clean up templateInterpreterGenerator.hpp and remove PPC32 special cases.

Reviewed-by: coleenp, thartmann
2016-06-23 22:33:46 +02:00
Goetz Lindenmaier
d442aea3c9 8056950: Compiled code (64-bit) on SPARC should sign extend INT parameters passed on registers to runtime or native methods
Reviewed-by: thartmann, simonis
2016-07-04 16:28:27 +02:00
Zoltan Majo
4710cf65a7 Merge 2016-07-12 08:42:46 +00:00
Zoltan Majo
ad7a778683 8098573: Compiler accesses to shared archive fail if archive is remapped
Change ciEnv::~ciEnv() to remove symbols in VM state.

Reviewed-by: kvn, dholmes
2016-07-12 10:16:36 +02:00
Tobias Hartmann
e990410b51 8160898: assert while replaying ciReplay file created using TieredStopAtLevel=1
Use highest available tier if no compilation level is specified in replay file.

Reviewed-by: zmajo
2016-07-12 08:57:00 +02:00
Rickard Bäckman
c4a811cc90 Merge 2016-07-11 13:14:19 +02:00
Vladimir Ivanov
4c31d5f745 8160360: Mismatched field loads are folded in LoadNode::Value
Reviewed-by: kvn, thartmann
2016-07-06 15:05:28 +03:00
Doug Simon
3e441ea1a2 8159888: [JVMCI] the client VM build is broken when INCLUDE_JVMCI is defined
Fix Client VM build

Reviewed-by: twisti, kvn
2016-07-05 17:57:20 -07:00
Tobias Hartmann
b64a4110b3 8159129: TestStringIntrinsicRangeChecks fails w/ No exception thrown for compressByte/inflateByte
Need to convert char offsets to byte offsets before range check.

Reviewed-by: vlivanov
2016-07-05 07:57:09 +02:00
Tobias Hartmann
9ab5f632b5 8160651: StubRoutines::_dtan does not restore callee save register rbx
Pop rbx before leaving stub.

Reviewed-by: vlivanov, vdeshpande
2016-07-04 09:14:02 +02:00
Tom Rodriguez
d64a4e7df3 8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
Reviewed-by: kvn
2016-06-22 22:39:32 +00:00
Erik Helin
109e24d96e 8155099: Remove duplicate comments from G1Policy
Reviewed-by: jmasa, drwhite
2016-06-22 14:03:01 +02:00
Aleksey Shipilev
f6c1efe6ac 8156803: Turn StressLCM/StressGCM flags to diagnostic
Reviewed-by: kvn, ctornqvi
2016-06-22 13:29:09 +03:00
Thomas Schatzl
28bdc19b1b Merge 2016-06-22 10:49:23 +02:00
Thomas Schatzl
423717c156 8152438: Threads may do significant work out of the non-shared overflow buffer
Before processing an element in the non-shared overflow buffer, try to push it into the local shared buffer to keep it full.

Reviewed-by: jmasa, ehelin, sjohanss
2016-06-22 10:34:01 +02:00
Yasumasa Suenaga
161976b05f 8153743: AllocateHeap() and ReallocateHeap() should use ALWAYSINLINE macro
Reviewed-by: dholmes, zgu
2016-06-21 19:29:39 -04:00
Martin Doerr
afc9349c93 8155949: Support relaxed semantics in cmpxchg
Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: dholmes, kbarrett, goetz, aph
2016-06-21 19:25:41 -04:00
Jesper Wilhelmsson
f2490e9194 8024137: Flags should be set using the proper macro
Reviewed-by: sangheki, drwhite, jmasa
2016-06-21 19:37:30 +02:00
Jesper Wilhelmsson
464bfe497d 8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02:00
Rahul Raghavan
f8e4173a4e 8151661: Performance regression on Solaris-SPARC in 9-b103
Reviewed-by: kvn, aph
2016-06-21 13:14:33 -04:00
Erik Helin
3895ad9e00 8159370: Add FlagGuard for easier modification of flags for unit tests
Reviewed-by: kbarrett, jwilhelm
2016-06-21 15:02:45 +02:00
Claes Redestad
038bf7d790 8159590: Remove deprecated methods from jdk.internal.misc.VM
Reviewed-by: chegar, dholmes
2016-06-21 12:09:36 +02:00
Yasumasa Suenaga
5ae683a18f 8155730: HeapInfoDCmd should get Heap_lock
Reviewed-by: tschatzl, jprovino
2016-06-21 09:19:53 +02:00
Ioi Lam
79377a1bf1 8159666: Better CDS support for Event-based tracing
Reviewed-by: jiangli, mgronlun
2016-06-20 22:02:20 -07:00
Coleen Phillimore
00314964d6 8159470: Error message for ICCE for MethodHandle constant pool not helpful
Reworded message and added test.

Reviewed-by: hseigel, gtriantafill, dholmes
2016-06-20 12:28:14 -04:00
Carsten Varming
cc10eca0b0 8159720: Failure of C2 compilation with tiered prevents some C1 compilations
If C2 fails to compile a method with tiered compilation, then it should mark the method as not compileable on the C2 tier only.

Reviewed-by: twisti, thartmann
2016-06-20 08:11:22 -04:00
Rachel Protacio
c77d3aa077 Merge 2016-06-17 15:06:47 +00:00
Rachel Protacio
36ac8c8a00 8153394: Add Unified Logging to make it easy to trace time taken in initPhase2
Added modules+startuptime logging for initPhase2 via TraceTime class

Reviewed-by: rehn, hseigel, mockner
2016-06-17 10:46:55 -04:00
Lois Foltan
f3741800fe 8156871: Possible concurrency issue with JVM_AddModuleExports
Need for single PackageEntry flag to determine a package's unqualifed export state.

Reviewed-by: acorn, ctornqvi, dholmes, jiangli
2016-06-16 13:34:32 -04:00
Coleen Phillimore
eba25b33b9 8152271: MemberNameTable doesn't purge stale entries
Intern MemberNames in table instead of allocating new entries

Reviewed-by: vlivanov, sspitsyn, dholmes
2016-06-15 09:48:24 -04:00
Per Lidén
6ef961edbd Merge 2016-06-15 12:44:20 +02:00