mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp
This commit is contained in:
parent
380897b206
commit
b26df6b69f
36 changed files with 714 additions and 686 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -186,6 +186,10 @@ int ConstantPool::cp_to_object_index(int cp_index) {
|
|||
return (i < 0) ? _no_index_sentinel : i;
|
||||
}
|
||||
|
||||
void ConstantPool::string_at_put(int which, int obj_index, oop str) {
|
||||
resolved_references()->obj_at_put(obj_index, str);
|
||||
}
|
||||
|
||||
void ConstantPool::trace_class_resolution(const constantPoolHandle& this_cp, KlassHandle k) {
|
||||
ResourceMark rm;
|
||||
int line_number = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue