Skip to content

Commit 95877db

Browse files
committed
Merge branch 'master' of https://github.com/openjdk/jdk into docs/cf-constantpool
2 parents e3ac100 + 1866c0c commit 95877db

File tree

577 files changed

+6806
-8872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

577 files changed

+6806
-8872
lines changed

make/Global.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ help:
102102
$(info $(_) # method is 'auto', 'ignore' or 'fail' (default))
103103
$(info $(_) TEST="test1 ..." # Use the given test descriptor(s) for testing, e.g.)
104104
$(info $(_) # make test TEST="jdk_lang gtest:all")
105-
$(info $(_) TEST_DEPS="dependency1 ..." # Specify additional dependencies for running tests, e.g docs-jdk
105+
$(info $(_) TEST_DEPS="dependency1 ..." # Specify additional dependencies for running tests, e.g docs-jdk)
106106
$(info $(_) JTREG="OPT1=x;OPT2=y" # Control the JTREG test harness, use 'make test-only JTREG=help' to list)
107107
$(info $(_) GTEST="OPT1=x;OPT2=y" # Control the GTEST test harness, use 'make test-only GTEST=help' to list)
108108
$(info $(_) MICRO="OPT1=x;OPT2=y" # Control the MICRO test harness, use 'make test-only MICRO=help' to list)

make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,6 +1896,11 @@ private void finishClassLoading(ClassList classes, Map<String, ModuleDescription
18961896
continue;
18971897
}
18981898

1899+
if (ed.packageName.equals("jdk/internal/javac")) {
1900+
//keep jdk/internal/javac untouched. It is used to determine participates in preview:
1901+
continue;
1902+
}
1903+
18991904
Set<String> usingModules = package2ModulesUsingIt.getOrDefault(ed.packageName(), Set.of());
19001905

19011906
ed.to.retainAll(usingModules);

src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ friend class ArrayCopyStub;
7070
_call_stub_size = 11 * MacroAssembler::instruction_size +
7171
1 * MacroAssembler::instruction_size + wordSize,
7272
// See emit_exception_handler for detail
73-
// verify_not_null_oop + far_call + should_not_reach_here + invalidate_registers(DEBUG_ONLY)
74-
_exception_handler_size = DEBUG_ONLY(584) NOT_DEBUG(548), // or smaller
73+
_exception_handler_size = DEBUG_ONLY(256) NOT_DEBUG(32), // or smaller
7574
// See emit_deopt_handler for detail
76-
// auipc (1) + far_jump (6 or 2)
75+
// auipc (1) + far_jump (2)
7776
_deopt_handler_size = 1 * MacroAssembler::instruction_size +
78-
6 * MacroAssembler::instruction_size // or smaller
77+
2 * MacroAssembler::instruction_size
7978
};
8079

8180
void check_conflict(ciKlass* exact_klass, intptr_t current_klass, Register tmp,

src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ void CgroupV1MemoryController::print_version_specific_info(outputStream* st, jul
300300
jlong kmem_limit = kernel_memory_limit_in_bytes(phys_mem);
301301
jlong kmem_max_usage = kernel_memory_max_usage_in_bytes();
302302

303+
OSContainer::print_container_helper(st, kmem_limit, "kernel_memory_limit_in_bytes");
303304
OSContainer::print_container_helper(st, kmem_usage, "kernel_memory_usage_in_bytes");
304-
OSContainer::print_container_helper(st, kmem_limit, "kernel_memory_max_usage_in_bytes");
305-
OSContainer::print_container_helper(st, kmem_max_usage, "kernel_memory_limit_in_bytes");
305+
OSContainer::print_container_helper(st, kmem_max_usage, "kernel_memory_max_usage_in_bytes");
306306
}
307307

308308
char* CgroupV1Subsystem::cpu_cpuset_cpus() {

src/hotspot/os/posix/os_posix.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -931,10 +931,6 @@ void os::_exit(int num) {
931931
ALLOW_C_FUNCTION(::_exit, ::_exit(num);)
932932
}
933933

934-
bool os::dont_yield() {
935-
return DontYieldALot;
936-
}
937-
938934
void os::naked_yield() {
939935
sched_yield();
940936
}

src/hotspot/os/windows/os_windows.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4856,12 +4856,6 @@ int os::loadavg(double loadavg[], int nelem) {
48564856
return -1;
48574857
}
48584858

4859-
4860-
// DontYieldALot=false by default: dutifully perform all yields as requested by JVM_Yield()
4861-
bool os::dont_yield() {
4862-
return DontYieldALot;
4863-
}
4864-
48654859
int os::open(const char *path, int oflag, int mode) {
48664860
errno_t err;
48674861
wchar_t* wide_path = wide_abs_unc_path(path, err);

src/hotspot/os_cpu/aix_ppc/globals_aix_ppc.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2024, Oracle and/or its affiliates. All rights reserved.
33
* Copyright (c) 2012, 2015 SAP SE. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -29,7 +29,6 @@
2929
// Sets the default values for platform dependent flags used by the runtime system.
3030
// (see globals.hpp)
3131

32-
define_pd_global(bool, DontYieldALot, false);
3332
define_pd_global(intx, ThreadStackSize, 2048); // 0 => use system default
3433
define_pd_global(intx, VMThreadStackSize, 2048);
3534

src/hotspot/os_cpu/bsd_aarch64/globals_bsd_aarch64.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
33
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
44
* Copyright (c) 2021, Azul Systems, Inc. All rights reserved.
55
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -31,7 +31,6 @@
3131
// Sets the default values for platform dependent flags used by the runtime system.
3232
// (see globals.hpp)
3333

34-
define_pd_global(bool, DontYieldALot, false);
3534
define_pd_global(intx, ThreadStackSize, 2048); // 0 => use system default
3635
define_pd_global(intx, VMThreadStackSize, 2048);
3736

src/hotspot/os_cpu/bsd_x86/globals_bsd_x86.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,7 +29,6 @@
2929
// Sets the default values for platform dependent flags used by the runtime system.
3030
// (see globals.hpp)
3131
//
32-
define_pd_global(bool, DontYieldALot, false);
3332
#ifdef AMD64
3433
define_pd_global(intx, CompilerThreadStackSize, 1024);
3534
define_pd_global(intx, ThreadStackSize, 1024); // 0 => use system default

src/hotspot/os_cpu/bsd_zero/globals_bsd_zero.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
33
* Copyright 2007, 2008, 2010 Red Hat, Inc.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -31,7 +31,6 @@
3131
// runtime system. See globals.hpp for details of what they do.
3232
//
3333

34-
define_pd_global(bool, DontYieldALot, false);
3534
define_pd_global(intx, ThreadStackSize, 1536);
3635
#ifdef _LP64
3736
define_pd_global(intx, VMThreadStackSize, 1024);

0 commit comments

Comments
 (0)