< prev index next >

src/share/vm/runtime/thread.hpp

Print this page
rev 6875 : 8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
Reviewed-by: mgerdin, coleenp, bdelsart

*** 40,54 **** #include "runtime/safepoint.hpp" #include "runtime/stubRoutines.hpp" #include "runtime/threadLocalStorage.hpp" #include "runtime/thread_ext.hpp" #include "runtime/unhandledOops.hpp" - #include "utilities/macros.hpp" - #include "trace/traceBackend.hpp" #include "trace/traceMacros.hpp" #include "utilities/exceptions.hpp" #include "utilities/top.hpp" #if INCLUDE_ALL_GCS #include "gc_implementation/g1/dirtyCardQueue.hpp" #include "gc_implementation/g1/satbQueue.hpp" #endif // INCLUDE_ALL_GCS --- 40,53 ---- #include "runtime/safepoint.hpp" #include "runtime/stubRoutines.hpp" #include "runtime/threadLocalStorage.hpp" #include "runtime/thread_ext.hpp" #include "runtime/unhandledOops.hpp" #include "trace/traceBackend.hpp" #include "trace/traceMacros.hpp" #include "utilities/exceptions.hpp" + #include "utilities/macros.hpp" #include "utilities/top.hpp" #if INCLUDE_ALL_GCS #include "gc_implementation/g1/dirtyCardQueue.hpp" #include "gc_implementation/g1/satbQueue.hpp" #endif // INCLUDE_ALL_GCS
*** 81,90 **** --- 80,93 ---- class GCTaskQueue; class ThreadClosure; class IdealGraphPrinter; + class Metadata; + template <class T, MEMFLAGS F> class ChunkedList; + typedef ChunkedList<Metadata*, mtInternal> MetadataOnStackBuffer; + DEBUG_ONLY(class ResourceMark;) class WorkerThread; // Class hierarchy
*** 254,263 **** --- 257,269 ---- ThreadLocalAllocBuffer _tlab; // Thread-local eden jlong _allocated_bytes; // Cumulative number of bytes allocated on // the Java heap + // Thread-local buffer used by MetadataOnStackMark. + MetadataOnStackBuffer* _metadata_on_stack_buffer; + TRACE_DATA _trace_data; // Thread-local data for tracing ThreadExt _ext; int _vm_operation_started_count; // VM_Operation support
*** 515,525 **** // Sets this thread as starting thread. Returns failure if thread // creation fails due to lack of memory, too many threads etc. bool set_as_starting_thread(); ! protected: // OS data associated with the thread OSThread* _osthread; // Platform-specific thread information // Thread local resource area for temporary allocation within the VM ResourceArea* _resource_area; --- 521,534 ---- // Sets this thread as starting thread. Returns failure if thread // creation fails due to lack of memory, too many threads etc. bool set_as_starting_thread(); ! void set_metadata_on_stack_buffer(MetadataOnStackBuffer* buffer) { _metadata_on_stack_buffer = buffer; } ! MetadataOnStackBuffer* metadata_on_stack_buffer() const { return _metadata_on_stack_buffer; } ! ! protected: // OS data associated with the thread OSThread* _osthread; // Platform-specific thread information // Thread local resource area for temporary allocation within the VM ResourceArea* _resource_area;
< prev index next >