mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
7189254: Change makefiles for more flexibility to override defaults
Change makefiles so that targets and parameters can be overridden by alternate makefiles. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
9e9db7f831
commit
c5eaaaa070
56 changed files with 1068 additions and 357 deletions
|
@ -588,6 +588,10 @@ bool PerfDataList::by_name(void* name, PerfData* pd) {
|
|||
|
||||
PerfData* PerfDataList::find_by_name(const char* name) {
|
||||
|
||||
// if add_item hasn't been called the list won't be initialized
|
||||
if (this == NULL)
|
||||
return NULL;
|
||||
|
||||
int i = _set->find((void*)name, PerfDataList::by_name);
|
||||
|
||||
if (i >= 0 && i <= _set->length())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue