src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Mark.java
changeset 59053 ba6c248cae19
parent 57777 90ead0febf56
equal deleted inserted replaced
59051:f0312c7d5b37 59053:ba6c248cae19
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 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.
    71     biasedLockPattern = db.lookupLongConstant("markWord::biased_lock_pattern").longValue();
    71     biasedLockPattern = db.lookupLongConstant("markWord::biased_lock_pattern").longValue();
    72     noHash              = db.lookupLongConstant("markWord::no_hash").longValue();
    72     noHash              = db.lookupLongConstant("markWord::no_hash").longValue();
    73     noHashInPlace       = db.lookupLongConstant("markWord::no_hash_in_place").longValue();
    73     noHashInPlace       = db.lookupLongConstant("markWord::no_hash_in_place").longValue();
    74     noLockInPlace       = db.lookupLongConstant("markWord::no_lock_in_place").longValue();
    74     noLockInPlace       = db.lookupLongConstant("markWord::no_lock_in_place").longValue();
    75     maxAge              = db.lookupLongConstant("markWord::max_age").longValue();
    75     maxAge              = db.lookupLongConstant("markWord::max_age").longValue();
    76 
       
    77     /* Constants in markWord used by CMS. */
       
    78     cmsShift            = db.lookupLongConstant("markWord::cms_shift").longValue();
       
    79     cmsMask             = db.lookupLongConstant("markWord::cms_mask").longValue();
       
    80     sizeShift           = db.lookupLongConstant("markWord::size_shift").longValue();
       
    81   }
    76   }
    82 
    77 
    83   // Field accessors
    78   // Field accessors
    84   private static CIntegerField markField;
    79   private static CIntegerField markField;
    85 
    80