diff src/share/vm/classfile/classLoaderData.inline.hpp @ 13404:46bb2774fc88

7133093: Improve system dictionary performance Summary: implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading Reviewed-by: iklam, acorn, jiangli
author coleenp
date Fri, 28 Jul 2017 10:48:35 -0400
parents 8341dddb5188
children 12817e44b856
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoaderData.inline.hpp	Thu Jul 27 17:47:57 2017 -0700
+++ b/src/share/vm/classfile/classLoaderData.inline.hpp	Fri Jul 28 10:48:35 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2017, 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
@@ -26,10 +26,6 @@
 #include "classfile/javaClasses.hpp"
 #include "oops/oop.inline.hpp"
 
-unsigned int ClassLoaderData::identity_hash() const {
-  return _class_loader == NULL ? 0 : _class_loader->identity_hash();
-}
-
 inline ClassLoaderData* ClassLoaderData::class_loader_data_or_null(oop loader) {
   if (loader == NULL) {
     return ClassLoaderData::the_null_class_loader_data();