synchronizer.hpp (7051:0420e825bb3c) synchronizer.hpp (7236:5fc21235d0fd)
1/*
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *

--- 120 unchanged lines hidden (view full) ---

129 int *error_cnt_ptr, int *warning_cnt_ptr);
130 static void verify() PRODUCT_RETURN;
131 static int verify_objmon_isinpool(ObjectMonitor *addr) PRODUCT_RETURN0;
132
133 static void RegisterSpinCallback(int(*)(intptr_t, int), intptr_t);
134
135 private:
136 enum { _BLOCKSIZE = 128 };
1/*
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *

--- 120 unchanged lines hidden (view full) ---

129 int *error_cnt_ptr, int *warning_cnt_ptr);
130 static void verify() PRODUCT_RETURN;
131 static int verify_objmon_isinpool(ObjectMonitor *addr) PRODUCT_RETURN0;
132
133 static void RegisterSpinCallback(int(*)(intptr_t, int), intptr_t);
134
135 private:
136 enum { _BLOCKSIZE = 128 };
137 // gBlockList is really PaddedEnd<ObjectMonitor> *, but we don't
138 // want to expose the PaddedEnd template more than necessary.
137 static ObjectMonitor* gBlockList;
138 static ObjectMonitor * volatile gFreeList;
139 // global monitor in use list, for moribund threads,
140 // monitors they inflated need to be scanned for deflation
141 static ObjectMonitor * volatile gOmInUseList;
142 // count of entries in gOmInUseList
143 static int gOmInUseCount;
144

--- 30 unchanged lines hidden ---
139 static ObjectMonitor* gBlockList;
140 static ObjectMonitor * volatile gFreeList;
141 // global monitor in use list, for moribund threads,
142 // monitors they inflated need to be scanned for deflation
143 static ObjectMonitor * volatile gOmInUseList;
144 // count of entries in gOmInUseList
145 static int gOmInUseCount;
146

--- 30 unchanged lines hidden ---