mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8282240: Add _name field to Method for NOT_PRODUCT only
Reviewed-by: pchilanomate, hseigel
This commit is contained in:
parent
59b3ecc591
commit
c7cd1487fe
5 changed files with 42 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, 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
|
||||
|
@ -2741,6 +2741,7 @@ Method* ClassFileParser::parse_method(const ClassFileStream* const cfs,
|
|||
access_flags,
|
||||
&sizes,
|
||||
ConstMethod::NORMAL,
|
||||
_cp->symbol_at(name_index),
|
||||
CHECK_NULL);
|
||||
|
||||
ClassLoadingService::add_class_method_size(m->size()*wordSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue