mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org> Co-authored-by: Alan Bateman <alanb@openjdk.org> Co-authored-by: Erik Österlund <eosterlund@openjdk.org> Co-authored-by: Andrew Haley <aph@openjdk.org> Co-authored-by: Rickard Bäckman <rbackman@openjdk.org> Co-authored-by: Markus Grönlund <mgronlun@openjdk.org> Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org> Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org> Co-authored-by: Chris Plummer <cjplummer@openjdk.org> Co-authored-by: Coleen Phillimore <coleenp@openjdk.org> Co-authored-by: Robbin Ehn <rehn@openjdk.org> Co-authored-by: Stefan Karlsson <stefank@openjdk.org> Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org> Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org> Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
This commit is contained in:
parent
5212535a27
commit
9583e3657e
1133 changed files with 95935 additions and 8335 deletions
|
@ -70,6 +70,7 @@
|
|||
#include "oops/instanceKlass.hpp"
|
||||
#include "oops/instanceMirrorKlass.hpp"
|
||||
#include "oops/instanceOop.hpp"
|
||||
#include "oops/instanceStackChunkKlass.hpp"
|
||||
#include "oops/klass.hpp"
|
||||
#include "oops/klassVtable.hpp"
|
||||
#include "oops/markWord.hpp"
|
||||
|
@ -317,6 +318,7 @@
|
|||
nonstatic_field(ConstMethod, _max_stack, u2) \
|
||||
nonstatic_field(ConstMethod, _max_locals, u2) \
|
||||
nonstatic_field(ConstMethod, _size_of_parameters, u2) \
|
||||
nonstatic_field(ConstMethod, _num_stack_arg_slots, u2) \
|
||||
nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \
|
||||
nonstatic_field(ObjArrayKlass, _bottom_klass, Klass*) \
|
||||
volatile_nonstatic_field(Symbol, _hash_and_refcount, unsigned int) \
|
||||
|
@ -455,6 +457,7 @@
|
|||
static_field(vmClasses, VM_CLASS_AT(ClassLoader_klass), InstanceKlass*) \
|
||||
static_field(vmClasses, VM_CLASS_AT(System_klass), InstanceKlass*) \
|
||||
static_field(vmClasses, VM_CLASS_AT(Thread_klass), InstanceKlass*) \
|
||||
static_field(vmClasses, VM_CLASS_AT(Thread_FieldHolder_klass), InstanceKlass*) \
|
||||
static_field(vmClasses, VM_CLASS_AT(ThreadGroup_klass), InstanceKlass*) \
|
||||
static_field(vmClasses, VM_CLASS_AT(MethodHandle_klass), InstanceKlass*) \
|
||||
\
|
||||
|
@ -709,6 +712,9 @@
|
|||
nonstatic_field(NamedThread, _name, char*) \
|
||||
nonstatic_field(NamedThread, _processed_thread, Thread*) \
|
||||
nonstatic_field(JavaThread, _threadObj, OopHandle) \
|
||||
nonstatic_field(JavaThread, _vthread, OopHandle) \
|
||||
nonstatic_field(JavaThread, _jvmti_vthread, OopHandle) \
|
||||
nonstatic_field(JavaThread, _extentLocalCache, OopHandle) \
|
||||
nonstatic_field(JavaThread, _anchor, JavaFrameAnchor) \
|
||||
nonstatic_field(JavaThread, _vm_result, oop) \
|
||||
nonstatic_field(JavaThread, _vm_result_2, Metadata*) \
|
||||
|
@ -1229,6 +1235,7 @@
|
|||
declare_type(InstanceClassLoaderKlass, InstanceKlass) \
|
||||
declare_type(InstanceMirrorKlass, InstanceKlass) \
|
||||
declare_type(InstanceRefKlass, InstanceKlass) \
|
||||
declare_type(InstanceStackChunkKlass, InstanceKlass) \
|
||||
declare_type(ConstantPool, Metadata) \
|
||||
declare_type(ConstantPoolCache, MetaspaceObj) \
|
||||
declare_type(MethodData, Metadata) \
|
||||
|
@ -2006,7 +2013,7 @@
|
|||
declare_toplevel_type(vframeArray) \
|
||||
declare_toplevel_type(vframeArrayElement) \
|
||||
declare_toplevel_type(Annotations*) \
|
||||
declare_type(OopMapValue, StackObj) \
|
||||
declare_toplevel_type(OopMapValue) \
|
||||
declare_type(FileMapInfo, CHeapObj<mtInternal>) \
|
||||
declare_toplevel_type(FileMapHeader) \
|
||||
declare_toplevel_type(CDSFileMapRegion) \
|
||||
|
@ -2189,6 +2196,7 @@
|
|||
declare_constant(Method::_force_inline) \
|
||||
declare_constant(Method::_dont_inline) \
|
||||
declare_constant(Method::_hidden) \
|
||||
declare_constant(Method::_changes_current_thread) \
|
||||
\
|
||||
declare_constant(Method::nonvirtual_vtable_index) \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue