mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
Merge
This commit is contained in:
commit
cc14920031
1366 changed files with 37486 additions and 30689 deletions
|
@ -99,9 +99,6 @@ int compare_methods(Method** a, Method** b) {
|
|||
|
||||
void collect_profiled_methods(Method* m) {
|
||||
Thread* thread = Thread::current();
|
||||
// This HandleMark prevents a huge amount of handles from being added
|
||||
// to the metadata_handles() array on the thread.
|
||||
HandleMark hm(thread);
|
||||
methodHandle mh(thread, m);
|
||||
if ((m->method_data() != NULL) &&
|
||||
(PrintMethodData || CompilerOracle::should_print(mh))) {
|
||||
|
@ -729,6 +726,8 @@ void JDK_Version::to_string(char* buffer, size_t buflen) const {
|
|||
index += rc;
|
||||
if (_security > 0) {
|
||||
rc = jio_snprintf(&buffer[index], buflen - index, ".%d", _security);
|
||||
if (rc == -1) return;
|
||||
index += rc;
|
||||
}
|
||||
if (_patch > 0) {
|
||||
rc = jio_snprintf(&buffer[index], buflen - index, ".%d", _patch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue