首页
学习
活动
专区
工具
TVP
发布

Jerry的SAP技术分享

Jerry Wang,2007 年从电子科技大学计算机专业硕士毕业后加入 SAP 成都研究院工作至今。
专栏作者
10841
文章
7425210
阅读量
159
订阅数
使用JDK自带的jmap和jhat监控处于运行状态的Java进程
对于处于运行状态中的Java进程,JDK自带了很多工具,允许Java开发人员监控运行进程中的各种状态,比如该进程内部创建了多少个对象实例,消耗了多少内存,等等。
Jerry Wang
2021-12-14
6620
本地启动 SAP Commerce Cloud(Hybris) 产生的五个 Java 进程
“C:\Program Files\SapMachine\JDK\11\bin\java.exe” --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=GBK -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\I042416.gradle\wrapper\dists\gradle-5.4.1\9ddwtomfzt16yd4vhsb6js7cl\gradle-5.4.1\lib\gradle-launcher-5.4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.4.1
Jerry Wang
2021-12-14
5590
Eclipse如何跳转到Java系统类的源代码
In Eclipse you want to navigate to the source code of standard class String, and you get the following message: Source not found
Jerry Wang
2021-02-24
6260
如何处理Maven build时的error message Unable to locate the Javac Compiler in tools.jar
Unable to locate the Javac Compiler in: C:\Program Files\Java\jre7…\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable.
Jerry Wang
2021-02-20
6020
can not watch variables in Eclipse
http://stackoverflow.com/questions/33053153/eclipse-luna-cannot-watch-variables-in-hashmap-errors-during-the-evaluation The reason beyond that is that the bytecode (.class files) used by your Eclipse debugger doesn’t contain any information about method parameters name. That’s the way the JDK is compiled by default. The Eclipse debugger implements a workaround for method parameters, naming them “arg0”, “arg1”, etc. and thus enabling you to inspect them in the “Variables” view. Unfortunately, I don’t think there is such a workaround for local method variables… Some other tickets in StackOverflow advise to rebuild yourself the JRE based on source code of the JDK, e.g.: debugging not able to inspect the variables.
Jerry Wang
2021-02-20
4580
SAP CDS view自学教程之十:SAP CDS view扩展性(Extensibility)实现原理
There is a good blog regarding key user extensibility tool in S4 written by Thomas Schneider.
Jerry Wang
2020-08-17
6360
使用VisualVM进行Java应用的性能测量
Recently I am trying to find a handy tool to measure the performance of my Java application and finally I think the VisualVM provided by JDK is the ideal one. This blog is written based on JDK1.7 + Eclipse 4.3.2.
Jerry Wang
2020-08-10
5970
Java JDK目录下的jmap和jhat工具的使用方式
Suppose you have a running Java process and you would like to inspect its running status, for example how many object instance are created or memory consumption status, you can use some standard tool provided by JDK. This blog is written based on JDK 1.8. The sample code I am using to simulate a endless running process:
Jerry Wang
2020-05-06
4330
浅谈Java和SAP ABAP的静态代理和动态代理,以及ABAP面向切面编程的尝试
Jerry之前一篇文章 SAP产品增强技术回顾,提到基于Java编程语言实现的SAP Commerce,借助Spring框架的支持,能使用面向切面编程的理念(Aspect Orient Programming,以下简称AOP),将业务代码和非业务代码(比如权限检查,日志记录,性能统计等)彻底分离开。
Jerry Wang
2020-04-21
4810
"Oracle要对Java收费了,SAP基于Java技术栈的那些产品的客户怎么办"
今年年初的时候,所谓“Oracle要对Java收费”的新闻,在网上传得沸沸扬扬。这个新闻被专业人士视为标题党,而国内众多技术论坛,比如知乎社区上,有很多大神对“Java收费”这个说法做出了非常专业的解读,Jerry这里就不班门弄斧了,Bing搜索引擎根据“Oracle Java收费”的关键字搜索,第一条搜索结果就值得阅读。
Jerry Wang
2019-11-05
5520
Regarding @Inject annotation
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
Jerry Wang
2019-09-16
3370
使用maven的一个最简单的例子
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
Jerry Wang
2019-08-20
1K0
Try to use JDK instead of JRE to debug source code
Check Jerry’s output console, you can find that javaw.exe in JDK1.8 is used:
Jerry Wang
2019-07-01
3180
使用JDK自带的VisualVM进行Java程序的性能分析
版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://jerry.blog.csdn.net/article/details/81395851
Jerry Wang
2019-06-02
9600
用代码判断当前系统是否支持某个版本的feature
版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://jerry.blog.csdn.net/article/details/83056861
Jerry Wang
2019-05-31
4370
使用JDK自带的工具jstack找出造成运行程序死锁的原因
Java多线程编程也是Java面试中经常考察的内容。刚接触Java多线程编程的朋友们,可能会不慎写出一些会导致死锁(deadlock)的应用出来。如何分析造成Java多线程的原因呢?很多时候我们在怀疑造成死锁的语句设置断点,单步调试,反而又不能重现了。这种现象很正常,因为咱们单步调试和直接运行程序,代码执行的时序是不同的,很可能无法满足死锁的触发条件。
Jerry Wang
2019-05-31
4480
如何通过Java代码判断当前的环境是否支持JRE 9
JDK9已经出来有一段时间了,因此很多流行的Java应用纷纷增添了对JDK9乃至JDK10的支持,比如Tomcat。
Jerry Wang
2019-05-31
7240
什么是Java Marker Interface(标记接口)
先看看什么是标记接口?标记接口有时也叫标签接口(Tag interface),即接口不包含任何方法。在Java里很容易找到标记接口的例子,比如JDK里的Serializable接口就是一个标记接口。
Jerry Wang
2019-05-30
8280
使用JDK自带的VisualVM进行Java程序的性能分析
VisualVM是JDK自带的一个用于Java程序性能分析的工具,JDK安装完毕后就有啦,在JDK安装目录的bin文件夹下能找到名称为jvisualvm.exe。
Jerry Wang
2019-05-30
5880
Java实现的有道云笔记图片批量下载工具
作为一个程序员,当然要善于利用各种工具提高自己做事情的效率了。如果没有现成的工具,就得自己造。
Jerry Wang
2018-12-09
9670
点击加载更多
社区活动
RAG七天入门训练营
鹅厂大牛手把手带你上手实战
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档