AWS Dev Day 2022 ã§çºè¡¨ããJava ã¢ããªã±ã¼ã·ã§ã³ã®èµ·åé度ã®ã¢ããã¼ãã®è³æ
第ï¼åã«ãªãã¾ãã è¨äºãæ¸ããã¨èªä½ã«æéãããã£ã¦ãã¾ãã®ã§ è¦ãããè¨äºã«ããã£ã¦ã®ãé£ããã§ãããã å°ããã¤æ¹è¯ãã¦ããã¾ãã ã¹ããã¯ããã©ãã¼ããã¦é ããã¨å±ã¿ã«ãªãã¾ãã ãã¦ãæ¬é¡ã§ãã jstatãGCãã°ãªã©ãè¦ã¦ã¡ã¢ãªããªããªãéæ¾ãããªãå ´å㯠ãã¼ããã³ããåã£ã¦ã¡ã¢ãªã®ä¸èº«ã解æãããã¨ã«ãªãã¾ãã ãã¼ããã³ãã®åå¾ ã¾ããjstatãpsã³ãã³ãçã§å¯¾è±¡ã®JVMã®ããã»ã¹IDãåå¾ãã¾ãããã ããã§æå®ããå ´æã«ãã³ããã¡ã¤ã«ãã§ãã¾ãã -dump:live,format=...ã¨ããããã«liveãã¤ããã¨GCãèµ·ã㦠ã³ãã³ãå®è¡æã«æ´»ãã¦ãããªãã¸ã§ã¯ãã®ã¿ã®ãã³ãã«ãªãããã§ãã ã¨ããããä»åã¯ãã«ã§åãã¾ãã ãã¼ããã³ãã®ä¸èº«ã解æããã 解æãããã«ã¯ãã¼ã«ã使ãã¾ãã javaæ¨æºã®jhatãMemory AnalyzerãHeapA
JVM (Java ä»®æ³ãã·ã³) ã«ã¯ DNS ã®åå解決ã®çµæããã£ãã·ã¥ããæåãåãã£ã¦ããããã£ãã·ã¥ããã ããªãããã®ã ããã©ããã®ãã£ãã·ã¥ã§ã¯ DNS ã® TTL ãç¡è¦ãã¦ãã£ãã·ã¥ãããããåå解決ã®çµæãå¤ãã£ã¦ã JVM ããã®æ¥ç¶å ãåãæ¿ããã¾ã§ã«ï¼TTL ããæ³å®ãããæé以ä¸ã«ï¼æéããããããããã¯å ¨ãåãæ¿ãããªãã¨ãããã¨ãããããã®æåããã®å¶å¾¡ã«ã¤ãã¦èª¿ã¹ãã®ã§ããã®è©±ãããã ï¼ä»¥ä¸ã®è©±é¡ã§ã¯ Oracle JDK ããã³ OpenJDK ã対象ã«ãã¦è«ããã®ã§ããã以å¤ã® JVM å®è£ ã§ã©ããªã£ã¦ããã¯èª¿ã¹ã¦ããªããé©ç¨ã§ããç®æãããã°ããã§ãªãç®æãããããï¼ èæ¯ã»è§£èª¬ ãããã®ããã©ã«ãå¤ã¯åå解決æåæ㯠ã»ãã¥ãªãã£ã¼ããã¼ã¸ã£ã¼ãã¤ã³ã¹ãã¼ã«ããã¦ããå ´åã®ããã©ã«ãå¤ã¯ -1 (ãã£ã¨) ã§ãã»ãã¥ãªãã£ã¼ããã¼ã¸ã£ã¼ãã¤ã³ã¹ãã¼
sbt-assemblyãMaven Shade Pluginãªã©ã§å®è¡å¯è½ãªJARãã¡ã¤ã«ï¼java -jar xxxxx.jarï¼ãä½æãããã¨ã ã§ãã¾ããããã®JARãã¡ã¤ã«ã®æåã®æ¹ã«ã·ã§ã«ã¹ã¯ãªãããWindowsã®ããããã¡ã¤ã«ã®å 容ãå·®ãè¾¼ããã¨ã§ã åä½ã®ãã¡ã¤ã«ã¨ãã¦å®è¡ãããã¨ãã§ããããã«ãªãã¾ãã Embulkãããã®ææ³ã使ã£ã¦ãã¾ãã https://github.com/embulk/embulk/blob/v0.8.18/embulk-cli/src/main/sh/selfrun.sh åèï¼ å®è¡å¯è½ jar ãã³ãã³ãã£ã½ãå®è¡ããããã«ï¼java -jar 使ããããªãï¼ å®è¡å¯è½JARãã¡ã¤ã«ãããããã¡ã¤ã«ã¾ãã¯ã·ã§ã«ã¹ã¯ãªããã«çµåãã¦å®è¡ãã - torutkã®æ¥è¨ 確ãã«JARãã¡ã¤ã«ã ãã ã¨ãå¥ã«èµ·åç¨ã®ã¹ã¯ãªãããã¤ãã¦ãããªãã¨è¦ã
This paper describes a reduction from the halting problem of Turing machines to subtype checking in Java. It follows that subtype checking in Java is undecidable, which answers a question posed by Kennedy and Pierce in 2007. It also follows that Java's type checker can recognize any recursive language, which improves a result of Gil and Levy from 2016. The latter point is illustrated by a parser g
Server::Starter ã Java ã§ã使ããããªããããããã° LL ã®å ´åã¨åããããªéç¨ãã§ãããªããã¨ããè¦æããã¾ã«ç¨ã«ããèãã¾ãã ãããªã¨ãã«æ±ºã¾ã£ã¦è¿ãããçãã¯ãfdopen ã§ããªãããç¡çãããªãããããã ã¨ãããã¨ã§ããã SO_REUSEPORT ããã SO_REUSEPORT ãªããjava ã§ãã¡ãã£ã¨ã®å·¥å¤«ã§ä½¿ããããããªãã®? ã£ã¦ãã説ãåºã¦ããã ã§ãé å¼µãã° jetty 㧠SO_REUSEPORT 使ã£ã¦ããæãã«å®è£ ã§ãããã ãªãã¨ãããã¨ã¯ããã£ã¦ããµã³ãã«ã³ã¼ããæ¸ãã¦ã¿ãã ããããå®è£ ãã¦ããææãããã®ã ããå¼ç¤¾ã§ã¯ CentOS 6 ãæ¨æºã¨ãªã£ã¦ãããCentOS 7 ãæ¥ãã®ã¯ãã¤ã«ãªãã®ããã£ã±ãããããªãã ã¤ã¾ããã¨ãããããã°ããã®éã¯å®è·µã§ä½¿ããå¯è½æ§ãã»ã¼ãªãã¨ãããã¨ã ã ã¨ãããããåºæ¥ããã®ã¯åºæ¥
If you program systems with Java, you have probably long been using ConcurrentHashMap. This post explores a caveat. ConcurrentHashMap is often introduced to simplify code and application logic. For example: HashMap<String, MyClass> m = new HashMap<String, MyClass>(); ... synchronized (m) { for each (Entry<String, MyClass> e in m.entrySet()) system.out.println(e.getKey()+"="+e.getValue()); } might
All Implemented Interfaces: Serializable public final class Pattern extends Object implements Serializable A compiled representation of a regular expression. A regular expression, specified as a string, must first be compiled into an instance of this class. The resulting pattern can then be used to create a Matcher object that can match arbitrary character sequences against the regular expression.
OCaml-Java The goal of the project is to provide seamless integration of OCaml and Java: run OCaml code on a JVM, and manipulate Java entities from OCaml. Third alpha version (09 June 2015) The third alpha version is finally available, fixing several bugs, and enhancing the Java library. New alpha version (22 September 2014) A new alpha version has been released, fixing several blocking / annoying
ã°ã°ãã @valvallow clojureãTCOãããªãã®ã£ã¦JVMã®ãããªã®ï¼ãªãJVMã§åãSchemeãCLã§ã¡ããã¨TCOããå¦çç³»ã¯ã©ããªã£ã¦ãã®ï¼ 2011-12-10 02:18:19 Shiro Kawai @anohana @valvallow ã¹ã¿ãã¯ãã¬ã¼ã ãJavaã®ãªãã¸ã§ã¯ãã¨ãã¦ã¢ãã±ã¼ããã¦èªåã§ç®¡çããã°TCOå¯è½ã ãã©æ§è½ã¯è½ã¡ããJVMã®ã¹ã¿ãã¯ãå©ç¨ããã°éããã©(å®å ¨ãª)TCOã¯ç¡çãã©ã£ã¡ãåããã¨ãããã¬ã¼ããªãã§ãã 2011-12-10 02:49:00
HaskellãScalaãªã©ã§ä¸èºå¤§äººæ°ã¨ãªã£ãé¢æ°åè¨èªã«ã¯ããã®æ ¹åºã«åä»ãã©ã ãè¨ç®ã¨ããè¨ç®ä½ç³»ã®çè«ãåå¨ãã¦ãã¾ãããã®åä»ãã©ã ãè¨ç®ã®çè«ã®ãããã§ãé¢æ°åè¨èªã§ã¯åå®å ¨ãªããã°ã©ãã³ã°ãåºæ¥ãã®ã§ãã ã§ã¯ãªãã¸ã§ã¯ãæåè¨èªã«ã¯ãã®ãããªçè«ã¯åå¨ããã®ã§ããããã Javaã«ã¤ãã¦ã¯ãå²ã¨æè¿ã§ãããJavaãã¢ãã«åããè¨ç®ä½ç³»ãæ±ã£ãã Featherweight Java: a minimal core calculus for Java and GJ [Igarashi et al., 2001] ã¨ããè«æãåå¨ãã¾ãããã®è«æã§ã¯ãJavaã¨Java 5.0以éã§æ¡ç¨ãããã¸ã§ããªã¯ã¹ã¨ããä»çµã¿ãã¢ãã«åãããªãã¸ã§ã¯ãæåã®ä½ç³»ãå®ç¾©ãããã®ä½ç³»ä¸ã§ã®åå®å ¨æ§ã®è¨¼æãè¡ã£ã¦ãã¾ãã ãã®è«æã®ä½ç³»ã§ã¯æ§é åå®çã§è¨ãæ¡ä»¶åå²ã¨å復ãå®ç¾©ããã¦ãã¾ãã
Charles Oliver Nutter Java, Ruby, and JVM guy trying to make sense of it all Greetings, readers! Over the past couple weeks I've had a few departures from typical JRuby development. I consider it a working vacation. I'm hoping to report on all of it soon, but for now we'll focus on one of the most exciting items: JSR-292, otherwise known as "InvokeDynamic". I've reported on invokedynamic previousl
Java generics are indeed implemented by type erasure, so there is no type information in the bytecode. For example, let's take a look two classes which declare a List field, one in generic and the other in non-generic form: class NonGeneric { List list; } And, class Generic { List<String> list; } In both cases, the resulting bytecode is the following: Code: Stack=3, Locals=1, Args_size=1 0: aload_
çµè«ã¯ããã ããAndroidã«ãJavaããã®ã³ã¼ãæµç¨ã®ç念ãæåºããããã両è ã®ã³ã¼ããæ¯è¼ããçµæãæãããªæµç¨ã¯çºè¦ã§ããªãã£ããããã®ä¸é£ã®çµç·¯ãæ¯ãè¿ã£ã¦ã¿ããã ï¼æ¬è¨äºã¯ãã²ã¹ãããã¬ã¼ã®ITã¸ã£ã¼ããªã¹ã ææéæ°ã«ããæ稿ã§ãï¼ ãã³ã³ãã¤ã«ã§ã½ã¼ã¹ã復å ãæ¯è¼ ç¥çææ権åé¡ã®ã³ã³ãµã«ã¿ã³ãããAndroidã«Javaã®ã³ã¼ããæ··å¨ãï¼ãã¨ããå 容ã®Blogè¨äºãæ¸ãããè¨äºã®å 容ã¯ãComputerWorldãEngadgetã«ç´¹ä»ããããèªãã 人ã¯ãGoogleã¯ã¾ããäºããã§ããããã®ã ãã¨ã®å°è±¡ãæã£ããã¨ã ãããGoogleã¯ãAndroidãJavaã®ç¹è¨±ã¨èä½æ¨©ã侵害ãã¦ããã¨ãã¦Oracleãã訴ãããã¦ããæä¸ã ããã ãã ããè¨äºãèªãã ããã°ã©ãããçµè«ã¨ãã¦Javaã³ã¼ãã®çç¨ã®äºå®ã¯ãªãããã¨ãæããã«ããã ç«ç¨®ã¨ãªã£ãã®ã¯ãFlorian
ãã®è¨äºã¯å¤ãæ å ±ã§ããEmacsã§Javaãæ¸ãã¨ãã話 - Qiitaãåç §ãã¦Maghanadaãå©ç¨ãã¦ãã ããã æ¥å¸¸çã«Javaãæ¸ã人ãã¡ã®ãã¶ã99%ãããã¯EclipseãNetBeansãIntelliJ IDEAã¨ãã£ãIDEãå©ç¨ãã¦ããã§ãããã¨æãããç¾ä»£ã«ããã¦ä»æ¥ãå æ°ã«Emacsã§Javaæ¸ãã¦ããçµ¶æ» å±æ§ç¨®ã®nekopã§ããEmacs Advent Calendar jp: 2010ã®12æ15æ¥åã®ã¨ã³ããªã¯ãEmacsã§Javaãæ¸ãã¨ãããã¾ãä¸è¬çã§ã¯ãªãã§ããããããã¯ã«ã¤ãã¦ããã£ã¨ç´¹ä»ãã¾ããæ¨æ¥ã¯kwappaããã§ããã ãä»äºã§ã¯Red Hatã¨ããä¼ç¤¾ã§JBossã¨ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã®ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ããã¦ãã¾ãã詳細ã¯ã°ã£ããçãã¾ããããããªãã®éã®ã½ã¼ã¹ã³ã¼ããæ¯æ¥èªã¿æ¸ããããã¨ã«ãªãã¾ãããããªãã®éãã¨ã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}