1 /*
2 * Copyright (c) 2000, 2018, 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 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
398 /* os */ \
399 /******/ \
400 \
401 static_field(os, _polling_page, address) \
402 \
403 /**********/ \
404 /* Memory */ \
405 /**********/ \
406 \
407 static_field(MetaspaceObj, _shared_metaspace_base, void*) \
408 static_field(MetaspaceObj, _shared_metaspace_top, void*) \
409 nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \
410 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \
411 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \
412 nonstatic_field(ThreadLocalAllocBuffer, _pf_top, HeapWord*) \
413 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \
414 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \
415 static_field(ThreadLocalAllocBuffer, _reserve_for_allocation_prefetch, int) \
416 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \
417 nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \
418 nonstatic_field(ThreadLocalAllocBuffer, _fast_refill_waste, unsigned) \
419 nonstatic_field(ThreadLocalAllocBuffer, _slow_refill_waste, unsigned) \
420 nonstatic_field(ThreadLocalAllocBuffer, _gc_waste, unsigned) \
421 nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \
422 nonstatic_field(VirtualSpace, _low_boundary, char*) \
423 nonstatic_field(VirtualSpace, _high_boundary, char*) \
424 nonstatic_field(VirtualSpace, _low, char*) \
425 nonstatic_field(VirtualSpace, _high, char*) \
426 nonstatic_field(VirtualSpace, _lower_high, char*) \
427 nonstatic_field(VirtualSpace, _middle_high, char*) \
428 nonstatic_field(VirtualSpace, _upper_high, char*) \
429 \
430 /************************/ \
431 /* PerfMemory - jvmstat */ \
432 /************************/ \
433 \
434 nonstatic_field(PerfDataPrologue, magic, jint) \
435 nonstatic_field(PerfDataPrologue, byte_order, jbyte) \
436 nonstatic_field(PerfDataPrologue, major_version, jbyte) \
437 nonstatic_field(PerfDataPrologue, minor_version, jbyte) \
438 nonstatic_field(PerfDataPrologue, accessible, jbyte) \
439 nonstatic_field(PerfDataPrologue, used, jint) \
|
1 /*
2 * Copyright (c) 2000, 2019, 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 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
398 /* os */ \
399 /******/ \
400 \
401 static_field(os, _polling_page, address) \
402 \
403 /**********/ \
404 /* Memory */ \
405 /**********/ \
406 \
407 static_field(MetaspaceObj, _shared_metaspace_base, void*) \
408 static_field(MetaspaceObj, _shared_metaspace_top, void*) \
409 nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \
410 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \
411 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \
412 nonstatic_field(ThreadLocalAllocBuffer, _pf_top, HeapWord*) \
413 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \
414 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \
415 static_field(ThreadLocalAllocBuffer, _reserve_for_allocation_prefetch, int) \
416 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \
417 nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \
418 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste, unsigned) \
419 nonstatic_field(ThreadLocalAllocBuffer, _gc_waste, unsigned) \
420 nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \
421 nonstatic_field(VirtualSpace, _low_boundary, char*) \
422 nonstatic_field(VirtualSpace, _high_boundary, char*) \
423 nonstatic_field(VirtualSpace, _low, char*) \
424 nonstatic_field(VirtualSpace, _high, char*) \
425 nonstatic_field(VirtualSpace, _lower_high, char*) \
426 nonstatic_field(VirtualSpace, _middle_high, char*) \
427 nonstatic_field(VirtualSpace, _upper_high, char*) \
428 \
429 /************************/ \
430 /* PerfMemory - jvmstat */ \
431 /************************/ \
432 \
433 nonstatic_field(PerfDataPrologue, magic, jint) \
434 nonstatic_field(PerfDataPrologue, byte_order, jbyte) \
435 nonstatic_field(PerfDataPrologue, major_version, jbyte) \
436 nonstatic_field(PerfDataPrologue, minor_version, jbyte) \
437 nonstatic_field(PerfDataPrologue, accessible, jbyte) \
438 nonstatic_field(PerfDataPrologue, used, jint) \
|