Skip to content

Commit 26c1db9

Browse files
vshiningKim Barrett
authored and
Kim Barrett
committed
8254239: G1ConcurrentMark.hpp unnecessarily disables MSVC++ warning 4522.
Reviewed-by: iklam, kbarrett
1 parent 0c21dd0 commit 26c1db9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/hotspot/share/gc/g1/g1ConcurrentMark.hpp

-6
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ class G1RegionToSpaceMapper;
5050
class G1SurvivorRegions;
5151
class ThreadClosure;
5252

53-
PRAGMA_DIAG_PUSH
54-
// warning C4522: multiple assignment operators specified
55-
PRAGMA_DISABLE_MSVC_WARNING(4522)
56-
5753
// This is a container class for either an oop or a continuation address for
5854
// mark stack entries. Both are pushed onto the mark stack.
5955
class G1TaskQueueEntry {
@@ -89,8 +85,6 @@ class G1TaskQueueEntry {
8985
bool is_null() const { return _holder == NULL; }
9086
};
9187

92-
PRAGMA_DIAG_POP
93-
9488
typedef GenericTaskQueue<G1TaskQueueEntry, mtGC> G1CMTaskQueue;
9589
typedef GenericTaskQueueSet<G1CMTaskQueue, mtGC> G1CMTaskQueueSet;
9690

0 commit comments

Comments
 (0)