Commit Graph

13341 Commits

Author SHA1 Message Date
Lana Steuck
63fafe8f4e Merge 2017-06-01 18:48:34 +00:00
Lana Steuck
f3bfb121b2 Added tag jdk-9+172 for changeset ec60e7df88cd 2017-06-01 18:26:33 +00:00
Martin Doerr
4641bfb53b 8181420: PPC: Image conversion improvements
Reviewed-by: thartmann, simonis, mbaesken
2017-06-01 12:20:37 +02:00
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00
Vladimir Ivanov
5d2b14d198 8179882: C2: Stale control info after cast node elimination during loop optimization pass
Reviewed-by: kvn, roland
2017-05-30 21:35:21 +03:00
Zoltan Majo
73b3420b12 8180855: Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
Check for possible null-point dereference.

Reviewed-by: kvn
2017-05-29 10:32:37 +02:00
Lana Steuck
8a6f32488e Added tag jdk-10+9 for changeset a220a944d643 2017-05-26 01:00:32 +00:00
Lana Steuck
cd62e1b6a1 Merge 2017-05-26 00:45:12 +00:00
Lana Steuck
df177f4150 Added tag jdk-9+171 for changeset 9e1b29faefa9 2017-05-26 00:29:12 +00:00
Tobias Hartmann
83a3e9f114 8180813: Null pointer dereference of CodeCache::find_blob() result
Fixed missing null checks on the result of CodeCache::find_blob() found by Parfait.

Reviewed-by: shade, kvn
2017-05-24 16:53:58 +02:00
Lana Steuck
563c8385cb Added tag jdk-10+8 for changeset 25593a0aff77 2017-05-23 22:38:58 +00:00
Lana Steuck
9f3f2de137 Added tag jdk-10+7 for changeset f5053ff33fd4 2017-05-23 21:11:50 +00:00
Igor Ignatyev
7d97ce96dd 8180721: clean up ProblemList
Reviewed-by: sspitsyn, gtriantafill
2017-05-22 15:28:12 -07:00
Igor Ignatyev
48dfdfc633 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:27:20 -07:00
Tobias Hartmann
d3baf34118 8180575: Null pointer dereference in LoadNode::Identity()
Fixed a missing null check on the return value of AddPNode::Ideal_base_and_offset() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:23:59 +02:00
Tobias Hartmann
4b93f11738 8180576: Null pointer dereference in Matcher::xform()
Fixed a missing null check on n->in(0) found by Parfait.

Reviewed-by: kvn
2017-05-22 09:18:12 +02:00
Tobias Hartmann
1d1141fbdf 8180511: Null pointer dereference in Matcher::ReduceInst()
Fixed a missing null check on the return value of MachNodeGenerator() found by Parfait.

Reviewed-by: kvn
2017-05-22 09:17:32 +02:00
Tobias Hartmann
66fb50e7a2 8180617: Null pointer dereference in InitializeNode::complete_stores
Fixed a missing null check on the return value of InitializeNode::allocation() found by Parfait.

Reviewed-by: zmajo
2017-05-22 09:16:46 +02:00
Tobias Hartmann
bbe61a3c5d 8180565: Null pointer dereferences of ConstMethod::method()
We need to check ConstMethod::method() for NULL before dereferencing.

Reviewed-by: kvn, iignatyev
2017-05-22 09:14:10 +02:00
Ujwal Vangapally
85e6ed5878 8175845: Provide javadoc descriptions for jdk.hotspot.agent module
Added description for jdk.hotspot.agent module

Reviewed-by: mchung
2017-05-19 15:32:17 +05:30
Lana Steuck
7b47a378fa Merge 2017-05-19 04:18:25 +00:00
Christian Thalinger
5b68181352 8180453: [JVMCI] mx eclipseinit doesn't pick up generated sources
Reviewed-by: kvn
2017-05-18 16:39:19 -07:00
Lana Steuck
6f7ae21b2c Merge 2017-05-18 16:48:24 +00:00
Lana Steuck
cb190703ef Added tag jdk-9+170 for changeset e3a622b2b7db 2017-05-18 14:54:53 +00:00
Michael Berg
14f29663c9 8178800: compiler/c2/PolynomialRoot.java fails on Xeon Phi linux host with UseAVX=3
Upper register bank support added for novl machines that emit EVEX

Reviewed-by: kvn, thartmann
2017-05-16 12:55:54 -07:00
Lana Steuck
e1cda8ad72 Merge 2017-05-11 23:21:34 +00:00
Lana Steuck
17961706b2 Merge 2017-05-11 20:23:29 +00:00
Ron Pressler
96d03a13e6 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:56 -07:00
Lana Steuck
1d05e4f19b Added tag jdk-9+169 for changeset 3f875168ce21 2017-05-11 16:26:48 +00:00
Andrew Haley
916cb71538 8179954: AArch64: C1 and C2 volatile accesses are not sequentially consistent
Reviewed-by: roland
2017-05-11 13:11:42 +01:00
Thomas Schatzl
c775f6f58b 8180048: Interned string and symbol table leak memory during parallel unlinking
Make appending found dead BasicHashtableEntrys to the free list atomic.

Reviewed-by: ehelin, shade, coleenp
2017-05-15 12:20:15 +02:00
Igor Ignatyev
8e28d5772d 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:13:59 -07:00
Igor Ignatyev
116ba945dc 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:03:50 -07:00
Lana Steuck
8b0cbaa855 Merge 2017-05-11 18:11:13 +00:00
Magnus Ihse Bursie
f69b074677 8174848: Remove gpl templates from hotspot/make
Reviewed-by: erikj
2017-05-11 09:00:56 +02:00
Andrew Haley
1ce2a36252 8179444: AArch64: Put zero_words on a diet
Reviewed-by: roland
2017-05-09 16:48:16 +01:00
Magnus Ihse Bursie
7c75811e59 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:53:37 +02:00
Andrew Haley
99e8874a91 8179701: AArch64: Reinstate FP as an allocatable register
Reviewed-by: roland
2017-05-05 17:29:57 +01:00
Lana Steuck
f50ba6cf4d Merge 2017-05-05 04:49:35 +00:00
Lana Steuck
24845fe874 Added tag jdk-9+168 for changeset 45196b7066e3 2017-05-04 16:38:07 +00:00
Lana Steuck
a8a70976e2 Added tag jdk-10+6 for changeset c3b17ea0d68f 2017-05-04 00:02:26 +00:00
Lana Steuck
dc6dc5634f Added tag jdk-10+5 for changeset fe7e6fd5ccf7 2017-05-03 08:00:04 +00:00
Lana Steuck
3d02097bdf Added tag jdk-10+4 for changeset 90cec032bc9d 2017-05-03 07:22:59 +00:00
Lana Steuck
4dacfb0199 Added tag jdk-10+3 for changeset 0c46195767fb 2017-05-03 06:03:18 +00:00
Andrew Haley
c28cbe09a6 Merge 2017-04-28 18:10:28 +01:00
Doug Simon
16d29f2564 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, iveresov, mchung
2017-04-28 02:54:05 -07:00
Lana Steuck
58199581cd Merge 2017-04-27 21:16:33 +00:00
Lana Steuck
e886fc5200 Added tag jdk-9+167 for changeset c5de7263722b 2017-04-27 16:07:56 +00:00
Lana Steuck
6da31c5d8b Added tag jdk-10+2 for changeset 0e5f3e4cc5fa 2017-04-27 05:31:45 +00:00
Kim Barrett
77f7391ebd 8179084: HotSpot VM fails to start when AggressiveHeap is set
Don't set default ParallelGCThreads when processing AggressiveHeap

Reviewed-by: stefank, ehelin
2017-04-26 22:34:54 -04:00
Sharath Ballal
e8ead248a8 8030750: SA: Alternate hashing not implemented
Implement alternate hashing in SA

Reviewed-by: dsamersoff
2017-04-26 14:59:52 +05:30
Lana Steuck
33119b6cf2 Merge 2017-04-25 08:18:29 +00:00
Lana Steuck
9fa838e4a5 Added tag jdk-10+1 for changeset 015723e36620 2017-04-25 07:38:48 +00:00
Roland Westrelin
aa386ac45b 8179070: nashorn+octane's box2d causes c2 to crash with "Bad graph detected in compute_lca_of_uses"
CiTypeFlow speculates field is null but parsing uses non null constant because of concurrent class initialization

Reviewed-by: thartmann
2017-04-25 09:37:24 +02:00
Lana Steuck
7176f55ced Merge 2017-05-04 17:54:34 +00:00
Alan Bateman
1726127181 Merge 2017-05-04 09:43:45 +01:00
Alan Bateman
aefdcda532 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Stefan Karlsson
9f9bfb8d8e 8178501: Replace usages of align macros with calls to the align inline functions
Reviewed-by: mgerdin, tschatzl
2017-04-24 09:14:09 +02:00
Stefan Karlsson
aad59744c5 8183544: Missing parentheses in is_size_aligned_ macro
Reviewed-by: mgerdin, tschatzl
2017-07-04 17:44:30 +02:00
Erik Helin
fd4f7d938a 8179013: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: sjohanss, sangheki
2017-04-22 12:05:20 +02:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Lana Steuck
343a64e0a0 Merge 2017-04-21 03:34:29 +00:00
Lana Steuck
039529ce3a Added tag jdk-9+166 for changeset a50cc126180c 2017-04-20 18:14:04 +00:00
Igor Veresov
34dec39bc2 8178047: Aliasing problem with raw memory accesses
Require equal bases when unaliasing offsets for raw accesses

Reviewed-by: kvn
2017-04-19 18:02:26 -07:00
Andrew Haley
95093ee7f6 8178968: AArch64: Remove non-standard code cache size
Reviewed-by: roland
2017-04-19 16:41:27 +01:00
Ekaterina Pavlova
ae7eebbe80 8178731: compiler/ciReplay/SABase.java does not compile
Reviewed-by: iignatyev, sspitsyn
2017-04-14 18:31:04 -07:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Lana Steuck
41acca8d4d Merge 2017-04-13 16:26:36 +00:00
Lana Steuck
364be0f742 Added tag jdk-9+165 for changeset 731e3ea86eb2 2017-04-13 16:01:12 +00:00
Stefan Karlsson
d37b9c1f8d 8178500: Replace usages of round_to and round_down with align_up and align_down
Reviewed-by: rehn, tschatzl
2017-04-13 09:57:51 +02:00
Stefan Karlsson
dbd3b5a79e 8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Igor Ignatyev
48440aaf23 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:47 -07:00
Dean Long
f274b01820 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:36:13 -04:00
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02:00
Roger Riggs
6f92b33cc9 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: hseigel
2017-04-12 11:43:49 -04:00
Stefan Karlsson
229f386a8f 8178495: Bug in the align_size_up_ macro
Reviewed-by: kbarrett, tschatzl, rehn
2017-04-12 13:05:59 +02:00
Stefan Karlsson
1854382c4d 8178491: -Xss and -XX:ThreadStackSize argument parsing truncates bits
Reviewed-by: gziemski, kbarrett
2017-04-11 23:45:39 +02:00
Matthew Brandyberry
5b8238e18e 8181809: PPC64: Leverage mtfprd/mffprd on POWER8
Reviewed-by: mdoerr, simonis
2017-07-04 15:11:25 +02:00
Thomas Schatzl
0d6c9d4030 8179677: Let G1Remset::_conc_refined_cards only count number of cards concurrently refined
Reviewed-by: sjohanss, ehelin
2017-07-04 09:16:26 +02:00
Thomas Schatzl
4318d80587 8183394: Remove unused G1RemSet::n_workers() method
Reviewed-by: mgerdin, ehelin
2017-07-04 09:15:45 +02:00
Erik Helin
0d2388b35a Merge 2017-07-03 17:43:16 +00:00
Erik Helin
97e1f47359 8153360: G1HRRSFlushLogBuffersOnVerify with remembered set verification does not work
Reviewed-by: sjohanss, tschatzl
2017-07-03 17:19:11 +02:00
Erik Helin
19992b94e3 8183281: Remove unnecessary call to increment_gc_time_stamp
Reviewed-by: sjohanss, tschatzl
2017-07-03 14:24:07 +02:00
Claes Redestad
a986a96554 8183232: Avoid resolving method_kind in AbstractInterpreter::can_be_compiled
Reviewed-by: coleenp, mdoerr, neliasso
2017-07-03 09:01:34 +02:00
Mikael Gerdin
f21390e927 8183229: Implement WindowsSemaphore::trywait
Reviewed-by: redestad, stefank, kbarrett
2017-06-30 10:36:32 +02:00
Alexander Harlap
e515046a32 8178507: co-locate nsk.regression.gc tests
Convert four tonga tests into jtreg

Reviewed-by: lmesnik, iignatyev
2017-06-29 14:35:30 -04:00
Yang Zhang
77bc4e75e3 8182583: AArch64: FMA Vectorization on aarch64
Reviewed-by: aph
2017-06-23 09:25:27 +08:00
Mikael Gerdin
e62cebc78a 8183203: Remove stubRoutines_os
Reviewed-by: stefank, tschatzl
2017-06-30 10:36:32 +02:00
Mikael Gerdin
d39a34d689 8183198: Factor out thread state serialization into a proper helper function
Reviewed-by: tschatzl, eosterlund, coleenp
2017-06-26 15:25:25 +02:00
Coleen Phillimore
cf0d8c433e Merge 2017-06-29 19:09:04 +00:00
Claes Redestad
13dbb944d2 Merge 2017-06-29 17:32:46 +00:00
Nils Eliasson
b836b5b512 Merge 2017-06-29 14:54:32 +00:00
Nils Eliasson
791eb07c3c Merge 2017-06-29 12:32:17 +00:00
Claes Redestad
22cd78c6fb 8183001: Various inlining improvements
Reviewed-by: iklam, mikael, ehelin, stefank
2017-06-29 14:22:42 +02:00
Thomas Stuefe
c93a43fcfe 8183228: Fix optimized build after JDK-8170933
Reviewed-by: mgerdin, coleenp
2017-06-29 12:35:30 +02:00
Coleen Phillimore
7225e6008d 8182848: Some functions misplaced in debug.hpp
Moved to vmError.hpp,cpp where they seemed more appropriate

Reviewed-by: stefank, stuefe
2017-06-28 19:12:58 -04:00
Coleen Phillimore
f2b191c2a1 Merge 2017-06-28 20:21:04 +00:00
Coleen Phillimore
9edb2c5e5a 8182554: Code for os::random() assumes long is 32 bits
And make updating the _rand_seed thread safe.

Reviewed-by: stuefe, kbarrett, stefank
2017-06-28 16:14:20 -04:00
Bob Vandette
74a696eff0 Merge 2017-06-28 18:44:21 +02:00
Erik Helin
5bd2ec03b3 Merge 2017-06-28 15:21:48 +00:00
Robbin Ehn
3771ff5bd4 Merge 2017-06-28 17:16:42 +02:00
Thomas Stuefe
428063dd5e 8182984: [aix] Make stack traces independent on successful vm initialization
Reviewed-by: simonis, mdoerr, clanger
2017-06-28 16:12:54 +02:00
Robbin Ehn
f96e11d5e1 Merge 2017-06-28 16:07:30 +02:00
Erik Helin
9eb98aac44 8183124: Remove OopsInHeapRegionClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:38:10 +02:00
Robbin Ehn
9d3a9c331d 8180421: Change default value of BiasedLockingStartupDelay to 0
As CSR 8181778

Reviewed-by: tschatzl, redestad, coleenp, dcubed
2017-06-28 14:18:00 +02:00
Erik Helin
f01d388b13 8183122: Rename RefineRecordRefsIntoCSCardTableEntryClosure to G1RefineCardClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:17:28 +02:00
Thomas Schatzl
ea07d0ec2a 8178151: Clean up G1RemSet files
Remove unnecessary class members, improve method visibility and naming

Reviewed-by: ehelin, sjohanss
2017-06-28 14:15:56 +02:00
Bob Vandette
93fa77c3a1 Merge 2017-06-28 14:13:00 +02:00
Thomas Schatzl
be1f5ab521 8183006: Remove unused IterateOopClosureRegionClosure
Reviewed-by: sjohanss, ehelin
2017-06-28 12:11:55 +02:00
Thomas Schatzl
c0fff2604d 8183002: Remove unused concurrent parameter in HeapRegionManager::par_iterate
Reviewed-by: ehelin, sjohanss
2017-06-28 12:11:48 +02:00
Thomas Schatzl
52a1ad0388 8175554: Improve G1UpdateRSOrPushRefClosure
Micro-optimizations and improving naming for the G1UpdateRSOrPushRefClosure

Reviewed-by: ehelin, sangheki
2017-06-28 10:58:19 +02:00
Bob Vandette
ff40c20e33 Merge 2017-06-27 14:34:00 -04:00
Bob Vandette
43b6661f42 8182052: Test compiler/aot/cli/jaotc/CompileJarTest.java fails in JPRT
Reviewed-by: kvn
2017-06-27 14:29:54 -04:00
Bob Vandette
1b0711ad36 8182053: Test compiler/aot/verification/ClassAndLibraryNotMatchTest.java fails in JPRT for jdk10/hs
Reviewed-by: kvn
2017-06-27 14:28:09 -04:00
Patric Hedlin
431063deba 8164888: Intrinsify fused mac operations on SPARC
Such speed, much wow

Reviewed-by: kvn
2017-06-27 15:50:09 +02:00
Patric Hedlin
6a9aa18f63 8144448: Avoid placing CTI immediately following or preceding RDPC instruction
Best practice for new SPARC CPUs

Reviewed-by: kvn
2017-06-27 15:46:16 +02:00
Patric Hedlin
065a8981f5 8181868: Remove use of 'has_fast_fxtof()'
No longer used

Reviewed-by: kvn
2017-06-27 15:36:45 +02:00
Patric Hedlin
460a1d8fcd 8181853: Remove use of 'v9_only()'
V9 is the only supported ISA

Reviewed-by: kvn
2017-06-27 15:34:36 +02:00
Patric Hedlin
46bae0a37c 8181852: Remove option 'UseV8InstrsOnly'
Not supported

Reviewed-by: kvn
2017-06-27 15:31:11 +02:00
Patric Hedlin
9f66abeeb6 8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
Update for new platforms

Reviewed-by: kvn
2017-06-27 15:27:54 +02:00
Patric Hedlin
4ea55017ee 8182711: Re/Introduce private interface for HW-specific prefetch options in SPARC VM_Version
Re/Introduce private interface for HW-specific prefetch options in SPARC VM_Version

Reviewed-by: kvn, neliasso
2017-06-27 15:22:23 +02:00
Claes Redestad
edb4b7df3e Merge 2017-06-27 12:27:27 +00:00
Thomas Stuefe
f525172036 8182864: [aix] os::print_native_callstack should not assert for primordial threadness
Reviewed-by: clanger, mdoerr
2017-06-27 07:52:50 +02:00
Igor Veresov
bca94545e8 8182883: Update Graal
Reviewed-by: kvn
2017-06-26 16:10:31 -07:00
Claes Redestad
92c45050f9 8182487: Add Unsafe.objectFieldOffset(Class, String)
Reviewed-by: dsimms, twisti, bchristi, mgerdin, psandoz, chegar
2017-06-22 15:53:07 +02:00
Thomas Schatzl
8467de8bbc 8178148: Log more detailed information about scan rs phase
Add logging about the number of cards actually scanned, claimed and skipped during the Scan RS phase

Reviewed-by: ehelin, sangheki
2017-06-14 11:26:44 +02:00
Tobias Hartmann
620b398ba3 8181741: C2 compilation fails with "assert(i<_max) failed: oob"
PhaseIdealLoop should not use type() or type_or_null().

Reviewed-by: roland, kvn
2017-06-09 09:27:10 +02:00
Tobias Hartmann
872c310c4f 8181781: Replay compilation should ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors
Ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors.

Reviewed-by: kvn
2017-06-09 09:20:13 +02:00
Jesper Wilhelmsson
a41f617837 Merge 2017-06-08 20:28:04 +02:00
George Triantafillou
39a08d3fd9 8166748: Clean out Windows IA64 support
Reviewed-by: kbarrett, coleenp, bobv, mdoerr
2017-06-08 13:17:51 -04:00
Vivek Deshpande
4fd6f92702 8181616: FMA Vectorization on x86
Reviewed-by: kvn
2017-06-07 13:09:46 -07:00
Chris Plummer
c04bd11452 8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events
Fix CodeCache:blobs_do() so it iterates over all code cache heaps

Reviewed-by: sspitsyn, thartmann
2017-06-07 08:56:35 -07:00
Tobias Hartmann
501fdbaf15 8181644: C1 crashes with -XX:+PrintCFGToFile
CFGPrinterOutput should not be shared between C1 compiler threads.

Reviewed-by: kvn
2017-06-07 12:23:04 +02:00
Roland Westrelin
9bcec9e523 8176506: C2: loop unswitching and unsafe accesses cause crash
Reviewed-by: vlivanov, mcberg, kvn, simonis
2017-05-29 18:17:49 +02:00
Thomas Stuefe
40fd8cda73 8171504: [aix] On AIX, -XXaltjvm=<path> option is ignored
Reviewed-by: clanger, mdoerr
2017-06-06 17:07:42 +02:00
Kim Barrett
5ea9bb3e56 8166651: OrderAccess::load_acquire &etc should have const parameters
Added const qualifiers to load/load_acquire source parameters.

Reviewed-by: dholmes, coleenp, adinn, eosterlund
2017-06-05 19:07:47 -04:00
Rachel Protacio
451b8b5d32 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:13:38 -04:00
Michihiro Horie
3312fc717b 8179527: Implement intrinsic code for reverseBytes with load/store
Reviewed-by: simonis, mdoerr
2017-06-02 16:32:39 +02:00
Thomas Schatzl
f2b486212e 8177044: Remove _scan_top from HeapRegion
Remove the _scan_top member from HeapRegion using a per-gc pre-calculated table of scan limits that also subsumes other checks.

Reviewed-by: sangheki, kbarrett, ehelin
2017-06-02 13:48:01 +02:00
Thomas Schatzl
c982403296 8177707: Specialize G1RemSet::refine_card for concurrent/during safepoint refinement
Reviewed-by: ehelin, kbarrett
2017-06-02 13:47:54 +02:00
Thomas Schatzl
3e624c317a 8162928: Micro-optimizations in scanning the remembered sets
Reviewed-by: ehelin, kbarrett
2017-06-02 13:45:21 +02:00
Thomas Schatzl
92a1acb43b 8071280: Specialize HeapRegion::oops_on_card_seq_iterate_careful() for use during concurrent refinement and updating the rset
Reviewed-by: kbarrett, sangheki, ehelin
2017-06-02 13:45:15 +02:00
David Holmes
8ce49ec34e 8181451: JDK-8174231 broke some clang builds
Reviewed-by: stuefe, kbarrett, iveresov
2017-06-02 05:24:28 -04:00
Ekaterina Pavlova
aee7d17ae2 8181124: Get rid of compiler.testlibrary.rtm.predicate
Reviewed-by: kvn
2017-06-01 17:34:01 -07:00
Ekaterina Pavlova
6b5aaf68c6 8145728: compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java Expected message not found
Reviewed-by: kvn
2017-06-01 17:33:07 -07:00
Mikael Vidstedt
91920f154d 8181377: Capture underlying type for unsafe/unaligned pointers in ClassFileParser
Reviewed-by: dholmes, kbarrett
2017-06-01 09:34:53 -07:00
Per Lidén
ce57b75eef 8181319: Make os::Linux::sched_getcpu() available even when UseNUMA is false
Reviewed-by: dholmes, rehn
2017-05-31 13:17:00 +02:00
David Holmes
3e24f6d955 Merge 2017-06-01 02:21:18 +00:00
Igor Veresov
993168dfd8 8181369: Update Graal
Reviewed-by: kvn
2017-05-31 18:20:20 -07:00
Zhengyu Gu
025c1e8da9 8181055: PPC64: "mbind: Invalid argument" still seen after 8175813
Use numa_interleave_memory v2 api when available

Reviewed-by: dholmes, shade, gromero
2017-05-31 09:19:28 -04:00
Mikael Vidstedt
292ac89940 8180184: Add DATA and FSIZE to os::Posix::print_rlimit_info
Reviewed-by: dholmes, stuefe
2017-05-30 15:41:23 -07:00
David Holmes
3a8c8edb86 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems
Reviewed-by: stuefe, rehn, dcubed
2017-05-30 17:14:52 -04:00
Jesper Wilhelmsson
84ba3ee3b8 Merge 2017-05-29 20:48:10 +02:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Mikael Vidstedt
f1f868513d 8180032: Unaligned pointer dereference in ClassFileParser
Reviewed-by: dholmes, hseigel
2017-05-26 13:47:33 -07:00
George Triantafillou
85abe8f6e6 8179861: Missing copyrights in some hotspot files
Reviewed-by: coleenp, dholmes, sspitsyn
2017-05-26 09:48:46 -04:00
Thomas Schatzl
4c944bd1ca 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Matthias Baesken
b47172b765 8180945: vmError.cpp : adjust dup and fclose
Reviewed-by: dholmes
2017-05-25 20:55:20 -04:00
Claes Redestad
d946df7272 Merge 2017-05-25 23:20:29 +00:00
Claes Redestad
9071d17dc9 8180614: Skip range and constraint checks on non-existent flags
Reviewed-by: iklam, gziemski
2017-05-26 01:04:05 +02:00
Igor Veresov
f87dd6a954 Merge 2017-05-25 22:33:25 +00:00
Igor Veresov
97de5d15d1 8181115: Update suite.py after JDK-8180267
Reviewed-by: kvn
2017-05-25 15:27:40 -07:00
Robbin Ehn
3ca4b6b01b 8152955: Many safepoints of "no vm operation" kind
Reviewed-by: dholmes, rkennke, shade
2017-05-25 09:43:43 +02:00
Robbin Ehn
ad4bc13f9f 8152953: ForceSafepoint operations should be more specific
Reviewed-by: dholmes, sspitsyn, rkennke, coleenp
2017-05-25 09:38:33 +02:00
Igor Ignatyev
32859294a2 8181053: port basicvmtest to jtreg
Reviewed-by: ehelin
2017-05-24 18:28:34 -07:00
Lutz Schmidt
81f1f2df46 8180612: [ppc] assert failure in cpu/ppc/vm/assembler_ppc.hpp due to immediate value out of range
Change RTM flags type to 'int' and set value range

Reviewed-by: simonis, kvn
2017-05-24 17:30:45 -07:00
Jesper Wilhelmsson
e459d51dc4 Merge 2017-05-24 22:27:40 +02:00
Claes Redestad
4d1141ee1c 8180763: Improve inlining of Symbol::equals(char*,int) into CompactHashtable
Reviewed-by: iklam, jiangli
2017-05-24 12:42:44 +02:00
Mikhailo Seledtsov
8437db66f3 8180631: [TESTBUG] CDS tests should use CDSTestUtils.executeAndLog whenever spawning sub processes
Updated all relevant call sites to use executeAndLog()

Reviewed-by: iklam, ccheung
2017-05-23 20:14:52 -07:00
Coleen Phillimore
b641222eda Merge 2017-05-23 18:42:08 +00:00
Zhengyu Gu
fd9c3d8158 8139673: NMT stack traces in output should show mtcomponent
Show memory types of malloc site in detail report

Co-authored-by: Max Ockner <max.ockner@oracle.com>
Reviewed-by: dholmes, shade, coleenp
2017-05-23 11:58:32 -04:00
Jesper Wilhelmsson
d599f0d03a Merge 2017-05-23 17:51:35 +02:00
Chihiro Ito
7d85a92ef0 8180654: Apply UL to PrintCodeCacheOnCompilation
Reviewed-by: kvn
2017-05-22 09:07:16 -07:00
Roman Kennke
8bda8fc602 8180599: Possibly miss to iterate monitors on thread exit
Move thread-local monitors to global lists before thread is removed from global threads list, to ensure all monitors get scanned

Reviewed-by: dholmes, rehn
2017-05-19 12:14:38 +02:00
Tobias Hartmann
4e05c8c099 Merge 2017-05-19 06:50:58 +00:00
Tobias Hartmann
2ee903d3ff 8180587: Assert in layout_helper_log2_element_size(jint) compares bits instead of bytes
Fixed assert to compare log2 element size in bytes.

Reviewed-by: zmajo, kvn
2017-05-19 08:36:49 +02:00
Yasumasa Suenaga
6e36f51f27 8180487: HotSpotResolvedJavaMethod.setNotInlineable() should be renamed to represent actual behavior
Rename setNotInlineable() to setNotInlineableOrCompileable()

Reviewed-by: dnsimon, kvn
2017-05-18 16:31:16 -07:00
Ekaterina Pavlova
cd0c6f3398 8180324: [JVMCI][TESTBUG] failed JVMCI junit test NativeCallTest.java
Reviewed-by: iignatyev, mseledtsov, kvn
2017-05-18 14:33:09 -07:00
Yasumasa Suenaga
f1589c23ac 8180601: hsdis generates duplicate output for JVMCI installed code
Remove duplicated hsdis output

Reviewed-by: dnsimon, kvn
2017-05-18 11:27:06 -07:00
Zoltan Majo
8d7312538b 8180473: Use proper deallocation for FileBuff::_bigbuf
Use the array-specific delete operator instead of the scalar delete operator.

Reviewed-by: kvn
2017-05-18 17:20:59 +02:00
David Buck
50f9e3ed40 Merge 2017-05-18 13:17:28 +00:00
Coleen Phillimore
f820e2f2ee 8166848: Performance bug: SystemDictionary - optimization
Check instead that a bucket isn't 10x the average

Reviewed-by: iklam, gziemski, sspitsyn
2017-05-18 08:17:52 -04:00
Vladimir Kempik
84fde21dc7 8177522: -XX:OnOutOfMemoryError does not work if supplied twice on windows
Use cmd /c on windows to execute onError commands

Reviewed-by: dholmes, hseigel
2017-05-18 08:14:33 -04:00
Roman Kennke
553d1e815b 8180175: ObjectSynchronizer only needs to iterate in-use monitors
When using -XX:+MonitorInUseLists, then only iterate in-use monitors.

Reviewed-by: zgu, dholmes, rehn
2017-05-17 23:36:19 +02:00
Aleksey Shipilev
ae8a3dd115 8180482: Reformat -XX:+PrintSafepointStatistics table
Reviewed-by: dholmes
2017-05-17 23:18:19 +02:00
Claes Redestad
3725b7c8ff Merge 2017-05-17 12:46:12 +00:00
Claes Redestad
76065fffd3 Merge 2017-05-17 12:20:17 +00:00
Harold Seigel
e6a49ea74b 8152295: Redundant CLCs for classes resolved in both loaders
Don't record loader constraints if both class loader classes are the same

Reviewed-by: coleenp, vlivanov, gtriantafill, lfoltan
2017-05-17 07:55:26 -04:00
Andrew Haley
14f1adfa69 Merge 2017-05-17 12:29:42 +01:00
Claes Redestad
994d76bdfc 8180479: [TESTBUG] Some hotspot tests broken after internal Unsafe name changes
Reviewed-by: thartmann
2017-05-17 12:13:29 +02:00
Claes Redestad
30498e26af 8180423: Remove flag UseRelocIndex
Reviewed-by: kvn, thartmann
2017-05-17 11:41:08 +02:00
Coleen Phillimore
1c06346c45 8180325: Use ClassLoaderData::classes_do for CDS classes
Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do

Reviewed-by: iklam, jiangli
2017-05-16 19:36:55 -04:00
Andrew Haley
bd29a4fb50 Merge 2017-05-16 18:33:22 +01:00
Harold Seigel
09d3f0e43d 8178604: JVM does not allow defining boot loader modules in exploded build after module system initialization
Allow defining of boot loader modules after initialization but add locks to synchronize access to exploded build list

Reviewed-by: dholmes, lfoltan
2017-05-16 09:33:49 -04:00
George Triantafillou
dd55dfc914 8179903: Clean up SPARC 32-bit support
Reviewed-by: gthornbr, fparain
2017-05-15 09:40:23 -04:00
Mikael Gerdin
c6ab5e594d 8180181: Get rid of FAST_DISPATCH from interpreter
Reviewed-by: coleenp, tschatzl
2017-05-11 16:33:18 +02:00
Ioi Lam
cc6f6ad2a6 8179769: serviceability/sa/TestCpoolForInvokeDynamic.java failing after changes for JDK-8171392
Updated SA Java code to match HotSpot C code.

Reviewed-by: sspitsyn, coleenp
2017-05-11 16:17:31 -07:00
Vladimir Kozlov
b2d6d6b622 8180267: Update Graal
Reviewed-by: iveresov
2017-05-12 13:56:13 -07:00
Vladimir Kozlov
063286a618 Merge 2017-05-12 13:14:25 -07:00
Thomas Schatzl
707c566055 8177764: Humongous Reclaimed log output may be confusing
Make all log messages dealing with humongous reclaim report number of handled objects, not regions.

Reviewed-by: pliden, sjohanss
2017-05-12 11:41:05 +02:00
Chihiro Ito
61b56ef305 8166191: Missing spaces in log message during heap expansion
Reviewed-by: tschatzl
2017-05-12 11:38:20 +02:00
Kim Barrett
afad47099c 8178813: Add test for G1 pre-barrier on dereference of weak JNI handles
Add regression test.

Reviewed-by: mgerdin, tschatzl, pliden
2017-05-11 23:41:57 -04:00
Mikael Vidstedt
4b288cf612 8180003: Remove sys/ prefix from poll.h and signal.h includes
Reviewed-by: dholmes, bpb
2017-05-11 17:55:03 -07:00
Igor Ignatyev
8ea9daf94a 8179930: jdk.test.lib.artifacts.ArtifactResolver::resolve should return Map instead of HashMap
Reviewed-by: mseledtsov, gtriantafill, vlivanov
2017-05-11 16:35:02 -07:00
Mikael Vidstedt
0159ab9baf 8180036: Guard include of fpu_control.h
Reviewed-by: dholmes
2017-05-11 09:42:19 -07:00
Mikael Vidstedt
41f95937de 8180039: Use more portable print format/arguments for rlim_t
Reviewed-by: dholmes, mgerdin, stuefe
2017-05-11 08:40:32 -07:00
Andrew Haley
0f25b7f98b 8179954: AArch64: C1 and C2 volatile accesses are not sequentially consistent
Reviewed-by: roland
2017-05-11 13:11:42 +01:00
Coleen Phillimore
83205603a6 Merge 2017-05-10 14:03:33 +00:00
Harold Seigel
ca7bc471dd 8153646: Move vm/utilities/array.hpp to vm/oops
Move the header file and update the appropriate #include statements.

Reviewed-by: sspitsyn, dholmes
2017-05-10 08:37:17 -04:00
Alexander Harlap
4dc55a6593 8065402: G1 does not expand marking stack when mark stack overflow happens during concurrent marking
Simplified decision mechanism for marking stack expansion

Reviewed-by: kbarrett, tschatzl
2017-05-09 13:50:06 -04:00
Goetz Lindenmaier
0ee4f3019d 8179953: [ppc] TLABWasteIncrement not loaded correctly
Also fix TestOptionWithRanges to show the bug.

Reviewed-by: dholmes, shade
2017-05-09 16:48:31 +02:00
Stefan Johansson
72a8ea429e 8179550: Unify trace logging for InstanceRefKlass
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:04:06 +02:00
Stefan Johansson
50ded710fd 8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:03:45 +02:00
Rachel Protacio
eb6d311b66 8154791: Xlog classload too redundant msgs info/debug
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code

Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04:00
Kim Barrett
a65b58e18d 8178836: Improve PtrQueue index abstraction
Prefer element indexes where possible.

Reviewed-by: shade, mgerdin
2017-05-08 07:16:10 -04:00
Gustavo Romero
0e0b42b18a 8175813: PPC64: "mbind: Invalid argument" when -XX:+UseNUMA is used
Reviewed-by: simonis, dholmes
2017-05-07 16:42:03 -04:00
Vladimir Kozlov
4865e72a94 8179656: [AOT] Add AOT manual test scripts
Reviewed-by: iveresov
2017-05-06 09:36:01 -07:00
Vivek Deshpande
7a8af5acc8 8178811: Minimize the AVX <-> SSE transition penalty through generation of vzeroupper instruction on x86
Reviewed-by: kvn
2017-05-05 19:28:54 -07:00
Chris Plummer
ab371018d4 Merge 2017-05-06 00:05:32 +00:00
Chris Plummer
7aabb799f6 8164563: Test nsk/jvmti/CompiledMethodUnload/compmethunload001 keeps reporting: PRODUCT BUG: class was not unloaded in 5
Removed _pending_list

Reviewed-by: dholmes, sspitsyn, dcubed, coleenp
2017-05-05 14:22:35 -07:00
Kim Barrett
48d21bc1c7 8179004: Add an efficient implementation of the "count trailing zeros" operation
Added count_trailing_zeros function, with platform-dependent implementations.

Reviewed-by: dholmes, cjplummer
2017-05-05 16:20:42 -04:00
Jesper Wilhelmsson
7b8b238986 Merge 2017-05-05 17:48:45 +02:00
Ioi Lam
ba388eaccd 8176863: Remove Hashtable::reverse()
Reviewed-by: hseigel, sspitsyn, coleenp
2017-05-04 16:04:23 -07:00
Rachel Protacio
dd47191766 8067728: Flag::unlock_diagnostic() should be called Flag::clear_diagnostic()
Renamed function

Reviewed-by: iklam, hseigel
2017-05-04 14:32:37 -04:00
Goetz Lindenmaier
8bd00f84a5 8179618: Fixes for range of OptoLoopAlignment and Inlining flags
OptoLoopAlignment must be multiple of NOP size. Inlining flags must not exceed WarmCallInfo::MAX_VALUE().

Reviewed-by: kvn, stuefe
2017-04-28 14:34:24 +02:00
Stefan Karlsson
06cee886b1 8178490: Usages of is_object_aligned with pointers are broken
Reviewed-by: tschatzl, kbarrett
2017-04-11 23:45:37 +02:00
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02:00
Rahul Kandu
12970ac663 8182138: Disable generating INC and DEC instructions on Xeon Phi and ATOM CPUs
Reviewed-by: kvn
2017-06-23 15:16:23 -07:00
Harold Seigel
5e4cca403b 8182720: In InstanceKlass.cpp, get init_lock from handle
Replace init_lock() calls with h_init_lock() calls

Reviewed-by: sspitsyn, coleenp
2017-06-23 09:54:52 -04:00
Kim Barrett
08361aedba Merge 2017-06-23 01:08:42 +00:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Kim Barrett
06474bd8e9 Merge 2017-06-22 23:39:18 +00:00
Vladimir Kozlov
98923cb4c4 8181113: jaotc options lost after 8177046
Reviewed-by: iveresov, dlong
2017-06-22 15:26:34 -07:00
Christian Thalinger
ec241eb2a4 8182729: [AOT] remove UseConcMarkSweepGC check when loading libraries
Reviewed-by: kvn
2017-06-22 13:59:00 -07:00
Matthew Brandyberry
c0a589deba 8181810: PPC64: Leverage extrdi for bitfield extract
Reviewed-by: mdoerr, simonis
2017-06-22 18:33:41 +02:00
Jesper Wilhelmsson
3c874cfeb3 Merge 2017-06-22 00:51:07 +02:00
Vladimir Kozlov
dd676c3a98 8181823: [AOT] jaotc doesn't work with Graal
Add new flag to indicate when to calculate class fingerprint

Reviewed-by: iklam, iveresov
2017-06-21 10:28:27 -07:00
Sergey Nazarkin
8041519b2e 8182581: aarch64: fix for crash caused by earlyret of compiled method
Fix jvm crash caused by earlyret of compiled method for aarch64 port

Reviewed-by: aph
2017-06-20 17:00:07 +08:00
Igor Veresov
bd203875c4 8182557: Update Graal
Reviewed-by: kvn
2017-06-19 16:31:43 -07:00
Rahul Raghavan
6dc481d296 Merge 2017-06-19 11:23:16 +00:00
Rahul Raghavan
8ce7d1e1d8 8044829: UseAES warning message generation differs on CPU architecture
Fixed issue with feature flag setting when AES support disabled explicitly

Reviewed-by: kvn
2017-06-19 03:10:46 -07:00
Rahul Raghavan
2614e75f50 8016470: AllocatePrefetchDistance is not changed by command line
Values from command line given preference for related flags, over default values based on platform

Reviewed-by: thartmann, kvn
2017-06-19 01:23:58 -07:00
Vladimir Kozlov
ada9ed1287 8182114: assert(VM_Version::supports_sse()) failed
Restore UseSSE check for FMA

Reviewed-by: dcubed
2017-06-16 12:06:31 -07:00
Coleen Phillimore
af0b8d46d2 8181450: assert in BasicHashtable::verify_table
Remove assert as it has small probability of happening and added logging

Reviewed-by: kbarrett, sspitsyn
2017-06-16 09:13:56 -04:00
Harold Seigel
ea15e1ac26 Merge 2017-06-15 18:58:08 +00:00
Harold Seigel
42c183edfc 8182089: build error in hotspot/src/share/vm/runtime/reflection.cpp
Add const to argument in reflection.cpp so method signature matches the one in reflection.hpp

Reviewed-by: zgu, coleenp, rprotacio
2017-06-15 14:34:32 -04:00
Robbin Ehn
0d3624a309 8181859: Monitor deflation is not checked in cleanup path
Reviewed-by: sspitsyn, dcubed, shade, cvarming
2017-06-15 09:52:44 +02:00
Erik Österlund
2a0bd0cd04 8181785: Remove the experimental ClearFPUAtPark JVM Flag
Removing the experimental and unstable ClearFPUAtPark optimization for SPARC

Reviewed-by: kbarrett, tschatzl, rehn
2017-06-14 08:47:27 +02:00
Erik Österlund
7bea157c87 8181318: Allow C++ library headers on Solaris Studio
Allow studio to compile but not link against the stlport4 C++ standard library

Reviewed-by: dholmes, dcubed, erikj
2017-06-14 01:30:11 -07:00
Fei Yang
4555997c30 8182161: aarch64: combine andr+cbnz into tbnz when possible
Combine andr+cbnz into tbnz when possible to save one instruction

Reviewed-by: aph
2017-06-14 17:33:54 +08:00