equal
deleted
inserted
replaced
1 /* |
1 /* |
|
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2017, Red Hat, Inc. and/or its affiliates. |
3 * Copyright (c) 2017, Red Hat, Inc. and/or its affiliates. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
5 * |
5 * 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 |
6 * 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 |
44 public: |
45 public: |
45 static jint initialize(); |
46 static jint initialize(); |
46 static bool is_initialized(); |
47 static bool is_initialized(); |
47 static GCArguments* arguments(); |
48 static GCArguments* arguments(); |
48 |
49 |
49 void post_heap_initialize(); |
|
50 |
|
51 virtual void initialize_flags(); |
50 virtual void initialize_flags(); |
52 |
|
53 // Collector specific function to allow finer grained verification |
|
54 // through VerifyGCType. If not overridden the default version will |
|
55 // warn that the flag is not supported for the given collector. |
|
56 // Returns true if parsing should continue, false otherwise. |
|
57 virtual bool parse_verification_type(const char* type); |
|
58 |
51 |
59 virtual size_t conservative_max_heap_alignment() = 0; |
52 virtual size_t conservative_max_heap_alignment() = 0; |
60 |
53 |
61 virtual CollectedHeap* create_heap() = 0; |
54 virtual CollectedHeap* create_heap() = 0; |
62 }; |
55 }; |