mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
This commit is contained in:
parent
79c92eadc3
commit
f44e59355c
8 changed files with 140 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2019, 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
|
||||
|
@ -240,6 +240,7 @@ class java_lang_Class : AllStatic {
|
|||
static int _class_loader_offset;
|
||||
static int _module_offset;
|
||||
static int _component_mirror_offset;
|
||||
static int _name_offset;
|
||||
|
||||
static bool offsets_computed;
|
||||
static int classRedefinedCount_offset;
|
||||
|
@ -310,6 +311,8 @@ class java_lang_Class : AllStatic {
|
|||
static void set_module(oop java_class, oop module);
|
||||
static oop module(oop java_class);
|
||||
|
||||
static oop name(Handle java_class, TRAPS);
|
||||
|
||||
static int oop_size(oop java_class);
|
||||
static int oop_size_raw(oop java_class);
|
||||
static void set_oop_size(HeapWord* java_class, int size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue