03 2021 档案
摘要:当index=18的时候JVM_CONSTANT_Utf8 case JVM_CONSTANT_Utf8 : { cfs->guarantee_more(2, CHECK); // utf8_length u2 utf8_length = cfs->get_u2_fast(); u1* utf8_b
阅读全文
摘要:接上篇的继续 ConstantPool* constant_pool = ConstantPool::allocate(_loader_data, length, CHECK_(nullHandle)); _cp = constant_pool; // save in case of errors
阅读全文
摘要:先看bt栈 (gdb) bt #0 ConstantPool::allocate (loader_data=0x7fe21802e868, length=87, __the_thread__=0x7fe21800b800) at /home/atzhang/atzhang/openjdksource
阅读全文
摘要:#include <iostream> using namespace std; class C {}; class A:public C { private: long a; long b; long c; public: A(long a,long b,long c){ this->a=a;th
阅读全文
摘要:current路径: #0 Array<unsigned char>::operator new (size=8, loader_data=0x7fd4c802e868, length=87, read_only=false, __the_thread__=0x7fd4c800b800) at /h
阅读全文
摘要:子类在new 对象的 时候 父类的new 进行了重载,那么会调用父类的operater new() 函数 #include <iostream> #include <string> using namespace std; class Animal { string name; public: vo
阅读全文
摘要:现在做一下记录,这个看了两天,看的过程发现了很多c++的高级特性,没接触过,还得慢慢撸,禁止很慢 那么现在开始 吧 先打两个断点 java.c:351 JavaMain(void * _args) { JavaMainArgs *args = (JavaMainArgs *)_args; 文件加载的
阅读全文
摘要:Interpreter类, class Interpreter: public CC_INTERP_ONLY(CppInterpreter) NOT_CC_INTERP(TemplateInterpreter) { public: // Debugging/printing static Inter
阅读全文
摘要:看jvm源码的时候怎么也看不懂,来回看了几次了就是关于iload 6 指令的解析 def(Bytecodes::_lload , ubcp|____|____|____, vtos, ltos, lload , _ ); 看重载的def函数 const char _ = ' '; const int
阅读全文
摘要:今天做开发,需求是 /** * 1.先获取查询lraccount账单表, * 2.查询数据预估表lrlistCollect表, * 3.二者相减存到lrpreAdjust账单调整表 * 4.发送邮件 */ 初步就像写的逻辑是 String sql01="select * from Lraccount
阅读全文
摘要:今天第一次使用虚拟姐打断点,断点设置在了void TemplateInterpreterGenerator::generate_and_dispatch(Template* t, TosState tos_out) 了 在TemplateInterpreterGenerator.cpp中,这个函数之
阅读全文