hotspot/src/share/vm/oops/klassVtable.hpp
changeset 35871 607bf949dfb3
parent 35135 dd2ce9021031
child 35898 ddc274f0052f
--- a/hotspot/src/share/vm/oops/klassVtable.hpp	Thu Jan 28 07:11:45 2016 +0100
+++ b/hotspot/src/share/vm/oops/klassVtable.hpp	Wed Jan 27 14:50:56 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
@@ -173,6 +173,9 @@
   static int size() {
     return sizeof(vtableEntry) / sizeof(HeapWord);
   }
+  static int size_in_bytes() {
+    return sizeof(vtableEntry);
+  }
   static int method_offset_in_bytes() { return offset_of(vtableEntry, _method); }
   Method* method() const    { return _method; }