mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp. Reviewed-by: jwilhelm, kbarrett, simonis
This commit is contained in:
parent
2632925f9f
commit
a7edf52a02
28 changed files with 71 additions and 86 deletions
|
@ -5425,7 +5425,7 @@ public:
|
|||
// limit is set using max_num_q() - which was set using ParallelGCThreads.
|
||||
// So this must be true - but assert just in case someone decides to
|
||||
// change the worker ids.
|
||||
assert(0 <= worker_id && worker_id < limit, "sanity");
|
||||
assert(worker_id < limit, "sanity");
|
||||
assert(!rp->discovery_is_atomic(), "check this code");
|
||||
|
||||
// Select discovered lists [i, i+stride, i+2*stride,...,limit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue