95 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
efd1054686 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02:00
Stefan Karlsson
a18f1c2d58 8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +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
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02: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
Mikael Gerdin
f21390e927 8183229: Implement WindowsSemaphore::trywait
Reviewed-by: redestad, stefank, kbarrett
2017-06-30 10:36:32 +02: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
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
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02: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
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
Vladimir Kozlov
063286a618 Merge 2017-05-12 13:14:25 -07:00
Magnus Ihse Bursie
7c75811e59 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:53:37 +02:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02:00
Kirill Zhaldybin
3dfc3e19ff 8172098: A lot of gtests uses TEST instead of TEST_VM
Reviewed-by: iignatyev
2016-12-28 19:13:34 +03:00
Kirill Zhaldybin
4e860e58a3 8170936: Logging: LogFileOutput.invalid_file_test crashes when executed twice
Reviewed-by: iignatyev, stuefe
2016-12-21 11:51:57 +03:00
Kirill Zhaldybin
c2a96c7fca 8171517: test_logMessageTest.cpp has "ac_heapanied" instead of "accompanied" inside copyright notice
Reviewed-by: sspitsyn, jprovino
2016-12-21 11:51:57 +03:00
Thomas Stuefe
eeb6e2f01f 8171225: [aix] Fix gtests compile error on AIX 7.1 with xlC 12
Help xlC understand gtest asserts

Reviewed-by: erikj, dholmes, simonis
2016-12-18 10:57:49 +01:00
Kirill Zhaldybin
bfcbde3e50 8170919: LogStreamTest tests crash if they are run first
Reviewed-by: jwilhelm, mlarsson
2016-12-08 15:56:57 +03:00
Boris Molodenkov
d82ff831ba 8166132: Convert TestGlobalDefinitions_test to GTest
Reviewed-by: iignatyev
2016-12-06 16:42:42 +03:00
Kirill Zhaldybin
8bf0437430 8170468: Convert ParallelCompact_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-03 12:48:22 +03:00
Kirill Zhaldybin
8d6d1e4cda 8170490: Convert TestBufferingOopClosure_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-01 12:09:02 +03:00
Kirill Zhaldybin
91be80f603 Merge 2016-11-30 21:49:57 +01:00
Kirill Zhaldybin
c6705841d4 8168341: Gtests on JSon produce an enormous amount of hardly understandable output to stdout
Reviewed-by: iignatyev, ppunegov, kvn
2016-11-25 20:53:36 +03:00
Stefan Karlsson
0925fecaf5 8170395: Metaspace initialization queries the wrong chunk freelist
Reviewed-by: mgerdin, pliden, stuefe
2016-11-29 19:25:36 +01:00
Kirill Zhaldybin
f2dcdc6fb5 8166156: Convert test_semaphore to GTest
Reviewed-by: kbarrett, tschatzl, stefank
2016-11-28 18:54:30 +03:00
Kirill Zhaldybin
9b7be3512e 8169003: LogDecorations.iso8601_utctime_test fails if numeric locale uses "," as separator between integer and fraction part
Reviewed-by: mlarsson, iignatyev
2016-11-25 20:00:51 +03:00
Stefan Karlsson
4aaf8f63ba 8170358: [REDO] 8k class metaspace chunks misallocated from 4k chunk freelist
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Jesper Wilhelmsson
11802f94e8 8170355: [BACKOUT] 8k class metaspace chunks misallocated from 4k chunk freelist
Reviewed-by: ehelin, stefank
2016-11-25 15:58:24 +01:00
Stefan Karlsson
fe786e80ee 8169931: 8k class metaspace chunks misallocated from 4k chunk freelist​
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Kirill Zhaldybin
9439c78ffa 8168492: Convert CollectedHeap_test to GTest
Reviewed-by: iignatyev, tschatzl
2016-11-23 12:01:57 +03:00
Kirill Zhaldybin
db6e54d852 8168493: Convert TestBitMap_test to GTest
Reviewed-by: kbarrett, tschatzl
2016-11-01 16:23:29 +03: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
Kim Barrett
006229255a 8169039: Add unit tests for BitMap search operations
Added native unit test test_bitMap_search.cpp

Reviewed-by: stefank, sjohanss
2017-05-03 18:44:27 -04:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Kirill Zhaldybin
2fd9f38a31 8171090: Convert VMStruct_test to GTest
Reviewed-by: iignatyev
2016-12-12 16:16:27 +03:00
Thomas Stuefe
8838ae7b46 8170933: Cleanup Metaspace Chunk manager: Unify treatment of humongous and non-humongous chunks
Reviewed-by: mgerdin, coleenp
2016-12-14 09:14:16 +01:00
Marcus Larsson
43db68dee4 8146009: "pure virtual method called" with using new GC logging mechanism
Co-authored-by: Michail Chernov <michail.chernov@oracle.com>
Reviewed-by: dsamersoff, dholmes, mchernov
2016-10-21 10:14:54 +02:00
Marcus Larsson
8641d21c56 8166117: Add UTC timestamp decorator for UL
Reviewed-by: rehn, rprotacio
2016-10-21 10:18:11 +02:00
Boris Molodenkov
ebdc27f789 8165451: Convert WorkerDataArray_test to GTest
Reviewed-by: jwilhelm
2016-10-26 17:29:47 +03:00
Jesper Wilhelmsson
82bdf29022 8157455: Convert TestOS_test to GTest
Reviewed-by: dholmes, rehn
2016-05-23 19:46:43 +02:00
Jesper Wilhelmsson
4fde26fd80 8157453: Convert DependencyContext_test to GTest
Reviewed-by: dholmes, rehn, kzhaldyb
2016-05-20 16:45:00 +02:00
Jesper Wilhelmsson
99e0b31b64 8156800: Convert QuickSort_test to GTest
Reviewed-by: rehn, kzhaldyb, rprotacio, mlarsson
2016-05-11 23:33:24 +02:00
Kirill Zhaldybin
5eff90fe32 8159817: Convert FreeRegionList_test to GTest
Reviewed-by: kbarrett
2016-10-20 23:09:03 +03:00
Kirill Zhaldybin
d8c2eae5b3 8166910: Convert TestNewSize_test to GTest
8166911: Convert TestOldSize_test to GTest

Reviewed-by: jwilhelm
2016-10-20 10:51:54 +03:00
Kirill Zhaldybin
8e9064b44b 8166563: Convert GuardedMemory_test to Gtest
Reviewed-by: iignatyev
2016-09-28 17:18:45 +03:00
Kirill Zhaldybin
c6515608b6 8166804: Convert TestMetachunk_test to GTest
Reviewed-by: iignatyev
2016-09-28 17:26:43 +03:00
Dmitry Fazunenko
23d0bfc849 Merge 2016-10-18 16:02:14 +00:00