/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/* This file is auto-generated */
#include "JvmOffsetsIndex.h"
#define DEBUG
#ifdef DEBUG
#else
#define MARK_LINE
#endif
#ifdef _LP64
#define STACK_BIAS 0x7ff
#else
#define STACK_BIAS 0
#endif
extern pointer __JvmOffsets;
extern pointer __1cJCodeCacheF_heap_;
extern pointer __1cIUniverseO_collectedHeap_;
extern pointer __1cIUniverseL_narrow_oop_;
#ifdef _LP64
extern pointer UseCompressedOops;
#endif
extern pointer __1cHnmethodG__vtbl_;
extern pointer __1cKBufferBlobG__vtbl_;
#define SAME(x) x
int init_done;
{
/*
* TBD:
* Here we initialize init_done, otherwise jhelper does not work.
* Therefore, copyin_offset() statements work multiple times now.
* There is a hope we could avoid it in the future, and so,
* this initialization can be removed.
*/
init_done = 0;
}
{
/* Initialization of JvmOffsets constants */
}
{
init_done = 1;
/*
* The PC to translate is in arg0.
*/
/*
* The methodOopPtr is in %l2 on SPARC. This can be found at
* offset 8 from the frame pointer on 32-bit processes.
*/
#if defined(__sparc)
#else
#error "Don't know architecture"
#endif
/* Reading volatile values */
#ifdef _LP64
#else
this->Use_Compressed_Oops = 0;
#endif
/*
* Get Java heap bounds
*/
);
}
{
/*
* Find start.
*/
"second";
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
this->Use_Compressed_Oops == 0 &&
{
}
this->Use_Compressed_Oops != 0 &&
{
/*
* Read compressed pointer and decode heap oop, same as oop.inline.hpp
*/
}
{
}
{
/*
* Enough for three strings, plus the '.', plus the trailing '\0'.
*/
/*
* Add the '.' between the class and the name.
*/
/*
* Now we need to add a trailing '\0' and possibly a tag character.
*/
}
{
}
{
}
{
"error";
}
{
NULL;
}