diff src/share/vm/runtime/handles.hpp @ 12287:0f37d1badced

Merge
author dcubed
date Fri, 20 Sep 2013 12:58:35 -0700
parents 4f9a42c33738
children 63a4eb8bcd23 833b0f92429a
line wrap: on
line diff
--- a/src/share/vm/runtime/handles.hpp	Fri Sep 20 11:09:26 2013 -0700
+++ b/src/share/vm/runtime/handles.hpp	Fri Sep 20 12:58:35 2013 -0700
@@ -136,7 +136,7 @@
 // Specific Handles for different oop types
 #define DEF_METADATA_HANDLE(name, type)          \
   class name##Handle;                            \
-  class name##Handle {                           \
+  class name##Handle : public StackObj {         \
     type*     _value;                            \
     Thread*   _thread;                           \
    protected:                                    \
@@ -175,7 +175,7 @@
 // Writing this class explicitly, since DEF_METADATA_HANDLE(klass) doesn't
 // provide the necessary Klass* <-> Klass* conversions. This Klass
 // could be removed when we don't have the Klass* typedef anymore.
-class KlassHandle {
+class KlassHandle : public StackObj {
   Klass* _value;
  protected:
    Klass* obj() const          { return _value; }