src/hotspot/share/runtime/basicLock.cpp
changeset 53557 4cfe0e5a3b79
parent 47216 71c04702a3d5
child 57777 90ead0febf56
--- a/src/hotspot/share/runtime/basicLock.cpp	Tue Jan 29 10:09:13 2019 -0800
+++ b/src/hotspot/share/runtime/basicLock.cpp	Tue Jan 29 14:09:38 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -74,7 +74,5 @@
     // store-before-CAS avoidance in fast_lock/compiler_lock_object
     // we can find any flavor mark in the displaced mark.
   }
-// [RGV] The next line appears to do nothing!
-  intptr_t dh = (intptr_t) displaced_header();
   dest->set_displaced_header(displaced_header());
 }