# HG changeset patch # User Mark Wielaard # Date 1331900115 -3600 # Node ID 92d9535dcc2bb505d88a6bdf029e42d7bd9237ea # Parent 31cd20a94f67fc58f2dbc043a5da81d0e571b70c PR3174: systemtap: type definition 'symbolOopDesc' not found jstack: Change symbolOopDesc to Symbol to accomodate S6990754. Use native memory and reference counting to implement SymbolTable. 2016-12-28 Andrew John Hughes PR3174: systemtap: type definition 'symbolOopDesc' not found * NEWS: Updated 2012-03-16 Mark Wielaard PR3174: systemtap: type definition 'symbolOopDesc' not found * tapset/jstack.stp.in: Change symbolOopDesc to Symbol to accomodate S6990754 - Use native memory and reference counting to implement SymbolTable. diff -r 31cd20a94f67 -r 92d9535dcc2b ChangeLog --- a/ChangeLog Wed Dec 28 22:26:44 2016 +0000 +++ b/ChangeLog Fri Mar 16 13:15:15 2012 +0100 @@ -1,3 +1,15 @@ +2016-12-28 Andrew John Hughes + + PR3174: systemtap: type definition 'symbolOopDesc' not found + * NEWS: Updated + +2012-03-16 Mark Wielaard + + PR3174: systemtap: type definition 'symbolOopDesc' not found + * tapset/jstack.stp.in: Change symbolOopDesc to Symbol to accomodate + S6990754 - Use native memory and reference counting to implement + SymbolTable. + 2016-12-28 Andrew John Hughes PR3152: Zero build fails with pch disabled diff -r 31cd20a94f67 -r 92d9535dcc2b NEWS --- a/NEWS Wed Dec 28 22:26:44 2016 +0000 +++ b/NEWS Fri Mar 16 13:15:15 2012 +0100 @@ -35,6 +35,7 @@ - PR3139: Update documentation - PR3143: Fix typo in --with-openjdk-src-dir introduced by PR3139 - PR3152: Zero build fails with pch disabled + - PR3174: systemtap: type definition 'symbolOopDesc' not found - PR3205: Builds fails with pch disabled New in release 1.13.12 (2016-08-24): diff -r 31cd20a94f67 -r 92d9535dcc2b tapset/jstack.stp.in --- a/tapset/jstack.stp.in Wed Dec 28 22:26:44 2016 +0000 +++ b/tapset/jstack.stp.in Fri Mar 16 13:15:15 2012 +0100 @@ -412,7 +412,7 @@ // that describe the method and signature. This constant pool // contains symbolic information that describe the properties // of the class. The indexes for methods and signaturates in - // the constant pool are symbolOopDescs that contain utf8 + // the constant pool are Symbols that contain utf8 // strings (plus lenghts). (We could also sanity check that // the tag value is correct [CONSTANT_String = 8]). // Note that the class name uses '/' instead of '.' as @@ -427,17 +427,17 @@ "@ABS_SERVER_LIBJVM_SO@")->_pool_holder; klassSymbol = @cast(klassPtr + oopDesc_size, "Klass", "@ABS_SERVER_LIBJVM_SO@")->_name; - klassName = &@cast(klassSymbol, "symbolOopDesc", + klassName = &@cast(klassSymbol, "Symbol", "@ABS_SERVER_LIBJVM_SO@")->_body[0]; - klassLength = @cast(klassSymbol, "symbolOopDesc", + klassLength = @cast(klassSymbol, "Symbol", "@ABS_SERVER_LIBJVM_SO@")->_length; methodIndex = @cast(methodOopPtr, "methodOopDesc", "@ABS_SERVER_LIBJVM_SO@")->_constMethod->_name_index; - methodOopDesc = user_long(constantPoolOop_base + (methodIndex * ptr_size)); - methodName = &@cast(methodOopDesc, "symbolOopDesc", + methodOopDesc = user_long(constantPoolOop_base + (methodIndex * ptr_size)) - 1; + methodName = &@cast(methodOopDesc, "Symbol", "@ABS_SERVER_LIBJVM_SO@")->_body[0]; - methodLength = @cast(methodOopDesc, "symbolOopDesc", + methodLength = @cast(methodOopDesc, "Symbol", "@ABS_SERVER_LIBJVM_SO@")->_length; if (log_sig) @@ -445,10 +445,10 @@ sigIndex = @cast(methodOopPtr, "methodOopDesc", "@ABS_SERVER_LIBJVM_SO@")->_constMethod->_signature_index; sigOopDesc = user_long(constantPoolOop_base - + (sigIndex * ptr_size)); - sigName = &@cast(sigOopDesc, "symbolOopDesc", + + (sigIndex * ptr_size)) - 1; + sigName = &@cast(sigOopDesc, "Symbol", "@ABS_SERVER_LIBJVM_SO@")->_body[0]; - sigLength = @cast(sigOopDesc, "symbolOopDesc", + sigLength = @cast(sigOopDesc, "Symbol", "@ABS_SERVER_LIBJVM_SO@")->_length; sig = user_string_n(sigName, sigLength); }