6754 Commits

Author SHA1 Message Date
Paul Sandoz
4d4c7ad974 8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables
Reviewed-by: shade, dholmes, alanb, chegar, mchung, roland
2015-12-09 14:54:40 +01:00
Vivek R Deshpande
2d9a6cfd3f 8143355: Update for addition of vectorizedMismatch intrinsic for x86
Co-authored-by: Liqi Yi <liqi.yi@intel.com>
Reviewed-by: kvn
2015-12-07 16:35:07 -08:00
Jesper Wilhelmsson
9ff100e114 Merge 2015-12-07 21:03:56 +00:00
Ioi Lam
8db7a63b8c Merge 2015-12-07 19:21:40 +00:00
Jesper Wilhelmsson
d6fd9c1149 Merge 2015-12-07 17:29:27 +00:00
Tom Rodriguez
449bf68d35 8143571: [JVMCI] Double unregistering of nmethod during unloading
Reviewed-by: iveresov, twisti
2015-12-04 15:18:46 -10:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08:00
Mikael Vidstedt
95c869947a 8144605: Invalid format specifier when printing in_cset_state_t
Use existing CSETSTATE_FORMAT macro in format string

Reviewed-by: kbarrett, tschatzl
2015-12-04 09:36:16 -08:00
Coleen Phillimore
0f27cc83c2 Merge 2015-12-05 17:14:02 +00:00
Coleen Phillimore
5f07c2b8ad 8144534: Refactor templateInterpreter and templateInterpreterGenerator functions
Merged templateInterpreter_x86_32/64 into templateInterpreterGenerator_x86.cpp (some 32/64 functions remain for the hand coded crc functions).

Reviewed-by: goetz, jrose, twisti
2015-12-05 10:40:22 -05:00
Thomas Schatzl
d9d78c6a33 8144690: g1Predictions.hpp includes allocation.inline.hpp
Remove offending (and unnecessary) include statement.

Reviewed-by: stefank, jmasa
2015-12-05 15:17:29 +01:00
Thomas Schatzl
52745a5d2c 8144583: Test sanity/ExecuteInternalVMTests.java fails
Remove a test that is highly dependent on timing.

Reviewed-by: jwilhelm
2015-12-05 15:16:01 +01:00
Martin Doerr
0fba365de2 8136445: Performance issue with Nashorn and C2's global code motion
Reviewed-by: kvn
2015-12-04 16:23:39 +01:00
Vladimir Ivanov
d60a09e9c5 8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax
2015-12-04 23:46:19 +03:00
Andreas Eriksson
c64b2175e7 6869327: Add new C2 flag to keep safepoints in counted loops
Reviewed-by: kvn, shade
2015-12-04 14:06:38 +01:00
Marcus Larsson
974f9e0483 8144146: Unified Logging tags cannot be reserved keywords
Reviewed-by: dholmes, sla
2015-12-04 13:02:25 +01:00
Alejandro Murillo
4f54e303f3 Merge 2015-12-03 22:30:17 -08:00
Paul Sandoz
73acd18275 8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package
Reviewed-by: jrose, vlivanov, mchung, roland
2015-12-03 11:18:34 +01:00
Ioi Lam
e708f69e1f 8143615: compactHashtable.hpp includes .inline.hpp file
Reviewed-by: dholmes, stefank
2015-12-02 18:14:54 -08:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Roland Westrelin
7925eb298b 8134883: C1 hard crash in range check elimination in Nashorn test262parallel
C1's range check elimination breaks with a non-natural loop that has an exception handler as one entry

Reviewed-by: iveresov
2015-12-02 15:13:42 +01:00
Mikael Gerdin
211dc93a85 8148047: Move the vtable length field to Klass
Reviewed-by: cjplummer, twisti, coleenp, kbarrett
2015-12-01 10:35:49 +01:00
Coleen Phillimore
97e169ac77 8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc.  Use wordSize rather than HeapWordSize for metadata.  Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).

Reviewed-by: hseigel, jmasa, cjplummer
2016-01-30 11:02:29 -05:00
Kim Barrett
ec7fb4ee2b 8146793: logStream::write re-formats string
Eliminate re-format, add warning attribute, fix size check, fix va_list usage.

Reviewed-by: mlarsson, rprotacio, jrose
2016-01-29 20:57:09 -05:00
Sangheon Kim
51a621db8d 8145190: MinTLABSize can cause overflow problem with CMS GC
Changed max range of MinTLABSize from max_uintx to max_uintx/2

Reviewed-by: jwilhelm, tbenson
2016-01-29 16:25:10 -08:00
Bengt Rutisson
f9d2c3806e Merge 2016-01-29 14:41:07 +01:00
David Holmes
1875f65a54 6515172: Runtime.availableProcessors() ignores Linux taskset command
Extract processor count from sched_getaffinity mask

Reviewed-by: dcubed, stuefe, gthornbr
2016-01-29 05:32:12 -05:00
Bengt Rutisson
2e5c6d4ea4 8148467: Consistent use of : in the logging
Reviewed-by: mgerdin, tbenson
2016-01-29 10:44:15 +01:00
David Holmes
b41df1a2e7 Merge 2016-01-29 03:19:07 +01:00
Goetz Lindenmaier
a5f97662f5 8148470: Metadata print routines should not print to tty
Reviewed-by: iklam, mgerdin
2016-01-28 15:13:15 -08:00
Alexander Harlap
68bb850835 8147906: G1 use of os::processor_count()
Use os::active_processor_count() instead of os::processor_count() in G1

Reviewed-by: dholmes, jmasa
2016-01-28 16:05:41 -05:00
Jesper Wilhelmsson
888f757047 Merge 2016-01-28 19:30:39 +01:00
Thomas Schatzl
a1a24048b3 Merge 2016-01-28 16:34:44 +01:00
Thomas Schatzl
f55f9a60a7 8147087: Race when reusing PerRegionTable bitmaps may result in dropped remembered set entries
Do not make reused PRTs available to other threads before the bitmap of the PRT has been cleared.

Co-authored-by: Poonam Bajaj <poonam.bajaj@oracle.com>
Reviewed-by: tbenson, mgerdin
2016-01-28 14:00:20 +01:00
Ray Alex
4f42f17d9e 8146987: Improve Parallel GC Full GC by caching results of live_words_in_range()
A large part of time in the parallel scavenge collector is spent finding out the amount of live words within memory ranges to find out where to move an object to. Try to incrementally calculate this value.

Reviewed-by: tschatzl, mgerdin, jmasa
2016-01-28 13:30:12 +01:00
Bengt Rutisson
ce491c9057 Merge 2016-01-28 10:18:45 +01:00
Bengt Rutisson
31ca2b7010 8145180: Add back PrintGC, PrintGCDetails and -Xloggc
Reviewed-by: sjohanss, david
2016-01-28 10:04:35 +01:00
David Holmes
1fdb299974 Merge 2016-01-28 07:11:45 +01:00
Jiangli Zhou
0a7cee2190 8147500: The HashtableTextDump::get_num() should check for integer overflow
Add check for integer overflow in HashtableTextDump::get_num()

Reviewed-by: dholmes, iklam
2016-01-27 22:39:03 -05:00
Sangheon Kim
52e9797321 Merge 2016-01-27 21:04:42 +00:00
Stefan Karlsson
e8f8d123f8 Merge 2016-01-27 20:45:30 +01:00
Sangheon Kim
094345fc88 8145192: 'count' variable can overflow in PSMarkSweep::invoke on 64 bit JVM
Changed MarkSweepAlwaysCompactCount from uintx to uint

Reviewed-by: tschatzl, tbenson
2016-01-27 10:30:27 -08:00
Mikael Gerdin
1163c0a2cb 8147461: Use byte offsets for vtable start and vtable length offsets
Reviewed-by: cjplummer, coleenp, dnsimon
2016-01-27 14:50:56 +01:00
Harold Seigel
64dd8e763d 8137314: vm crash from test java/security/Policy/SignedJar/SignedJarTest.java
Add additional checks in the verifier for recursive verification

Reviewed-by: acorn, gtriantafill
2016-01-27 07:14:56 -05:00
Thomas Stuefe
480e92f8b5 8146905: cleanup ostream, staticBufferStream
Get rid of staticBufferStream and implement the use-caller-provided-scratch-buffer feature in a simpler way.

Reviewed-by: simonis, dholmes
2016-01-27 11:51:56 +01:00
Marcus Larsson
f089e2ceeb Merge 2016-01-27 11:41:44 +01:00
Marcus Larsson
127158a210 8147348: LogTagLevelExpression not properly initialized in configure_stdout
Reviewed-by: brutisso, sla
2016-01-27 09:07:10 +01:00
David Holmes
4ca382aeee Merge 2016-01-27 05:59:31 +01:00
Matthias Baesken
e95747daf1 8145740: Visual Studio pragmas should be guarded by ifdef _MSC_VER
Reviewed-by: simonis, dholmes
2016-01-26 21:18:08 -05:00
David Lindholm
ac117697a3 8147814: Move verification code out of g1collectedheap
Reviewed-by: jwilhelm, tschatzl
2016-01-26 15:28:31 +01:00