1 /* |
1 /* |
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2018 SAP SE. All rights reserved. |
3 * Copyright (c) 2018, 2019 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
93 static void print_space_single(outputStream *ast, unsigned short space); |
93 static void print_space_single(outputStream *ast, unsigned short space); |
94 static void print_age_single(outputStream *ast, unsigned int age); |
94 static void print_age_single(outputStream *ast, unsigned int age); |
95 static void print_line_delim(outputStream* out, bufferedStream *sst, char* low_bound, unsigned int ix, unsigned int gpl); |
95 static void print_line_delim(outputStream* out, bufferedStream *sst, char* low_bound, unsigned int ix, unsigned int gpl); |
96 static void print_line_delim(outputStream* out, outputStream *sst, char* low_bound, unsigned int ix, unsigned int gpl); |
96 static void print_line_delim(outputStream* out, outputStream *sst, char* low_bound, unsigned int ix, unsigned int gpl); |
97 static blobType get_cbType(CodeBlob* cb); |
97 static blobType get_cbType(CodeBlob* cb); |
|
98 static bool blob_access_is_safe(CodeBlob* this_blob, CodeBlob* prev_blob); |
98 |
99 |
99 public: |
100 public: |
100 static void discard(outputStream* out, CodeHeap* heap); |
101 static void discard(outputStream* out, CodeHeap* heap); |
101 static void aggregate(outputStream* out, CodeHeap* heap, const char* granularity); |
102 static void aggregate(outputStream* out, CodeHeap* heap, const char* granularity); |
102 static void print_usedSpace(outputStream* out, CodeHeap* heap); |
103 static void print_usedSpace(outputStream* out, CodeHeap* heap); |