Skip to content

Commit

Permalink
8265867: thread.hpp defines some enums but no reference
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes, stuefe, iklam, coleenp
  • Loading branch information
Xin Liu authored and iklam committed Apr 28, 2021
1 parent 75a2354 commit 164454f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/hotspot/share/runtime/thread.hpp
Expand Up @@ -319,10 +319,6 @@ class Thread: public ThreadShadow {
ObjectMonitor* _current_waiting_monitor;

public:
enum {
is_definitely_current_thread = true
};

// Constructor
Thread();
virtual ~Thread() = 0; // Thread is abstract.
Expand Down Expand Up @@ -777,14 +773,6 @@ class JavaThread: public Thread {
private: // restore original namespace restriction
#endif // ifdef ASSERT

#ifndef PRODUCT
public:
enum {
jump_ring_buffer_size = 16
};
private: // restore original namespace restriction
#endif

JavaFrameAnchor _anchor; // Encapsulation of current java frame and it state

ThreadFunction _entry_point;
Expand Down

1 comment on commit 164454f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.