equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
72 // unused_mark. Naively we'd like to assert that the displaced mark |
72 // unused_mark. Naively we'd like to assert that the displaced mark |
73 // value is either 0, neutral, or 3. But with the advent of the |
73 // value is either 0, neutral, or 3. But with the advent of the |
74 // store-before-CAS avoidance in fast_lock/compiler_lock_object |
74 // store-before-CAS avoidance in fast_lock/compiler_lock_object |
75 // we can find any flavor mark in the displaced mark. |
75 // we can find any flavor mark in the displaced mark. |
76 } |
76 } |
77 // [RGV] The next line appears to do nothing! |
|
78 intptr_t dh = (intptr_t) displaced_header(); |
|
79 dest->set_displaced_header(displaced_header()); |
77 dest->set_displaced_header(displaced_header()); |
80 } |
78 } |