8139 Commits

Author SHA1 Message Date
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
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
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
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
Lana Steuck
7b47a378fa Merge 2017-05-19 04:18:25 +00: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
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
Lana Steuck
f50ba6cf4d Merge 2017-05-05 04:49:35 +00: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
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
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
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
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
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
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
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
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
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
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
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
Doug Simon
16d29f2564 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, iveresov, mchung
2017-04-28 02:54:05 -07: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