equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2017, 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. |
70 |
70 |
71 static int metadata_compare(Metadata* const& key, ciMetadata* const& elt); |
71 static int metadata_compare(Metadata* const& key, ciMetadata* const& elt); |
72 |
72 |
73 ciObject* create_new_object(oop o); |
73 ciObject* create_new_object(oop o); |
74 ciMetadata* create_new_metadata(Metadata* o); |
74 ciMetadata* create_new_metadata(Metadata* o); |
75 |
|
76 void ensure_metadata_alive(ciMetadata* m); |
|
77 |
75 |
78 static bool is_equal(NonPermObject* p, oop key) { |
76 static bool is_equal(NonPermObject* p, oop key) { |
79 return p->object()->get_oop() == key; |
77 return p->object()->get_oop() == key; |
80 } |
78 } |
81 |
79 |