13438 Commits

Author SHA1 Message Date
Ioi Lam
f7f193ae71 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:06:38 -07:00
Thomas Stuefe
15fbb62d49 8185706: [windows] Native callstacks printing terminates prematurely
Reviewed-by: iklam, zgu
2017-08-02 10:17:14 +02:00
Harold Seigel
ac17311f4a Merge 2017-08-10 16:14:52 +00:00
Gustavo Serra Scalet
fd3d8a1997 8185975: PPC64: Fix vsldoi interface according to the ISA
Reviewed-by: mdoerr
2017-08-10 17:25:46 +02:00
Harold Seigel
e2b0679319 8177741: Fix hotspot tests to use --patch-module instead of -Xmodule
Change InMemoryJavaCompiler.compile() to accept --patch-module instead of -Xmodule, and then change appropriate tests.

Reviewed-by: coleenp, gtriantafill
2017-08-10 11:12:13 -04:00
Thomas Schatzl
7009b948bb 8180311: [TESTBUG] gc/stress/gclocker/TestGCLockerWithSerial fails with ClassNotFoundException: java.lang.management.ManagementFactory
Do not run the test on minimal VM

Reviewed-by: shade, sjohanss
2017-08-10 13:57:57 +02:00
David Holmes
92ddd523cc Merge 2017-08-10 01:48:41 +00:00
Yasumasa Suenaga
ba635a7b52 8186018: SA: Monitor Cache Dump in HSDB does not work
Reviewed-by: dholmes, dcubed
2017-08-09 21:08:35 -04:00
Coleen Phillimore
1e48327d61 Merge 2017-08-10 00:27:34 +00:00
Coleen Phillimore
c413a4387f Merge 2017-08-09 23:26:38 +00:00
Coleen Phillimore
2d67cafe0c Merge 2017-08-09 23:19:43 +00:00
Coleen Phillimore
7c1aeeeae9 8068317: No_Safepoint_Verifier is not necessary in Rewriter::scan_method
Remove NSV, Method* can't move or be redefined while being rewritten

Reviewed-by: shade, jiangli
2017-08-09 19:00:54 -04:00
Coleen Phillimore
e1528538f4 8186044: [TESTBUG] DumpSharedDictionary test sometimes fails in JPRT
Wrap test in CDSTestUtils.isUnableToMap(out)

Reviewed-by: iklam, mseledtsov
2017-08-09 18:51:44 -04:00
Mikhailo Seledtsov
047aeb0453 Merge 2017-08-09 15:03:29 -07:00
Goetz Lindenmaier
7635d5162e 8185436: jtreg: introduce @requires property to disable cds tests
Fix CompressedClassPointers test to succeed also if cds is not available.

Reviewed-by: jiangli, mseledtsov, iklam
2017-08-03 10:24:34 +02:00
Mikael Gerdin
14d5d3b46f 8185133: Reference pending list root might not get marked
Ensure that pending list head is marked by initial mark

Reviewed-by: eosterlund, kbarrett, tschatzl
2017-08-01 11:03:05 +02:00
Lana Steuck
8fb81f3e3a Added tag jdk-10+17 for changeset 886f599a54e6 2017-07-28 02:34:34 +00:00
Lana Steuck
0c004999da Added tag jdk-9+180 for changeset 52aba14d5a8e 2017-07-27 18:04:47 +00:00
Lana Steuck
a8abed5a38 Merge 2017-07-27 02:17:21 +00:00
Milan Mimica
4b983a51fd 8176571: Fine bitmaps should be allocated as belonging to mtGC, not mtInternal
Specify map allocation mflags when constructing CHeapBitMap.

Reviewed-by: tschatzl, kbarrett
2017-07-22 15:54:27 -04:00
Igor Ignatyev
addb31f30b Merge 2017-08-02 15:59:33 +00:00
Igor Ignatyev
205cb469e3 8185536: @key aot should be replaced w/ @requires vm.aot
Reviewed-by: kvn, goetz
2017-08-02 08:53:18 -07:00
Coleen Phillimore
17f23d1881 8184994: Add Dictionary size logging and jcmd
Added dcmd for printing system dictionary like the stringtable and symboltable and making print functions go to outputstream rather than tty

Reviewed-by: shade, hseigel
2017-08-02 10:52:50 -04:00
Harold Seigel
366e6ac796 8180627: gc/gctests/Steal/steal001: guarantee(cp->cache() == NULL) failed
Clean up constant pool cache if class linking fails

Reviewed-by: coleenp, gtriantafill
2017-08-02 08:19:09 -04:00
Coleen Phillimore
12240d1be6 Merge 2017-08-02 00:15:52 +00:00
George Triantafillou
dbac501603 Merge 2017-08-01 22:40:38 +00:00
Coleen Phillimore
8b8f59294c 8185590: ShouldNotReachHere from ClassLoaderData::try_get_next_class()
Counting number of instanceKlass code didn't work.

Reviewed-by: shade, zgu, jiangli
2017-08-01 17:36:38 -04:00
George Triantafillou
80ba6df9d7 Merge 2017-08-01 21:29:55 +00:00
Vladimir Kozlov
adb8f74592 Merge 2017-08-01 14:09:34 -07:00
Serguei Spitsyn
10f79d42ef 8182844: Fix broken links in the generated jvmti.html
Fix broken links in the jvmti.html

Reviewed-by: clanger, dcubed
2017-08-01 08:53:32 -07:00
Lutz Schmidt
0403493f8f 8180823: [s390] Rework/optimize AES intrinsics
Reviewed-by: mdoerr, goetz
2017-08-01 15:08:10 +02:00
Daniel D. Daugherty
7a713e117a 8185273: Test8004741.java crashes with SIGSEGV in JDK10-hs nightly
Threads::parallel_java_threads_do() needs to call VMThread::claim_oops_do() to avoid causing a parallel GC to miss the VMThread.

Reviewed-by: shade, rkennke, kvn, gthornbr
2017-07-31 12:37:34 -07:00
Coleen Phillimore
a1f70549e4 7133093: Improve system dictionary performance
Implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading

Reviewed-by: iklam, acorn, jiangli
2017-07-28 10:48:35 -04:00
Roland Westrelin
b170f01ddd 8182475: C2: allow vectorization of HeapByteBuffer.putInt loops
Reviewed-by: kvn
2017-07-27 17:47:57 -07:00
Coleen Phillimore
af5c6eefbf 8183039: Re-examine methodHandle methods uninlined by 8144256
Add more const references so out-of-line methodHandle destructor and copy ctor called infrequently

Reviewed-by: hseigel, redestad
2017-07-27 18:06:41 -04:00
Lutz Schmidt
a4fac2babb 8180659: [s390] micro-optimization in resize_frame_absolute()
Reviewed-by: simonis, mdoerr
2017-07-27 15:36:15 +02:00
George Triantafillou
b82efee3c5 8184749: The solaris_x86_32.s and solaris_x86_32.il files should be removed
Reviewed-by: kvn, hseigel, dcubed, gthornbr
2017-07-25 14:04:53 -04:00
Alexander Harlap
149e9c6e54 8183973: gc/TestFullGCALot.java fails in JDK10-hs nightly
Provide extra NewSize to avoid failure in running test with UseDeterministicG1GC option.

Reviewed-by: mgerdin, eosterlund
2017-07-25 13:28:14 -04:00
Alexander Harlap
270ecb9bbc 8184045: TestSystemGCWithG1.java times out on Solaris SPARC
Avoid extra round of stressing

Reviewed-by: dcubed, ehelin
2017-07-25 10:15:29 -04:00
Roman Kennke
5a4e278add 8180929: Deprecate -XX:+/-MonitorInUseLists option
Reviewed-by: zgu, coleenp
2017-07-25 11:58:29 +02:00
Coleen Phillimore
1fb65f8518 Merge 2017-07-24 22:56:43 +00:00
Coleen Phillimore
fd08aa9cef 8182397: Race in field updates when creating ArrayKlasses can lead to crash
Update array_klass field in component mirror after klass.java_mirror field for concurrent readers in compiled code

Reviewed-by: aph, kbarrett
2017-07-24 17:46:06 -04:00
Zhengyu Gu
ae4b3f2475 8184991: NMT detail diff should take memory type into account
NMT detail allocation site comparison should compare sites with the same memory type

Reviewed-by: shade, coleenp
2017-07-24 15:19:46 -04:00
Thomas Stuefe
fe6e4eb1e0 8185033: On Metaspace OOM, ChunkManager composition should be logged
Reviewed-by: mgerdin, coleenp
2017-07-22 10:03:15 +02:00
Daniel D. Daugherty
010f16300f Merge 2017-07-24 17:26:41 +00:00
Lutz Schmidt
fbc42f1b48 8184267: Restore register from stack uses wrong offset
Reviewed-by: mdoerr
2017-07-24 18:06:01 +02:00
Roman Kennke
56f43ed2a3 8185102: TestSAServer.java fails due to "sun.jvm.hotspot.types.WrongTypeException: field "_stack_traversal_mark"
Reviewed-by: dcubed, zgu
2017-07-24 17:14:32 +02:00
Harold Seigel
911f59bc22 8179018: Remove obsoleted one X options from JDK 10
Remove the obsoleted options

Reviewed-by: zgu, coleenp, gtriantafill
2017-07-24 09:32:35 -04:00
Milan Mimica
f647f78764 8182169: ArrayAllocator should take MEMFLAGS as regular parameter
Change ArrayAllocator memflags from template parameter to ordinary function parameters

Reviewed-by: kbarrett, tschatzl
2017-07-21 21:01:59 -04:00
Kim Barrett
3fbf0c2e96 8175318: Performance issue regarding local JNI references
Avoid unnecessary repeated clears.

Reviewed-by: shade, simonis
2017-07-21 16:37:01 -04:00