--- a/hotspot/src/share/vm/oops/constantPool.cpp Tue Jan 12 21:17:13 2016 +0400
+++ b/hotspot/src/share/vm/oops/constantPool.cpp Mon Jan 04 15:41:05 2016 +0100
@@ -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 @@
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;